diff options
Diffstat (limited to 'development')
-rw-r--r-- | development/argus-clients/README | 6 | ||||
-rw-r--r-- | development/argus-clients/argus-clients.SlackBuild | 86 | ||||
-rw-r--r-- | development/argus-clients/argus-clients.info | 10 | ||||
-rw-r--r-- | development/argus-clients/slack-desc | 19 | ||||
-rw-r--r-- | development/argus/README | 16 | ||||
-rw-r--r-- | development/argus/argus.SlackBuild | 96 | ||||
-rw-r--r-- | development/argus/argus.info | 10 | ||||
-rw-r--r-- | development/argus/doinst.sh | 27 | ||||
-rw-r--r-- | development/argus/rc.argus.patch | 32 | ||||
-rw-r--r-- | development/argus/slack-desc | 19 |
10 files changed, 0 insertions, 321 deletions
diff --git a/development/argus-clients/README b/development/argus-clients/README deleted file mode 100644 index dc803a6cf7..0000000000 --- a/development/argus-clients/README +++ /dev/null @@ -1,6 +0,0 @@ -This is a Slackbuild packaging of the Argus network auditing suite. -Argus has two packages, "argus", which includes the monitoring agent -and "argus-clients", which includes all the tools you need to analyze -Argus output. Similarly, I've created separate Slackbuilds; you will -almost certainly also want to install "argus", possibly on some other -machine. diff --git a/development/argus-clients/argus-clients.SlackBuild b/development/argus-clients/argus-clients.SlackBuild deleted file mode 100644 index f8a716c530..0000000000 --- a/development/argus-clients/argus-clients.SlackBuild +++ /dev/null @@ -1,86 +0,0 @@ -#!/bin/sh -# Slackware build script for argus-clients -# Written by R. Bailey <bailey@akamai.com> - -PRGNAM=argus-clients -VERSION=${VERSION:-3.0.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make \ - CCOPT="$SLKCFLAGS" \ - docdir=/usr/doc/$PRGNAM-$VERSION -make install \ - docdir=/usr/doc/$PRGNAM-$VERSION \ - DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - ChangeLog COPYING CREDITS INSTALL MANIFEST README VERSION \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/argus-clients/argus-clients.info b/development/argus-clients/argus-clients.info deleted file mode 100644 index de686f635c..0000000000 --- a/development/argus-clients/argus-clients.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="argus-clients" -VERSION="3.0.2" -HOMEPAGE="http://www.qosient.com/argus/index.shtml" -DOWNLOAD="ftp://qosient.com/pub/argus/src/argus-clients-3.0.2.tar.gz" -MD5SUM="c6e176a630844bb35304bd78a4d62078" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Andy Bailey" -EMAIL="bailey@akamai.com" -APPROVED="rworkman" diff --git a/development/argus-clients/slack-desc b/development/argus-clients/slack-desc deleted file mode 100644 index 7cb0f60af3..0000000000 --- a/development/argus-clients/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -argus-clients: argus-clients (open source IP Audit tool) -argus-clients: -argus-clients: Argus is a data network transaction auditing tool that -argus-clients: categorizes network packets which match the boolean expression into a -argus-clients: protocol-specific network transaction model. Argus reports on -argus-clients: the transactions that it discovers, as they occur. -argus-clients: -argus-clients: This package "argus-clients" includes programs useful for analyzing -argus-clients: output from the Argus daemon, which is packaged separately in the -argus-clients: "argus" slackbuild. -argus-clients: diff --git a/development/argus/README b/development/argus/README deleted file mode 100644 index 86c162b8e6..0000000000 --- a/development/argus/README +++ /dev/null @@ -1,16 +0,0 @@ -This is a Slackbuild packaging of the Argus network auditing suite. -Argus has two packages, "argus", which includes the monitoring agent, -and "argus-clients", which includes all the tools you need to analyze -Argus output. Similarly, I've create separate Slackbuilds; you will -almost certainly also want to install argus-clients, possibly on some -other machine. - -The package is built with the standard Slackbuilds autoconf-configure -parameters. The package uses the contributed init script for the argus -daemon with a couple of slight modifications. First, the init script -doesn't test whether your interface is up before starting. Also, I've -patched the script not to put the interface into promiscuous mode by -default. - -By default, output is recorded to /var/log/argus/argus.out and is not -automatically rotated. diff --git a/development/argus/argus.SlackBuild b/development/argus/argus.SlackBuild deleted file mode 100644 index f83c543e50..0000000000 --- a/development/argus/argus.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh - -# Slackware build script for Argus -# Written by R. Bailey <bailey@akamai.com> - -PRGNAM=argus -VERSION=${VERSION:-3.0.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make \ - CCOPT= \ - docdir=/usr/doc/$PRGNAM-$VERSION - -make install \ - docdir=/usr/doc/$PRGNAM-$VERSION \ - DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - -mkdir -p $PKG/etc -cp -a support/Config/argus.conf $PKG/etc/argus.conf.new - -mkdir -p $PKG/etc/rc.d -patch -p0 < $CWD/rc.argus.patch -chmod 0644 support/Startup/argus -cp -a support/Startup/argus $PKG/etc/rc.d/rc.argus.new - -cp -a \ - COPYING ChangeLog MANIFEST CREDITS VERSION doc/README \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/argus/argus.info b/development/argus/argus.info deleted file mode 100644 index 5db237847a..0000000000 --- a/development/argus/argus.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="argus" -VERSION="3.0.2" -HOMEPAGE="http://www.qosient.com/argus/index.shtml" -DOWNLOAD="ftp://qosient.com/pub/argus/src/argus-3.0.2.tar.gz" -MD5SUM="7dc6ebe03bc840a777dd93447d269a31" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Andy Bailey" -EMAIL="bailey@akamai.com" -APPROVED="rworkman" diff --git a/development/argus/doinst.sh b/development/argus/doinst.sh deleted file mode 100644 index fde57a9702..0000000000 --- a/development/argus/doinst.sh +++ /dev/null @@ -1,27 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -preserve_perms() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ -e $OLD ]; then - cp -a $OLD ${NEW}.incoming - cat $NEW > ${NEW}.incoming - mv ${NEW}.incoming $NEW - fi - config $NEW -} - -preserve_perms etc/rc.d/rc.argus.new -config etc/argus.conf.new - diff --git a/development/argus/rc.argus.patch b/development/argus/rc.argus.patch deleted file mode 100644 index eb42fda952..0000000000 --- a/development/argus/rc.argus.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- support/Startup/argus.orig 2010-07-06 11:23:38.032000082 -0400 -+++ support/Startup/argus 2010-07-06 11:27:15.466000084 -0400 -@@ -43,17 +43,17 @@ - fi - - # Source networking configuration. --. /etc/sysconfig/network -+#. /etc/sysconfig/network - - # Check that networking is up. --[ ${NETWORKING} = "no" ] && exit 1 -+# [ ${NETWORKING} = "no" ] && exit 1 - - - # Set argus path by defining $ARGUSHOME for this script. - # If argus was installed in another way, modify PATH to - # include the directory where the argus binary was installed. - --ARGUSDIR=/usr/local/sbin -+ARGUSDIR=/usr/sbin - ARGUSHOME=$ARGUSDIR - export PATH=$ARGUSHOME:$PATH - -@@ -71,7 +71,7 @@ - then - mkdir /var/log/argus - fi -- argus -de `hostname` -w /var/log/argus/argus.out \ -+ argus -p -de `hostname` -w /var/log/argus/argus.out \ - > /dev/null 2>&1 - RETVAL=$? - else diff --git a/development/argus/slack-desc b/development/argus/slack-desc deleted file mode 100644 index 45612e0675..0000000000 --- a/development/argus/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -argus: argus (open source IP Audit tool) -argus: -argus: Argus is a data network transaction auditing tool that -argus: categorizes network packets which match the boolean expression into -argus: a protocol-specific network transaction model. Argus reports on the -argus: transactions that it discovers, as they occur. -argus: -argus: -argus: -argus: -argus: |