diff options
Diffstat (limited to 'network/krb5/krb5.SlackBuild')
-rw-r--r-- | network/krb5/krb5.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/network/krb5/krb5.SlackBuild b/network/krb5/krb5.SlackBuild index 6b116ee0adb2..cfe808c9b90b 100644 --- a/network/krb5/krb5.SlackBuild +++ b/network/krb5/krb5.SlackBuild @@ -87,6 +87,11 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# Add init scripts +mkdir -p $PKG/etc/rc.d +cat $CWD/rc.krb5kdc > $PKG/etc/rc.d/rc.krb5kdc.new +cat $CWD/rc.kadmind > $PKG/etc/rc.d/rc.kadmind.new + rm -rf $PKG/usr/man/cat{1,5,8} 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 @@ -99,6 +104,7 @@ find $PKG/usr/doc -type f -exec chmod 0644 {} \; 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} |