[Lunar-commits] r16161 - in moonbase/trunk/security: Linux-PAM cracklib shadow
Auke Kok
sofar at lunar-linux.org
Sat Aug 20 16:09:42 UTC 2005
Author: sofar
Date: 2005-08-20 16:09:40 +0000 (Sat, 20 Aug 2005)
New Revision: 16161
Modified:
moonbase/trunk/security/Linux-PAM/BUILD
moonbase/trunk/security/Linux-PAM/DETAILS
moonbase/trunk/security/cracklib/BUILD
moonbase/trunk/security/cracklib/DETAILS
moonbase/trunk/security/shadow/BUILD
moonbase/trunk/security/shadow/DETAILS
Log:
Updated cracklib to a new version and rewritten all chain tools for 'passwd' to put the most vital libs and programs outside of /usr (which may not be available at some stages). Also fixed the login.defs problem with the timezone being wrong.
Modified: moonbase/trunk/security/Linux-PAM/BUILD
===================================================================
--- moonbase/trunk/security/Linux-PAM/BUILD 2005-08-20 14:30:36 UTC (rev 16160)
+++ moonbase/trunk/security/Linux-PAM/BUILD 2005-08-20 16:09:40 UTC (rev 16161)
@@ -2,6 +2,7 @@
export HAVE_SGML2LATEX=no
+
cat >> modules/pam_limits/limits.skel << EOF
#lunar hack to disable core dumps
@@ -10,6 +11,7 @@
EOF
autoconf &&
+ sedit 's|DICT_DIR_CANDIDATES="|DICT_DIR_CANDIDATES="/lib/cracklib |' configure &&
./configure --enable-read-both-confs \
--enable-docdir=/usr/share/doc/Linux-PAM \
--mandir=/usr/share/man \
Modified: moonbase/trunk/security/Linux-PAM/DETAILS
===================================================================
--- moonbase/trunk/security/Linux-PAM/DETAILS 2005-08-20 14:30:36 UTC (rev 16160)
+++ moonbase/trunk/security/Linux-PAM/DETAILS 2005-08-20 16:09:40 UTC (rev 16161)
@@ -1,9 +1,9 @@
MODULE=Linux-PAM
VERSION=0.79
- PVERSION=1.2
+ PVERSION=1.2
RHVERSION=0.77-4
SOURCE=$MODULE-$VERSION.tar.bz2
- SOURCE2=$MODULE-patches-$PVERSION.tar.bz2
+ SOURCE2=$MODULE-patches-$PVERSION.tar.bz2
SOURCE_URL[0]=$KERNEL_URL/pub/linux/libs/pam/pre/library/
SOURCE_URL[1]=ftp://ftp.kernel.org/pub/linux/libs/pam/pre/library/
SOURCE2_URL=$PATCH_URL/
@@ -12,9 +12,9 @@
WEB_SITE=http://www.us.kernel.org/pub/linux/libs/pam
MAINTAINER=ratler at lunar-linux.org
ENTERED=20010922
- UPDATED=20050525
- PSAFE=no
- SHORT="Linux-PAM provides a flexibile authentication mechanism."
+ UPDATED=20050820
+ SHORT="Flexibile authentication mechanisms."
+PSAFE=no
cat << EOF
Linux-PAM provides a flexible mechanism for authenticating users. PAM
was invented by SUN Microsystems.
Modified: moonbase/trunk/security/cracklib/BUILD
===================================================================
--- moonbase/trunk/security/cracklib/BUILD 2005-08-20 14:30:36 UTC (rev 16160)
+++ moonbase/trunk/security/cracklib/BUILD 2005-08-20 16:09:40 UTC (rev 16161)
@@ -1,12 +1,12 @@
(
- patch_it $SOURCE_CACHE/$SOURCE2 1 &&
- make all &&
- prepare_install &&
- mkdir -p /usr/share/dict &&
- make install &&
- cp cracklib/libcrack.so /lib &&
- ln -sf /lib/libcrack.so /usr/lib/libcrack.so &&
- cp $SCRIPT_DIRECTORY/crack.h /usr/include
+ ./configure --prefix=/ \
+ --datadir=/lib \
+ --includedir=/usr/include \
+ --infodir=/usr/share/doc \
+ --mandir=/usr/share/man \
+ $OPTS &&
+ default_make &&
+ make dict
) > $C_FIFO 2>&1
Modified: moonbase/trunk/security/cracklib/DETAILS
===================================================================
--- moonbase/trunk/security/cracklib/DETAILS 2005-08-20 14:30:36 UTC (rev 16160)
+++ moonbase/trunk/security/cracklib/DETAILS 2005-08-20 16:09:40 UTC (rev 16161)
@@ -1,24 +1,20 @@
MODULE=cracklib
- VERSION=2.7
- SOURCE=$MODULE-$VERSION.tar.bz2
- SOURCE2=$MODULE-$VERSION.patch
- SOURCE_URL=http://lunar-linux.org/lunar/mirrors/
- SOURCE2_URL=$PATCH_URL/
+ VERSION=2.8.3
+ SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE_URL=$SFORGE_URL/$MODULE/
+ SOURCE_VFY=sha1:73d0ca9aca156cc3411d688785189a53ee2743b8
WEB_SITE=http://www.crypticide.org/users/alecm/
ENTERED=20020313
- UPDATED=20040129
- PSAFE=no
+ UPDATED=20050820
SHORT="library which may be used in a passwd-like program."
+PSAFE=no
cat << EOF
-cracklib is a library which may be used in a passwd-like program.
-
+Cracklib is a library which may be used in a passwd-like program.
CrackLib is a library containing a C function (well, lots of functions
really, but you only need to use one of them) which may be used in a
"passwd"-like program.
-
The idea is simple: try to prevent users from choosing passwords that
could be guessed by "Crack" by filtering them out, at source.
-
CrackLib is an offshoot of the the version 5 "Crack" software, and
contains a considerable number of ideas nicked from the new software.
EOF
Modified: moonbase/trunk/security/shadow/BUILD
===================================================================
--- moonbase/trunk/security/shadow/BUILD 2005-08-20 14:30:36 UTC (rev 16160)
+++ moonbase/trunk/security/shadow/BUILD 2005-08-20 16:09:40 UTC (rev 16161)
@@ -8,17 +8,20 @@
fi
OPTS="$OPTS --with-libcrack"
- default_build || return 1
+ ./configure --prefix=/ --libdir=/usr/lib --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man $OPTS &&
- sedit 's|#CRACKLIB_DICTPATH.*$|CRACKLIB_DICTPATH /usr/share/dict/pw_dict|g' etc/login.defs*
- sedit 's/#MD5_CRYPT_ENAB.*$/MD5_CRYPT_ENAB yes/' etc/login.defs*
+ sedit 's|^ENV_TZ|#ENV_TZ|' etc/login.defs*
+ sedit 's|#CRACKLIB_DICTPATH.*$|CRACKLIB_DICTPATH /lib/cracklib/|g' etc/login.defs*
+ sedit 's|#MD5_CRYPT_ENAB.*$|MD5_CRYPT_ENAB yes|' etc/login.defs*
+ default_make &&
+
for FILE in limits login.access login.defs defaults ; do
[ -e /etc/$FILE ] || install etc/$FILE /etc/
done
[ -e /etc/securetty ] || install $SCRIPT_DIRECTORY/securetty /etc/
- ln -sf /usr/sbin/vipw /usr/sbin/vigr &&
- install $SCRIPT_DIRECTORY/adduser /usr/sbin/ &&
- install $SCRIPT_DIRECTORY/deluser /usr/sbin/
+ ln -sf /sbin/vipw /sbin/vigr &&
+ install $SCRIPT_DIRECTORY/adduser /sbin/ &&
+ install $SCRIPT_DIRECTORY/deluser /sbin/
) > $C_FIFO 2>&1
Modified: moonbase/trunk/security/shadow/DETAILS
===================================================================
--- moonbase/trunk/security/shadow/DETAILS 2005-08-20 14:30:36 UTC (rev 16160)
+++ moonbase/trunk/security/shadow/DETAILS 2005-08-20 16:09:40 UTC (rev 16161)
@@ -11,8 +11,8 @@
SOURCE2_VFY=sha1:6c8776f0df157b0f18d4f6c5effd854e5ec208ce
WEB_SITE=ftp://ftp.pld.org.pl/software/shadow
ENTERED=20010922
- UPDATED=20050126
- SHORT="shadow contains the shadow password file utilities."
+ UPDATED=20050820
+ SHORT="Contains the shadow password file utilities"
cat << EOF
The Shadow password file utilities package includes the programs
necessary to convert traditional V7 UNIX password files to the SVR4
More information about the Lunar-commits
mailing list