/[packages]/cauldron/shadow-utils/current/SOURCES/shadow-4.1.5.1-tcb-build.patch
ViewVC logotype

Contents of /cauldron/shadow-utils/current/SOURCES/shadow-4.1.5.1-tcb-build.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 270392 - (show annotations) (download)
Thu Jul 12 14:11:15 2012 UTC (11 years, 8 months ago) by colin
File size: 914 byte(s)
- New version: 4.1.5.1
- Drop outdated local Dutch translation
- Drop binaries we do not want that are shipped elsewhere
- Package manpages from all locales
- Rediff patches
- Drop TCB patch in favour of upstream TCB support now included
- Write patch to fix upstream TCB build problems
- Drop upstream applied patch (groupmod-username)
1 --- shadow-4.1.5.1/src/Makefile.am.orig 2012-07-12 13:32:21.500031900 +0100
2 +++ shadow-4.1.5.1/src/Makefile.am 2012-07-12 13:38:35.633678734 +0100
3 @@ -55,14 +55,14 @@
4 endif
5
6 if WITH_TCB
7 -suidubins -= passwd
8 -shadowsgidubins = passwd
9 + suidubins -= passwd
10 + shadowsgidubins = passwd
11 endif
12
13 LDADD = $(INTLLIBS) \
14 - $(LIBTCB) \
15 $(top_builddir)/libmisc/libmisc.a \
16 - $(top_builddir)/lib/libshadow.la
17 + $(top_builddir)/lib/libshadow.la \
18 + $(LIBTCB)
19 AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\"
20
21 if ACCT_TOOLS_SETUID
22 --- shadow-4.1.5.1/src/userdel.c.orig 2012-07-12 13:39:56.881283335 +0100
23 +++ shadow-4.1.5.1/src/userdel.c 2012-07-12 13:40:38.020574816 +0100
24 @@ -798,7 +798,7 @@
25 {
26 char *buf;
27 int ret = 0;
28 - size_t bufsize = (sizeof TCB_DIR) + strlen (user_name) + 2;
29 + size_t buflen = (sizeof TCB_DIR) + strlen (user_name) + 2;
30
31 if (!getdef_bool ("USE_TCB")) {
32 return 0;

  ViewVC Help
Powered by ViewVC 1.1.30