diff options
-rw-r--r-- | system/ulogd/README | 8 | ||||
-rw-r--r-- | system/ulogd/configure.in.diff | 10 | ||||
-rw-r--r-- | system/ulogd/doinst.sh | 24 | ||||
-rw-r--r-- | system/ulogd/rc.ulogd | 38 | ||||
-rw-r--r-- | system/ulogd/slack-desc | 19 | ||||
-rw-r--r-- | system/ulogd/ulogd.SlackBuild | 119 | ||||
-rw-r--r-- | system/ulogd/ulogd.info | 10 |
7 files changed, 0 insertions, 228 deletions
diff --git a/system/ulogd/README b/system/ulogd/README deleted file mode 100644 index 7279f12209..0000000000 --- a/system/ulogd/README +++ /dev/null @@ -1,8 +0,0 @@ -ulogd is a handy add-on for netfilter/iptables which allows you to -have your firewall logs put somewhere besides the main system logs -Be sure to check the documentation in /usr/doc/ulogd-1.24 - -You get an init script free of charge: /etc/rc.d/rc.ulogd -- -You'll just have to make it executable and call it from one of your -init scripts. Also, be sure to have a look at /etc/ulogd.conf; -it works fine with the default, but you might want to customize it... diff --git a/system/ulogd/configure.in.diff b/system/ulogd/configure.in.diff deleted file mode 100644 index 3df5d81a2a..0000000000 --- a/system/ulogd/configure.in.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- ulogd-1.24/configure.in 2005-11-25 20:58:27.000000000 +0100 -+++ ulogd-1.24/configure.in 2009-11-30 08:41:40.000000000 +0100 -@@ -20,6 +20,7 @@ - AC_C_CONST - AC_TYPE_SIZE_T - AC_STRUCT_TM -+AC_SYS_LARGEFILE - - dnl Checks for library functions. - AC_FUNC_VPRINTF diff --git a/system/ulogd/doinst.sh b/system/ulogd/doinst.sh deleted file mode 100644 index 31fe42432e..0000000000 --- a/system/ulogd/doinst.sh +++ /dev/null @@ -1,24 +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... -} - -# Keep same perms on rc.ulogd.new: -if [ -e etc/rc.d/rc.ulogd ]; then - cp -a etc/rc.d/rc.ulogd etc/rc.d/rc.ulogd.new.incoming - cat etc/rc.d/rc.ulogd.new > etc/rc.d/rc.ulogd.new.incoming - mv etc/rc.d/rc.ulogd.new.incoming etc/rc.d/rc.ulogd.new -fi - -config etc/ulogd.conf.new -config etc/logrotate.d/ulogd.new -config etc/rc.d/rc.ulogd.new - diff --git a/system/ulogd/rc.ulogd b/system/ulogd/rc.ulogd deleted file mode 100644 index d5097b29be..0000000000 --- a/system/ulogd/rc.ulogd +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# Start/stop/restart the userspace logging daemon ulogd -# -# Written for Slackware Linux by Robby Workman <http://rlworkman.net> -# ## (by modifying one of Pat's scripts) - -ulogd_start() { - if [ -x /usr/sbin/ulogd ]; then - echo "Starting ulogd daemon: /usr/sbin/ulogd " - /usr/sbin/ulogd -d 2> /dev/null - sleep 1 - fi -} - -ulogd_stop() { - killall ulogd 2> /dev/null -} - -ulogd_restart() { - ulogd_stop - sleep 1 - ulogd_start -} - -case "$1" in -'start') - ulogd_start - ;; -'stop') - ulogd_stop - ;; -'restart') - ulogd_restart - ;; -*) - echo "usage $0 start|stop|restart" -esac - diff --git a/system/ulogd/slack-desc b/system/ulogd/slack-desc deleted file mode 100644 index 85a4784991..0000000000 --- a/system/ulogd/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------------------------------------------------------| -ulogd: ulogd (Userspace Logging Daemon) -ulogd: -ulogd: ulogd is a handy add-on for netfilter/iptables which allows you to -ulogd: have your firewall logs put somewhere besides the main system logs -ulogd: Be sure to check the documentation in /usr/doc/ulogd-* -ulogd: -ulogd: -ulogd: -ulogd: -ulogd: -ulogd: diff --git a/system/ulogd/ulogd.SlackBuild b/system/ulogd/ulogd.SlackBuild deleted file mode 100644 index c07609ee47..0000000000 --- a/system/ulogd/ulogd.SlackBuild +++ /dev/null @@ -1,119 +0,0 @@ -#!/bin/sh - -# Slackware build script for ulogd - -# Copyright 2006,2007,2008,2009,2010 Robby Workman, Northport, Alabama, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''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 AUTHOR 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. - -PRGNAM=ulogd -VERSION=1.24 -BUILD=${BUILD:-4} -TAG=${TAG:-_SBo} - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) 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.bz2 -cd $PRGNAM-$VERSION -chown -R root:root . -chmod -R a-s,u+w,go+r-w . - -# Add large file support -patch -p1 < $CWD/configure.in.diff -autoconf - -CFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --with-sqlite3 \ - --with-mysql \ - --build=$ARCH-slackware-linux - -# "mysql_config --libs" shows -rdynamic, but it causes the mysql plugin -# to barf on compilation (and running too, according to bug reports in -# other distributions), so we'll remove that flag -sed -i 's%-rdynamic %%' Rules.make - -make -make install 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 - -install -D -m 0755 $CWD/rc.ulogd $PKG/etc/rc.d/rc.ulogd.new -mv $PKG/etc/ulogd.conf $PKG/etc/ulogd.conf.new - -# Install logrotate script -install -D -m 0644 ulogd.logrotate $PKG/etc/logrotate.d/ulogd.new - -# Install man page -mkdir -p $PKG/usr/man/man8 -cat ulogd.8 | gzip -9 > $PKG/usr/man/man8/ulogd.8.gz - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING README TODO Changes $PKG/usr/doc/$PRGNAM-$VERSION -for i in \ - mysql.table mysql.table.ipaddr-as-string pgsql.table sqlite3.table \ - ulogd.a4.ps ulogd.html ulogd.sgml ulogd.txt ; do - cat doc/$i > $PKG/usr/doc/$PRGNAM-$VERSION/$i ; -done -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/system/ulogd/ulogd.info b/system/ulogd/ulogd.info deleted file mode 100644 index 3fa6ae0b9f..0000000000 --- a/system/ulogd/ulogd.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="ulogd" -VERSION="1.24" -HOMEPAGE="http://www.netfilter.org/projects/ulogd/index.html" -DOWNLOAD="http://www.netfilter.org/projects/ulogd/files/ulogd-1.24.tar.bz2" -MD5SUM="05b4ed2926b9a22aaeaf642917bbf8ff" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Robby Workman" -EMAIL="rworkman@slackbuilds.org" |