shadow: update to 4.1.3
This commit is contained in:
parent
999acc4d8e
commit
452aa2f34a
@ -1,4 +1,3 @@
|
||||
05a85f1ea6bf26aec66a91b5f98a51b0 login.defs
|
||||
be8f69c2701118093af3d7f3bc02af16 pwck
|
||||
3d26d990d4c3add1b7f8387eec1d1fde shadow-4.1.2.2.tar.bz2
|
||||
f168a51db199db398b3c815aa20a3ed3 shadow-su-warning.diff
|
||||
d222bd50f64d52a32882c82ab1e85f28 shadow-4.1.3.tar.bz2
|
||||
|
@ -3,14 +3,14 @@
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
|
||||
name=shadow
|
||||
version=4.1.2.2
|
||||
release=2
|
||||
version=4.1.3
|
||||
release=1
|
||||
source=(ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/$name-$version.tar.bz2
|
||||
pwck login.defs shadow-su-warning.diff)
|
||||
pwck login.defs)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
patch -p2 -i $SRC/shadow-su-warning.diff
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--sysconfdir=/etc \
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- upstream/trunk/src/su.c 2008/09/06 12:51:53 2348
|
||||
+++ upstream/trunk/src/su.c 2008/11/23 12:10:21 2461
|
||||
@@ -721,7 +721,8 @@
|
||||
*/
|
||||
if (!amroot && pw_auth (pwent.pw_passwd, name, PW_SU, (char *) 0)) {
|
||||
SYSLOG ((pwent.pw_uid ? LOG_NOTICE : LOG_WARN,
|
||||
- "Authentication failed for %s", name));
|
||||
+ "Authentication failed for %s", name));
|
||||
+ fprintf(stderr, _("%s: Authentication failure\n"), Prog);
|
||||
su_failure (tty);
|
||||
}
|
||||
(void) signal (SIGQUIT, oldsig);
|
Loading…
Reference in New Issue
Block a user