mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/pound: Updated for version 2.4.3
This commit is contained in:
parent
60e6924394
commit
8cacc7adde
4 changed files with 14 additions and 6 deletions
|
@ -38,10 +38,13 @@ POUNDGROUP=${POUNDGROUP:-nobody}
|
|||
|
||||
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"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -64,6 +67,7 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc/pound \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
|
@ -74,8 +78,10 @@ make all
|
|||
make install DESTDIR=$PKG
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
# Fix up some ownership and permissions
|
||||
|
@ -107,4 +113,4 @@ 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.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="pound"
|
|||
VERSION="2.4.3"
|
||||
HOMEPAGE="http://www.apsis.ch/pound/"
|
||||
DOWNLOAD="http://www.apsis.ch/pound/Pound-2.4.3.tgz"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="2de4c2ac1023b420b74a1bc08fb93b8a"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Thales A. Tsailas"
|
||||
EMAIL="ttsailas@enforcingit.com"
|
||||
APPROVED="rworkman"
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
# pidfile: /var/run/pound_pid.nnn
|
||||
|
||||
if [ -f /var/run/pound.pid ]; then
|
||||
pid=`cat /var/run/pound.pid`
|
||||
pid=`cat /var/run/pound.pid`
|
||||
else
|
||||
pid=-1;
|
||||
pid=-1;
|
||||
fi
|
||||
|
||||
. /etc/init.d/functions
|
||||
|
|
|
@ -15,5 +15,5 @@ pound: data objects, and to allow for a convenient SSL wrapper for those web
|
|||
pound: servers that do not offer it natively. Pound is distributed under
|
||||
pound: the GPL license.
|
||||
pound:
|
||||
pound: Homepage : http://www.apsis.ch/pound/
|
||||
pound: Homepage: http://www.apsis.ch/pound/
|
||||
pound:
|
||||
|
|
Loading…
Reference in a new issue