/[gentoo-alt]/trunk/sys-apps/freebsd-ubin/files/freebsd-ubin-setXid.patch
Gentoo

Contents of /trunk/sys-apps/freebsd-ubin/files/freebsd-ubin-setXid.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 318 - (show annotations) (download)
Tue May 3 14:41:04 2005 UTC (8 years, 11 months ago) by flameeyes
File size: 4346 byte(s)
Added new 5.4_rc3 with patches to build fine on 5.4 profile.

1 diff -ur usr.bin.orig/at/Makefile usr.bin.setXid/at/Makefile
2 --- usr.bin.orig/at/Makefile Thu Apr 7 20:52:57 2005
3 +++ usr.bin.setXid/at/Makefile Thu Apr 7 21:21:02 2005
4 @@ -15,6 +15,8 @@
5 BINMODE= 4555
6 CLEANFILES+= at.1
7
8 +LDFLAGS+=-Wl,-z,now
9 +
10 at.1: at.man
11 @${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
12 sed -e \
13 diff -ur usr.bin.orig/chpass/Makefile usr.bin.setXid/chpass/Makefile
14 --- usr.bin.orig/chpass/Makefile Thu Apr 7 20:52:57 2005
15 +++ usr.bin.setXid/chpass/Makefile Thu Apr 7 21:22:40 2005
16 @@ -15,6 +15,8 @@
17 #CFLAGS+=-DRESTRICT_FULLNAME_CHANGE
18 CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../lib/libc/gen -I.
19
20 +LDFLAGS+=-Wl,-z,now
21 +
22 DPADD= ${LIBCRYPT} ${LIBUTIL}
23 LDADD= -lcrypt -lutil
24 .if !defined(NO_NIS)
25 diff -ur usr.bin.orig/fstat/Makefile usr.bin.setXid/fstat/Makefile
26 --- usr.bin.orig/fstat/Makefile Thu Apr 7 20:52:57 2005
27 +++ usr.bin.setXid/fstat/Makefile Thu Apr 7 21:24:35 2005
28 @@ -9,4 +9,6 @@
29 BINMODE=2555
30 WARNS?= 6
31
32 +LDFLAGS+=-Wl,-z,now
33 +
34 .include <bsd.prog.mk>
35 diff -ur usr.bin.orig/lock/Makefile usr.bin.setXid/lock/Makefile
36 --- usr.bin.orig/lock/Makefile Thu Apr 7 20:52:57 2005
37 +++ usr.bin.setXid/lock/Makefile Thu Apr 7 21:24:45 2005
38 @@ -7,4 +7,6 @@
39 DPADD= ${LIBCRYPT}
40 LDADD= -lcrypt
41
42 +LDFLAGS+=-Wl,-z,now
43 +
44 .include <bsd.prog.mk>
45 diff -ur usr.bin.orig/login/Makefile usr.bin.setXid/login/Makefile
46 --- usr.bin.orig/login/Makefile Thu Apr 7 20:52:57 2005
47 +++ usr.bin.setXid/login/Makefile Thu Apr 7 21:24:55 2005
48 @@ -13,4 +13,6 @@
49 INSTALLFLAGS=-fschg
50 .endif
51
52 +LDFLAGS+=-Wl,-z,now
53 +
54 .include <bsd.prog.mk>
55 diff -ur usr.bin.orig/netstat/Makefile usr.bin.setXid/netstat/Makefile
56 --- usr.bin.orig/netstat/Makefile Thu Apr 7 20:52:58 2005
57 +++ usr.bin.setXid/netstat/Makefile Thu Apr 7 21:25:08 2005
58 @@ -14,4 +14,6 @@
59 DPADD= ${LIBKVM} ${LIBIPX} ${LIBNETGRAPH} ${LIBUTIL}
60 LDADD= -lkvm -lipx -lnetgraph -lutil
61
62 +LDFLAGS+=-Wl,-z,now
63 +
64 .include <bsd.prog.mk>
65 diff -ur usr.bin.orig/opieinfo/Makefile usr.bin.setXid/opieinfo/Makefile
66 --- usr.bin.orig/opieinfo/Makefile Thu Apr 7 20:52:58 2005
67 +++ usr.bin.setXid/opieinfo/Makefile Thu Apr 7 21:25:20 2005
68 @@ -11,6 +11,8 @@
69 DPADD= ${LIBOPIE} ${LIBMD}
70 LDADD= -lopie -lmd
71
72 +LDFLAGS+=-Wl,-z,now
73 +
74 BINOWN= root
75 BINMODE=4555
76 INSTALLFLAGS=-fschg
77 diff -ur usr.bin.orig/opiepasswd/Makefile usr.bin.setXid/opiepasswd/Makefile
78 --- usr.bin.orig/opiepasswd/Makefile Thu Apr 7 20:52:58 2005
79 +++ usr.bin.setXid/opiepasswd/Makefile Thu Apr 7 21:25:29 2005
80 @@ -11,6 +11,8 @@
81 DPADD= ${LIBOPIE} ${LIBMD}
82 LDADD= -lopie -lmd
83
84 +LDFLAGS+=-Wl,-z,now
85 +
86 BINOWN= root
87 BINMODE=4555
88 INSTALLFLAGS=-fschg
89 diff -ur usr.bin.orig/passwd/Makefile usr.bin.setXid/passwd/Makefile
90 --- usr.bin.orig/passwd/Makefile Thu Apr 7 20:52:58 2005
91 +++ usr.bin.setXid/passwd/Makefile Thu Apr 7 21:25:37 2005
92 @@ -10,6 +10,8 @@
93 MLINKS = passwd.1 yppasswd.1
94 WARNS ?= 4
95
96 +LDFLAGS+=-Wl,-z,now
97 +
98 beforeinstall:
99 .for i in passwd yppasswd
100 [ ! -e ${DESTDIR}${BINDIR}/$i ] || \
101 diff -ur usr.bin.orig/rlogin/Makefile usr.bin.setXid/rlogin/Makefile
102 --- usr.bin.orig/rlogin/Makefile Thu Apr 7 20:52:58 2005
103 +++ usr.bin.setXid/rlogin/Makefile Thu Apr 7 21:25:46 2005
104 @@ -8,4 +8,6 @@
105 BINMODE=4555
106 INSTALLFLAGS=-fschg
107
108 +LDFLAGS+=-Wl,-z,now
109 +
110 .include <bsd.prog.mk>
111 diff -ur usr.bin.orig/rsh/Makefile usr.bin.setXid/rsh/Makefile
112 --- usr.bin.orig/rsh/Makefile Thu Apr 7 20:52:58 2005
113 +++ usr.bin.setXid/rsh/Makefile Thu Apr 7 21:25:53 2005
114 @@ -9,4 +9,6 @@
115 BINMODE=4555
116 INSTALLFLAGS=-fschg
117
118 +LDFLAGS+=-Wl,-z,now
119 +
120 .include <bsd.prog.mk>
121 diff -ur usr.bin.orig/su/Makefile usr.bin.setXid/su/Makefile
122 --- usr.bin.orig/su/Makefile Thu Apr 7 20:52:58 2005
123 +++ usr.bin.setXid/su/Makefile Thu Apr 7 21:26:00 2005
124 @@ -10,4 +10,6 @@
125 BINMODE=4555
126 INSTALLFLAGS=-fschg
127
128 +LDFLAGS+=-Wl,-z,now
129 +
130 .include <bsd.prog.mk>
131 diff -ur usr.bin.orig/wall/Makefile usr.bin.setXid/wall/Makefile
132 --- usr.bin.orig/wall/Makefile Thu Apr 7 20:52:59 2005
133 +++ usr.bin.setXid/wall/Makefile Thu Apr 7 21:26:07 2005
134 @@ -5,4 +5,6 @@
135 BINGRP= tty
136 BINMODE=2555
137
138 +LDFLAGS+=-Wl,-z,now
139 +
140 .include <bsd.prog.mk>
141 diff -ur usr.bin.orig/write/Makefile usr.bin.setXid/write/Makefile
142 --- usr.bin.orig/write/Makefile Thu Apr 7 20:52:59 2005
143 +++ usr.bin.setXid/write/Makefile Thu Apr 7 21:26:13 2005
144 @@ -4,4 +4,6 @@
145 BINMODE=2555
146 BINGRP= tty
147
148 +LDFLAGS+=-Wl,-z,now
149 +
150 .include <bsd.prog.mk>

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20