aboutsummaryrefslogtreecommitdiff
path: root/network/pound
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
commit687c78d5604ce299d5164ffd69de88f2dd10fefc (patch)
tree2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /network/pound
parent610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff)
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/pound')
-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 fd7cd0669dce2..175e9954a308d 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