aboutsummaryrefslogtreecommitdiff
path: root/network/pound/pound.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/pound/pound.SlackBuild')
-rw-r--r--network/pound/pound.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/network/pound/pound.SlackBuild b/network/pound/pound.SlackBuild
index fd7cd0669dce..175e9954a308 100644
--- a/network/pound/pound.SlackBuild
+++ b/network/pound/pound.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for Pound
+# Slackware build script for Pound
# Copyright 2008 Thales A. Tsailas (ttsailas@enforcingit.com)
# All rights reserved.
@@ -27,12 +27,10 @@ VERSION=2.6
BUILD=${BUILD:-1}
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
@@ -101,7 +99,7 @@ find $PKG/usr/sbin -type f -exec chmod 0755 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README GPL.txt FAQ CHANGELOG $CWD/README.SLACKWARE \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -110,7 +108,7 @@ chown root:root $PKG/usr/doc/$PRGNAM-$VERSION/*
mkdir -p $PKG/var/log/pound
touch $PKG/var/log/pound/{access,error}.log
chown -R $POUNDUSER:$POUNDGROUP $PKG/var/log/pound
-
+
mkdir -p $PKG/etc/{logrotate.d,pound,rc.d}
cat $CWD/pound.logrotate > $PKG/etc/logrotate.d/pound.new
cat $CWD/pound.cfg.new > $PKG/etc/pound/pound.cfg.new