[Pkg-shadow-commits] sid/debian/patches 311_high-uids.dpatch,NONE,1.1 00list,1.23,1.24 011_high-uids.dpatch,1.1,NONE

Christian Perrier pkg-shadow-devel@lists.alioth.debian.org
Sun, 08 May 2005 19:32:32 +0000


Update of /cvsroot/pkg-shadow/sid/debian/patches
In directory haydn:/tmp/cvs-serv20853/patches

Modified Files:
	00list 
Added Files:
	311_high-uids.dpatch 
Removed Files:
	011_high-uids.dpatch 
Log Message:
Activate the hig_UID patch (moved to 3xx series)


Index: 00list
===================================================================
RCS file: /cvsroot/pkg-shadow/sid/debian/patches/00list,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- 00list	8 May 2005 18:54:46 -0000	1.23
+++ 00list	8 May 2005 19:32:29 -0000	1.24
@@ -7,7 +7,6 @@
 008_src
 009_etc
 010_chpasswd-md5
-#011_high-uids
 101_cs
 102_de
 103_el
@@ -47,6 +46,7 @@
 203_pl_manpages
 204_pt_BR-manpages
 205_it-manpages
+311_high-uids
 312_usermod-302388
 313_pam_access_with_preauth
 314_passwd.1_formatting

--- 011_high-uids.dpatch DELETED ---

--- NEW FILE: 311_high-uids.dpatch ---
#! /bin/sh -e
## 011_high-uids.patch by Christian Perrier <bubulle@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Include upstream changes for high UID support in faillog and lastlog
## DP: Debian bug #280212

if [ $# -lt 1 ]; then
    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
    exit 1
fi

[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"

case "$1" in
    -patch) patch -p1 ${patch_opts} < $0;;
    -unpatch) patch -R -p1 ${patch_opts} < $0;;
    *)
        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
        exit 1;;
esac

exit 0

@DPATCH@

--- shadow-4.0.3.ori/configure.in	2005-01-10 08:26:18.000000000 +0100
+++ shadow-4.0.3/configure.in	2005-01-10 08:42:08.000000000 +0100
@@ -6,7 +6,7 @@
 dnl Some hacks...
 test "$prefix" = "NONE" && prefix="/usr"
 test "$prefix" = "/usr" && exec_prefix=""
-test "$CFLAGS" = "" && CFLAGS="-O2 -Wall"
+test "$CFLAGS" = "" && CFLAGS="-O2 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
 test "$LDFLAGS" = "" && LDFLAGS="-s"
 
 AM_DISABLE_SHARED