From 8eb42bb6e63b9a36e648880bfbc26fd6e121b124 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Tue, 19 Jan 2016 04:27:50 +0700 Subject: network/krb5: Further refinement. Thanks to Ryan for suggestion. Signed-off-by: Willy Sudiarto Raharjo --- network/krb5/doinst.sh | 4 ---- network/krb5/krb5.SlackBuild | 9 ++++----- 2 files changed, 4 insertions(+), 9 deletions(-) delete mode 100644 network/krb5/doinst.sh (limited to 'network/krb5') diff --git a/network/krb5/doinst.sh b/network/krb5/doinst.sh deleted file mode 100644 index 56812592ca05..000000000000 --- a/network/krb5/doinst.sh +++ /dev/null @@ -1,4 +0,0 @@ -# Add kerberos libs to the library search path -if ! grep -q '^/usr/kerberos/lib$' etc/ld.so.conf ; then - echo "/usr/kerberos/lib" >> etc/ld.so.conf -fi diff --git a/network/krb5/krb5.SlackBuild b/network/krb5/krb5.SlackBuild index 88101ed9d139..f5cd3800f474 100644 --- a/network/krb5/krb5.SlackBuild +++ b/network/krb5/krb5.SlackBuild @@ -67,10 +67,10 @@ cd $PRGNAM-$VERSION/src CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --prefix=/usr/ \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --mandir=/usr/kerberos/man \ + --mandir=/usr/man \ --enable-dns-for-realm \ --with-ldap \ --build=$ARCH-slackware-linux @@ -86,8 +86,8 @@ chmod 0755 $PKG/etc/profile.d/* 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 -find $PKG/usr/kerberos/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/kerberos/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $CWD/README $CWD/README.krb5 $CWD/EXPORT $PKG/usr/doc/$PRGNAM-$VERSION @@ -97,7 +97,6 @@ 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} -- cgit v1.2.3