diff options
author | Menno Duursma <druiloor@zonnet.nl> | 2010-07-30 02:51:03 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-07-31 22:31:51 -0500 |
commit | 952a293306fb8ace94eda61b2ead9e16577482db (patch) | |
tree | c82a48f7f2b5023d933305126b9cb9f20fd76c4c /network/heimdal/heimdal.SlackBuild | |
parent | e502945912c3ccc6d55a6819bc921cf5f47cc4fd (diff) | |
download | slackbuilds-952a293306fb8ace94eda61b2ead9e16577482db.tar.gz |
network/heimdal: Updated for version 1.3.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/heimdal/heimdal.SlackBuild')
-rw-r--r-- | network/heimdal/heimdal.SlackBuild | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/network/heimdal/heimdal.SlackBuild b/network/heimdal/heimdal.SlackBuild index b2477f95a9..62f02ff77b 100644 --- a/network/heimdal/heimdal.SlackBuild +++ b/network/heimdal/heimdal.SlackBuild @@ -9,16 +9,14 @@ # http://sam.zoy.org/wtfpl/COPYING for more details. PRGNAM=heimdal -VERSION=${VERSION:-1.3.2} +VERSION=${VERSION:-1.3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -85,11 +83,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -( cd $PKG/usr/heimdal/man - rm -rf cat? # We don't want these - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +rm -rf $PKG/usr/heimdal/man/cat? # We don't want these +find $PKG/usr/heimdal/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/heimdal/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/* @@ -99,7 +95,6 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a [A-Z][A-Z]* ChangeLog* etc/services.append $PKG/usr/doc/$PRGNAM-$VERSION cp -a doc/{init-creds,layman.asc,mdate-sh} $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG find $PKG/usr/doc -type f -exec chmod -x {} \; # Add sample krb5.conf file (may not be needed) @@ -110,16 +105,16 @@ cat krb5.conf > $PKG/etc/krb5.conf-sample.new mkdir -p $PKG/var/heimdal # Add sample kdc.conf file (may not be needed) -cat $CWD/kdc.conf > $PKG/var/heimdal/kdc.conf-sample.new +cat $CWD/config/kdc.conf > $PKG/var/heimdal/kdc.conf-sample.new # Include a KDC rc-file for the admin to consider mkdir -p $PKG/etc/rc.d -cat $CWD/rc.heimdal > $PKG/etc/rc.d/rc.heimdal.new +cat $CWD/config/rc.heimdal > $PKG/etc/rc.d/rc.heimdal.new # Add heimdal to INFOPATH, MANPATH, and PATH mkdir -p $PKG/etc/profile.d -cat $CWD/heimdal.sh > $PKG/etc/profile.d/heimdal.sh.new -cat $CWD/heimdal.csh > $PKG/etc/profile.d/heimdal.csh.new +cat $CWD/config/heimdal.sh > $PKG/etc/profile.d/heimdal.sh.new +cat $CWD/config/heimdal.csh > $PKG/etc/profile.d/heimdal.csh.new chmod 0755 $PKG/etc/profile.d/* mkdir $PKG/install |