initial import (Boeing r1752, NRL r878)

This commit is contained in:
ahrenholz 2013-08-29 14:21:13 +00:00
commit f8f46d28be
394 changed files with 99738 additions and 0 deletions

47
packaging/deb/changelog Normal file
View file

@ -0,0 +1,47 @@
core (4.6-0ubuntu2) precise; urgency=low
* Edit Copy and Paste, Edit Find, bugfixes, Debian compliance
-- Jeff Ahrenholz <core-dev@pf.itd.nrl.navy.mil> Mon, 12 Aug 2013 12:36:54 -0700
core (4.5-0ubuntu1) precise; urgency=low
* XML support, SDT3D support, EMANE 0.8.1, ns-3 locations, code cleanup,
bugfixes, and more.
-- Jeff Ahrenholz <core-dev@pf.itd.nrl.navy.mil> Thu, 11 Apr 2013 14:19:05 -0700
core (4.4-0ubuntu1) precise; urgency=low
* Bandwidth plots, event scheduling, EMANE 0.7.4, improved services support,
code cleanup, bugfixes, and more.
-- Jeff Ahrenholz <jeffrey.m.ahrenholz@boeing.com> Tue, 04 Sep 2012 11:53:23 -0700
core (4.3-0ubuntu1) oneiric; urgency=low
* Hook scripts, CEL, EMANE 0.7.3, physical nodes, improved WLAN and service
dialogs, code cleanup, bugfixes, and more.
-- Jeff Ahrenholz <jeffrey.m.ahrenholz@boeing.com> Thu, 09 Feb 2012 08:00:52 -0800
core (4.2-0ubuntu1) maverick; urgency=low
* bugfixes, EMANE 0.7.1 support.
-- Jeff Ahrenholz <jeffrey.m.ahrenholz@boeing.com> Mon, 15 Aug 2011 13:19:16 -0800
core (4.1-0ubuntu1) lucid; urgency=low
* Node services, customizable nodes, traffic flows, IP address allocator,
distributed emulation using GRE tunnels, EMANE 0.6.4 support, and more.
-- Jeff Ahrenholz <jeffrey.m.ahrenholz@boeing.com> Thu, 09 Dec 2010 07:02:16 -0800
core (4.0-0ubuntu1) lucid; urgency=low
* New CORE deb packaging. Extra magic added to omit the horrible
/usr/share/info/dir.gz file from being generated.
-- Jeff Ahrenholz <jeffrey.m.ahrenholz@boeing.com> Wed, 29 Jul 2010 16:07:26 -0700

1
packaging/deb/compat Normal file
View file

@ -0,0 +1 @@
9

27
packaging/deb/control Normal file
View file

@ -0,0 +1,27 @@
Source: core
Section: net
Priority: optional
Maintainer: Jeff Ahrenholz <core-dev@pf.itd.nrl.navy.mil>
Standards-Version: 3.8.4
Build-Depends: debhelper (>= 9), cdbs, autoconf, automake, gcc, libev-dev, make, python-dev, libreadline-dev, bridge-utils, ebtables, iproute, imagemagick, pkg-config, help2man
# python-sphinx
Homepage: http://cs.itd.nrl.navy.mil/work/core/index.php
Package: core-daemon
Architecture: any
Depends: bash (>=3.0), bridge-utils, ebtables, iproute, libev4, python (>=2.6), dpkg (>=1.15.4), ${shlibs:Depends}
Recommends: quagga
Description: Emulate virtual networks in a box.
The Common Open Research Emulator provides Python modules for building virtual
networks using Linux network namespace containers and bridging. This is the
daemon package containing the backend Python modules and core-daemon.
Package: core-gui
Architecture: all
Depends: bash (>=3.0), tcl8.5, tk8.5, libtk-img
Description: Emulate virtual networks in a box.
The Common Open Research Emulator provides Python modules for building virtual
networks using Linux network namespace containers and bridging. This is the
GUI package containing a canvas-based Tcl/Tk GUI for easily drawing virtual
network topologies.

35
packaging/deb/copyright Normal file
View file

@ -0,0 +1,35 @@
This package was debianized by Jeff Ahrenholz <jeffrey.m.ahrenholz@boeing.com>
4/3/13
It was downloaded from: http://cs.itd.nrl.navy.mil/work/core/index.php
Upstream Author(s): Jeff Ahrenholz <jeffrey.m.ahrenholz@boeing.com>
Copyright:
Copyright (C) 2010-2013, the Boeing Company.
License:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. 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.
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.
Packaging:
Copyright (C) 2010-2013, the Boeing Company.

View file

@ -0,0 +1,22 @@
#! /usr/bin/dh-exec
@SBINDIR@
@CORE_CONF_DIR@
# configure prints a warning if CORE_DATA_DIR is used here
# ATdatarootdirAT is expanding to ${datarootdir}/man/man1/
/usr/share/core/examples/corens3
/usr/share/core/examples/*.py
/usr/share/core/examples/hooks
/usr/share/core/examples/myservices
/usr/share/core/examples/netns
/usr/share/core/examples/services
# ATmandirAT is expanding to ${datarootdir}/man/man1/core-daemon.1
/usr/share/man/man1/vnoded.1
/usr/share/man/man1/vcmd.1
/usr/share/man/man1/netns.1
/usr/share/man/man1/core-daemon.1
/usr/share/man/man1/coresendmsg.1
/usr/share/man/man1/core-cleanup.1
/usr/share/man/man1/core-xen-cleanup.1
# ATpythondirAT is expanding to ${prefix}/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
/etc/init.d

View file

@ -0,0 +1,11 @@
#! /usr/bin/dh-exec
@BINDIR@/core-gui
@CORE_LIB_DIR@
# configure prints a warning if CORE_DATA_DIR is used here
# ATdatarootdirAT is expanding to ${datarootdir}/man/man1/
/usr/share/core/icons
/usr/share/core/examples/configs
/usr/share/pixmaps
/usr/share/applications
# ATmandirAT is expanding to ${datarootdir}/man/man1/core-gui.1
/usr/share/man/man1/core-gui.1

12
packaging/deb/core.postrm Normal file
View file

@ -0,0 +1,12 @@
#!/bin/sh
if [ "$1" = "remove" ]; then
PYTHONS="python2.6 python2.7"
for P in $PYTHONS
do
DIR="usr/lib/$P/dist-packages/core"
if [ -d $DIR ]; then
find $DIR -name '*.pyc' -exec rm -f '{}' ';' 2> /dev/null
fi
done
fi

18
packaging/deb/rules Executable file
View file

@ -0,0 +1,18 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
# this causes autoconf to regenerate ./configure, otherwise make distclean
# has blown it away
DEB_AUTO_UPDATE_ACLOCAL = 1.11
DEB_AUTO_UPDATE_AUTOHEADER = 2.65
DEB_AUTO_UPDATE_AUTOMAKE = 1.11 --add-missing --copy --foreign
DEB_AUTO_UPDATE_AUTOCONF = 2.65
# this prevents 'make install' from invoking install-info that generates a
# $(DEB_DESTDIR)usr/share/info/dir.gz file that causes a lintian error
# the following rule was not enough
# binary-post-install/core::
# rm -f $(DEB_DESTDIR)usr/share/info/dir.gz
#DEB_CONFIGURE_EXTRA_FLAGS := --disable-install-info