[arch-commits] Commit in pam/trunk (PKGBUILD pam-1.1.1-db5.patch)
Tobias Powalowski
tpowa at archlinux.org
Mon Jan 3 22:58:24 UTC 2011
Date: Monday, January 3, 2011 @ 17:58:23
Author: tpowa
Revision: 104544
upgpkg: pam 1.1.3-1
bump to latest version, added docs
Modified:
pam/trunk/PKGBUILD
Deleted:
pam/trunk/pam-1.1.1-db5.patch
---------------------+
PKGBUILD | 15 ++++++++-------
pam-1.1.1-db5.patch | 12 ------------
2 files changed, 8 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-01-03 22:34:34 UTC (rev 104543)
+++ PKGBUILD 2011-01-03 22:58:23 UTC (rev 104544)
@@ -3,30 +3,31 @@
# Contributor: judd <jvinet at zeroflux.org>
pkgname=pam
-pkgver=1.1.1
-pkgrel=2
+pkgver=1.1.3
+pkgrel=1
pkgdesc="PAM (Pluggable Authentication Modules) library"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.kernel.org/pub/linux/libs/pam/"
depends=('glibc' 'db' 'cracklib')
-makedepends=('flex')
+makedepends=('flex' 'w3m' 'docbook-xml>=4.4' 'docbook-xsl')
backup=(etc/security/{access.conf,group.conf,limits.conf,namespace.conf,namespace.init,pam_env.conf,time.conf} etc/pam.d/other etc/default/passwd etc/environment)
source=(http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-$pkgver.tar.bz2
ftp://ftp.suse.com/pub/people/kukuk/pam/pam_unix2/pam_unix2-2.6.tar.bz2
- pam-1.1.1-db5.patch
other)
options=('!libtool' '!emptydirs')
-md5sums=('9b3d952b173d5b9836cbc7e8de108bee'
+md5sums=('6db7fcb5db6253350e3a4648ceac40e7'
'e2788389a6c59224110a45fcff30e02b'
- '7ab50aacef6871dcf900a1d4df158667'
'6e6c8719e5989d976a14610f340bd33a')
build() {
cd $srcdir/Linux-PAM-$pkgver
- patch -Np1 -i $srcdir/pam-1.1.1-db5.patch
./configure --sysconfdir=/etc DESTDIR=$pkgdir --libdir=/lib
make
+}
+
+package() {
+ cd $srcdir/Linux-PAM-$pkgver
make INSTALL=/bin/install DESTDIR=$pkgdir install
install -D -m644 ../other $pkgdir/etc/pam.d/other
# build pam_unix2 module
Deleted: pam-1.1.1-db5.patch
===================================================================
--- pam-1.1.1-db5.patch 2011-01-03 22:34:34 UTC (rev 104543)
+++ pam-1.1.1-db5.patch 2011-01-03 22:58:23 UTC (rev 104544)
@@ -1,12 +0,0 @@
---- Linux-PAM-1.1.1/modules/pam_userdb/pam_userdb.c.ark 2010-04-15 13:41:11.521290322 +0200
-+++ Linux-PAM-1.1.1/modules/pam_userdb/pam_userdb.c 2010-04-15 13:41:35.923290703 +0200
-@@ -29,7 +29,8 @@
- # include <ndbm.h>
- #else
- # ifdef HAVE_DB_H
--# define DB_DBM_HSEARCH 1 /* use the dbm interface */
-+# define DB_DBM_HSEARCH 1 /* use the dbm interface for db <= 4.8 */
-+# define HAVE_DBM 1 /* use the dbm interface for db >= 5.0 */
- # include <db.h>
- # else
- # error "failed to find a libdb or equivalent"
More information about the arch-commits
mailing list