aboutsummaryrefslogtreecommitdiff
path: root/network/krb5
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-19 06:09:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-19 06:09:02 +0700
commitf3d30e85612005de03d28a2137c4edacd96f9695 (patch)
tree717093c79c060c5d74ceb3e65f31119c9bd13a39 /network/krb5
parent8eb42bb6e63b9a36e648880bfbc26fd6e121b124 (diff)
network/krb5: Remove kerberos.{c}sh profiles.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/krb5')
-rw-r--r--network/krb5/config/kerberos.csh6
-rw-r--r--network/krb5/config/kerberos.sh4
-rw-r--r--network/krb5/krb5.SlackBuild5
3 files changed, 0 insertions, 15 deletions
diff --git a/network/krb5/config/kerberos.csh b/network/krb5/config/kerberos.csh
deleted file mode 100644
index 97c16debce1e2..0000000000000
--- a/network/krb5/config/kerberos.csh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/csh
-setenv PATH ${PATH}:/usr/kerberos/bin
-setenv MANPATH ${MANPATH}:/usr/kerberosman/
-if ( "$uid" == "0") then
- setenv PATH ${PATH}:/usr/kerberos/sbin
-endif
diff --git a/network/krb5/config/kerberos.sh b/network/krb5/config/kerberos.sh
deleted file mode 100644
index d52b73439dc3d..0000000000000
--- a/network/krb5/config/kerberos.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-PATH="$PATH:/usr/kerberos/bin"
-MANPATH="$MANPATH:/usr/kerberos/man"
-[ "$(id -u)" = "0" ] && PATH="$PATH:/usr/kerberos/sbin"
diff --git a/network/krb5/krb5.SlackBuild b/network/krb5/krb5.SlackBuild
index f5cd3800f4742..7dde6b6414400 100644
--- a/network/krb5/krb5.SlackBuild
+++ b/network/krb5/krb5.SlackBuild
@@ -78,11 +78,6 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-mkdir -p $PKG/etc/profile.d/
-cat $CWD/config/kerberos.sh > $PKG/etc/profile.d/kerberos.sh
-cat $CWD/config/kerberos.csh > $PKG/etc/profile.d/kerberos.csh
-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