r796 - crux-2.2/ports/core/shadow
Author: sip Date: 2006-02-23 19:15:03 +0100 (Thu, 23 Feb 2006) New Revision: 796 Removed: crux-2.2/ports/core/shadow/shadow-4.0.7-lastlog.patch crux-2.2/ports/core/shadow/shadow-4.0.7.patch Modified: crux-2.2/ports/core/shadow/.footprint crux-2.2/ports/core/shadow/.md5sum crux-2.2/ports/core/shadow/Pkgfile Log: shadow: updated to 4.0.14 Modified: crux-2.2/ports/core/shadow/.footprint =================================================================== --- crux-2.2/ports/core/shadow/.footprint 2006-02-23 18:12:46 UTC (rev 795) +++ crux-2.2/ports/core/shadow/.footprint 2006-02-23 18:15:03 UTC (rev 796) @@ -32,6 +32,7 @@ -rw-r--r-- root/root usr/man/man1/su.1.gz drwxr-xr-x root/root usr/man/man5/ -rw-r--r-- root/root usr/man/man5/faillog.5.gz +-rw-r--r-- root/root usr/man/man5/gshadow.5.gz -rw-r--r-- root/root usr/man/man5/limits.5.gz -rw-r--r-- root/root usr/man/man5/login.access.5.gz -rw-r--r-- root/root usr/man/man5/login.defs.5.gz @@ -57,6 +58,7 @@ -rwxr-xr-x root/root usr/sbin/groupdel -rwxr-xr-x root/root usr/sbin/groupmod -rwxr-xr-x root/root usr/sbin/grpck +-rwxr-xr-x root/root usr/sbin/nologin -rwxr-xr-x root/root usr/sbin/pwck -rwxr-xr-x root/root usr/sbin/useradd -rwxr-xr-x root/root usr/sbin/userdel Modified: crux-2.2/ports/core/shadow/.md5sum =================================================================== --- crux-2.2/ports/core/shadow/.md5sum 2006-02-23 18:12:46 UTC (rev 795) +++ crux-2.2/ports/core/shadow/.md5sum 2006-02-23 18:15:03 UTC (rev 796) @@ -1,5 +1,3 @@ d52af1b47b7a382bff9d0be6865f05ea login.defs be8f69c2701118093af3d7f3bc02af16 pwck -e500def1211d2e875431fe89fad5e97e shadow-4.0.7-lastlog.patch -a3f0ed0cf3910e5239ee4b7b6d919350 shadow-4.0.7.patch -89ebec0d1c0d861a5bd5c4c63e5cb0cc shadow-4.0.7.tar.bz2 +903f55cf05bbe082617d3337743792fb shadow-4.0.14.tar.bz2 Modified: crux-2.2/ports/core/shadow/Pkgfile =================================================================== --- crux-2.2/ports/core/shadow/Pkgfile 2006-02-23 18:12:46 UTC (rev 795) +++ crux-2.2/ports/core/shadow/Pkgfile 2006-02-23 18:15:03 UTC (rev 796) @@ -3,20 +3,19 @@ # Maintainer: Per Lid�n <per@fukt.bth.se> name=shadow -version=4.0.7 -release=3 -source=(ftp://ftp.pld.org.pl/software/shadow/old/$name-$version.tar.bz2 \ - pwck login.defs $name-$version.patch $name-$version-lastlog.patch) +version=4.0.14 +release=1 +source=(ftp://ftp.pld.org.pl/software/shadow/$name-$version.tar.bz2 \ + pwck login.defs) build() { cd $name-$version - patch -p1 < ../$name-$version.patch - patch -p1 < ../$name-$version-lastlog.patch ./configure --prefix=/usr \ --mandir=/usr/man \ --disable-shared \ --disable-shadowgrp \ - --disable-nls + --disable-nls \ + --without-selinux make make DESTDIR=$PKG install mkdir -p $PKG/etc/cron/daily $PKG/var/log @@ -30,6 +29,6 @@ $PKG/usr/sbin/{mkpasswd,newusers,pwconv,pwunconv} \ $PKG/usr/man/man8/{chpasswd.8,grpconv.8,grpunconv.8,logoutd.8} \ $PKG/usr/man/man8/{mkpasswd.8,newusers.8,pwconv.8,pwunconv.8} \ - $PKG/usr/man/{man3,cs,de,es,fr,hu,id,it,ja,ko,pl,pt_BR,ru,zh_CN,zh_TW} \ + $PKG/usr/man/{man3,cs,de,es,fi,tr,fr,hu,id,it,ja,ko,pl,pt_BR,ru,zh_CN,zh_TW} \ $PKG/lib } Deleted: crux-2.2/ports/core/shadow/shadow-4.0.7-lastlog.patch =================================================================== --- crux-2.2/ports/core/shadow/shadow-4.0.7-lastlog.patch 2006-02-23 18:12:46 UTC (rev 795) +++ crux-2.2/ports/core/shadow/shadow-4.0.7-lastlog.patch 2006-02-23 18:15:03 UTC (rev 796) @@ -1,20 +0,0 @@ -Submitted By: Archaic <archaic at linuxfromscratch dot org> -Date: 2005-03-22 -Initial Package Version: 4.0.7 -Origin: http://cvs.pld.org.pl/shadow/libmisc/log.c?r1=1.7&r2=1.8 -Upstream Status: Already in CVS -Description: Shadow fails to update the time of last login as noted by lastlog -when logging into a regular console. The Port (tty) column does get updated. -Remote logins and xterm logins seem to be not be broken, just console. - -diff -Naur shadow-4.0.7.orig/libmisc/log.c shadow-4.0.7/libmisc/log.c ---- shadow-4.0.7.orig/libmisc/log.c 2003-12-17 12:52:25.000000000 +0000 -+++ shadow-4.0.7/libmisc/log.c 2005-03-22 05:53:59.000000000 +0000 -@@ -89,6 +89,7 @@ - - ll_time = newlog.ll_time; - time (&ll_time); -+ newlog.ll_time = ll_time; - strncpy (newlog.ll_line, line, sizeof newlog.ll_line); - #if HAVE_LL_HOST - strncpy (newlog.ll_host, host, sizeof newlog.ll_host); Deleted: crux-2.2/ports/core/shadow/shadow-4.0.7.patch =================================================================== --- crux-2.2/ports/core/shadow/shadow-4.0.7.patch 2006-02-23 18:12:46 UTC (rev 795) +++ crux-2.2/ports/core/shadow/shadow-4.0.7.patch 2006-02-23 18:15:03 UTC (rev 796) @@ -1,28 +0,0 @@ -diff -Nru shadow-4.0.5/libmisc/pwdcheck.c shadow-4.0.5-new/libmisc/pwdcheck.c ---- shadow-4.0.5/libmisc/pwdcheck.c 2004-06-03 01:50:10.000000000 +0200 -+++ shadow-4.0.5-new/libmisc/pwdcheck.c 2004-10-29 21:28:31.545167952 +0200 -@@ -12,6 +12,7 @@ - #ifdef USE_PAM - #include "pam_defs.h" - #endif -+#include <stdio.h> - #define WRONGPWD2 "incorrect password for `%s'" - void - passwd_check (const char *user, const char *passwd, const char *progname) -diff -Nru shadow-4.0.5/src/login.c shadow-4.0.5-new/src/login.c ---- shadow-4.0.5/src/login.c 2004-08-04 12:33:43.000000000 +0200 -+++ shadow-4.0.5-new/src/login.c 2004-10-29 21:29:20.704694568 +0200 -@@ -812,13 +812,8 @@ - } - preauth_flag = 0; - #ifndef LOGIN_PROMPT --#ifdef __linux__ /* hostname login: - like in util-linux login */ -- login_prompt (_("\n%s login: "), username, -- sizeof username); --#else - login_prompt (_("login: "), username, - sizeof username); --#endif - #else - login_prompt (LOGIN_PROMPT, username, - sizeof username);
participants (1)
-
crux@crux.nu