Skip to content

Commit

Permalink
Linux-PAM: Version bump to 1.1.5
Browse files Browse the repository at this point in the history
- Added new dependency for libtirpc
- Removed threading check, NPTL should be safe now
- Added redhat patches
  • Loading branch information
Ratler committed Nov 6, 2011
1 parent 47adad1 commit a748eec
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 19 deletions.
17 changes: 6 additions & 11 deletions security/Linux-PAM/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
# Stop pam_env from installing /etc/environment
sedit "/^sysconf_DATA/d" modules/pam_env/Makefile.am &&

libtoolize -f &&
AT_M4DIR="m4" autoreconf &&
# libtoolize &&

./configure --libdir=/lib \
--docdir=/usr/share/doc/Linux-PAM \
Expand All @@ -31,16 +31,11 @@
# Test our modules, we don't want a broken system
ldconfig -n $SOURCE_DIRECTORY/libpam/.libs &&
find $SOURCE_DIRECTORY/modules -name "pam*.so" | while read module; do
if ! env LD_LIBRARY_PATH=$SOURCE_DIRECTORY/libpam/.libs \
$SOURCE_DIRECTORY/$MODULE-patches-$PVERSION/dlopen.sh $SOURCE_DIRECTORY -ldl -lpam -L$SOURCE_DIRECTORY/libpam/.libs ${module} ; then
echo ERROR module: ${module} cannot be loaded.
exit 1
fi
if env LD_LIBRARY_PATH=$SOURCE_DIRECTORY/libpam/.libs \
LD_PRELOAD=$SOURCE_DIRECTORY/libpam/.libs/libpam.so ldd -r ${module} | fgrep -q libpthread ; then
echo ERROR module: ${module} pulls threading libraries.
exit 1
fi
if ! env LD_LIBRARY_PATH=$SOURCE_DIRECTORY/libpam/.libs \
$SOURCE_DIRECTORY/$MODULE-patches-$PVERSION/dlopen.sh $SOURCE_DIRECTORY -ldl -lpam -L$SOURCE_DIRECTORY/libpam/.libs ${module} ; then
echo ERROR module: ${module} cannot be loaded.
exit 1
fi
done &&

prepare_install &&
Expand Down
1 change: 1 addition & 0 deletions security/Linux-PAM/DEPENDS
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
depends automake
depends cracklib
depends gettext
depends libtirpc
15 changes: 7 additions & 8 deletions security/Linux-PAM/DETAILS
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
MODULE=Linux-PAM
VERSION=1.1.3
PVERSION=2.3
VERSION=1.1.5
PVERSION=2.4
RHVERSION=0.99.10-1
SOURCE=$MODULE-$VERSION.tar.bz2
SOURCE2=$MODULE-patches-$PVERSION.tar.bz2
SOURCE_URL[0]=$KERNEL_URL/pub/linux/libs/pam/library/
SOURCE_URL[1]=ftp://ftp.kernel.org/pub/linux/libs/pam/library/
SOURCE_URL=https://fedorahosted.org/releases/l/i/linux-pam
SOURCE2_URL=$PATCH_URL
SOURCE_VFY=sha256:17b268789b935a76e736a1150210dd12f156972973e79347668f828d43632652
SOURCE2_VFY=sha256:25055bd45c3b0db77c91acfd3a1b149ed360a77d2dda41ff158b940d7172421c
WEB_SITE=http://www.kernel.org/pub/linux/libs/pam
SOURCE_VFY=sha256:65def4df04254dc4c5156859d36c34ad6d7afbcf3adbf2780530ebc4dbf2a116
SOURCE2_VFY=sha256:6db8ff00621959a683b9b6932267a243263f1dcc1927df5941cb18d6edecf0a9
WEB_SITE=https://fedorahosted.org/linux-pam/
MAINTAINER=ratler@lunar-linux.org
ENTERED=20010922
UPDATED=20101124
UPDATED=20111106
SHORT="Pluggable Authentication Modules"
PSAFE=no

Expand Down

0 comments on commit a748eec

Please sign in to comment.