[arch-commits] Commit in heimdal/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Fri Dec 5 11:17:57 UTC 2008
Date: Friday, December 5, 2008 @ 06:17:56
Author: allan
Revision: 20490
upgpkg: heimdal 1.2.1-1
Modified:
heimdal/trunk/PKGBUILD
----------+
PKGBUILD | 45 ++++++++++++++++-----------------------------
1 file changed, 16 insertions(+), 29 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-12-05 10:09:15 UTC (rev 20489)
+++ PKGBUILD 2008-12-05 11:17:56 UTC (rev 20490)
@@ -1,33 +1,32 @@
# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
#
-### Attention: build it 2 times - it links against itself! ###
-# ^ better remove old pkg before ;)
+### Attention: remove old pkg before building - it links against itself! ###
+#
pkgname=heimdal
-pkgver=1.2
-pkgrel=2
-pkgdesc="Heimdal Kerberos V5 libraries"
-arch=(i686 x86_64)
-url="http://www.pdc.kth.se/heimdal/"
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="Implementation of Kerberos V5 libraries"
+arch=('i686' 'x86_64')
+url="http://www.h5l.org/"
license=('custom')
depends=('db>=4.7' 'openssl' 'e2fsprogs')
-options=('!libtool' '!emptydirs')
backup=(etc/krb5.conf)
-source=(http://www.h5l.org/dist/src/heimdal-$pkgver.tar.gz \
+options=('!libtool' '!emptydirs')
+source=(http://www.h5l.org/dist/src/${pkgname}-${pkgver}.tar.gz \
002_all_heimdal-no_libedit.patch \
003_all_heimdal-fPIC.patch \
004_all_heimdal-rxapps.patch \
- #006_all_heimdal-suid_fix.patch \
heimdal-kdc.rc \
kadmind.rc \
kpasswd.rc)
-md5sums=('8d6b690069acd2ae8ada1315174f52f9'
+md5sums=('6e5028077e2a6b101a4a72801ba71b9e'
'1199c4a4a38e9c2b2c0a99bd5781767a'
'3d0262aa218e1611500de735d3581e28'
'0fe81cb1e33b2a2e60edaf47dfdfe4de'
- #'30372b1581e4d49a76688e450fd42443'
'e59650992b9541a30dfce727a194f6e0'
'1f2f86a67bbfddb7af581d35fdca9627'
'f8f1eca95b9d3f2b4ebf2417b71b81cf')
@@ -39,18 +38,7 @@
patch -Np0 -i ${srcdir}/002_all_heimdal-no_libedit.patch || return 1
patch -Np0 -i ${srcdir}/003_all_heimdal-fPIC.patch || return 1
patch -Np0 -i ${srcdir}/004_all_heimdal-rxapps.patch || return 1
-# patch -Np0 -i ${srcdir}/006_all_heimdal-suid_fix.patch || return 1
-
-# libtoolize -f -c || return 1
-# aclocal -I cf || return 1
-# autoheader || return 1
-# automake -a || return 1
-# autoconf || return 1
-# libtoolize -f -c || return 1
-# autoreconf || return 1
-# libtoolize -f -c || return 1
-
sed -i -e 's|var/heimdal|var/lib/heimdal|g' configure.in configure \
doc/setup.texi doc/heimdal.info kadmin/kadmind.8 kdc/kdc.8 \
lib/hdb/hdb.h lib/krb5/krb5.conf.5 lib/krb5/krb5.conf.cat5
@@ -81,19 +69,18 @@
done
rm -rf ${pkgdir}/usr/share/man/cat{1,3,5,8}
- #Arch could be a KDC too
+ # Arch could be a KDC too
mkdir -p ${pkgdir}/etc/rc.d
install -m644 ${srcdir}/heimdal-${pkgver}/krb5.conf ${pkgdir}/etc
for i in heimdal-kdc kadmind kpasswd; do
install -m755 ${srcdir}/${i}.rc ${pkgdir}/etc/rc.d/${i}
done
- #Remove some conflicts
- rm ${pkgdir}/usr/share/man/man5/ftpusers.5*
- rm ${pkgdir}/usr/share/man/man5/login.access.5*
+ # Remove conflicts
+ rm ${pkgdir}/usr/share/man/man5/ftpusers.5* # man-pages
rm ${pkgdir}/usr/share/info/dir
- # install the license
+ # Install the license
install -D -m644 ${srcdir}/${pkgname}-${pkgver}/LICENSE \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
More information about the arch-commits
mailing list