summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-19 04:27:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-19 04:27:50 +0700
commit8eb42bb6e63b9a36e648880bfbc26fd6e121b124 (patch)
tree5c298bb14db547a604fb1da8489c67811b221460 /network
parentdb65f40cac4aea0d761bcbeec835d82c2b722839 (diff)
downloadslackbuilds-8eb42bb6e63b9a36e648880bfbc26fd6e121b124.tar.gz
network/krb5: Further refinement.
Thanks to Ryan for suggestion. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/krb5/doinst.sh4
-rw-r--r--network/krb5/krb5.SlackBuild9
2 files changed, 4 insertions, 9 deletions
diff --git a/network/krb5/doinst.sh b/network/krb5/doinst.sh
deleted file mode 100644
index 56812592ca..0000000000
--- 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 88101ed9d1..f5cd3800f4 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}