Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network/pound: Fix permissions on /etc files. #6860

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions network/pound/pound.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,18 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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

rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog NEWS README THANKS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/etc $PKG/etc/rc.d
cp $CWD/pound.cfg $PKG/etc/pound.cfg.new
cp $CWD/rc.pound $PKG/etc/rc.d/rc.pound.new
install -D -m 0644 -o root -g root $CWD/pound.cfg $PKG/etc/pound.cfg.new
install -D -m 0644 -o root -g root $CWD/rc.pound $PKG/etc/rc.d/rc.pound.new

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
Expand Down