Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
853 changed files
with
185,624 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
-- Current developers -- | ||
|
||
Steven Galgano <sgalgano at adjacentlink dot com> | ||
Joseph Giovatto <jgiovatto at adjacentlink dot com> | ||
Kaushik B. Patel <kpatel at adjacentlink dot com> | ||
Eric Schreiber <eschreiber at adjacentlink dot com> | ||
|
||
-- Original developers -- | ||
|
||
Steven Galgano <sgalgano at cengen dot com> | ||
Joseph Giovatto <jgiovatto at cengen dot com> | ||
Phillip Kehoe <pkehoe at cengen dot com> | ||
Kaushik B. Patel <kbpatel at cengen dot com> | ||
Eric Schreiber <eschreiber at cengen dot com> | ||
Piotr Sipika <psipika at cengen dot com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
Copyright (c) 2013-2014 - Adjacent Link LLC, Bridgewater, New Jersey | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in | ||
the documentation and/or other materials provided with the | ||
distribution. | ||
* Neither the name of Adjacent Link LLC nor the names of its | ||
contributors may be used to endorse or promote products derived | ||
from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | ||
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | ||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. | ||
|
||
=== | ||
=== | ||
|
||
EMANE is a fork by the same name of DRS CenGen LLC's EMANE (v0.8.1) | ||
which was released under the following license: | ||
|
||
Copyright (c) 2008-2013 - DRS CenGen, LLC, Columbia, Maryland | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in | ||
the documentation and/or other materials provided with the | ||
distribution. | ||
* Neither the name of DRS CenGen, LLC nor the names of its | ||
contributors may be used to endorse or promote products derived | ||
from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | ||
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | ||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
COPYING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
Installing EMANE from source | ||
== | ||
|
||
Untar the source: | ||
|
||
# tar zxvf emane-X.Y.Z.tar.gz | ||
|
||
# cd emane-X.Y.Z | ||
|
||
# ./configure && make install | ||
|
||
By default emane will install to /usr/local. If you wish to install to a more | ||
standard system location use the --prefix option: | ||
|
||
# ./configure --prefix=/usr && make install | ||
|
||
The emanesh python package will not install from a toplevel 'make install'. To | ||
install: | ||
|
||
# cd emane-X.Y.Z/src/emanesh | ||
# make | ||
# python setup.py install | ||
|
||
|
||
Making distribution packages | ||
== | ||
|
||
To make RPMs on Fedora/RHEL distributions [1]: | ||
|
||
# ./configure && make rpm | ||
|
||
[1] You must have the rpm-build package installed. It is available via the | ||
distribution package repository. | ||
|
||
To make debs on Ubuntu [1]: | ||
|
||
# ./configure && make deb | ||
|
||
[2] You must have both debhelper and python-stdeb packages installed. Both are | ||
available via the distribution package repository. | ||
|
||
See './configure --help' for more build options. | ||
|
||
|
||
EMANE Dependencies | ||
== | ||
|
||
Most run-time dependency packages are available via the distribution package | ||
repository. | ||
|
||
Name Fedora/RHEL Ubuntu | ||
-- ----------- ------ | ||
libxml-2.0 libxml2 libxml2 | ||
protobuf protobuf libprotobuf6 | ||
protobuf-python python-protobuf | ||
libpcap libpcap libpcap0.8 | ||
libpcre pcre libpcre3 | ||
libuuid libuuid libuuid1 | ||
ACE ace[1] libace | ||
|
||
[1] Available from: | ||
http://download.opensuse.org/repositories/devel:/libraries:/ACE:/micro/ | ||
|
||
EMANE is currently transitioning away from using ACE[2]. We expect to be | ||
completely ACE free by the next major release. | ||
|
||
[2] http://www.cs.wustl.edu/~schmidt/ACE.html | ||
|
||
Most build-time dependency packages are available via the distribution package | ||
repository. | ||
|
||
Name Fedora/RHEL Ubuntu | ||
-- ----------- ------ | ||
libxml-2.0 libxml2-devel libxml2-dev | ||
protobuf protobuf-devel libprotobuf-dev | ||
protobuf-python python-protobuf | ||
libpcap libpcap-devel libpcap-dev | ||
libpcre pcre-devel libpcre3-dev | ||
libuuid libuuid-devel uuid-dev | ||
ACE ace-devel[1] libace-dev | ||
mpc[1] | ||
|
||
[1] Available from: | ||
http://download.opensuse.org/repositories/devel:/libraries:/ACE:/micro/ | ||
|
||
|
||
Build Notes | ||
== | ||
|
||
EMANE uses C++11. If you are using an older distribution you may find the | ||
following information useful: | ||
|
||
Updating Ubuntu 12.04 to GCC 4.7.0 for C++11 support | ||
|
||
1. sudo add-apt-repository ppa:ubuntu-toolchain-r/test | ||
|
||
2. sudo apt-get update | ||
|
||
3. sudo apt-get install gcc-4.7 g++-4.7 | ||
|
||
4. The easiest way to build with autotools: | ||
./configure CXX=g++-4.7 | ||
|
||
Updating CentOS/SL 6.x to GCC 4.7.0 for C++11 support | ||
|
||
1. Create /etc/yum.repo.d/devtools.repo | ||
|
||
=== start cut-and-paste === | ||
[testing-devtools-$releasever] | ||
name=testing devtools for CentOS $releasever | ||
baseurl=http://people.centos.org/tru/devtools/6/$basearch/RPMS | ||
gpgcheck=0 | ||
=== end cut-and-paste === | ||
|
||
2. sudo yum install devtoolset-1.0-gcc-c++ | ||
|
||
3. The easiest way to build is to source in the devtoolset-1.0 environment: | ||
. /opt/centos/devtoolset-1.0/enable | ||
./configure | ||
|
||
|
||
Need more help? | ||
== | ||
|
||
Join the EMANE mailing list and post a question: | ||
|
||
http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
ACLOCAL_AMFLAGS = -I m4 | ||
|
||
SUBDIRS= src \ | ||
include/emane \ | ||
scripts \ | ||
scripts/doc \ | ||
dtd \ | ||
doc \ | ||
schema \ | ||
test | ||
|
||
edit = sed \ | ||
-e 's|@VERSION[@]|$(VERSION)|g' | ||
|
||
dist-hook: | ||
find $(distdir) -name "*.pb.*" -delete | ||
|
||
cleantar: | ||
@(rm -f emane*.tar.gz) | ||
|
||
RPMARCH=`rpm --showrc | awk '/^build arch/ {print $$4}'` | ||
|
||
if HAVE_RPMBUILD | ||
|
||
rpm: emane.spec dist-gzip | ||
mkdir -p .rpmbuild/BUILD \ | ||
.rpmbuild/SPECS \ | ||
.rpmbuild/SOURCES \ | ||
.rpmbuild/SRPMS \ | ||
.rpmbuild/RPMS/$(RPMARCH) \ | ||
.rpmbuild/RPMS/noarch \ | ||
.rpmbuild/tmp | ||
cp -f $(PACKAGE)-$(VERSION).tar.gz .rpmbuild/SOURCES | ||
rpmbuild --clean -ba $(top_srcdir)/$(PACKAGE).spec \ | ||
--define "_topdir $$PWD/.rpmbuild" \ | ||
--define "_tmppath $$PWD/.rpmbuild/tmp" | ||
$(MAKE) -C src/emanesh rpm &&\ | ||
cp src/emanesh/dist/emanesh-$(VERSION)-1.noarch.rpm .rpmbuild/RPMS/noarch && \ | ||
cp src/emanesh/dist/emanesh-$(VERSION)-1.src.rpm .rpmbuild/SRPMS | ||
@echo "============================================================" | ||
@echo "RPMs located in .rpmbuild/RPMS and .rpmbuild/SRPMS" | ||
|
||
endif | ||
|
||
clean-local: cleantar cleandeb | ||
-rm -rf .rpmbuild | ||
-rm -rf .debbuild | ||
-rm -f emane.spec | ||
-rm -f debian/changelog | ||
|
||
emane.spec: emane.spec.in | ||
if test -f $@; then chmod u+w $@; fi | ||
$(edit) $< > $@ | ||
chmod g-w,u-w $@ | ||
|
||
if HAVE_DEB | ||
|
||
deb: dist-gzip | ||
mkdir -p .debbuild | ||
cp -f $(PACKAGE)-$(VERSION).tar.gz .debbuild | ||
cd .debbuild && tar xzf $(PACKAGE)-$(VERSION).tar.gz | ||
$(edit) .debbuild/$(PACKAGE)-$(VERSION)/debian/changelog.in > \ | ||
.debbuild/$(PACKAGE)-$(VERSION)/debian/changelog | ||
cd .debbuild/$(PACKAGE)-$(VERSION) && dpkg-buildpackage -F -us -uc | ||
$(MAKE) -C .debbuild/$(PACKAGE)-$(VERSION)/src/emanesh deb && \ | ||
cp .debbuild/$(PACKAGE)-$(VERSION)/src/emanesh/deb_dist/emanesh_$(VERSION)-1_all.deb .debbuild | ||
@echo "============================================================" | ||
@echo "debs located in .debbuild" | ||
cleandeb: | ||
dh_clean | ||
else | ||
|
||
cleandeb: | ||
|
||
endif | ||
|
||
EXTRA_DIST = \ | ||
AUTHORS \ | ||
COPYING \ | ||
Copyright \ | ||
ChangeLog \ | ||
NEWS \ | ||
emane.spec.in \ | ||
PROBLEM-REPORT-FORM \ | ||
SPONSOR \ | ||
debian | ||
|
||
DISTCLEANFILES = .rpmbuild | ||
|
||
install-exec-hook: | ||
$(mkinstalldirs) $(DESTDIR)$(datadir)/$(PACKAGE)/manifest | ||
./scripts/emanegenmanifests.sh $(DESTDIR)$(datadir)/$(PACKAGE)/manifest | ||
|
||
uninstall-local: | ||
rm -f $(DESTDIR)$(datadir)/$(PACKAGE)/manifest/bypassmaclayer.xml | ||
rm -f $(DESTDIR)$(datadir)/$(PACKAGE)/manifest/bypassphylayer.xml | ||
rm -f $(DESTDIR)$(datadir)/$(PACKAGE)/manifest/commeffectshim.xml | ||
rm -f $(DESTDIR)$(datadir)/$(PACKAGE)/manifest/eelgenerator.xml | ||
rm -f $(DESTDIR)$(datadir)/$(PACKAGE)/manifest/gpsdlocationagent.xml | ||
rm -f $(DESTDIR)$(datadir)/$(PACKAGE)/manifest/ieee80211abgmaclayer.xml | ||
rm -f $(DESTDIR)$(datadir)/$(PACKAGE)/manifest/phyapitestshim.xml | ||
rm -f $(DESTDIR)$(datadir)/$(PACKAGE)/manifest/rfpipemaclayer.xml | ||
rm -f $(DESTDIR)$(datadir)/$(PACKAGE)/manifest/timinganalysisshim.xml | ||
rm -f $(DESTDIR)$(datadir)/$(PACKAGE)/manifest/transraw.xml | ||
rm -f $(DESTDIR)$(datadir)/$(PACKAGE)/manifest/transvirtual.xml | ||
rm -f $(DESTDIR)$(datadir)/$(PACKAGE)/manifest/universalphylayer.xml | ||
|
Oops, something went wrong.