1 |
commit: 754a9164237d230d73521806e8f8172f08ed6a97 |
2 |
Author: Yuta SATOH <nigoro <AT> gentoo <DOT> gr <DOT> jp> |
3 |
AuthorDate: Sat Jul 4 13:31:51 2015 +0000 |
4 |
Commit: Yuta SATOH <nigoro <AT> gentoo <DOT> gr <DOT> jp> |
5 |
CommitDate: Sat Jul 4 13:31:51 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoo-bsd.git/commit/?id=754a9164 |
7 |
|
8 |
remove freebsd-10.1 ebuilds. |
9 |
|
10 |
sys-freebsd/boot0/Manifest | 5 - |
11 |
sys-freebsd/boot0/boot0-10.1.0.9999.ebuild | 85 --- |
12 |
.../files/boot0-10.1-drop-unsupport-cflags.patch | 26 - |
13 |
sys-freebsd/boot0/files/boot0-9.2-gcc46.patch | 66 --- |
14 |
sys-freebsd/boot0/files/boot0-9.3-gcc46.patch | 67 --- |
15 |
.../boot0/files/boot0-add-nossp-cflags.patch | 11 - |
16 |
sys-freebsd/freebsd-bin/Manifest | 1 - |
17 |
.../freebsd-bin/freebsd-bin-10.1.0.9999.ebuild | 39 -- |
18 |
sys-freebsd/freebsd-cddl/Manifest | 9 - |
19 |
.../files/freebsd-cddl-9.0-bsdxml.patch | 28 - |
20 |
.../files/freebsd-cddl-9.0-libpaths.patch | 167 ------ |
21 |
.../files/freebsd-cddl-9.0-underlink.patch | 22 - |
22 |
.../files/freebsd-cddl-9.2-libpaths.patch | 220 ------- |
23 |
.../files/freebsd-cddl-9.2-underlink.patch | 26 - |
24 |
.../files/freebsd-cddl-9.3-underlink.patch | 27 - |
25 |
sys-freebsd/freebsd-cddl/files/zfs.initd | 24 - |
26 |
sys-freebsd/freebsd-cddl/files/zvol.initd-9.0 | 45 -- |
27 |
.../freebsd-cddl/freebsd-cddl-10.1.0.9999.ebuild | 64 --- |
28 |
sys-freebsd/freebsd-contrib/Manifest | 1 - |
29 |
sys-freebsd/freebsd-lib/Manifest | 31 - |
30 |
.../files/freebsd-lib-10.0-atfcxx.patch | 49 -- |
31 |
.../files/freebsd-lib-10.0-clang34.patch | 22 - |
32 |
.../files/freebsd-lib-10.0-cve-2014-3951.patch | 175 ------ |
33 |
.../files/freebsd-lib-10.0-libiconv_modules.patch | 24 - |
34 |
.../files/freebsd-lib-10.0-liblink.patch | 98 ---- |
35 |
.../files/freebsd-lib-10.0-libproc-libcxx.patch | 16 - |
36 |
.../files/freebsd-lib-10.0-libusb.patch | 19 - |
37 |
.../files/freebsd-lib-10.1-cve-2014-8611.patch | 22 - |
38 |
.../files/freebsd-lib-6.0-flex-2.5.31.patch | 13 - |
39 |
.../files/freebsd-lib-6.0-gccfloat.patch | 16 - |
40 |
.../freebsd-lib/files/freebsd-lib-6.0-pmc.patch | 13 - |
41 |
.../freebsd-lib/files/freebsd-lib-6.1-csu.patch | 20 - |
42 |
.../files/freebsd-lib-7.1-types.h-fix.patch | 15 - |
43 |
.../freebsd-lib/files/freebsd-lib-8.0-gcc45.patch | 28 - |
44 |
.../files/freebsd-lib-8.0-rpcsec_gss.patch | 12 - |
45 |
.../files/freebsd-lib-9.0-bluetooth.patch | 12 - |
46 |
.../files/freebsd-lib-9.0-liblink.patch | 21 - |
47 |
.../files/freebsd-lib-9.0-netware.patch | 11 - |
48 |
.../files/freebsd-lib-9.0-opieincludes.patch | 122 ---- |
49 |
.../files/freebsd-lib-9.0-trylock-adaptive.patch | 14 - |
50 |
.../files/freebsd-lib-9.1-.eh_frame_hdr-fix.patch | 17 - |
51 |
.../files/freebsd-lib-9.1-rmgssapi.patch | 16 - |
52 |
.../files/freebsd-lib-9.2-liblink.patch | 80 --- |
53 |
.../files/freebsd-lib-add-nossp-cflags.patch | 30 - |
54 |
.../files/freebsd-lib-bsdxml2expat.patch | 26 - |
55 |
.../freebsd-lib/files/freebsd-lib-includes.patch | 13 - |
56 |
.../files/freebsd-sources-9.0-sysctluint.patch | 13 - |
57 |
sys-freebsd/freebsd-lib/files/libmap.conf | 8 - |
58 |
sys-freebsd/freebsd-lib/files/libusb-1.0.pc.in | 11 - |
59 |
sys-freebsd/freebsd-lib/files/libusb.pc.in | 11 - |
60 |
.../freebsd-lib/freebsd-lib-10.1.0.9999-r1.ebuild | 632 --------------------- |
61 |
sys-freebsd/freebsd-libexec/Manifest | 10 - |
62 |
sys-freebsd/freebsd-libexec/files/bootpd.confd | 7 - |
63 |
sys-freebsd/freebsd-libexec/files/bootpd.initd | 27 - |
64 |
.../files/freebsd-libexec-10.0-atf-check.patch | 25 - |
65 |
.../files/freebsd-libexec-9.2-no_ld32.patch | 15 - |
66 |
sys-freebsd/freebsd-libexec/files/rquotad.xinetd | 11 - |
67 |
sys-freebsd/freebsd-libexec/files/rstatd.xinetd | 11 - |
68 |
sys-freebsd/freebsd-libexec/files/rusersd.xinetd | 11 - |
69 |
sys-freebsd/freebsd-libexec/files/sprayd.xinetd | 11 - |
70 |
sys-freebsd/freebsd-libexec/files/walld.xinetd | 11 - |
71 |
.../freebsd-libexec-10.1.0.9999.ebuild | 101 ---- |
72 |
sys-freebsd/freebsd-mk-defs/Manifest | 11 - |
73 |
.../files/freebsd-mk-defs-10.0-gentoo.patch | 352 ------------ |
74 |
.../files/freebsd-mk-defs-10.0-gnu.patch | 79 --- |
75 |
.../files/freebsd-mk-defs-9.0-gentoo.patch | 326 ----------- |
76 |
.../files/freebsd-mk-defs-9.0-gnu.patch | 79 --- |
77 |
.../files/freebsd-mk-defs-9.1-gentoo.patch | 326 ----------- |
78 |
.../files/freebsd-mk-defs-9.1-gnu.patch | 77 --- |
79 |
.../files/freebsd-mk-defs-9.2-gentoo.patch | 352 ------------ |
80 |
.../files/freebsd-mk-defs-9.2-gnu.patch | 79 --- |
81 |
.../files/freebsd-mk-defs-9.3-gentoo.patch | 352 ------------ |
82 |
.../files/freebsd-mk-defs-add-nossp-cflags.patch | 28 - |
83 |
.../freebsd-mk-defs-10.1.0.9999.ebuild | 41 -- |
84 |
sys-freebsd/freebsd-pam-modules/Manifest | 3 - |
85 |
sys-freebsd/freebsd-pam-modules/files/README.pamd | 63 -- |
86 |
.../files/freebsd-pam-modules-9.0-gentoo.patch | 22 - |
87 |
.../freebsd-pam-modules-10.1.0.9999.ebuild | 47 -- |
88 |
sys-freebsd/freebsd-pf/Manifest | 10 - |
89 |
.../files/freebsd-pf-10.0-libevent.patch | 16 - |
90 |
.../freebsd-pf/files/freebsd-pf-10.0-pflogd.patch | 15 - |
91 |
.../freebsd-pf/files/freebsd-pf-9.0-bpf.patch | 10 - |
92 |
.../freebsd-pf/files/freebsd-pf-9.0-getline.patch | 38 -- |
93 |
.../freebsd-pf/files/freebsd-pf-9.0-libevent.patch | 15 - |
94 |
.../files/freebsd-pf-9.0-pcap_pollution.patch | 17 - |
95 |
.../freebsd-pf/files/freebsd-pf-9.0-pflogd.patch | 13 - |
96 |
sys-freebsd/freebsd-pf/files/pf.confd | 9 - |
97 |
sys-freebsd/freebsd-pf/files/pf.initd | 50 -- |
98 |
.../freebsd-pf/freebsd-pf-10.1.0.9999.ebuild | 70 --- |
99 |
sys-freebsd/freebsd-rescue/Manifest | 8 - |
100 |
.../files/freebsd-rescue-10.0-zlib.patch | 22 - |
101 |
.../files/freebsd-rescue-7.1-zlib.patch | 21 - |
102 |
...sd-rescue-8.0-pkgconfig_static_libarchive.patch | 11 - |
103 |
.../files/freebsd-rescue-8.2-libzcleverlink.patch | 20 - |
104 |
.../files/freebsd-rescue-9.1-bsdtar.patch | 12 - |
105 |
.../files/freebsd-rescue-9.1-libcleverlink.patch | 21 - |
106 |
.../files/freebsd-sbin-bsdxml2expat.patch | 13 - |
107 |
.../freebsd-rescue-10.1.0.9999.ebuild | 76 --- |
108 |
sys-freebsd/freebsd-sbin/Manifest | 9 - |
109 |
sys-freebsd/freebsd-sbin/files/adjkerntz-crontab | 4 - |
110 |
.../files/freebsd-sbin-10.0-zlib.patch | 22 - |
111 |
.../files/freebsd-sbin-6.1-pr102701.patch | 17 - |
112 |
.../files/freebsd-sbin-6.2-ldconfig.patch | 13 - |
113 |
.../freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch | 21 - |
114 |
.../files/freebsd-sbin-bsdxml2expat.patch | 13 - |
115 |
.../freebsd-sbin/files/freebsd-sbin-setXid.patch | 20 - |
116 |
sys-freebsd/freebsd-sbin/files/idmapd.initd | 20 - |
117 |
.../freebsd-sbin/freebsd-sbin-10.1.0.9999.ebuild | 96 ---- |
118 |
sys-freebsd/freebsd-share/Manifest | 8 - |
119 |
.../files/freebsd-share-10.0-gentoo-eapi3.patch | 17 - |
120 |
.../files/freebsd-share-5.3-doc-locations.patch | 20 - |
121 |
.../files/freebsd-share-5.4-gentoo-skel.patch | 20 - |
122 |
.../files/freebsd-share-8.0-gnu-miscfiles.patch | 26 - |
123 |
.../files/freebsd-share-9.0-gentoowaydir.patch | 16 - |
124 |
.../files/freebsd-share-9.2-gnu-miscfiles.patch | 28 - |
125 |
.../freebsd-share/freebsd-share-10.1.0.9999.ebuild | 107 ---- |
126 |
sys-freebsd/freebsd-share/metadata.xml | 8 - |
127 |
sys-freebsd/freebsd-sources/Manifest | 29 - |
128 |
sys-freebsd/freebsd-sources/files/config-GENTOO | 4 - |
129 |
.../files/freebsd-sources-10.0-EN-1407-pmap.patch | 13 - |
130 |
.../files/freebsd-sources-10.0-SA-1417-kmem.patch | 263 --------- |
131 |
.../files/freebsd-sources-10.0-clang34.patch | 26 - |
132 |
.../files/freebsd-sources-10.0-gentoo.patch | 22 - |
133 |
.../files/freebsd-sources-10.1-cve-2014-8612.patch | 45 -- |
134 |
.../files/freebsd-sources-10.1-cve-2014-8613.patch | 119 ---- |
135 |
.../files/freebsd-sources-10.1-cve-2015-1414.patch | 15 - |
136 |
.../files/freebsd-sources-6.0-flex-2.5.31.patch | 22 - |
137 |
.../files/freebsd-sources-6.1-ntfs.patch | 32 -- |
138 |
.../freebsd-sources-7.0-tmpfs_whiteout_stub.patch | 44 -- |
139 |
.../files/freebsd-sources-7.1-includes.patch | 13 - |
140 |
.../files/freebsd-sources-7.1-types.h-fix.patch | 15 - |
141 |
.../freebsd-sources-8.0-subnet-route-pr40133.patch | 21 - |
142 |
.../freebsd-sources-9.0-disable-optimization.patch | 32 -- |
143 |
.../files/freebsd-sources-9.0-gentoo.patch | 33 -- |
144 |
.../files/freebsd-sources-9.0-ipv6refcount.patch | 128 ----- |
145 |
.../files/freebsd-sources-9.0-sysctluint.patch | 13 - |
146 |
.../files/freebsd-sources-9.1-MFC-r239588.patch | 122 ---- |
147 |
.../files/freebsd-sources-9.1-ciss.patch | 65 --- |
148 |
.../files/freebsd-sources-9.1-cve-2014-1453.patch | 70 --- |
149 |
.../files/freebsd-sources-9.1-gentoo.patch | 21 - |
150 |
.../files/freebsd-sources-9.1-tcp.patch | 32 -- |
151 |
.../files/freebsd-sources-9.2-gentoo-gcc.patch | 13 - |
152 |
.../files/freebsd-sources-9.2-gentoo.patch | 21 - |
153 |
.../files/freebsd-sources-cve-2012-0217.patch | 26 - |
154 |
.../files/freebsd-sources-cve-2012-4576.patch | 16 - |
155 |
.../freebsd-sources-10.1.0.9999-r2.ebuild | 139 ----- |
156 |
sys-freebsd/freebsd-sources/metadata.xml | 11 - |
157 |
sys-freebsd/freebsd-ubin/Manifest | 25 - |
158 |
.../freebsd-ubin/files/freebsd-ubin-10.0-atf.patch | 15 - |
159 |
.../files/freebsd-ubin-10.0-dtc-gcc46.patch | 25 - |
160 |
.../files/freebsd-ubin-10.0-kdump-ioctl.patch | 26 - |
161 |
.../files/freebsd-ubin-10.0-mandoc.patch | 13 - |
162 |
.../files/freebsd-ubin-6.0-bsdcmp.patch | 13 - |
163 |
.../files/freebsd-ubin-6.0-kdump-ioctl.patch | 28 - |
164 |
.../files/freebsd-ubin-8.0-bsdar.patch | 21 - |
165 |
.../files/freebsd-ubin-8.0-xinstall.patch | 26 - |
166 |
.../files/freebsd-ubin-9.0-fixmakefiles.patch | 11 - |
167 |
.../files/freebsd-ubin-9.1-ar-libarchive3.patch | 19 - |
168 |
.../files/freebsd-ubin-9.1-bsdar.patch | 25 - |
169 |
.../freebsd-ubin/files/freebsd-ubin-9.1-grep.patch | 17 - |
170 |
.../files/freebsd-ubin-9.1-kdump-ioctl.patch | 24 - |
171 |
.../files/freebsd-ubin-9.1-minigzip.patch | 10 - |
172 |
.../files/freebsd-ubin-9.3-kdump-workaround.patch | 13 - |
173 |
.../files/freebsd-ubin-lint-stdarg.patch | 24 - |
174 |
.../freebsd-ubin/files/freebsd-ubin-setXid.patch | 129 ----- |
175 |
.../freebsd-ubin/files/locate-updatedb-cron | 6 - |
176 |
sys-freebsd/freebsd-ubin/files/login.1.pamd | 4 - |
177 |
sys-freebsd/freebsd-ubin/files/login.pamd | 20 - |
178 |
sys-freebsd/freebsd-ubin/files/passwd.1.pamd | 9 - |
179 |
sys-freebsd/freebsd-ubin/files/passwd.pamd | 11 - |
180 |
sys-freebsd/freebsd-ubin/files/su.1.pamd | 17 - |
181 |
sys-freebsd/freebsd-ubin/files/su.pamd | 17 - |
182 |
.../freebsd-ubin/freebsd-ubin-10.1.0.9999.ebuild | 197 ------- |
183 |
sys-freebsd/freebsd-usbin/Manifest | 24 - |
184 |
.../files/freebsd-usbin-10.0-bsdxml2expat.patch | 24 - |
185 |
.../files/freebsd-usbin-9.0-newsyslog.patch | 12 - |
186 |
.../files/freebsd-usbin-9.1-bsdxml2expat.patch | 12 - |
187 |
.../files/freebsd-usbin-adduser.patch | 20 - |
188 |
sys-freebsd/freebsd-usbin/files/iscsid.initd | 20 - |
189 |
sys-freebsd/freebsd-usbin/files/moused.confd | 20 - |
190 |
sys-freebsd/freebsd-usbin/files/moused.initd | 66 --- |
191 |
sys-freebsd/freebsd-usbin/files/nfs.confd | 10 - |
192 |
sys-freebsd/freebsd-usbin/files/nfs.initd | 54 -- |
193 |
sys-freebsd/freebsd-usbin/files/nfsmount.initd | 63 -- |
194 |
sys-freebsd/freebsd-usbin/files/nfsuserd.confd | 5 - |
195 |
sys-freebsd/freebsd-usbin/files/nfsuserd.initd | 20 - |
196 |
sys-freebsd/freebsd-usbin/files/powerd.confd | 14 - |
197 |
sys-freebsd/freebsd-usbin/files/powerd.initd | 27 - |
198 |
sys-freebsd/freebsd-usbin/files/pw.conf | 5 - |
199 |
sys-freebsd/freebsd-usbin/files/rarpd.confd | 7 - |
200 |
sys-freebsd/freebsd-usbin/files/rarpd.initd | 35 -- |
201 |
sys-freebsd/freebsd-usbin/files/rpc.lockd.initd | 20 - |
202 |
sys-freebsd/freebsd-usbin/files/rpc.statd.initd | 20 - |
203 |
sys-freebsd/freebsd-usbin/files/rpcbind.initd | 30 - |
204 |
sys-freebsd/freebsd-usbin/files/syscons.confd | 14 - |
205 |
sys-freebsd/freebsd-usbin/files/syscons.initd | 78 --- |
206 |
sys-freebsd/freebsd-usbin/files/syslogd.initd | 25 - |
207 |
.../freebsd-usbin/freebsd-usbin-10.1.0.9999.ebuild | 176 ------ |
208 |
198 files changed, 8943 deletions(-) |
209 |
|
210 |
diff --git a/sys-freebsd/boot0/Manifest b/sys-freebsd/boot0/Manifest |
211 |
deleted file mode 100644 |
212 |
index 19831d8..0000000 |
213 |
--- a/sys-freebsd/boot0/Manifest |
214 |
+++ /dev/null |
215 |
@@ -1,5 +0,0 @@ |
216 |
-AUX boot0-10.1-drop-unsupport-cflags.patch 893 SHA256 7d58c67b73ed6ae7326b03e7a4c1204d17808328de0ac904973604658bc1804c SHA512 c4d441c9538489585f27f292fa0acd921496cdd10e06a7de45f4db7f6a6300f41401a387c9e65bf909790e7755fb92001131d668c6246a2505756b8e9e10eeea WHIRLPOOL 9ce41efe802fc181fac9026eb310d3d48173df7db585f4ddb5424ced43f5e7081a8baefc12370588ba2979e0ef6234fa5718457e3e854f66c7d1309778d863f4 |
217 |
-AUX boot0-9.2-gcc46.patch 2119 SHA256 745245270e8ac2e8a1084f1785bb31ce7a5d2c7242f762260ad9a97fa02970f5 SHA512 ee834269bdc4a79da6854f59fe896b8e13efd1f60d97aefc8829cd1137f8f84810bba4344aac79424a4f31503a1a8579caf468e83a60d127d81f5d10fcbc4ae9 WHIRLPOOL 0c057ffe2baa7cb1b74912cebed5ec5f31adee7780a77993b40bad256e89baf3ed4dc18567c263bfed9a76e63e274072945e37dd729ac62c8538ab7678e4dfe1 |
218 |
-AUX boot0-9.3-gcc46.patch 2180 SHA256 a664f792660fe1dc25b6e54a973ad6d8ac6c19ef309954f5bb7973b52832cc82 SHA512 a0633fe171c668b976277d26c3406d75ec5892cd6fe28845ea9faca03659689ad87fee6eeac5968b00026733e854bb0d2216e6f3987cf1ed9bcedb3bc2b210b6 WHIRLPOOL 2d5ba9602c93ab02aef29838478b578603b39e7d26dbf688e3fccd1cdd7e5fec3aec729db81b4548b69841ab330e8898eb445ee09d06ccd8500fb0f7387c3fc8 |
219 |
-AUX boot0-add-nossp-cflags.patch 341 SHA256 ed801285f9e9846c7fc4f334a2dfceec2d023be9b22e53aa3713d648cac899be SHA512 980a6b8f247f0d51724f409627c81e5e089e4b2a7b11732bc3cf569f87a5c308e7c2e5985ce3ba32c61c489a5a1e16596bde43ef3c260b0730ec67e50f42e9bb WHIRLPOOL 06ae4058fd8c39abe215e417fdffd1c13fdc641891fcb8f8a37af3ac31e781da666c3cd9cf2b800174439ebcc2ecb5b6efb9e9e5880a216878fb4ced7ffd9bfe |
220 |
-EBUILD boot0-10.1.0.9999.ebuild 2071 SHA256 5ffcfadd17923a607a3608c1eb66b9e59a03e86ec2aefaaf1dd643326540b14d SHA512 f302d65a701b7be93b8168282dd78127e9907af9739fe616f1bf372136b25a963164552efda873d18742926f9c121f839dfc1e06cfee90cc9d59fb946e5581fd WHIRLPOOL 1d89621e63ef51832f26aa2c7d3c0e9fd0aaaf7d02e9e340d57bcb13974da528adf254ca56c3ece0449fe20b741c6bd3f501cdd4866712ecc1a5b7bd8da20d3b |
221 |
|
222 |
diff --git a/sys-freebsd/boot0/boot0-10.1.0.9999.ebuild b/sys-freebsd/boot0/boot0-10.1.0.9999.ebuild |
223 |
deleted file mode 100644 |
224 |
index 171af67..0000000 |
225 |
--- a/sys-freebsd/boot0/boot0-10.1.0.9999.ebuild |
226 |
+++ /dev/null |
227 |
@@ -1,85 +0,0 @@ |
228 |
-# Copyright 1999-2014 Gentoo Foundation |
229 |
-# Distributed under the terms of the GNU General Public License v2 |
230 |
-# $Header: $ |
231 |
- |
232 |
-EAPI=3 |
233 |
- |
234 |
-inherit bsdmk freebsd flag-o-matic toolchain-funcs |
235 |
- |
236 |
-DESCRIPTION="FreeBSD's bootloader" |
237 |
-SLOT="0" |
238 |
- |
239 |
-IUSE="bzip2 ieee1394 tftp zfs" |
240 |
- |
241 |
-if [[ ${PV} != *9999* ]]; then |
242 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
243 |
- SRC_URI="mirror://gentoo/${SYS}.tar.xz |
244 |
- mirror://gentoo/${LIB}.tar.xz |
245 |
- mirror://gentoo/${CONTRIB}.tar.xz" |
246 |
-fi |
247 |
- |
248 |
-RDEPEND="" |
249 |
-DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* |
250 |
- =sys-freebsd/freebsd-lib-${RV}* |
251 |
- !sparc-fbsd? ( sys-devel/clang )" |
252 |
- |
253 |
-S="${WORKDIR}/sys/boot" |
254 |
- |
255 |
-PATCHES=( "${FILESDIR}/${PN}-9.3-gcc46.patch" |
256 |
- "${FILESDIR}/${PN}-10.1-drop-unsupport-cflags.patch" |
257 |
- "${FILESDIR}/${PN}-add-nossp-cflags.patch" ) |
258 |
- |
259 |
-boot0_use_enable() { |
260 |
- use ${1} && mymakeopts="${mymakeopts} LOADER_${2}_SUPPORT=\"yes\"" |
261 |
- use ${1} || mymakeopts="${mymakeopts} WITHOUT_${2}= " |
262 |
-} |
263 |
- |
264 |
-pkg_setup() { |
265 |
- boot0_use_enable ieee1394 FIREWIRE |
266 |
- boot0_use_enable zfs ZFS |
267 |
- boot0_use_enable tftp TFTP |
268 |
- boot0_use_enable bzip2 BZIP2 |
269 |
-} |
270 |
- |
271 |
-src_prepare() { |
272 |
- use sparc-fbsd || export CC=clang |
273 |
- sed -e '/-mno-align-long-strings/d' \ |
274 |
- -i "${S}"/i386/boot2/Makefile \ |
275 |
- -i "${S}"/i386/gptboot/Makefile \ |
276 |
- -i "${S}"/i386/gptzfsboot/Makefile \ |
277 |
- -i "${S}"/i386/zfsboot/Makefile || die |
278 |
-} |
279 |
- |
280 |
-src_compile() { |
281 |
- strip-flags |
282 |
- append-flags "-fno-strict-aliasing" |
283 |
- |
284 |
- if use amd64-fbsd; then |
285 |
- cd "${S}/userboot/libstand" || die |
286 |
- freebsd_src_compile |
287 |
- cd "${S}/userboot/zfs" || die |
288 |
- freebsd_src_compile |
289 |
- cd "${S}/libstand32" || die |
290 |
- freebsd_src_compile |
291 |
- fi |
292 |
- cd "${WORKDIR}/lib/libstand" || die |
293 |
- freebsd_src_compile |
294 |
- |
295 |
- cd "${S}" |
296 |
- CFLAGS="${CFLAGS} -I${WORKDIR}/lib/libstand" |
297 |
- LDFLAGS="${LDFLAGS} -L${WORKDIR}/lib/libstand" |
298 |
- export LIBSTAND="${WORKDIR}/lib/libstand/libstand.a" |
299 |
- NOFLAGSTRIP="yes" freebsd_src_compile |
300 |
-} |
301 |
- |
302 |
-src_install() { |
303 |
- dodir /boot/defaults |
304 |
- mkinstall FILESDIR=/boot || die "mkinstall failed" |
305 |
- |
306 |
- cd "${WORKDIR}/sys/$(tc-arch-kernel)/conf" || die |
307 |
- insinto /boot |
308 |
- newins GENERIC.hints device.hints |
309 |
- |
310 |
- echo 'CONFIG_PROTECT="/boot/device.hints"' > "${T}"/50boot0 |
311 |
- doenvd "${T}"/50boot0 |
312 |
-} |
313 |
|
314 |
diff --git a/sys-freebsd/boot0/files/boot0-10.1-drop-unsupport-cflags.patch b/sys-freebsd/boot0/files/boot0-10.1-drop-unsupport-cflags.patch |
315 |
deleted file mode 100644 |
316 |
index 4ab415b..0000000 |
317 |
--- a/sys-freebsd/boot0/files/boot0-10.1-drop-unsupport-cflags.patch |
318 |
+++ /dev/null |
319 |
@@ -1,26 +0,0 @@ |
320 |
-diff --git a/sys/boot/efi/libefi/Makefile b/sys/boot/efi/libefi/Makefile |
321 |
-index 76ed0ca..2d1d39d 100644 |
322 |
---- a/sys/boot/efi/libefi/Makefile |
323 |
-+++ b/sys/boot/efi/libefi/Makefile |
324 |
-@@ -17,7 +17,4 @@ CFLAGS+= -I${.CURDIR}/../../../../lib/libstand |
325 |
- CFLAGS+= -I${.CURDIR}/../../common |
326 |
- |
327 |
- |
328 |
--# Suppress warning from clang for FreeBSD %b and %D formats |
329 |
--CFLAGS+= -fformat-extensions |
330 |
-- |
331 |
- .include <bsd.lib.mk> |
332 |
-diff --git a/sys/boot/i386/libi386/Makefile b/sys/boot/i386/libi386/Makefile |
333 |
-index d714c74..a5cfa3c 100644 |
334 |
---- a/sys/boot/i386/libi386/Makefile |
335 |
-+++ b/sys/boot/i386/libi386/Makefile |
336 |
-@@ -52,9 +52,6 @@ CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../common \ |
337 |
- # the location of libstand |
338 |
- CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ |
339 |
- |
340 |
--# Suppress warning from clang for FreeBSD %b and %D formats |
341 |
--CFLAGS+= -fformat-extensions |
342 |
-- |
343 |
- .if ${MACHINE_CPUARCH} == "amd64" |
344 |
- CLEANFILES+= machine |
345 |
- machine: |
346 |
|
347 |
diff --git a/sys-freebsd/boot0/files/boot0-9.2-gcc46.patch b/sys-freebsd/boot0/files/boot0-9.2-gcc46.patch |
348 |
deleted file mode 100644 |
349 |
index ffd9f43..0000000 |
350 |
--- a/sys-freebsd/boot0/files/boot0-9.2-gcc46.patch |
351 |
+++ /dev/null |
352 |
@@ -1,66 +0,0 @@ |
353 |
-diff --git a/sys/boot/i386/Makefile.inc b/sys/boot/i386/Makefile.inc |
354 |
-index f5faec7..a9cf593 100644 |
355 |
---- a/sys/boot/i386/Makefile.inc |
356 |
-+++ b/sys/boot/i386/Makefile.inc |
357 |
-@@ -12,7 +12,6 @@ LDFLAGS+= -nostdlib |
358 |
- .if ${MACHINE_CPUARCH} == "amd64" |
359 |
- CFLAGS+= -m32 |
360 |
- ACFLAGS+= -m32 |
361 |
--LDFLAGS+= -m elf_i386_fbsd |
362 |
- AFLAGS+= --32 |
363 |
- .endif |
364 |
- |
365 |
-diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile |
366 |
-index 65815a5..61840dd 100644 |
367 |
---- a/sys/boot/i386/boot2/Makefile |
368 |
-+++ b/sys/boot/i386/boot2/Makefile |
369 |
-@@ -109,3 +109,10 @@ machine: |
370 |
- # XXX: clang integrated-as doesn't grok .codeNN directives yet |
371 |
- CFLAGS.boot1.S= ${CLANG_NO_IAS} |
372 |
- CFLAGS+= ${CFLAGS.${.IMPSRC:T}} |
373 |
-+ |
374 |
-+# gcc 4.6 or later version, -fno-asynchronous-unwind-tables is required to build. |
375 |
-+CFLAGS+= -fno-asynchronous-unwind-tables |
376 |
-+ |
377 |
-+.if ${MACHINE_CPUARCH} == "amd64" |
378 |
-+LDFLAGS+= -m elf_i386_fbsd |
379 |
-+.endif |
380 |
-diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile |
381 |
-index e1a640a..29886cc 100644 |
382 |
---- a/sys/boot/i386/gptboot/Makefile |
383 |
-+++ b/sys/boot/i386/gptboot/Makefile |
384 |
-@@ -78,3 +78,8 @@ machine: |
385 |
- # XXX: clang integrated-as doesn't grok .codeNN directives yet |
386 |
- CFLAGS.gptldr.S= ${CLANG_NO_IAS} |
387 |
- CFLAGS+= ${CFLAGS.${.IMPSRC:T}} |
388 |
-+ |
389 |
-+.if ${MACHINE_CPUARCH} == "amd64" |
390 |
-+LDFLAGS+= -m elf_i386_fbsd |
391 |
-+.endif |
392 |
-+ |
393 |
-diff --git a/sys/boot/i386/gptzfsboot/Makefile b/sys/boot/i386/gptzfsboot/Makefile |
394 |
-index a2b8fcc..107f531 100644 |
395 |
---- a/sys/boot/i386/gptzfsboot/Makefile |
396 |
-+++ b/sys/boot/i386/gptzfsboot/Makefile |
397 |
-@@ -76,3 +76,8 @@ machine: |
398 |
- # XXX: clang integrated-as doesn't grok .codeNN directives yet |
399 |
- CFLAGS.gptldr.S= ${CLANG_NO_IAS} |
400 |
- CFLAGS+= ${CFLAGS.${.IMPSRC:T}} |
401 |
-+ |
402 |
-+.if ${MACHINE_CPUARCH} == "amd64" |
403 |
-+LDFLAGS+= -m elf_i386_fbsd |
404 |
-+.endif |
405 |
-+ |
406 |
-diff --git a/sys/boot/i386/zfsboot/Makefile b/sys/boot/i386/zfsboot/Makefile |
407 |
-index b2db778..252dc62 100644 |
408 |
---- a/sys/boot/i386/zfsboot/Makefile |
409 |
-+++ b/sys/boot/i386/zfsboot/Makefile |
410 |
-@@ -89,3 +89,8 @@ machine: |
411 |
- # XXX: clang integrated-as doesn't grok .codeNN directives yet |
412 |
- CFLAGS.zfsldr.S= ${CLANG_NO_IAS} |
413 |
- CFLAGS+= ${CFLAGS.${.IMPSRC:T}} |
414 |
-+ |
415 |
-+.if ${MACHINE_CPUARCH} == "amd64" |
416 |
-+LDFLAGS+= -m elf_i386_fbsd |
417 |
-+.endif |
418 |
-+ |
419 |
|
420 |
diff --git a/sys-freebsd/boot0/files/boot0-9.3-gcc46.patch b/sys-freebsd/boot0/files/boot0-9.3-gcc46.patch |
421 |
deleted file mode 100644 |
422 |
index 9b31e7c..0000000 |
423 |
--- a/sys-freebsd/boot0/files/boot0-9.3-gcc46.patch |
424 |
+++ /dev/null |
425 |
@@ -1,67 +0,0 @@ |
426 |
-diff --git a/sys/boot/i386/Makefile.inc b/sys/boot/i386/Makefile.inc |
427 |
-index 472b275..0c9409d 100644 |
428 |
---- a/sys/boot/i386/Makefile.inc |
429 |
-+++ b/sys/boot/i386/Makefile.inc |
430 |
-@@ -13,8 +13,6 @@ LDFLAGS+= -nostdlib |
431 |
- .if ${MACHINE_CPUARCH} == "amd64" |
432 |
- CFLAGS+= -m32 |
433 |
- ACFLAGS+= -m32 |
434 |
--# LD_FLAGS is passed directly to ${LD}, not via ${CC}: |
435 |
--LD_FLAGS+= -m elf_i386_fbsd |
436 |
- AFLAGS+= --32 |
437 |
- .endif |
438 |
- |
439 |
-diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile |
440 |
-index 428950e..6a15450 100644 |
441 |
---- a/sys/boot/i386/boot2/Makefile |
442 |
-+++ b/sys/boot/i386/boot2/Makefile |
443 |
-@@ -113,3 +113,10 @@ machine: |
444 |
- # XXX: clang integrated-as doesn't grok .codeNN directives yet |
445 |
- CFLAGS.boot1.S= ${CLANG_NO_IAS} |
446 |
- CFLAGS+= ${CFLAGS.${.IMPSRC:T}} |
447 |
-+ |
448 |
-+# gcc 4.6 or later version, -fno-asynchronous-unwind-tables is required to build. |
449 |
-+CFLAGS+= -fno-asynchronous-unwind-tables |
450 |
-+ |
451 |
-+.if ${MACHINE_CPUARCH} == "amd64" |
452 |
-+LD_FLAGS+= -m elf_i386_fbsd |
453 |
-+.endif |
454 |
-diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile |
455 |
-index a90e712..d60ae00 100644 |
456 |
---- a/sys/boot/i386/gptboot/Makefile |
457 |
-+++ b/sys/boot/i386/gptboot/Makefile |
458 |
-@@ -81,3 +81,8 @@ machine: |
459 |
- # XXX: clang integrated-as doesn't grok .codeNN directives yet |
460 |
- CFLAGS.gptldr.S= ${CLANG_NO_IAS} |
461 |
- CFLAGS+= ${CFLAGS.${.IMPSRC:T}} |
462 |
-+ |
463 |
-+.if ${MACHINE_CPUARCH} == "amd64" |
464 |
-+LD_FLAGS+= -m elf_i386_fbsd |
465 |
-+.endif |
466 |
-+ |
467 |
-diff --git a/sys/boot/i386/gptzfsboot/Makefile b/sys/boot/i386/gptzfsboot/Makefile |
468 |
-index 5eb2383..c10a917 100644 |
469 |
---- a/sys/boot/i386/gptzfsboot/Makefile |
470 |
-+++ b/sys/boot/i386/gptzfsboot/Makefile |
471 |
-@@ -78,3 +78,8 @@ machine: |
472 |
- # XXX: clang integrated-as doesn't grok .codeNN directives yet |
473 |
- CFLAGS.gptldr.S= ${CLANG_NO_IAS} |
474 |
- CFLAGS+= ${CFLAGS.${.IMPSRC:T}} |
475 |
-+ |
476 |
-+.if ${MACHINE_CPUARCH} == "amd64" |
477 |
-+LD_FLAGS+= -m elf_i386_fbsd |
478 |
-+.endif |
479 |
-+ |
480 |
-diff --git a/sys/boot/i386/zfsboot/Makefile b/sys/boot/i386/zfsboot/Makefile |
481 |
-index 149f43a..be1e46a 100644 |
482 |
---- a/sys/boot/i386/zfsboot/Makefile |
483 |
-+++ b/sys/boot/i386/zfsboot/Makefile |
484 |
-@@ -91,3 +91,8 @@ machine: |
485 |
- # XXX: clang integrated-as doesn't grok .codeNN directives yet |
486 |
- CFLAGS.zfsldr.S= ${CLANG_NO_IAS} |
487 |
- CFLAGS+= ${CFLAGS.${.IMPSRC:T}} |
488 |
-+ |
489 |
-+.if ${MACHINE_CPUARCH} == "amd64" |
490 |
-+LD_FLAGS+= -m elf_i386_fbsd |
491 |
-+.endif |
492 |
-+ |
493 |
|
494 |
diff --git a/sys-freebsd/boot0/files/boot0-add-nossp-cflags.patch b/sys-freebsd/boot0/files/boot0-add-nossp-cflags.patch |
495 |
deleted file mode 100644 |
496 |
index abc6a57..0000000 |
497 |
--- a/sys-freebsd/boot0/files/boot0-add-nossp-cflags.patch |
498 |
+++ /dev/null |
499 |
@@ -1,11 +0,0 @@ |
500 |
-https://bugs.gentoo.org/show_bug.cgi?id=511698 |
501 |
- |
502 |
-diff --git a/sys/boot/Makefile.inc b/sys/boot/Makefile.inc |
503 |
-index e0039b9..533dea0 100644 |
504 |
---- a/sys/boot/Makefile.inc |
505 |
-+++ b/sys/boot/Makefile.inc |
506 |
-@@ -1,3 +1,3 @@ |
507 |
- # $FreeBSD: release/10.0.0/sys/boot/Makefile.inc 188895 2009-02-21 15:04:31Z ru $ |
508 |
- |
509 |
--SSP_CFLAGS= |
510 |
-+SSP_CFLAGS= -fno-stack-protector |
511 |
|
512 |
diff --git a/sys-freebsd/freebsd-bin/Manifest b/sys-freebsd/freebsd-bin/Manifest |
513 |
deleted file mode 100644 |
514 |
index f6358e1..0000000 |
515 |
--- a/sys-freebsd/freebsd-bin/Manifest |
516 |
+++ /dev/null |
517 |
@@ -1 +0,0 @@ |
518 |
-EBUILD freebsd-bin-10.1.0.9999.ebuild 899 SHA256 50597db60e48c9c12b3bbc5b27af2b5b50c5e02fc810ddecf341b99f9d867934 SHA512 ba96121a11bf381525a1eacfc55bc3aaf867c79d4666fa050a4f3143e7a5a82eb0916dbe62d5dc29b146adc336b0b44101144bd1784179f8f3d204f18687f4ab WHIRLPOOL acd5685ba8fedaca0b8abfdae789d33bb11d32c1cba46c34f8b049b3b5b7207d1ef0c8b0f8ba9c55233159426cef7a43ce5abf72f328bd8241fff17d02cd1d79 |
519 |
|
520 |
diff --git a/sys-freebsd/freebsd-bin/freebsd-bin-10.1.0.9999.ebuild b/sys-freebsd/freebsd-bin/freebsd-bin-10.1.0.9999.ebuild |
521 |
deleted file mode 100644 |
522 |
index abefd05..0000000 |
523 |
--- a/sys-freebsd/freebsd-bin/freebsd-bin-10.1.0.9999.ebuild |
524 |
+++ /dev/null |
525 |
@@ -1,39 +0,0 @@ |
526 |
-# Copyright 1999-2014 Gentoo Foundation |
527 |
-# Distributed under the terms of the GNU General Public License v2 |
528 |
-# $Header: $ |
529 |
- |
530 |
-EAPI=3 |
531 |
- |
532 |
-inherit bsdmk freebsd |
533 |
- |
534 |
-DESCRIPTION="FreeBSD /bin tools" |
535 |
-SLOT="0" |
536 |
- |
537 |
-IUSE="" |
538 |
- |
539 |
-if [[ ${PV} != *9999* ]]; then |
540 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
541 |
- SRC_URI="mirror://gentoo/${BIN}.tar.xz |
542 |
- mirror://gentoo/${UBIN}.tar.xz |
543 |
- mirror://gentoo/${SBIN}.tar.xz |
544 |
- mirror://gentoo/${LIB}.tar.xz" |
545 |
-fi |
546 |
- |
547 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
548 |
- >=dev-libs/libedit-20120311.3.0-r1 |
549 |
- sys-libs/ncurses |
550 |
- sys-apps/ed |
551 |
- !app-misc/realpath |
552 |
- !<sys-freebsd/freebsd-ubin-8" |
553 |
-DEPEND="${RDEPEND} |
554 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
555 |
- >=sys-devel/flex-2.5.31-r2" |
556 |
- |
557 |
-S=${WORKDIR}/bin |
558 |
- |
559 |
-# csh and tcsh are provided by tcsh package, rmail is sendmail stuff. |
560 |
-REMOVE_SUBDIRS="csh rmail ed freebsd-version" |
561 |
- |
562 |
-pkg_setup() { |
563 |
- mymakeopts="${mymakeopts} WITHOUT_TCSH= WITHOUT_SENDMAIL= WITHOUT_RCMDS= " |
564 |
-} |
565 |
|
566 |
diff --git a/sys-freebsd/freebsd-cddl/Manifest b/sys-freebsd/freebsd-cddl/Manifest |
567 |
deleted file mode 100644 |
568 |
index 32d0187..0000000 |
569 |
--- a/sys-freebsd/freebsd-cddl/Manifest |
570 |
+++ /dev/null |
571 |
@@ -1,9 +0,0 @@ |
572 |
-AUX freebsd-cddl-9.0-bsdxml.patch 1419 SHA256 0a5c5f5b242e17d0a378778ec39ff43d410e1efed144dd14a46cbd2cf4a44542 SHA512 8ea86f6918b2629c33286c2396226bb4944e373069a423104d96f65e387162e0da94707458fd5caebcab08b9305b435ac66f4207aa6b15ce9571a5fa5878f3c5 WHIRLPOOL 5af01d3ba6e1e4a038de1f3274bf3bd241264db05b021fa374c5a56c805901320a4c30c2234013902eb2f5ca879a4972d3468e0157315dd98e73ce1ee4359e0a |
573 |
-AUX freebsd-cddl-9.0-libpaths.patch 7621 SHA256 392593d858b1cbd6c5d6a6da25d9fda48f412d4eb75c0dfeba20cd9e8ad6d762 SHA512 87e56647a41262363900ab4ecc6aabd1b4ba4f0d7d5b5011dc2eb9ec312c640bed5aa931495f208110277b2baf6c3625d20d59e62c19a70e7625a6b36b61a278 WHIRLPOOL 1f6798ac319bba9dedb0a0776e09cbce01637e057e38f77d59410c942f68c7051b7ccc10bfed748b72eeabf9254bc52262b5c9cc3fa3a4187f8698ede2d27d4f |
574 |
-AUX freebsd-cddl-9.0-underlink.patch 755 SHA256 12d2dbbbb19c7b4920d84d01c48b6cc331b8a244eaaabe72081c7a5c6ff2300c SHA512 002c9e6a389140455f9a698dbe47197d795d36ff08e4e5fb096d38525b8cf017672de7f511b2495fdea6f536e07a426e299e0a056cbdd8dae64677299376d2f9 WHIRLPOOL c6403e8e56f2c2e9d67387137eab77eae0f6e1a8c4c4d595c1950ee3ab3bff8d0d8a0f15ca83a7b65aa05d35dafa86ff75ff8fec7ce8f320a2e1d44be38c0995 |
575 |
-AUX freebsd-cddl-9.2-libpaths.patch 9212 SHA256 bf53fe0918b5746e269fadf1c1a4986a8f0b41584967f4384f462537663d1f16 SHA512 4920d1002ff2c67f99c112a4a4bf9b0fb6a8e7bab2577d4a7ef4e13d34c8d8c3187d000cd5a86f75edf143393f7a6dc1dfb359255a071b7965be7cb0f0a5f1e5 WHIRLPOOL b77361c90eacaa3f9e2ffb0da699e6bfc7a929eb1da7fa5f43e1c290a4f0a225e32769b23bc184ba744dfc9296fc4481775fef99a237d88682696e6280197643 |
576 |
-AUX freebsd-cddl-9.2-underlink.patch 967 SHA256 43ede354a9e0e3db0496eeccaf64a9746ea19bc2ba141be2ad6fc1b493f34e42 SHA512 8b26c0937abf9a2811d6d7842f9b236ba19435b1ea2d6f028b77bcb397cf395b555c3d5d23afeec000143709e56154d167b2acb89941bdb70d068516ec9c462b WHIRLPOOL a89f3599eac2893c01f3143f25aff8cdc1bb1f9149b33ab7b9d87aaf1a1d6df99df29d601941d3285ed51c34d3c303a59bd033e904aca53605e8b33839f88d66 |
577 |
-AUX freebsd-cddl-9.3-underlink.patch 942 SHA256 f5a0139191b98584832075f22880e6ea9212a835cbb1e9aa15fa4e9364758a15 SHA512 67777ff41978c4e90c6e73f6cd2736732b838f42cc4e86f3d47bc5928f7ff4fcedfab84d599156255d243f81fc5a00daa0534ec6704ff820478fab39ce8dafbd WHIRLPOOL a7640e2be2a4fa97932a86a1f4dd68709f83d57a8bf5d043fa4f413474560c73960264fa3687b0154c568365c97d1a928511e207135be53f08acf65845dd6b99 |
578 |
-AUX zfs.initd 481 SHA256 8078bfd9241d694ca97364044ce5386015669a5102ef3702be0b1b1d70fdab61 SHA512 9734a3faeb2c5d555a311fd71821c249bb110c221f973f7efe9c3d2bb150286ec68e60e3fcb7639b7b62804484d4d2fce34465ef89568aa946243f729bb9a843 WHIRLPOOL 766477f8743f0b1c898860a2904d31a2b725cbdfa4aacc8a3ae8790361f693d0cbe74ed932eb3e8e993e5fd5b9de3d15fcf175528f7e060dee311ccc77336e5c |
579 |
-AUX zvol.initd-9.0 930 SHA256 5b3aed77ab896f1d522d36c697718afe69cf5799a753c704c4beae7ec1c6b44a SHA512 998864b0a7b6f8765311e604b3f1e22d59ccf329bd6d0b9e8649f6da49e42832babee26a837516de99e6a949d6f933b9952cfe98687b274c031f6d07375372f3 WHIRLPOOL 361f8bcb86c9274757f1a087bc935bfe708ba2ac3b6ae945e62fb59080322b4ded2dfc8d2a6862529b9e661aeeb8ffe0782aedcf535f784761f0c26dfc7f7d87 |
580 |
-EBUILD freebsd-cddl-10.1.0.9999.ebuild 1510 SHA256 0a692e2b3d328d4576f6d10496a959d82633ca7b3a9636d0f26534621a6195ff SHA512 49528b35daf65bea806793757aaa7e7f589e280be75887e56763f80f31bb6305ad36a92af63e3063768ba878a9ae20a32156e5648b647f1a800d49867cef3cff WHIRLPOOL 05e7d521e0035377ed3f0be8c3e30efc7927778a731e58008ba30b61b7e7ce6c76a5b0fd082bb847343d204f9caffe8518cc984a87ab1691e467e792c8afd4eb |
581 |
|
582 |
diff --git a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.0-bsdxml.patch b/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.0-bsdxml.patch |
583 |
deleted file mode 100644 |
584 |
index b3d95bb..0000000 |
585 |
--- a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.0-bsdxml.patch |
586 |
+++ /dev/null |
587 |
@@ -1,28 +0,0 @@ |
588 |
-diff -ur cddl.old/sbin/zfs/Makefile cddl/sbin/zfs/Makefile |
589 |
---- cddl.old/sbin/zfs/Makefile 2011-11-04 10:01:46.000000000 +0000 |
590 |
-+++ cddl/sbin/zfs/Makefile 2011-11-04 10:07:15.000000000 +0000 |
591 |
-@@ -21,8 +21,8 @@ |
592 |
- CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys |
593 |
- CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs |
594 |
- |
595 |
--DPADD= ${LIBBSDXML} ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBSBUF} ${LIBUMEM} \ |
596 |
-+DPADD= ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBSBUF} ${LIBUMEM} \ |
597 |
- ${LIBUTIL} ${LIBUUTIL} ${LIBZFS} |
598 |
--LDADD= -lbsdxml -lgeom -lm -lnvpair -lsbuf -lumem -lutil -luutil -lzfs |
599 |
-+LDADD= -lgeom -lm -lnvpair -lsbuf -lumem -lutil -luutil -lzfs |
600 |
- |
601 |
- .include <bsd.prog.mk> |
602 |
-diff -ur cddl.old/sbin/zpool/Makefile cddl/sbin/zpool/Makefile |
603 |
---- cddl.old/sbin/zpool/Makefile 2011-11-04 10:01:46.000000000 +0000 |
604 |
-+++ cddl/sbin/zpool/Makefile 2011-11-04 10:06:38.000000000 +0000 |
605 |
-@@ -26,8 +26,8 @@ |
606 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common |
607 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/stat/common |
608 |
- |
609 |
--DPADD= ${LIBAVL} ${LIBBSDXML} ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBSBUF} \ |
610 |
-+DPADD= ${LIBAVL} ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBSBUF} \ |
611 |
- ${LIBUMEM} ${LIBUTIL} ${LIBUUTIL} ${LIBZFS} |
612 |
--LDADD= -lavl -lbsdxml -lgeom -lm -lnvpair -lsbuf -lumem -lutil -luutil -lzfs |
613 |
-+LDADD= -lavl -lgeom -lm -lnvpair -lsbuf -lumem -lutil -luutil -lzfs |
614 |
- |
615 |
- .include <bsd.prog.mk> |
616 |
|
617 |
diff --git a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.0-libpaths.patch b/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.0-libpaths.patch |
618 |
deleted file mode 100644 |
619 |
index c81a2c3..0000000 |
620 |
--- a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.0-libpaths.patch |
621 |
+++ /dev/null |
622 |
@@ -1,167 +0,0 @@ |
623 |
-diff -upNr a/cddl/lib/libzfs/Makefile b/cddl/lib/libzfs/Makefile |
624 |
---- a/cddl/lib/libzfs/Makefile 2012-03-30 18:58:53.174771000 +0000 |
625 |
-+++ b/cddl/lib/libzfs/Makefile 2012-03-30 19:04:39.904906253 +0000 |
626 |
-@@ -54,4 +54,8 @@ CFLAGS+= -I${.CURDIR}/../../../cddl/cont |
627 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common |
628 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common |
629 |
- |
630 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
631 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
632 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libuutil |
633 |
-+ |
634 |
- .include <bsd.lib.mk> |
635 |
-diff -upNr a/cddl/lib/libzpool/Makefile b/cddl/lib/libzpool/Makefile |
636 |
---- a/cddl/lib/libzpool/Makefile 2012-03-30 18:58:53.174771000 +0000 |
637 |
-+++ b/cddl/lib/libzpool/Makefile 2012-03-30 19:04:55.839233753 +0000 |
638 |
-@@ -56,6 +56,10 @@ CFLAGS+= -I${.CURDIR}/../../../lib/libpt |
639 |
- CFLAGS+= -I${.CURDIR}/../../../lib/libpthread/sys |
640 |
- CFLAGS+= -I${.CURDIR}/../../../lib/libthr/arch/${MACHINE_CPUARCH}/include |
641 |
- |
642 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
643 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
644 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
645 |
-+ |
646 |
- DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBZ} |
647 |
- LDADD= -lmd -lpthread -lz -lumem -lnvpair -lavl |
648 |
- |
649 |
-diff -upNr a/cddl/sbin/zfs/Makefile b/cddl/sbin/zfs/Makefile |
650 |
---- a/cddl/sbin/zfs/Makefile 2012-03-30 18:58:53.174771000 +0000 |
651 |
-+++ b/cddl/sbin/zfs/Makefile 2012-03-30 19:05:11.094859502 +0000 |
652 |
-@@ -21,6 +21,11 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/ |
653 |
- CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys |
654 |
- CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs |
655 |
- |
656 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
657 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
658 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libuutil |
659 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs |
660 |
-+ |
661 |
- DPADD= ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBSBUF} ${LIBUMEM} \ |
662 |
- ${LIBUTIL} ${LIBUUTIL} ${LIBZFS} |
663 |
- LDADD= -lgeom -lm -lnvpair -lsbuf -lumem -lutil -luutil -lzfs |
664 |
-diff -upNr a/cddl/sbin/zpool/Makefile b/cddl/sbin/zpool/Makefile |
665 |
---- a/cddl/sbin/zpool/Makefile 2012-03-30 18:58:53.174771000 +0000 |
666 |
-+++ b/cddl/sbin/zpool/Makefile 2012-03-30 19:05:24.830721002 +0000 |
667 |
-@@ -26,6 +26,12 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/ |
668 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common |
669 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/stat/common |
670 |
- |
671 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
672 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
673 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
674 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libuutil |
675 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs |
676 |
-+ |
677 |
- DPADD= ${LIBAVL} ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBSBUF} \ |
678 |
- ${LIBUMEM} ${LIBUTIL} ${LIBUUTIL} ${LIBZFS} |
679 |
- LDADD= -lavl -lgeom -lm -lnvpair -lsbuf -lumem -lutil -luutil -lzfs |
680 |
-diff -upNr a/cddl/usr.bin/ctfconvert/Makefile b/cddl/usr.bin/ctfconvert/Makefile |
681 |
---- a/cddl/usr.bin/ctfconvert/Makefile 2012-03-30 18:58:53.174771000 +0000 |
682 |
-+++ b/cddl/usr.bin/ctfconvert/Makefile 2012-03-30 19:05:49.454897012 +0000 |
683 |
-@@ -36,6 +36,8 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/ |
684 |
- -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \ |
685 |
- -I${OPENSOLARIS_SYS_DISTDIR}/uts/common |
686 |
- |
687 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libctf |
688 |
-+ |
689 |
- DPADD= ${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD} |
690 |
- LDADD= -lctf -ldwarf -lelf -lz -lpthread |
691 |
- |
692 |
-diff -upNr a/cddl/usr.bin/ctfmerge/Makefile b/cddl/usr.bin/ctfmerge/Makefile |
693 |
---- a/cddl/usr.bin/ctfmerge/Makefile 2012-03-30 18:58:53.174771000 +0000 |
694 |
-+++ b/cddl/usr.bin/ctfmerge/Makefile 2012-03-30 19:06:08.084858412 +0000 |
695 |
-@@ -33,6 +33,8 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/ |
696 |
- -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \ |
697 |
- -I${OPENSOLARIS_SYS_DISTDIR}/uts/common |
698 |
- |
699 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libctf |
700 |
-+ |
701 |
- DPADD= ${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD} |
702 |
- LDADD= -lctf -ldwarf -lelf -lz -lpthread |
703 |
- |
704 |
-diff -upNr a/cddl/usr.bin/zinject/Makefile b/cddl/usr.bin/zinject/Makefile |
705 |
---- a/cddl/usr.bin/zinject/Makefile 2012-03-30 18:58:53.174771000 +0000 |
706 |
-+++ b/cddl/usr.bin/zinject/Makefile 2012-03-30 19:06:25.084865592 +0000 |
707 |
-@@ -19,6 +19,13 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/ |
708 |
- CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/head |
709 |
- CFLAGS+= -I${.CURDIR}/../../lib/libumem |
710 |
- |
711 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
712 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
713 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
714 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libuutil |
715 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs |
716 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzpool |
717 |
-+ |
718 |
- DPADD= ${LIBAVL} ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBUUTIL} \ |
719 |
- ${LIBZFS} ${LIBZPOOL} |
720 |
- LDADD= -lavl -lgeom -lm -lnvpair -lumem -luutil -lzfs -lzpool |
721 |
-diff -upNr a/cddl/usr.bin/zstreamdump/Makefile b/cddl/usr.bin/zstreamdump/Makefile |
722 |
---- a/cddl/usr.bin/zstreamdump/Makefile 2012-03-30 18:58:53.174771000 +0000 |
723 |
-+++ b/cddl/usr.bin/zstreamdump/Makefile 2012-03-30 19:06:44.544860132 +0000 |
724 |
-@@ -18,6 +18,11 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/ |
725 |
- CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/head |
726 |
- CFLAGS+= -I${.CURDIR}/../../lib/libumem |
727 |
- |
728 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
729 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
730 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
731 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzpool |
732 |
-+ |
733 |
- DPADD= ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBZPOOL} \ |
734 |
- ${LIBPTHREAD} ${LIBZ} ${LIBAVL} |
735 |
- LDADD= -lm -lnvpair -lumem -lzpool -lpthread -lz -lavl |
736 |
-diff -upNr a/cddl/usr.bin/ztest/Makefile b/cddl/usr.bin/ztest/Makefile |
737 |
---- a/cddl/usr.bin/ztest/Makefile 2012-03-30 18:58:53.174771000 +0000 |
738 |
-+++ b/cddl/usr.bin/ztest/Makefile 2012-03-30 19:06:58.344895642 +0000 |
739 |
-@@ -17,6 +17,11 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/ |
740 |
- CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/head |
741 |
- CFLAGS+= -I${.CURDIR}/../../lib/libumem |
742 |
- |
743 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
744 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
745 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
746 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzpool |
747 |
-+ |
748 |
- DPADD= ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBZPOOL} \ |
749 |
- ${LIBPTHREAD} ${LIBZ} ${LIBAVL} |
750 |
- LDADD= -lm -lnvpair -lumem -lzpool -lpthread -lz -lavl |
751 |
-diff -upNr a/cddl/usr.sbin/zdb/Makefile b/cddl/usr.sbin/zdb/Makefile |
752 |
---- a/cddl/usr.sbin/zdb/Makefile 2012-03-30 18:58:53.164736000 +0000 |
753 |
-+++ b/cddl/usr.sbin/zdb/Makefile 2012-03-30 19:07:17.454861002 +0000 |
754 |
-@@ -23,6 +23,13 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/ |
755 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head |
756 |
- CFLAGS+= -I${.CURDIR}/../../lib/libumem |
757 |
- |
758 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
759 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
760 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
761 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libuutil |
762 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs |
763 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzpool |
764 |
-+ |
765 |
- DPADD= ${LIBAVL} ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBPTHREAD} ${LIBUMEM} \ |
766 |
- ${LIBUUTIL} ${LIBZ} ${LIBZFS} ${LIBZPOOL} |
767 |
- LDADD= -lavl -lgeom -lm -lnvpair -lpthread -lumem -luutil -lz -lzfs -lzpool |
768 |
---- a/cddl/usr.sbin/dtrace/Makefile.old 2011-07-06 00:09:01.000000000 +0000 |
769 |
-+++ b/cddl/usr.sbin/dtrace/Makefile 2011-07-06 00:09:48.000000000 +0000 |
770 |
-@@ -24,6 +24,8 @@ |
771 |
- #CFLAGS+= -DNEED_ERRLOC |
772 |
- #YFLAGS+= -d |
773 |
- |
774 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libdtrace -L${.CURDIR}/../../lib/libctf |
775 |
-+ |
776 |
- DPADD= ${LIBPTHREAD} ${LIBDTRACE} ${LIBY} ${LIBL} ${LIBPROC} \ |
777 |
- ${LIBCTF} ${LIBELF} ${LIBZ} ${LIBUTIL} ${LIBRTLD_DB} |
778 |
- LDADD= -lpthread -ldtrace -ly -lfl -lproc -lctf -lelf -lz -lutil \ |
779 |
---- a/cddl/usr.sbin/lockstat/Makefile.old 2011-07-06 00:10:33.000000000 +0000 |
780 |
-+++ b/cddl/usr.sbin/lockstat/Makefile 2011-07-06 00:10:57.000000000 +0000 |
781 |
-@@ -23,6 +23,8 @@ |
782 |
- |
783 |
- CFLAGS+= -DNEED_ERRLOC -g |
784 |
- |
785 |
-+LDFLAGS+=-L${.CURDIR}/../../lib/libdtrace -L${.CURDIR}/../../lib/libctf |
786 |
-+ |
787 |
- #YFLAGS+= -d |
788 |
- |
789 |
- DPADD= ${LIBPTHREAD} ${LIBDTRACE} ${LIBY} ${LIBL} ${LIBPROC} \ |
790 |
|
791 |
diff --git a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.0-underlink.patch b/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.0-underlink.patch |
792 |
deleted file mode 100644 |
793 |
index ff87d2c..0000000 |
794 |
--- a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.0-underlink.patch |
795 |
+++ /dev/null |
796 |
@@ -1,22 +0,0 @@ |
797 |
---- cddl/lib/libzfs/Makefile.old 2011-11-04 10:27:30.000000000 +0000 |
798 |
-+++ cddl/lib/libzfs/Makefile 2011-11-04 10:28:59.000000000 +0000 |
799 |
-@@ -7,7 +7,7 @@ |
800 |
- |
801 |
- LIB= zfs |
802 |
- DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBUMEM} ${LIBUTIL} |
803 |
--LDADD= -lmd -lpthread -lumem -lutil |
804 |
-+LDADD= -lmd -lpthread -lumem -lutil -luutil -lnvpair -lm -lgeom |
805 |
- |
806 |
- SRCS= deviceid.c \ |
807 |
- fsshare.c \ |
808 |
---- cddl/lib/libzpool/Makefile.old 2011-11-04 18:22:28.000000000 +0000 |
809 |
-+++ cddl/lib/libzpool/Makefile 2011-11-04 18:24:01.000000000 +0000 |
810 |
-@@ -57,7 +57,7 @@ |
811 |
- CFLAGS+= -I${.CURDIR}/../../../lib/libthr/arch/${MACHINE_CPUARCH}/include |
812 |
- |
813 |
- DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBZ} |
814 |
--LDADD= -lmd -lpthread -lz |
815 |
-+LDADD= -lmd -lpthread -lz -lumem -lnvpair -lavl |
816 |
- |
817 |
- # atomic.S doesn't like profiling. |
818 |
- NO_PROFILE= |
819 |
|
820 |
diff --git a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.2-libpaths.patch b/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.2-libpaths.patch |
821 |
deleted file mode 100644 |
822 |
index 36eb570..0000000 |
823 |
--- a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.2-libpaths.patch |
824 |
+++ /dev/null |
825 |
@@ -1,220 +0,0 @@ |
826 |
-diff --git a/lib/libzfs/Makefile b/lib/libzfs/Makefile |
827 |
-index 5b6b47d..c8549b4 100644 |
828 |
---- a/lib/libzfs/Makefile |
829 |
-+++ b/lib/libzfs/Makefile |
830 |
-@@ -55,6 +55,11 @@ CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head |
831 |
- CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common |
832 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair |
833 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common |
834 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
835 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
836 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libuutil |
837 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs_core |
838 |
-+ |
839 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common |
840 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs_core/common |
841 |
- |
842 |
-diff --git a/lib/libzfs_core/Makefile b/lib/libzfs_core/Makefile |
843 |
-index a470fbc..ae8c649 100644 |
844 |
---- a/lib/libzfs_core/Makefile |
845 |
-+++ b/lib/libzfs_core/Makefile |
846 |
-@@ -34,4 +34,6 @@ CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common |
847 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs_core/common |
848 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common |
849 |
- |
850 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
851 |
-+ |
852 |
- .include <bsd.lib.mk> |
853 |
-diff --git a/lib/libzpool/Makefile b/lib/libzpool/Makefile |
854 |
-index 417c1cc..838cdb5 100644 |
855 |
---- a/lib/libzpool/Makefile |
856 |
-+++ b/lib/libzpool/Makefile |
857 |
-@@ -56,6 +56,10 @@ CFLAGS+= -I${.CURDIR}/../../../lib/libpthread/thread |
858 |
- CFLAGS+= -I${.CURDIR}/../../../lib/libpthread/sys |
859 |
- CFLAGS+= -I${.CURDIR}/../../../lib/libthr/arch/${MACHINE_CPUARCH}/include |
860 |
- |
861 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
862 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
863 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
864 |
-+ |
865 |
- DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBZ} |
866 |
- LDADD= -lmd -lpthread -lz |
867 |
- |
868 |
-diff --git a/sbin/zfs/Makefile b/sbin/zfs/Makefile |
869 |
-index a49d278..b22442e 100644 |
870 |
---- a/sbin/zfs/Makefile |
871 |
-+++ b/sbin/zfs/Makefile |
872 |
-@@ -22,6 +22,12 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs |
873 |
- CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys |
874 |
- CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs |
875 |
- |
876 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
877 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
878 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libuutil |
879 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs |
880 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs_core |
881 |
-+ |
882 |
- DPADD= ${LIBGEOM} ${LIBJAIL} ${LIBNVPAIR} ${LIBUMEM} \ |
883 |
- ${LIBUTIL} ${LIBUUTIL} ${LIBZFS_CORE} ${LIBZFS} |
884 |
- LDADD= -lgeom -ljail -lnvpair -lumem -lutil -luutil -lzfs_core -lzfs |
885 |
-diff --git a/sbin/zpool/Makefile b/sbin/zpool/Makefile |
886 |
-index 1884d24..5f06d5f 100644 |
887 |
---- a/sbin/zpool/Makefile |
888 |
-+++ b/sbin/zpool/Makefile |
889 |
-@@ -26,6 +26,13 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys |
890 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common |
891 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/stat/common |
892 |
- |
893 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
894 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
895 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
896 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libuutil |
897 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs |
898 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs_core |
899 |
-+ |
900 |
- DPADD= ${LIBAVL} ${LIBGEOM} ${LIBNVPAIR} \ |
901 |
- ${LIBUMEM} ${LIBUTIL} ${LIBUUTIL} ${LIBZFS_CORE} ${LIBZFS} |
902 |
- LDADD= -lavl -lgeom -lnvpair -lumem -lutil -luutil -lzfs_core -lzfs |
903 |
-diff --git a/usr.bin/ctfconvert/Makefile b/usr.bin/ctfconvert/Makefile |
904 |
-index 7e4a05a..72327ad 100644 |
905 |
---- a/usr.bin/ctfconvert/Makefile |
906 |
-+++ b/usr.bin/ctfconvert/Makefile |
907 |
-@@ -36,6 +36,8 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ |
908 |
- -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \ |
909 |
- -I${OPENSOLARIS_SYS_DISTDIR}/uts/common |
910 |
- |
911 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libctf |
912 |
-+ |
913 |
- DPADD= ${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD} |
914 |
- LDADD= -lctf -ldwarf -lelf -lz -lpthread |
915 |
- |
916 |
-diff --git a/usr.bin/ctfmerge/Makefile b/usr.bin/ctfmerge/Makefile |
917 |
-index ba4840e..845d28c 100644 |
918 |
---- a/usr.bin/ctfmerge/Makefile |
919 |
-+++ b/usr.bin/ctfmerge/Makefile |
920 |
-@@ -33,6 +33,8 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ |
921 |
- -I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \ |
922 |
- -I${OPENSOLARIS_SYS_DISTDIR}/uts/common |
923 |
- |
924 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libctf |
925 |
-+ |
926 |
- DPADD= ${LIBCTF} ${LIBDWARF} ${LIBELF} ${LIBZ} ${LIBPTHREAD} |
927 |
- LDADD= -lctf -ldwarf -lelf -lz -lpthread |
928 |
- |
929 |
-diff --git a/usr.bin/zinject/Makefile b/usr.bin/zinject/Makefile |
930 |
-index 8c5c141..3db2b29 100644 |
931 |
---- a/usr.bin/zinject/Makefile |
932 |
-+++ b/usr.bin/zinject/Makefile |
933 |
-@@ -19,6 +19,14 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common |
934 |
- CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/head |
935 |
- CFLAGS+= -I${.CURDIR}/../../lib/libumem |
936 |
- |
937 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
938 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
939 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
940 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libuutil |
941 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs |
942 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzpool |
943 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs_core |
944 |
-+ |
945 |
- DPADD= ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBUUTIL} \ |
946 |
- ${LIBZFS_CORE} ${LIBZFS} ${LIBZPOOL} |
947 |
- LDADD= -lgeom -lm -lnvpair -lumem -luutil -lzfs_core -lzfs -lzpool |
948 |
-diff --git a/usr.bin/zstreamdump/Makefile b/usr.bin/zstreamdump/Makefile |
949 |
-index 304ff7c..5f0b00e 100644 |
950 |
---- a/usr.bin/zstreamdump/Makefile |
951 |
-+++ b/usr.bin/zstreamdump/Makefile |
952 |
-@@ -18,6 +18,11 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common |
953 |
- CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/head |
954 |
- CFLAGS+= -I${.CURDIR}/../../lib/libumem |
955 |
- |
956 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
957 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
958 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
959 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzpool |
960 |
-+ |
961 |
- DPADD= ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBZPOOL} \ |
962 |
- ${LIBPTHREAD} ${LIBZ} ${LIBAVL} |
963 |
- LDADD= -lm -lnvpair -lumem -lzpool -lpthread -lz -lavl |
964 |
-diff --git a/usr.bin/ztest/Makefile b/usr.bin/ztest/Makefile |
965 |
-index 965300e..ad40a92 100644 |
966 |
---- a/usr.bin/ztest/Makefile |
967 |
-+++ b/usr.bin/ztest/Makefile |
968 |
-@@ -18,6 +18,14 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common |
969 |
- CFLAGS+= -I${.CURDIR}/../../contrib/opensolaris/head |
970 |
- CFLAGS+= -I${.CURDIR}/../../lib/libumem |
971 |
- |
972 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
973 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
974 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
975 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libuutil |
976 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs |
977 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzpool |
978 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs_core |
979 |
-+ |
980 |
- DPADD= ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBUMEM} ${LIBZPOOL} \ |
981 |
- ${LIBPTHREAD} ${LIBAVL} ${LIBZFS_CORE} ${LIBZFS} ${LIBUUTIL} |
982 |
- LDADD= -lgeom -lm -lnvpair -lumem -lzpool -lpthread -lavl -lzfs_core -lzfs \ |
983 |
-diff --git a/usr.sbin/dtrace/Makefile b/usr.sbin/dtrace/Makefile |
984 |
-index 3930f01..4bdbd1a 100644 |
985 |
---- a/usr.sbin/dtrace/Makefile |
986 |
-+++ b/usr.sbin/dtrace/Makefile |
987 |
-@@ -25,4 +25,7 @@ DPADD= ${LIBPTHREAD} ${LIBDTRACE} ${LIBY} ${LIBL} ${LIBPROC} \ |
988 |
- LDADD= -lpthread -ldtrace -ly -ll -lproc -lctf -lelf -lz -lutil \ |
989 |
- -lrtld_db |
990 |
- |
991 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libdtrace |
992 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libctf |
993 |
-+ |
994 |
- .include <bsd.prog.mk> |
995 |
-diff --git a/usr.sbin/lockstat/Makefile b/usr.sbin/lockstat/Makefile |
996 |
-index 70515ef..d65e4c3 100644 |
997 |
---- a/usr.sbin/lockstat/Makefile |
998 |
-+++ b/usr.sbin/lockstat/Makefile |
999 |
-@@ -20,6 +20,9 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ |
1000 |
- |
1001 |
- CFLAGS+= -DNEED_ERRLOC -g |
1002 |
- |
1003 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libdtrace |
1004 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libctf |
1005 |
-+ |
1006 |
- #YFLAGS+= -d |
1007 |
- |
1008 |
- DPADD= ${LIBPTHREAD} ${LIBDTRACE} ${LIBY} ${LIBFL} ${LIBPROC} \ |
1009 |
-diff --git a/usr.sbin/zdb/Makefile b/usr.sbin/zdb/Makefile |
1010 |
-index 8068385..337e324 100644 |
1011 |
---- a/usr.sbin/zdb/Makefile |
1012 |
-+++ b/usr.sbin/zdb/Makefile |
1013 |
-@@ -23,6 +23,14 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs |
1014 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head |
1015 |
- CFLAGS+= -I${.CURDIR}/../../lib/libumem |
1016 |
- |
1017 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
1018 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
1019 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
1020 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libuutil |
1021 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs |
1022 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzpool |
1023 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs_core |
1024 |
-+ |
1025 |
- DPADD= ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBPTHREAD} ${LIBUMEM} \ |
1026 |
- ${LIBUUTIL} ${LIBZFS_CORE} ${LIBZFS} ${LIBZPOOL} |
1027 |
- LDADD= -lgeom -lm -lnvpair -lpthread -lumem -luutil -lzfs_core -lzfs -lzpool |
1028 |
-diff --git a/usr.sbin/zhack/Makefile b/usr.sbin/zhack/Makefile |
1029 |
-index f09d2d8..fc3d7a4 100644 |
1030 |
---- a/usr.sbin/zhack/Makefile |
1031 |
-+++ b/usr.sbin/zhack/Makefile |
1032 |
-@@ -22,6 +22,13 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs |
1033 |
- CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head |
1034 |
- CFLAGS+= -I${.CURDIR}/../../lib/libumem |
1035 |
- |
1036 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
1037 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
1038 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libuutil |
1039 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs |
1040 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzpool |
1041 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libzfs_core |
1042 |
-+ |
1043 |
- DPADD= ${LIBGEOM} ${LIBM} ${LIBNVPAIR} ${LIBPTHREAD} ${LIBUMEM} \ |
1044 |
- ${LIBUUTIL} ${LIBZFS_CORE} ${LIBZFS} ${LIBZPOOL} |
1045 |
- LDADD= -lgeom -lm -lnvpair -lpthread -lumem -luutil -lzfs_core -lzfs -lzpool |
1046 |
|
1047 |
diff --git a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.2-underlink.patch b/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.2-underlink.patch |
1048 |
deleted file mode 100644 |
1049 |
index be1ff9f..0000000 |
1050 |
--- a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.2-underlink.patch |
1051 |
+++ /dev/null |
1052 |
@@ -1,26 +0,0 @@ |
1053 |
-diff -uNr cddl.old/lib/libzfs/Makefile cddl/lib/libzfs/Makefile |
1054 |
---- cddl.old/lib/libzfs/Makefile 2013-08-09 17:37:00.000000000 -0400 |
1055 |
-+++ cddl/lib/libzfs/Makefile 2013-08-09 17:44:08.000000000 -0400 |
1056 |
-@@ -8,7 +8,9 @@ |
1057 |
- LIB= zfs |
1058 |
- DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBUMEM} ${LIBUTIL} ${LIBM} ${LIBNVPAIR} \ |
1059 |
- ${LIBZFS_CORE} |
1060 |
--LDADD= -lmd -lpthread -lumem -lutil -lm -lnvpair -lzfs_core |
1061 |
-+LDADD= -lmd -lpthread -lumem -lutil -lm -lnvpair -lzfs_core -lgeom -luutil -lavl |
1062 |
-+ |
1063 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
1064 |
- |
1065 |
- SRCS= deviceid.c \ |
1066 |
- fsshare.c \ |
1067 |
-diff -uNr cddl.old/lib/libzpool/Makefile cddl/lib/libzpool/Makefile |
1068 |
---- cddl.old/lib/libzpool/Makefile 2013-08-09 17:46:23.000000000 -0400 |
1069 |
-+++ cddl/lib/libzpool/Makefile 2013-08-09 17:50:39.000000000 -0400 |
1070 |
-@@ -61,7 +61,7 @@ |
1071 |
- LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
1072 |
- |
1073 |
- DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBZ} |
1074 |
--LDADD= -lmd -lpthread -lz |
1075 |
-+LDADD= -lmd -lpthread -lz -lumem -lavl |
1076 |
- |
1077 |
- # atomic.S doesn't like profiling. |
1078 |
- NO_PROFILE= |
1079 |
|
1080 |
diff --git a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.3-underlink.patch b/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.3-underlink.patch |
1081 |
deleted file mode 100644 |
1082 |
index 62d5326..0000000 |
1083 |
--- a/sys-freebsd/freebsd-cddl/files/freebsd-cddl-9.3-underlink.patch |
1084 |
+++ /dev/null |
1085 |
@@ -1,27 +0,0 @@ |
1086 |
-diff --git a/cddl/lib/libzfs/Makefile b/cddl/lib/libzfs/Makefile |
1087 |
-index cc0f363..065281f 100644 |
1088 |
---- a/cddl/lib/libzfs/Makefile |
1089 |
-+++ b/cddl/lib/libzfs/Makefile |
1090 |
-@@ -8,7 +8,8 @@ |
1091 |
- LIB= zfs |
1092 |
- DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBUMEM} ${LIBUTIL} ${LIBM} ${LIBNVPAIR} \ |
1093 |
- ${LIBAVL} ${LIBZFS_CORE} |
1094 |
--LDADD= -lmd -lpthread -lumem -lutil -lm -lnvpair -lavl -lzfs_core |
1095 |
-+LDADD= -lmd -lpthread -lumem -lutil -lm -lnvpair -lavl -lzfs_core -lgeom -luutil |
1096 |
-+LDFLAGS+= -L${.CURDIR}/../../lib/libavl |
1097 |
- |
1098 |
- SRCS= deviceid.c \ |
1099 |
- fsshare.c \ |
1100 |
-diff --git a/cddl/lib/libzpool/Makefile b/cddl/lib/libzpool/Makefile |
1101 |
-index 61c4788..4888cc7 100644 |
1102 |
---- a/cddl/lib/libzpool/Makefile |
1103 |
-+++ b/cddl/lib/libzpool/Makefile |
1104 |
-@@ -61,7 +61,7 @@ LDFLAGS+= -L${.CURDIR}/../../lib/libnvpair |
1105 |
- LDFLAGS+= -L${.CURDIR}/../../lib/libumem |
1106 |
- |
1107 |
- DPADD= ${LIBMD} ${LIBPTHREAD} ${LIBZ} |
1108 |
--LDADD= -lmd -lpthread -lz |
1109 |
-+LDADD= -lmd -lpthread -lz -lumem -lavl |
1110 |
- |
1111 |
- # atomic.S doesn't like profiling. |
1112 |
- NO_PROFILE= |
1113 |
|
1114 |
diff --git a/sys-freebsd/freebsd-cddl/files/zfs.initd b/sys-freebsd/freebsd-cddl/files/zfs.initd |
1115 |
deleted file mode 100644 |
1116 |
index a2b0f97..0000000 |
1117 |
--- a/sys-freebsd/freebsd-cddl/files/zfs.initd |
1118 |
+++ /dev/null |
1119 |
@@ -1,24 +0,0 @@ |
1120 |
-#!/sbin/runscript |
1121 |
-# Copyright 1999-2012 Gentoo Foundation |
1122 |
-# Distributed under the terms of the GNU General Public License v2 |
1123 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/files/zfs.initd,v 1.1 2012/05/27 06:23:07 naota Exp $ |
1124 |
- |
1125 |
-depend() { |
1126 |
- need hostid |
1127 |
- before fsck |
1128 |
-} |
1129 |
- |
1130 |
-start() { |
1131 |
- einfo "Starting zfs ..." |
1132 |
- zfs mount -a |
1133 |
- zfs share -a |
1134 |
- if [ ! -r /etc/zfs/exports ]; then |
1135 |
- touch /etc/zfs/exports |
1136 |
- fi |
1137 |
-} |
1138 |
- |
1139 |
-stop() { |
1140 |
- einfo "Stopping zfs ..." |
1141 |
- zfs unshare -a |
1142 |
- zfs unmount -a |
1143 |
-} |
1144 |
|
1145 |
diff --git a/sys-freebsd/freebsd-cddl/files/zvol.initd-9.0 b/sys-freebsd/freebsd-cddl/files/zvol.initd-9.0 |
1146 |
deleted file mode 100755 |
1147 |
index 5086680..0000000 |
1148 |
--- a/sys-freebsd/freebsd-cddl/files/zvol.initd-9.0 |
1149 |
+++ /dev/null |
1150 |
@@ -1,45 +0,0 @@ |
1151 |
-#!/sbin/runscript |
1152 |
-# Copyright 1999-2012 Gentoo Foundation |
1153 |
-# Distributed under the terms of the GNU General Public License v2 |
1154 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/files/zvol.initd-9.0,v 1.1 2012/05/12 07:57:13 naota Exp $ |
1155 |
- |
1156 |
-depend() { |
1157 |
- need hostid |
1158 |
- before fsck |
1159 |
-} |
1160 |
- |
1161 |
-start() { |
1162 |
- einfo "Starting zfs volumes..." |
1163 |
- eend $? |
1164 |
- # Enable swap on ZVOLs that have org.freebsd:swap=on. |
1165 |
- zfs list -H -o org.freebsd:swap,name -t volume | \ |
1166 |
- while read state name; do |
1167 |
- case "${state}" in |
1168 |
- [oO][nN]) |
1169 |
- einfo "Enabling swap on zvol ${name}" |
1170 |
- swapon /dev/zvol/${name} |
1171 |
- eend $? |
1172 |
- ;; |
1173 |
- esac |
1174 |
- done |
1175 |
-} |
1176 |
- |
1177 |
-stop() { |
1178 |
- # Disable what we had enabled before. |
1179 |
- zfs list -H -o org.freebsd:swap,name -t volume | \ |
1180 |
- while read state name; do |
1181 |
- case "${state}" in |
1182 |
- [oO][nN]) |
1183 |
- einfo "Disabling swap on zvol ${name}" |
1184 |
- swapoff /dev/zvol/${name} |
1185 |
- eend $? |
1186 |
- ;; |
1187 |
- esac |
1188 |
- done |
1189 |
- einfo "Stopping zfs volumes..." |
1190 |
- eend $? |
1191 |
-} |
1192 |
- |
1193 |
-restart() { |
1194 |
- : |
1195 |
-} |
1196 |
|
1197 |
diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-10.1.0.9999.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-10.1.0.9999.ebuild |
1198 |
deleted file mode 100644 |
1199 |
index add1c63..0000000 |
1200 |
--- a/sys-freebsd/freebsd-cddl/freebsd-cddl-10.1.0.9999.ebuild |
1201 |
+++ /dev/null |
1202 |
@@ -1,64 +0,0 @@ |
1203 |
-# Copyright 1999-2014 Gentoo Foundation |
1204 |
-# Distributed under the terms of the GNU General Public License v2 |
1205 |
-# $Header: $ |
1206 |
- |
1207 |
-EAPI=4 |
1208 |
- |
1209 |
-inherit bsdmk freebsd toolchain-funcs multilib |
1210 |
- |
1211 |
-DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software" |
1212 |
-SLOT="0" |
1213 |
- |
1214 |
-IUSE="build" |
1215 |
-LICENSE="CDDL GPL-2" |
1216 |
- |
1217 |
-if [[ ${PV} != *9999* ]]; then |
1218 |
- KEYWORDS="~amd64-fbsd ~x86-fbsd" |
1219 |
- SRC_URI="mirror://gentoo/${P}.tar.xz |
1220 |
- mirror://gentoo/${CONTRIB}.tar.xz |
1221 |
- mirror://gentoo/${UBIN}.tar.xz |
1222 |
- mirror://gentoo/${LIB}.tar.xz |
1223 |
- mirror://gentoo/${SBIN}.tar.xz |
1224 |
- mirror://gentoo/${SYS}.tar.xz |
1225 |
- build? ( mirror://gentoo/${INCLUDE}.tar.xz )" |
1226 |
-fi |
1227 |
- |
1228 |
-# sys is required. |
1229 |
- |
1230 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
1231 |
- =sys-freebsd/freebsd-libexec-${RV}* |
1232 |
- build? ( sys-apps/baselayout )" |
1233 |
- |
1234 |
-DEPEND="${RDEPEND} |
1235 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
1236 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* )" |
1237 |
- |
1238 |
-S="${WORKDIR}/cddl" |
1239 |
- |
1240 |
-PATCHES=( |
1241 |
- "${FILESDIR}/${PN}-9.2-libpaths.patch" |
1242 |
- "${FILESDIR}/${PN}-9.3-underlink.patch" |
1243 |
- ) |
1244 |
- |
1245 |
-src_prepare() { |
1246 |
- if [[ ! -e "${WORKDIR}/include" ]]; then |
1247 |
- # Link in include headers. |
1248 |
- ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.." |
1249 |
- fi |
1250 |
-} |
1251 |
- |
1252 |
-src_install() { |
1253 |
- # Install libraries proper place |
1254 |
- local mylibdir=$(get_libdir) |
1255 |
- mkinstall SHLIBDIR="/usr/${mylibdir}" LIBDIR="/usr/${mylibdir}" || die |
1256 |
- |
1257 |
- gen_usr_ldscript -a avl nvpair umem uutil zfs zpool zfs_core |
1258 |
- |
1259 |
- # Install zfs volinit script. |
1260 |
- newinitd "${FILESDIR}"/zvol.initd-9.0 zvol |
1261 |
- |
1262 |
- # Install zfs script |
1263 |
- newinitd "${FILESDIR}"/zfs.initd zfs |
1264 |
- |
1265 |
- keepdir /etc/zfs |
1266 |
-} |
1267 |
|
1268 |
diff --git a/sys-freebsd/freebsd-contrib/Manifest b/sys-freebsd/freebsd-contrib/Manifest |
1269 |
deleted file mode 100644 |
1270 |
index 06ac278..0000000 |
1271 |
--- a/sys-freebsd/freebsd-contrib/Manifest |
1272 |
+++ /dev/null |
1273 |
@@ -1 +0,0 @@ |
1274 |
-EBUILD freebsd-contrib-9.3.0.9999.ebuild 1099 SHA256 5e2dc87d3b9fae1d2281c3240bd26978cedb6b58b2bfbbec7a60a5f10677205e SHA512 9390856aab1deff79b94e1cae028e0ba91ba3d6a4b0bbb570cd6613398fb4131b32851741b00043d407e7bb5a8a4b6b55ccf04947b2d2cb2429b8a8624a826cc WHIRLPOOL a17fa78123166db11fcdb753052fc80d5ffbbca304f16fd4282a796bfe3367a32e8d457158e0d531b50b8fa0841a8afa5b91bcf20867013002276b49cea1d998 |
1275 |
|
1276 |
diff --git a/sys-freebsd/freebsd-lib/Manifest b/sys-freebsd/freebsd-lib/Manifest |
1277 |
deleted file mode 100644 |
1278 |
index 344fad4..0000000 |
1279 |
--- a/sys-freebsd/freebsd-lib/Manifest |
1280 |
+++ /dev/null |
1281 |
@@ -1,31 +0,0 @@ |
1282 |
-AUX freebsd-lib-10.0-atfcxx.patch 1545 SHA256 eef9680da13fb24adc01fab170d83787e8b9926ec2bbb89cd7933b3dd8b35306 SHA512 37d8fc83b97addef48807196738be511fdc74b002dce321c2eaf38db5b618ff4a2f8e8447677c60b96b8add8f1dc586a66a30992289fa95e20e2005589e83953 WHIRLPOOL 78096c4064b98cbb05617355c8c65c306f9d6ceb2a2c8f772cf39f20c81395da9a2d1e128f5b1382bdd65d7e6d7df2d08606933ac5fa8a9aa3d55ec8b76363e2 |
1283 |
-AUX freebsd-lib-10.0-clang34.patch 939 SHA256 c8755730fb0cf7bd7d7deed870550a36cada5dadef06390b8dabba824129af4e SHA512 5252167e5d938edf43fb71eb3bb41f87844809abe230efc88f9697bb1f69388e6cc71a9682fb89db1cd6ad45a8987df9eb251444f638eaaa750640ab3bcc9ae8 WHIRLPOOL e68346ae50163021c72a0baa234cda74020796aa4e6375ba60342e83ee8127944ad82c71306c967a8548c2e0a4ace13be08349866d0833167e5477dd02c855e0 |
1284 |
-AUX freebsd-lib-10.0-cve-2014-3951.patch 5795 SHA256 0babc677e0af00828a3203fb55e05c23d46a7c5e56179d187d9753f38dd87849 SHA512 27c08aacc0e33f80ea6164bdd29acd6134393c002a6e544ce2b2d5893b24766dbed96e2b7216ef714f5f77fd197e93dac6ef2f909272483aa3ecdafaa5f0e42c WHIRLPOOL 188c0fd6880353c78985e76fe59626dfaa366159e67aeaa9b170331aad5394a5e1dad959b9cb3cb572e79d41b4660ab97f78067410cba10eefd15ece04cbf498 |
1285 |
-AUX freebsd-lib-10.0-libiconv_modules.patch 645 SHA256 eeaf5e8dd482935982f4c232c227eadae4258e63a8dd9631cb59140ec21cbe08 SHA512 6d07c28a92985a8de517bd0eee5bf4a9ca60eee214c7111cda74d2eb6b2cfac1105b2673b09f64d9da2e54ecddf77bc27890a42a4d4f79243778f14fed8a4fdd WHIRLPOOL 27383421a4a7ee3c275db4f82ccedd3004c24d1ef5408db31f5647a06c8d31dc47b0ad3d3a202b8598676229953854656c8bc9f74febc76792dd085894c8d31b |
1286 |
-AUX freebsd-lib-10.0-liblink.patch 2448 SHA256 cbdcca5cc893b0d0b1ff98d1c1046519cebe9877b4cddd180340cfafbbbd2726 SHA512 c77049fa170d08d6ce035a8b9ae799f6d8e0b899371c1644a7493543fc07511515f68d54c82c618064954e48023c09bfcff452bd93e69ac07b7f8c6fc0e5089d WHIRLPOOL 12a22aeb74491960bf12da6d0db67504f1f804e732d332fd607cf58a78f0fc291af7d6a3d9f65744fedc36daa9326b463b2ebbe545d88deccc29135b6be60dbf |
1287 |
-AUX freebsd-lib-10.0-libproc-libcxx.patch 393 SHA256 da065c458716e8a56a3c3aab87c9e5135287d6c8fa46eb26092c197e167b7acd SHA512 086d71467dcaccefdb2d9d31deab1905407aadca625853ff222610ea713e80dd8dd61caae3765107045b376f4162f73d12407d1d27aad29603b45b108c09cd8f WHIRLPOOL 3bed09ac5887736dcb15583b4d6cde50419d156bc12f1e1a55668ed85bfb0f502c79c760e8cde3db7172b72775786bb8968df811980ad046c677ff0aff176b33 |
1288 |
-AUX freebsd-lib-10.0-libusb.patch 764 SHA256 5e7bede29a900eda7ee3935203574bd6547b75864087ded60473f19dfcfa40eb SHA512 5b56af4f0ad5706001ed89075ff37b88412a1de7dd18742fdbfdd674581f20f39068fb6002c43e7ee22ae3051c11428f1c2e6cdab319da2ede065cffd330ceb9 WHIRLPOOL 2fdbe9ca0fc40b6626e40413d2364cb5de00611d674cdd6128d6e70e91fcfe0dffb60eb6c3e868907ee613f32258e519ea50e0722b180ab8021d766ebeef8370 |
1289 |
-AUX freebsd-lib-10.1-cve-2014-8611.patch 605 SHA256 f8e3556e82a9d256bd42be796dd1a8672b84259087369087ecf8fb2ddcdbdbd7 SHA512 9462e5e4a8a04999b0d434e47bd6891e638281d13f2aba1ff7e2fd6f2b3a698f1339aac2b257404eb52498b14bcdb7b512b82ea203b176a0cb42891da292e691 WHIRLPOOL 942287e5fe27452d1c5c046d00d1e33cf57052ad3429a81ef5da2b4eb93d96aad734d31f0e1c196278a9ab232ec6efc4217c2ff28b271ed63878c6677f4753dc |
1290 |
-AUX freebsd-lib-6.0-flex-2.5.31.patch 421 SHA256 1d46cf13e1059ae3731ba5555764e020fcf4de7db5abf039fac83423e05d53c4 SHA512 c16a99b85e7908e77915796245741cbfcfb30ab1f4f0a8d565c28256b25d1532209ed27328d8b1571f61677251830f1fb6bbec17a8104686f56afd87f3226dec WHIRLPOOL 177f7ee5764f79fcdab768b13016e809f677cfd57a06ebb5e1bbafc6520f309b328908716ee02a8155f35566faefa95b67b064dafa8de9a7d2a19bde92b386b0 |
1291 |
-AUX freebsd-lib-6.0-gccfloat.patch 542 SHA256 d549125f174c86c2d5e7e1f1c99cf1303b84e91ce8ee51db8c962be48b7a7951 SHA512 810745085c601757397b6d0338dba1631e4f623c3bae8a588e9f0b5c7cd9a9416d832093f97925fcef27ffcf20929bef8a5bcbeecf7a583c0a7eb6ce71f39495 WHIRLPOOL dee1bcf99935ae9ead0d5f498049a46ee89416f06eb7361901c69f40d0151ae1d3647a7dbb1c58b1aca7f541169b20d622019bc20b12953ba0c06fba56fd375e |
1292 |
-AUX freebsd-lib-6.0-pmc.patch 338 SHA256 36ca464f0aa1ed8784c8f1edc4a3580704c9a7813963684305250d806000075f SHA512 33187ec853ddf0c39680af60b669e60d3e213eba20a2e1ba995c991f04c053c5adcc5169b92c5d1d4cfbc7e03b72af2df4a5349361b41c56ca4a9b91e81bb327 WHIRLPOOL 1744ed829c1775c01b5d1b827b5677b6b5d731cff376da4d8e7ab8facbb0c465131a34157d77186bfcf1a1097f515e3909d1e753aa2b8e72efaf7feae319361f |
1293 |
-AUX freebsd-lib-6.1-csu.patch 655 SHA256 e6fe72a4183227b275815a75eec9639321046dc1e02b80c507ae6bf902a58cf1 SHA512 926d8aafd6f517a0fb97af61746d53bafab7fe7003f71181c43b4f9b31e7652624d060a350cc23d83ca7da7c1be2dcc048bb00a581c3524f0f2b7b06de6100b4 WHIRLPOOL fada1ac622c48e1e5af34245bdb17507b2b317938265f722c8cbdbbce3d14bbe76f39a231c0e7237bd229a8c0687952643c6f56e65ffc56b18508969fad837f7 |
1294 |
-AUX freebsd-lib-7.1-types.h-fix.patch 371 SHA256 9e745fcfe046c405a365d8d0db8763867f0a618952f7d6bab4c76a8c82273473 SHA512 133ab13e98c3f2dc5f96cd5e45cd11c4da9757f4ea64831a6e17b309bc4692e4213b48c7ab6dd634f1feb069ca2dfc3a8afe1585d0d1425b5304fd7494cd342f WHIRLPOOL d284dd82244a108e4677be143cfc302c18f18e5b39c39fcaa8915c61053d94bf7171e48028f40d25f8058f8ec910c3e55a3753ccecb46bbabbb0e5ba86e808e3 |
1295 |
-AUX freebsd-lib-8.0-gcc45.patch 1264 SHA256 5288e313beffa0e50fc0301e859c59f1a95302d546d27eae50b97c4a98c81c4d SHA512 12b81def4e7690cf5b910f31466b06c3fdf58f38a41f63dd359582d8f480e8081b54fd4997c6595e9e1a8912f991ba1b8d04989e270f242dd547d72c9ad5ea57 WHIRLPOOL 0cb37d909a02492a1ca700a5b990e4b6ce42a7f7d55e14a5a3fe685d28f360a10e95d97bd489f1dae0b152e168e9d901bfc13bf08bc91d8dfa1d263d4dba9abf |
1296 |
-AUX freebsd-lib-8.0-rpcsec_gss.patch 298 SHA256 775ec2ee12c49f134938fa8264c04c6b2bf95f8001371f20b85058c25ff1c472 SHA512 2dd63be1a31a1e78fff38a3061469148b673423d958223a459d157accd3a2d1b1f4e568910c49979b0a214322c4e7371f2710ef78fab7d161545fec2a78dc702 WHIRLPOOL 884b76cd6d5d01f801b2fb13f53cfa6ed26dd0b9b2a5062ac9dbe63a6813bfe737e4c3f98b3d94c32dfb6ce3cc19cd5c8760c81250f4b2d5980a4f084d7dc54b |
1297 |
-AUX freebsd-lib-9.0-bluetooth.patch 318 SHA256 5b8810471bd57e1100cc7ee6eee3ed92799e1a5c0244f5ae42f3715189fb06c3 SHA512 71cba168c1530407840dde9e25ce374abb7e0d69800e85bf6f5aff28d1a777ff31f47a84ab763e1518d3492f604d1c09ca95cf8ec5b4e05e8bd5b85267ca4488 WHIRLPOOL eccb54dd10a01358aa7e8267e64f103b89c2981ab2475f27282d5ea0bfe8adb8a106c869ca661553c3d2eda0c1d3d9dec669da6cfe61c23d5749535bdcc8c28b |
1298 |
-AUX freebsd-lib-9.0-liblink.patch 627 SHA256 41f0b7f92f2a8f0a3e422447b830d7dec70a068573086484d5efd6826b7c4c3c SHA512 0c570fea9cc386afe4b742985cf7de4d49370be3f34b2059dee76869d8e64bd52db0a07e61fac8924848d12d0e6d510ad6a266ce8ef76e2be885d81d909ab616 WHIRLPOOL b59e3bb0aaede34492d1940a77b11c7e5192643122f18ee6ad363053f9dec2600218ca416dd153e1d0b3bb6621d6f9e2ec50621e6e7f4b610abbd69993dc428a |
1299 |
-AUX freebsd-lib-9.0-netware.patch 400 SHA256 e83d43f5bf9461c3d332365cca12db7b041b765c79eef392970665740411c382 SHA512 07ebde5797480f37502e60db2a8c9ce9459bd55b176e79c0f20a859cf737f619559cb27706fb0e83fb501493677a3ffeaa9a98d45db3c0c539b71d2f18140246 WHIRLPOOL 2d78565fe0bc0dcdd61d028ba24b20d2db94f32b40536e7e8e1d5e7f485e0e2f3125807dbb6607d26e4366a6aa8ee89a8f0af7c9498f1fba9431f652c181a8f1 |
1300 |
-AUX freebsd-lib-9.0-opieincludes.patch 4495 SHA256 0868e7454053170c3399f1a03a68f3e70410c79db865e7e2f2b51f5961b5718b SHA512 a3828985f7da9e72ad44d88640952d56079693024bc11b4e3cca86b6f455a9e4756ba76f9e6d4c15960898f39e1dac7bc833e3241082f532c7fbd6d7d6f9418b WHIRLPOOL e0180dd0086c054e9f6895ecfe34bfb21d0e1db483dfc63ad411c651954c4703996d9b537a9566133a01770f2cf0f331727865013413181728c3b21740735473 |
1301 |
-AUX freebsd-lib-9.0-trylock-adaptive.patch 439 SHA256 af501c40124e628c2f739d88a4efa7ef3513694bd79ab44db30e4b3f73864612 SHA512 ceeeea302294db5a25b5534685dce563778572010f0072ecb300a66550ee8cc241e0ae5523e32fd5424560e82d913c37aefe06c2a6725e951ba4ad5df73a1a68 WHIRLPOOL d2a65eab4b03a7fb65e2dd6f03c2e60fe1248412e28a0829757e6cb733d1f487ee79959680f1db8af20fc409a165c5f4aea3038171e7b82aee7d38c29552531e |
1302 |
-AUX freebsd-lib-9.1-.eh_frame_hdr-fix.patch 695 SHA256 6c6d7a958c989edc6ee76c5b9c2146fa449adda11c3b89b550780c7a78d93190 SHA512 c40270e8890a1152a6f2e705461ac64f8cc44e6d0306d895a0d146017d4fe3553853de88178e0744fc1be4197a4eb35b578c68593c80467dd8cf15c35720413d WHIRLPOOL 1fa3c5cdba333951b918eb5c1eb793ab49921268a6a397e38f2adad383c2c03ccf382892ed8d44e2480f8ca891ce3c3a0b122a026cbf232058ac3bcf2f2d5133 |
1303 |
-AUX freebsd-lib-9.1-rmgssapi.patch 699 SHA256 0dc94a565f140beca0800446c72bd874f99c56125181f7a037154dcd898d2615 SHA512 cb0b292cca0c321ed72b1a792a3975be239303b3990efc6665b0c960dfe17fdbb4529405286c0a956c4b4711462d2ee9d7d1c9d343ad3246b43c49edfc87dae0 WHIRLPOOL 55adff8c3436959b4545ba54c0eff3cd640dd4f0d0871bd66dad2501c04e84eb24f27b882dde9050b088dadecc9af6049493e848a1d508646149075180c8c414 |
1304 |
-AUX freebsd-lib-9.2-liblink.patch 2012 SHA256 065522cabf7dca8062f41c7c9154931864ec3304a2c1f59d44f88b894bf55afc SHA512 97f2f326f431337da5d14a4a37b6fced3224c85bb25ea1f0fcd121790d94dbfb27c98c7b15eb92b1967634be15db96653d5bc6fc458de63a4c988e9e650d965d WHIRLPOOL 45392c571d0f05130836d6d4f0d6b3503f58e4f4d8907d07e1011329b9285d6a010bc35606ff74d529906f6c8f240336bc265eef105196cd3e26390b3bac6d77 |
1305 |
-AUX freebsd-lib-add-nossp-cflags.patch 1193 SHA256 53a844511feca44a9db4ac19de336320398335d18617b39cbc4e66db3f88e861 SHA512 fcb290527381df5b91355ca7f36bb4c770378b014890e7a4d129b7cc28e7c18cb1f87ef9e1b308e0de61b54d767677865969c77a9877d8874f2bec223331f9f8 WHIRLPOOL 20e4a0cd017f9aee59f0e4fa809ae74c855fcb7c7a794e1e71b1e5900390d08a9bdfaf5a36a45b057d6211c056a5fb69adfc688fa2adb0586f115be0aea40219 |
1306 |
-AUX freebsd-lib-bsdxml2expat.patch 708 SHA256 0c3ec3657155c5032479181119c488d43a479ab0dfe7a7d7ed0dabce16853e85 SHA512 d3b321062886ee636a09af4b8714ae90317c17eb954a3d491cd21ca90605e26491033df4d6f02a517eda423783db74dad16adf7ee1bdc5557392cc70218ee9c7 WHIRLPOOL 5c262c59aee9e642d3a8929a453b56c7a55ba60f3011d6ac07b750a30297eb992a564ba4db18714b7eac58bbe3ded1ff4249150128947d25dd1344e59e16c9cb |
1307 |
-AUX freebsd-lib-includes.patch 316 SHA256 be4dd4c905715c2d165be282cf377f799b32ccb76986947bc0bf1b5730b57b06 SHA512 31b7f368a4d3998e42486cb944a001a8371c365276eac94fa8712e29dbe9a13a7756a2fd77fbff87a1f7f4c19b32721c74bbb099f611d46a8c78b73f92d9255e WHIRLPOOL 8c4c2c6d1e9556303520c4cd8f6996f0f24c8b45985d4326db880c187b6db30e914a6e47b40ea4a79d7a309fdd579b39232329daf74758412ac518b0a9d0a317 |
1308 |
-AUX freebsd-sources-9.0-sysctluint.patch 403 SHA256 884fbc5d6d3766ea3d4609946f56072f36f95368dc13ee316c330a46d42f0c9e SHA512 f3a87cb187858bc6fd1bafda3c3bd7bbda52b07239a50a7c1aa201df2c52a58d4809e196b8799b1949c8ca1a556519d454ad1789358540e3a96cd480fc0a504c WHIRLPOOL 1fd9852d59378b3fa8682886085f4f63ccd2a57806161b9a3ccb0cbe0c465be2e5620ed57942a8687656859e1a9df17c7d298ea66ec037514bbe7707783aa9f8 |
1309 |
-AUX libmap.conf 201 SHA256 36a1bd56965f171cbb058f6e1762801e3b92c083fe36f6fe046bd669beed9742 SHA512 abc358dff495fe96b9ed549bacb5278577ca4da46b89b87e9211a2f6acdd455111df02ba11b797287f839af6cc22f8810e8ac1dc52154acc8b22364e667b3c49 WHIRLPOOL 0827a0ea9b8a2faed019d13356a793b2b572e54d6f8ebf32a9f12214759153433e21f7d8fdedf43e038ac1925432c1f4843441db47d29895eda51781f1fedb5e |
1310 |
-AUX libusb-1.0.pc.in 207 SHA256 edf35e887cbfed2df288825434c467e0a946eeb21e0d631f55940bb177c2ba15 SHA512 93289cecfc298a31fd4fd0848bf25a63048a7549bd81792d7bd158731246221c24ec9f469a918430da56873a0936fb2b372cedaaa32a38ccd5323de0f9a89b93 WHIRLPOOL 7c81b0df4548a9391b4e1420186f1e970aa9e2e73a89e817adbff9de52b8797cbd8a4d8b3ca01f782f86e4b1e48fad72a08b5bff49d5ee6ffaa5135c015ca5ae |
1311 |
-AUX libusb.pc.in 208 SHA256 9bfe398a335f8b9b1c3dd167ab0c9206fe3bdd4e1da318ece977e20f3c2d7c56 SHA512 e9c6d5f04057cf8c13f69a3d8e07bdd517fdb01d572a69a1beb397766311b3c53894b108caaaea740bfc27b227a9620621dac5846bff1a367fbf9954f38bb40c WHIRLPOOL e80e76a8a564655d924a7148a841c7c7cf0be0ea3bdbd76e95e5004124543826e5d925dfe791f4b040e042a10923865bb517499d9f5be39611fedbcceebe32d8 |
1312 |
-EBUILD freebsd-lib-10.1.0.9999-r1.ebuild 19164 SHA256 f3b1271d7f2f93e7c231040bffd375e737d880ff6aaf4f0e93b994e5bc565afc SHA512 8957e68211b6591280c019f3603fe9bf9aa1fcf25a3d3edb5dcf4e43987fa70eaa914126a53438012f9cd5d8aa27cbc21b14bf75a19d0921cf72708347a931bd WHIRLPOOL 5abc6a28d96239d86bd3fe085b3bf01192b4fc99a64dd134bf64f097113fe6e868bc54ecbf3835fd3460c3e4e3f2edfdbf85a2f929431d68b916026844a2bd60 |
1313 |
|
1314 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-atfcxx.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-atfcxx.patch |
1315 |
deleted file mode 100644 |
1316 |
index 42b64b5..0000000 |
1317 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-atfcxx.patch |
1318 |
+++ /dev/null |
1319 |
@@ -1,49 +0,0 @@ |
1320 |
-diff --git a/lib/atf/Makefile.inc b/lib/atf/Makefile.inc |
1321 |
-index 937187a..d5277f3 100644 |
1322 |
---- a/lib/atf/Makefile.inc |
1323 |
-+++ b/lib/atf/Makefile.inc |
1324 |
-@@ -49,6 +49,24 @@ CFLAGS+= -DATF_PKGDATADIR='"${SHAREDIR}/atf"' |
1325 |
- CFLAGS+= -DATF_SHELL='"/bin/sh"' |
1326 |
- CFLAGS+= -DATF_WORKDIR='"/tmp"' |
1327 |
- |
1328 |
-+CXXFLAGS+= -DHAVE_CONFIG_H |
1329 |
-+CXXFLAGS+= -DATF_ARCH='"${MACHINE}"' |
1330 |
-+CXXFLAGS+= -DATF_BUILD_CC='"${CC}"' |
1331 |
-+CXXFLAGS+= -DATF_BUILD_CXXFLAGS='"${_CXXFLAGS}"' |
1332 |
-+CXXFLAGS+= -DATF_BUILD_CPP='"${CPP}"' |
1333 |
-+CXXFLAGS+= -DATF_BUILD_CPPFLAGS='"${_CPPFLAGS}"' |
1334 |
-+CXXFLAGS+= -DATF_BUILD_CXX='"${CXX}"' |
1335 |
-+CXXFLAGS+= -DATF_BUILD_CXXFLAGS='"${_CXXFLAGS}"' |
1336 |
-+CXXFLAGS+= -DATF_CONFDIR='"${CONFDIR}/atf"' |
1337 |
-+CXXFLAGS+= -DATF_INCLUDEDIR='"${INCLUDEDIR}"' |
1338 |
-+CXXFLAGS+= -DATF_LIBDIR='"${LIBDIR}"' |
1339 |
-+CXXFLAGS+= -DATF_LIBEXECDIR='"${LIBEXECDIR}"' |
1340 |
-+CXXFLAGS+= -DATF_MACHINE='"${MACHINE_ARCH}"' |
1341 |
-+CXXFLAGS+= -DATF_M4='"/usr/bin/m4"' |
1342 |
-+CXXFLAGS+= -DATF_PKGDATADIR='"${SHAREDIR}/atf"' |
1343 |
-+CXXFLAGS+= -DATF_SHELL='"/bin/sh"' |
1344 |
-+CXXFLAGS+= -DATF_WORKDIR='"/tmp"' |
1345 |
-+ |
1346 |
- WARNS?= 3 |
1347 |
- |
1348 |
- # vim: syntax=make |
1349 |
-diff --git a/lib/atf/libatf-c++/Makefile b/lib/atf/libatf-c++/Makefile |
1350 |
-index 37d6073..90a2687 100644 |
1351 |
---- a/lib/atf/libatf-c++/Makefile |
1352 |
-+++ b/lib/atf/libatf-c++/Makefile |
1353 |
-@@ -40,11 +40,11 @@ LDFLAGS+= -L${.OBJDIR}/../libatf-c |
1354 |
- .PATH: ${ATF}/atf-c++ |
1355 |
- .PATH: ${ATF}/atf-c++/detail |
1356 |
- |
1357 |
--CFLAGS+= -I${ATF} |
1358 |
--CFLAGS+= -I${.CURDIR}/../libatf-c |
1359 |
--CFLAGS+= -I. |
1360 |
-+CXXFLAGS+= -I${ATF} |
1361 |
-+CXXFLAGS+= -I${.CURDIR}/../libatf-c |
1362 |
-+CXXFLAGS+= -I. |
1363 |
- |
1364 |
--CFLAGS+= -DHAVE_CONFIG_H |
1365 |
-+CXXFLAGS+= -DHAVE_CONFIG_H |
1366 |
- |
1367 |
- SRCS= application.cpp \ |
1368 |
- build.cpp \ |
1369 |
|
1370 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-clang34.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-clang34.patch |
1371 |
deleted file mode 100644 |
1372 |
index df6072b..0000000 |
1373 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-clang34.patch |
1374 |
+++ /dev/null |
1375 |
@@ -1,22 +0,0 @@ |
1376 |
-http://svnweb.freebsd.org/base/head/gnu/lib/csu/Makefile?r1=245539&r2=259720&view=patch |
1377 |
- |
1378 |
---- head/gnu/lib/csu/Makefile 2013/01/17 05:56:28 245539 |
1379 |
-+++ head/gnu/lib/csu/Makefile 2013/12/22 12:53:56 259720 |
1380 |
-@@ -15,10 +15,12 @@ |
1381 |
- SOBJS= crtbeginS.o crtendS.o |
1382 |
- CSTD?= gnu89 |
1383 |
- CFLAGS+= -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3 |
1384 |
--CFLAGS+= -finhibit-size-directive -fno-inline-functions \ |
1385 |
-- -fno-exceptions -fno-zero-initialized-in-bss \ |
1386 |
-- -fno-zero-initialized-in-bss -fno-toplevel-reorder \ |
1387 |
-- -fno-asynchronous-unwind-tables -fno-omit-frame-pointer |
1388 |
-+.if ${COMPILER_TYPE} == "gcc" |
1389 |
-+CFLAGS+= -finhibit-size-directive -fno-toplevel-reorder |
1390 |
-+.endif |
1391 |
-+CFLAGS+= -fno-inline-functions -fno-exceptions \ |
1392 |
-+ -fno-zero-initialized-in-bss -fno-asynchronous-unwind-tables \ |
1393 |
-+ -fno-omit-frame-pointer |
1394 |
- CFLAGS+= -I${GCCLIB}/include -I${GCCDIR}/config -I${GCCDIR} -I. \ |
1395 |
- -I${CCDIR}/cc_tools |
1396 |
- CRTS_CFLAGS= -DCRTSTUFFS_O -DSHARED ${PICFLAG} |
1397 |
- |
1398 |
|
1399 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-cve-2014-3951.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-cve-2014-3951.patch |
1400 |
deleted file mode 100644 |
1401 |
index 5ac0ac8..0000000 |
1402 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-cve-2014-3951.patch |
1403 |
+++ /dev/null |
1404 |
@@ -1,175 +0,0 @@ |
1405 |
-Index: lib/libc/iconv/citrus_prop.c |
1406 |
-=================================================================== |
1407 |
---- lib/libc/iconv/citrus_prop.c (revision 267591) |
1408 |
-+++ lib/libc/iconv/citrus_prop.c (working copy) |
1409 |
-@@ -339,7 +339,7 @@ name_found: |
1410 |
- |
1411 |
- static int |
1412 |
- _citrus_prop_parse_element(struct _memstream * __restrict ms, |
1413 |
-- const _citrus_prop_hint_t * __restrict hints, void ** __restrict context) |
1414 |
-+ const _citrus_prop_hint_t * __restrict hints, void * __restrict context) |
1415 |
- { |
1416 |
- int ch, errnum; |
1417 |
- #define _CITRUS_PROP_HINT_NAME_LEN_MAX 255 |
1418 |
-@@ -435,8 +435,7 @@ _citrus_prop_parse_variable(const _citrus_prop_hin |
1419 |
- if (ch == EOF || ch == '\0') |
1420 |
- break; |
1421 |
- _memstream_ungetc(&ms, ch); |
1422 |
-- errnum = _citrus_prop_parse_element( |
1423 |
-- &ms, hints, (void ** __restrict)context); |
1424 |
-+ errnum = _citrus_prop_parse_element(&ms, hints, context); |
1425 |
- if (errnum != 0) |
1426 |
- return (errnum); |
1427 |
- } |
1428 |
-Index: lib/libc/iconv/citrus_prop.h |
1429 |
-=================================================================== |
1430 |
---- lib/libc/iconv/citrus_prop.h (revision 267591) |
1431 |
-+++ lib/libc/iconv/citrus_prop.h (working copy) |
1432 |
-@@ -42,7 +42,7 @@ typedef struct _citrus_prop_hint_t _citrus_prop_hi |
1433 |
- |
1434 |
- #define _CITRUS_PROP_CB0_T(_func_, _type_) \ |
1435 |
- typedef int (*_citrus_prop_##_func_##_cb_func_t) \ |
1436 |
-- (void ** __restrict, const char *, _type_); \ |
1437 |
-+ (void * __restrict, const char *, _type_); \ |
1438 |
- typedef struct { \ |
1439 |
- _citrus_prop_##_func_##_cb_func_t func; \ |
1440 |
- } _citrus_prop_##_func_##_cb_t; |
1441 |
-@@ -52,7 +52,7 @@ _CITRUS_PROP_CB0_T(str, const char *) |
1442 |
- |
1443 |
- #define _CITRUS_PROP_CB1_T(_func_, _type_) \ |
1444 |
- typedef int (*_citrus_prop_##_func_##_cb_func_t) \ |
1445 |
-- (void ** __restrict, const char *, _type_, _type_); \ |
1446 |
-+ (void * __restrict, const char *, _type_, _type_); \ |
1447 |
- typedef struct { \ |
1448 |
- _citrus_prop_##_func_##_cb_func_t func; \ |
1449 |
- } _citrus_prop_##_func_##_cb_t; |
1450 |
-Index: lib/libiconv_modules/BIG5/citrus_big5.c |
1451 |
-=================================================================== |
1452 |
---- lib/libiconv_modules/BIG5/citrus_big5.c (revision 267591) |
1453 |
-+++ lib/libiconv_modules/BIG5/citrus_big5.c (working copy) |
1454 |
-@@ -170,7 +170,7 @@ _citrus_BIG5_check_excludes(_BIG5EncodingInfo *ei, |
1455 |
- } |
1456 |
- |
1457 |
- static int |
1458 |
--_citrus_BIG5_fill_rowcol(void ** __restrict ctx, const char * __restrict s, |
1459 |
-+_citrus_BIG5_fill_rowcol(void * __restrict ctx, const char * __restrict s, |
1460 |
- uint64_t start, uint64_t end) |
1461 |
- { |
1462 |
- _BIG5EncodingInfo *ei; |
1463 |
-@@ -189,7 +189,7 @@ static int |
1464 |
- |
1465 |
- static int |
1466 |
- /*ARGSUSED*/ |
1467 |
--_citrus_BIG5_fill_excludes(void ** __restrict ctx, |
1468 |
-+_citrus_BIG5_fill_excludes(void * __restrict ctx, |
1469 |
- const char * __restrict s __unused, uint64_t start, uint64_t end) |
1470 |
- { |
1471 |
- _BIG5EncodingInfo *ei; |
1472 |
-@@ -235,7 +235,6 @@ static int |
1473 |
- _citrus_BIG5_encoding_module_init(_BIG5EncodingInfo * __restrict ei, |
1474 |
- const void * __restrict var, size_t lenvar) |
1475 |
- { |
1476 |
-- void *ctx = (void *)ei; |
1477 |
- const char *s; |
1478 |
- int err; |
1479 |
- |
1480 |
-@@ -257,9 +256,9 @@ _citrus_BIG5_encoding_module_init(_BIG5EncodingInf |
1481 |
- } |
1482 |
- |
1483 |
- /* fallback Big5-1984, for backward compatibility. */ |
1484 |
-- _citrus_BIG5_fill_rowcol((void **)&ctx, "row", 0xA1, 0xFE); |
1485 |
-- _citrus_BIG5_fill_rowcol((void **)&ctx, "col", 0x40, 0x7E); |
1486 |
-- _citrus_BIG5_fill_rowcol((void **)&ctx, "col", 0xA1, 0xFE); |
1487 |
-+ _citrus_BIG5_fill_rowcol(ei, "row", 0xA1, 0xFE); |
1488 |
-+ _citrus_BIG5_fill_rowcol(ei, "col", 0x40, 0x7E); |
1489 |
-+ _citrus_BIG5_fill_rowcol(ei, "col", 0xA1, 0xFE); |
1490 |
- |
1491 |
- return (0); |
1492 |
- } |
1493 |
-Index: lib/libiconv_modules/HZ/citrus_hz.c |
1494 |
-=================================================================== |
1495 |
---- lib/libiconv_modules/HZ/citrus_hz.c (revision 267591) |
1496 |
-+++ lib/libiconv_modules/HZ/citrus_hz.c (working copy) |
1497 |
-@@ -65,8 +65,8 @@ typedef enum { |
1498 |
- } charset_t; |
1499 |
- |
1500 |
- typedef struct { |
1501 |
-+ int start; |
1502 |
- int end; |
1503 |
-- int start; |
1504 |
- int width; |
1505 |
- } range_t; |
1506 |
- |
1507 |
-@@ -503,12 +503,12 @@ _citrus_HZ_encoding_module_uninit(_HZEncodingInfo |
1508 |
- } |
1509 |
- |
1510 |
- static int |
1511 |
--_citrus_HZ_parse_char(void **context, const char *name __unused, const char *s) |
1512 |
-+_citrus_HZ_parse_char(void *context, const char *name __unused, const char *s) |
1513 |
- { |
1514 |
- escape_t *escape; |
1515 |
- void **p; |
1516 |
- |
1517 |
-- p = (void **)*context; |
1518 |
-+ p = (void **)context; |
1519 |
- escape = (escape_t *)p[0]; |
1520 |
- if (escape->ch != '\0') |
1521 |
- return (EINVAL); |
1522 |
-@@ -520,7 +520,7 @@ static int |
1523 |
- } |
1524 |
- |
1525 |
- static int |
1526 |
--_citrus_HZ_parse_graphic(void **context, const char *name, const char *s) |
1527 |
-+_citrus_HZ_parse_graphic(void *context, const char *name, const char *s) |
1528 |
- { |
1529 |
- _HZEncodingInfo *ei; |
1530 |
- escape_t *escape; |
1531 |
-@@ -527,7 +527,7 @@ static int |
1532 |
- graphic_t *graphic; |
1533 |
- void **p; |
1534 |
- |
1535 |
-- p = (void **)*context; |
1536 |
-+ p = (void **)context; |
1537 |
- escape = (escape_t *)p[0]; |
1538 |
- ei = (_HZEncodingInfo *)p[1]; |
1539 |
- graphic = malloc(sizeof(*graphic)); |
1540 |
-@@ -589,13 +589,13 @@ _CITRUS_PROP_HINT_END |
1541 |
- }; |
1542 |
- |
1543 |
- static int |
1544 |
--_citrus_HZ_parse_escape(void **context, const char *name, const char *s) |
1545 |
-+_citrus_HZ_parse_escape(void *context, const char *name, const char *s) |
1546 |
- { |
1547 |
- _HZEncodingInfo *ei; |
1548 |
- escape_t *escape; |
1549 |
- void *p[2]; |
1550 |
- |
1551 |
-- ei = (_HZEncodingInfo *)*context; |
1552 |
-+ ei = (_HZEncodingInfo *)context; |
1553 |
- escape = malloc(sizeof(*escape)); |
1554 |
- if (escape == NULL) |
1555 |
- return (EINVAL); |
1556 |
-Index: lib/libiconv_modules/VIQR/citrus_viqr.c |
1557 |
-=================================================================== |
1558 |
---- lib/libiconv_modules/VIQR/citrus_viqr.c (revision 267591) |
1559 |
-+++ lib/libiconv_modules/VIQR/citrus_viqr.c (working copy) |
1560 |
-@@ -431,7 +431,6 @@ static int |
1561 |
- _citrus_VIQR_encoding_module_init(_VIQREncodingInfo * __restrict ei, |
1562 |
- const void * __restrict var __unused, size_t lenvar __unused) |
1563 |
- { |
1564 |
-- const mnemonic_def_t *p; |
1565 |
- const char *s; |
1566 |
- size_t i, n; |
1567 |
- int errnum; |
1568 |
-@@ -455,7 +454,10 @@ _citrus_VIQR_encoding_module_init(_VIQREncodingInf |
1569 |
- return (errnum); |
1570 |
- } |
1571 |
- } |
1572 |
-- for (i = 0;; ++i) { |
1573 |
-+ /* a + 1 < b + 1 here to silence gcc warning about unsigned < 0. */ |
1574 |
-+ for (i = 0; i + 1 < mnemonic_ext_size + 1; ++i) { |
1575 |
-+ const mnemonic_def_t *p; |
1576 |
-+ |
1577 |
- p = &mnemonic_ext[i]; |
1578 |
- n = strlen(p->name); |
1579 |
- if (ei->mb_cur_max < n) |
1580 |
|
1581 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libiconv_modules.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libiconv_modules.patch |
1582 |
deleted file mode 100644 |
1583 |
index 69126e5..0000000 |
1584 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libiconv_modules.patch |
1585 |
+++ /dev/null |
1586 |
@@ -1,24 +0,0 @@ |
1587 |
-Should install lib/libiconv_modules to /usr/$(get_libdir)/i18n. |
1588 |
- |
1589 |
-Drop libiconv_modules from lib/Makefile. And set the following in ebuild. |
1590 |
-NON_NATIVE_SUBDIRS="lib/libiconv_modules" |
1591 |
-NATIVE_SUBDIRS="lib/libiconv_modules" |
1592 |
- |
1593 |
-Install to /usr/$(get_libdir)/i18n to force. |
1594 |
-mymakeopts="${mymakeopts} SHLIBDIR=/usr/$(get_libdir)/i18n LIBDIR=/usr/$(get_libdir)/i18n" |
1595 |
- |
1596 |
- |
1597 |
-Welcome a better solution... |
1598 |
- |
1599 |
-diff --git a/lib/Makefile b/lib/Makefile |
1600 |
-index 8722cc2..12a0516 100644 |
1601 |
---- a/lib/Makefile |
1602 |
-+++ b/lib/Makefile |
1603 |
-@@ -38,7 +38,6 @@ SUBDIR_ORDERED= ${_csu} \ |
1604 |
- libcompiler_rt \ |
1605 |
- libcrypt \ |
1606 |
- libelf \ |
1607 |
-- ${_libiconv_modules} \ |
1608 |
- libkvm \ |
1609 |
- ${_libldns} \ |
1610 |
- msun \ |
1611 |
|
1612 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-liblink.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-liblink.patch |
1613 |
deleted file mode 100644 |
1614 |
index 6ef3f07..0000000 |
1615 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-liblink.patch |
1616 |
+++ /dev/null |
1617 |
@@ -1,98 +0,0 @@ |
1618 |
-diff --git a/lib/libcam/Makefile b/lib/libcam/Makefile |
1619 |
-index 9a21dde..0815f0a 100644 |
1620 |
---- a/lib/libcam/Makefile |
1621 |
-+++ b/lib/libcam/Makefile |
1622 |
-@@ -8,6 +8,7 @@ INCS= camlib.h |
1623 |
- |
1624 |
- DPADD= ${LIBSBUF} |
1625 |
- LDADD= -lsbuf |
1626 |
-+LDFLAGS+= -L${.OBJDIR}/../libsbuf |
1627 |
- |
1628 |
- MAN= cam.3 cam_cdbparse.3 |
1629 |
- |
1630 |
-diff --git a/lib/libdwarf/Makefile b/lib/libdwarf/Makefile |
1631 |
-index dbd7895..607b1f6 100644 |
1632 |
---- a/lib/libdwarf/Makefile |
1633 |
-+++ b/lib/libdwarf/Makefile |
1634 |
-@@ -21,6 +21,7 @@ SRCS= \ |
1635 |
- INCS= dwarf.h libdwarf.h |
1636 |
- |
1637 |
- CFLAGS+= -I${.CURDIR} |
1638 |
-+CFLAGS+= -I${.CURDIR}/../libelf |
1639 |
- |
1640 |
- SHLIB_MAJOR= 3 |
1641 |
- |
1642 |
-diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile |
1643 |
-index 4449c06..f024cf0 100644 |
1644 |
---- a/lib/libproc/Makefile |
1645 |
-+++ b/lib/libproc/Makefile |
1646 |
-@@ -14,6 +14,7 @@ SRCS= proc_bkpt.c \ |
1647 |
- INCS= libproc.h |
1648 |
- |
1649 |
- CFLAGS+= -I${.CURDIR} |
1650 |
-+CFLAGS+= -I${.CURDIR}/../libelf |
1651 |
- |
1652 |
- .if ${MK_LIBCPLUSPLUS} != "no" |
1653 |
- LDADD+= -lcxxrt |
1654 |
-@@ -27,4 +28,7 @@ SHLIB_MAJOR= 2 |
1655 |
- |
1656 |
- WITHOUT_MAN= |
1657 |
- |
1658 |
-+LDADD+= -lelf |
1659 |
-+LDFLAGS+= -L${.OBJDIR}/../libelf |
1660 |
-+ |
1661 |
- .include <bsd.lib.mk> |
1662 |
-diff --git a/lib/libprocstat/Makefile b/lib/libprocstat/Makefile |
1663 |
-index af5a775..c01aa05 100644 |
1664 |
---- a/lib/libprocstat/Makefile |
1665 |
-+++ b/lib/libprocstat/Makefile |
1666 |
-@@ -16,6 +16,8 @@ VERSION_DEF= ${.CURDIR}/Versions.def |
1667 |
- SYMBOL_MAPS= ${.CURDIR}/Symbol.map |
1668 |
- |
1669 |
- INCS= libprocstat.h |
1670 |
-+CFLAGS+= -I${.CURDIR}/../libelf |
1671 |
-+LDFLAGS+= -L${.OBJDIR}/../libelf |
1672 |
- CFLAGS+= -I. -I${.CURDIR} -D_KVM_VNODE |
1673 |
- SHLIB_MAJOR= 1 |
1674 |
- |
1675 |
-diff --git a/lib/librtld_db/Makefile b/lib/librtld_db/Makefile |
1676 |
-index 2815a07..e992662 100644 |
1677 |
---- a/lib/librtld_db/Makefile |
1678 |
-+++ b/lib/librtld_db/Makefile |
1679 |
-@@ -10,5 +10,8 @@ SRCS= rtld_db.c |
1680 |
- INCS= rtld_db.h |
1681 |
- |
1682 |
- CFLAGS+= -I${.CURDIR} |
1683 |
-+CFLAGS+= -I${.CURDIR}/../libelf |
1684 |
-+LDADD+= -lutil -lproc |
1685 |
-+LDFLAGS+= -L${.OBJDIR}/../libutil -L${.OBJDIR}/../libproc |
1686 |
- |
1687 |
- .include <bsd.lib.mk> |
1688 |
-diff --git a/lib/libtelnet/Makefile b/lib/libtelnet/Makefile |
1689 |
-index 1cf52a0..3d25fae 100644 |
1690 |
---- a/lib/libtelnet/Makefile |
1691 |
-+++ b/lib/libtelnet/Makefile |
1692 |
-@@ -13,6 +13,8 @@ INTERNALLIB= |
1693 |
- SRCS= genget.c getent.c misc.c |
1694 |
- CFLAGS+= -I${TELNETDIR} |
1695 |
- |
1696 |
-+CFLAGS+= -I${.CURDIR}/../libmp |
1697 |
-+ |
1698 |
- WARNS?= 2 |
1699 |
- |
1700 |
- .if !defined(RELEASE_CRUNCH) |
1701 |
-diff --git a/lib/libexecinfo/Makefile b/lib/libexecinfo/Makefile |
1702 |
-index 30a1dfb..9f8a99c 100644 |
1703 |
---- a/lib/libexecinfo/Makefile |
1704 |
-+++ b/lib/libexecinfo/Makefile |
1705 |
-@@ -10,8 +10,10 @@ SHLIB_MAJOR= 1 |
1706 |
- INCS= execinfo.h |
1707 |
- SRCS= backtrace.c symtab.c unwind.c |
1708 |
- |
1709 |
-+CFLAGS+= -I${.CURDIR}/../libelf |
1710 |
- DPADD= ${LIBELF} |
1711 |
- LDADD= -lelf |
1712 |
-+LDFLAGS+= -L${.OBJDIR}/../libelf |
1713 |
- |
1714 |
- MAN= backtrace.3 |
1715 |
- |
1716 |
|
1717 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libproc-libcxx.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libproc-libcxx.patch |
1718 |
deleted file mode 100644 |
1719 |
index 55987aa..0000000 |
1720 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libproc-libcxx.patch |
1721 |
+++ /dev/null |
1722 |
@@ -1,16 +0,0 @@ |
1723 |
-diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile |
1724 |
-index f9e01ab..15b27d8 100644 |
1725 |
---- a/lib/libproc/Makefile |
1726 |
-+++ b/lib/libproc/Makefile |
1727 |
-@@ -15,7 +15,10 @@ INCS= libproc.h |
1728 |
- |
1729 |
- CFLAGS+= -I${.CURDIR} |
1730 |
- |
1731 |
--.if ${MK_LIBCPLUSPLUS} != "no" |
1732 |
-+.if ${CXX:T:M*-stdlib=libc++*} |
1733 |
-+LDADD+= -lcxxrt |
1734 |
-+DPADD+= ${LIBCXXRT} |
1735 |
-+.elif ${CXXFLAGS:T:M*-stdlib=libc++*} |
1736 |
- LDADD+= -lcxxrt |
1737 |
- DPADD+= ${LIBCXXRT} |
1738 |
- .else |
1739 |
|
1740 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libusb.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libusb.patch |
1741 |
deleted file mode 100644 |
1742 |
index 2968252..0000000 |
1743 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libusb.patch |
1744 |
+++ /dev/null |
1745 |
@@ -1,19 +0,0 @@ |
1746 |
-diff --git a/lib/libusb/Makefile b/lib/libusb/Makefile |
1747 |
-index 21016a9..26010e8 100644 |
1748 |
---- a/lib/libusb/Makefile |
1749 |
-+++ b/lib/libusb/Makefile |
1750 |
-@@ -40,11 +40,11 @@ CFLAGS+= -DCOMPAT_32BIT |
1751 |
- |
1752 |
- beforeinstall: |
1753 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
1754 |
-- ${.CURDIR}/libusb-0.1.pc ${DESTDIR}${LIBDATADIR}/pkgconfig |
1755 |
-+ ${.CURDIR}/libusb-0.1.pc ${DESTDIR}${LIBDIR}/pkgconfig |
1756 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
1757 |
-- ${.CURDIR}/libusb-1.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig |
1758 |
-+ ${.CURDIR}/libusb-1.0.pc ${DESTDIR}${LIBDIR}/pkgconfig |
1759 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
1760 |
-- ${.CURDIR}/libusb-2.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig |
1761 |
-+ ${.CURDIR}/libusb-2.0.pc ${DESTDIR}${LIBDIR}/pkgconfig |
1762 |
- |
1763 |
- # |
1764 |
- # Cross platform support |
1765 |
|
1766 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.1-cve-2014-8611.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.1-cve-2014-8611.patch |
1767 |
deleted file mode 100644 |
1768 |
index e225042..0000000 |
1769 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.1-cve-2014-8611.patch |
1770 |
+++ /dev/null |
1771 |
@@ -1,22 +0,0 @@ |
1772 |
-Index: lib/libc/stdio/fflush.c |
1773 |
-=================================================================== |
1774 |
---- lib/libc/stdio/fflush.c.orig |
1775 |
-+++ lib/libc/stdio/fflush.c |
1776 |
-@@ -124,11 +124,13 @@ |
1777 |
- t = _swrite(fp, (char *)p, n); |
1778 |
- if (t <= 0) { |
1779 |
- /* Reset _p and _w. */ |
1780 |
-- if (p > fp->_p) /* Some was written. */ |
1781 |
-+ if (p > fp->_p) { |
1782 |
-+ /* Some was written. */ |
1783 |
- memmove(fp->_p, p, n); |
1784 |
-- fp->_p += n; |
1785 |
-- if ((fp->_flags & (__SLBF | __SNBF)) == 0) |
1786 |
-- fp->_w -= n; |
1787 |
-+ fp->_p += n; |
1788 |
-+ if ((fp->_flags & (__SLBF | __SNBF)) == 0) |
1789 |
-+ fp->_w -= n; |
1790 |
-+ } |
1791 |
- fp->_flags |= __SERR; |
1792 |
- return (EOF); |
1793 |
- } |
1794 |
|
1795 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-6.0-flex-2.5.31.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-6.0-flex-2.5.31.patch |
1796 |
deleted file mode 100644 |
1797 |
index 00de8a6..0000000 |
1798 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-6.0-flex-2.5.31.patch |
1799 |
+++ /dev/null |
1800 |
@@ -1,13 +0,0 @@ |
1801 |
-Index: fbsd-6/lib/libipsec/policy_token.l |
1802 |
-=================================================================== |
1803 |
---- fbsd-6.orig/lib/libipsec/policy_token.l |
1804 |
-+++ fbsd-6/lib/libipsec/policy_token.l |
1805 |
-@@ -138,8 +138,6 @@ void |
1806 |
- __policy__strbuffer__init__(msg) |
1807 |
- char *msg; |
1808 |
- { |
1809 |
-- if (yy_current_buffer) |
1810 |
-- yy_delete_buffer(yy_current_buffer); |
1811 |
- strbuffer = (YY_BUFFER_STATE)yy_scan_string(msg); |
1812 |
- yy_switch_to_buffer(strbuffer); |
1813 |
- |
1814 |
|
1815 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-6.0-gccfloat.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-6.0-gccfloat.patch |
1816 |
deleted file mode 100644 |
1817 |
index a3e7d5e..0000000 |
1818 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-6.0-gccfloat.patch |
1819 |
+++ /dev/null |
1820 |
@@ -1,16 +0,0 @@ |
1821 |
-This patch is needed to avoid inclusion of GCC's float.h that defines |
1822 |
-LDBL_MANT_DIG at 53 (while the source file checks for 113 or 64. |
1823 |
- |
1824 |
-Index: freebsd-6.0_beta4/lib/msun/src/s_fmal.c |
1825 |
-=================================================================== |
1826 |
---- freebsd-6.0_beta4.orig/lib/msun/src/s_fmal.c |
1827 |
-+++ freebsd-6.0_beta4/lib/msun/src/s_fmal.c |
1828 |
-@@ -28,7 +28,7 @@ |
1829 |
- __FBSDID("$FreeBSD: src/lib/msun/src/s_fmal.c,v 1.2 2005/03/18 02:27:59 das Exp $"); |
1830 |
- |
1831 |
- #include <fenv.h> |
1832 |
--#include <float.h> |
1833 |
-+#include <machine/float.h> |
1834 |
- #include <math.h> |
1835 |
- |
1836 |
- /* |
1837 |
|
1838 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-6.0-pmc.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-6.0-pmc.patch |
1839 |
deleted file mode 100644 |
1840 |
index 2f6de46..0000000 |
1841 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-6.0-pmc.patch |
1842 |
+++ /dev/null |
1843 |
@@ -1,13 +0,0 @@ |
1844 |
-Index: freebsd-6.0_beta4/lib/libpmc/Makefile |
1845 |
-=================================================================== |
1846 |
---- freebsd-6.0_beta4.orig/lib/libpmc/Makefile |
1847 |
-+++ freebsd-6.0_beta4/lib/libpmc/Makefile |
1848 |
-@@ -9,6 +9,8 @@ WARNS?= 6 |
1849 |
- |
1850 |
- MAN= pmc.3 pmclog.3 |
1851 |
- |
1852 |
-+CFLAGS+= -I${.CURDIR} |
1853 |
-+ |
1854 |
- MLINKS+= \ |
1855 |
- pmc.3 pmc_allocate.3 \ |
1856 |
- pmc.3 pmc_attach.3 \ |
1857 |
|
1858 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-6.1-csu.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-6.1-csu.patch |
1859 |
deleted file mode 100644 |
1860 |
index 075f278..0000000 |
1861 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-6.1-csu.patch |
1862 |
+++ /dev/null |
1863 |
@@ -1,20 +0,0 @@ |
1864 |
---- lib/csu/amd64/Makefile.orig 2006-07-04 07:49:58 -0300 |
1865 |
-+++ lib/csu/amd64/Makefile 2006-07-04 07:50:15 -0300 |
1866 |
-@@ -16,6 +16,7 @@ |
1867 |
- ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.CURDIR}/crt1.c |
1868 |
- |
1869 |
- realinstall: |
1870 |
-+ ${INSTALL} -d ${DESTDIR}${LIBDIR} |
1871 |
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
1872 |
- ${OBJS} ${DESTDIR}${LIBDIR} |
1873 |
- |
1874 |
---- lib/csu/sparc64/Makefile.orig 2006-10-06 15:13:55 +0100 |
1875 |
-+++ lib/csu/sparc64/Makefile 2006-10-06 15:15:06 +0100 |
1876 |
-@@ -15,6 +15,7 @@ |
1877 |
- ${CC} ${CFLAGS} -DGCRT -c -o gcrt1.o ${.ALLSRC} |
1878 |
- |
1879 |
- realinstall: |
1880 |
-+ ${INSTALL} -d ${DESTDIR}${LIBDIR} |
1881 |
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
1882 |
- ${OBJS} ${DESTDIR}${LIBDIR} |
1883 |
- |
1884 |
|
1885 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-7.1-types.h-fix.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-7.1-types.h-fix.patch |
1886 |
deleted file mode 100644 |
1887 |
index 8de5df2..0000000 |
1888 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-7.1-types.h-fix.patch |
1889 |
+++ /dev/null |
1890 |
@@ -1,15 +0,0 @@ |
1891 |
-Fixes a compile error if XOPEN_SOURCE 600 is defined. |
1892 |
- |
1893 |
-See: http://www.mailinglistarchive.com/freebsd-current@×××××××.org/msg15011.html |
1894 |
- |
1895 |
---- sys/sys/types.h.orig |
1896 |
-+++ sys/sys/types.h |
1897 |
-@@ -46,7 +46,7 @@ |
1898 |
- |
1899 |
- #include <sys/_pthreadtypes.h> |
1900 |
- |
1901 |
--#if __BSD_VISIBLE |
1902 |
-+#ifndef _POSIX_SOURCE |
1903 |
- typedef unsigned char u_char; |
1904 |
- typedef unsigned short u_short; |
1905 |
- typedef unsigned int u_int; |
1906 |
|
1907 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-8.0-gcc45.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-8.0-gcc45.patch |
1908 |
deleted file mode 100644 |
1909 |
index 2ddb9ea..0000000 |
1910 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-8.0-gcc45.patch |
1911 |
+++ /dev/null |
1912 |
@@ -1,28 +0,0 @@ |
1913 |
-diff -Nur work.orig/include/rpcsvc/nis.x work/include/rpcsvc/nis.x |
1914 |
---- work.orig/include/rpcsvc/nis.x 2009-10-25 10:10:29.000000000 +0900 |
1915 |
-+++ work/include/rpcsvc/nis.x 2011-04-13 21:25:13.000000000 +0900 |
1916 |
-@@ -399,10 +399,7 @@ |
1917 |
- %#define OARIGHTS(d, n) (((d)->do_armask.do_armask_val+n)->oa_rights) |
1918 |
- %#define WORLD_DEFAULT (NIS_READ_ACC) |
1919 |
- %#define GROUP_DEFAULT (NIS_READ_ACC << 8) |
1920 |
--%#define OWNER_DEFAULT ((NIS_READ_ACC +\ |
1921 |
-- NIS_MODIFY_ACC +\ |
1922 |
-- NIS_CREATE_ACC +\ |
1923 |
-- NIS_DESTROY_ACC) << 16) |
1924 |
-+%#define OWNER_DEFAULT ((NIS_READ_ACC + NIS_MODIFY_ACC + NIS_CREATE_ACC + NIS_DESTROY_ACC) << 16) |
1925 |
- %#define DEFAULT_RIGHTS (WORLD_DEFAULT | GROUP_DEFAULT | OWNER_DEFAULT) |
1926 |
- % |
1927 |
- %/* Result manipulation defines ... */ |
1928 |
-@@ -431,10 +428,8 @@ |
1929 |
- % * these definitions they take an nis_object *, and an int and return |
1930 |
- % * a u_char * for Value, and an int for length. |
1931 |
- % */ |
1932 |
--%#define ENTRY_VAL(obj, col) \ |
1933 |
-- (obj)->EN_data.en_cols.en_cols_val[col].ec_value.ec_value_val |
1934 |
--%#define ENTRY_LEN(obj, col) \ |
1935 |
-- (obj)->EN_data.en_cols.en_cols_val[col].ec_value.ec_value_len |
1936 |
-+%#define ENTRY_VAL(obj, col) (obj)->EN_data.en_cols.en_cols_val[col].ec_value.ec_value_val |
1937 |
-+%#define ENTRY_LEN(obj, col) (obj)->EN_data.en_cols.en_cols_val[col].ec_value.ec_value_len |
1938 |
- % |
1939 |
- %#ifdef __cplusplus |
1940 |
- %} |
1941 |
|
1942 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-8.0-rpcsec_gss.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-8.0-rpcsec_gss.patch |
1943 |
deleted file mode 100644 |
1944 |
index a7de06f..0000000 |
1945 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-8.0-rpcsec_gss.patch |
1946 |
+++ /dev/null |
1947 |
@@ -1,12 +0,0 @@ |
1948 |
-Without this linking fails during a stage3 build. |
1949 |
- |
1950 |
---- lib/librpcsec_gss/Makefile.orig |
1951 |
-+++ lib/librpcsec_gss/Makefile |
1952 |
-@@ -8,6 +8,7 @@ |
1953 |
- |
1954 |
- DPADD+= ${LIBGSSAPI} |
1955 |
- LDADD+= -lgssapi |
1956 |
-+LDFLAGS+= -L${.OBJDIR}/../libgssapi |
1957 |
- |
1958 |
- VERSION_DEF= ${.CURDIR}/../libc/Versions.def |
1959 |
- SYMBOL_MAPS= ${.CURDIR}/Symbol.map |
1960 |
|
1961 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-bluetooth.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-bluetooth.patch |
1962 |
deleted file mode 100644 |
1963 |
index cf1172a..0000000 |
1964 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-bluetooth.patch |
1965 |
+++ /dev/null |
1966 |
@@ -1,12 +0,0 @@ |
1967 |
-diff -Nur lib.orig/libsdp/Makefile lib/libsdp/Makefile |
1968 |
---- lib.orig/libsdp/Makefile 2012-12-25 20:28:50.000000000 +0900 |
1969 |
-+++ lib/libsdp/Makefile 2012-12-25 20:31:19.000000000 +0900 |
1970 |
-@@ -5,7 +5,7 @@ |
1971 |
- MAN= sdp.3 |
1972 |
- |
1973 |
- WARNS?= 2 |
1974 |
--CFLAGS+= -I${.CURDIR} |
1975 |
-+CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../libbluetooth |
1976 |
- |
1977 |
- SHLIB_MAJOR= 4 |
1978 |
- |
1979 |
|
1980 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-liblink.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-liblink.patch |
1981 |
deleted file mode 100644 |
1982 |
index f8e4707..0000000 |
1983 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-liblink.patch |
1984 |
+++ /dev/null |
1985 |
@@ -1,21 +0,0 @@ |
1986 |
-diff -uNr lib.ol/libproc/Makefile lib/libproc/Makefile |
1987 |
---- lib.ol/libproc/Makefile 2011-11-02 14:02:17.000000000 +0000 |
1988 |
-+++ lib/libproc/Makefile 2011-11-02 14:03:09.000000000 +0000 |
1989 |
-@@ -16,5 +16,6 @@ |
1990 |
- SHLIB_MAJOR= 2 |
1991 |
- |
1992 |
- WITHOUT_MAN= |
1993 |
-+LDADD+=-lelf |
1994 |
- |
1995 |
- .include <bsd.lib.mk> |
1996 |
-diff -uNr lib.ol/librtld_db/Makefile lib/librtld_db/Makefile |
1997 |
---- lib.ol/librtld_db/Makefile 2011-11-02 14:02:13.000000000 +0000 |
1998 |
-+++ lib/librtld_db/Makefile 2011-11-02 14:04:00.000000000 +0000 |
1999 |
-@@ -10,5 +10,7 @@ |
2000 |
- INCS= rtld_db.h |
2001 |
- |
2002 |
- CFLAGS+= -I${.CURDIR} |
2003 |
-+LDADD+=-lutil -lproc |
2004 |
-+LDFLAGS+=-L${.OBJDIR}/../libutil -L${.OBJDIR}/../libproc |
2005 |
- |
2006 |
- .include <bsd.lib.mk> |
2007 |
|
2008 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-netware.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-netware.patch |
2009 |
deleted file mode 100644 |
2010 |
index c1c2a0e..0000000 |
2011 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-netware.patch |
2012 |
+++ /dev/null |
2013 |
@@ -1,11 +0,0 @@ |
2014 |
-diff -Nur lib.orig/libncp/Makefile lib/libncp/Makefile |
2015 |
---- lib.orig/libncp/Makefile 2012-12-25 20:35:16.000000000 +0900 |
2016 |
-+++ lib/libncp/Makefile 2012-12-25 20:36:23.000000000 +0900 |
2017 |
-@@ -6,6 +6,7 @@ |
2018 |
- |
2019 |
- DPADD= ${LIBIPX} |
2020 |
- LDADD= -lipx |
2021 |
-+LDFLAGS+=-L${.OBJDIR}/../libipx |
2022 |
- |
2023 |
- SRCS= ncpl_subr.c ncpl_bind.c ncpl_queue.c ncpl_file.c ncpl_misc.c \ |
2024 |
- ncpl_net.c ncpl_rcfile.c ncpl_conn.c ncpl_nls.c ncpl_msg.c \ |
2025 |
|
2026 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-opieincludes.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-opieincludes.patch |
2027 |
deleted file mode 100644 |
2028 |
index bf77a0a..0000000 |
2029 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-opieincludes.patch |
2030 |
+++ /dev/null |
2031 |
@@ -1,122 +0,0 @@ |
2032 |
-Fixes warnings like: |
2033 |
-/var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r2/work/lib/libopie/../../contrib/opie/libopie/randomchallenge.c:43:5: |
2034 |
-warning: incompatible implicit declaration of built-in function ‘strcpy’ |
2035 |
- |
2036 |
-diff -uNr contrib.old/opie/libopie/accessfile.c contrib/opie/libopie/accessfile.c |
2037 |
---- contrib.old/opie/libopie/accessfile.c 2012-05-25 08:54:33.000000000 -0400 |
2038 |
-+++ contrib/opie/libopie/accessfile.c 2012-05-25 09:12:34.000000000 -0400 |
2039 |
-@@ -46,6 +46,7 @@ |
2040 |
- #ifdef DEBUG |
2041 |
- #include <syslog.h> |
2042 |
- #endif /* DEBUG */ |
2043 |
-+#include <ctype.h> |
2044 |
- |
2045 |
- #include "opie.h" |
2046 |
- |
2047 |
-diff -uNr contrib.old/opie/libopie/generator.c contrib/opie/libopie/generator.c |
2048 |
---- contrib.old/opie/libopie/generator.c 2012-05-25 08:54:33.000000000 -0400 |
2049 |
-+++ contrib/opie/libopie/generator.c 2012-05-25 08:58:10.000000000 -0400 |
2050 |
-@@ -50,6 +50,7 @@ |
2051 |
- #include <syslog.h> |
2052 |
- #endif /* DEBUG */ |
2053 |
- #include "opie.h" |
2054 |
-+#include <stdio.h> |
2055 |
- |
2056 |
- static char *algids[] = { NULL, NULL, NULL, "sha1", "md4", "md5" }; |
2057 |
- |
2058 |
-diff -uNr contrib.old/opie/libopie/lookup.c contrib/opie/libopie/lookup.c |
2059 |
---- contrib.old/opie/libopie/lookup.c 2012-05-25 08:54:33.000000000 -0400 |
2060 |
-+++ contrib/opie/libopie/lookup.c 2012-05-25 09:15:08.000000000 -0400 |
2061 |
-@@ -14,6 +14,7 @@ |
2062 |
- #include "opie_cfg.h" |
2063 |
- #include <stdio.h> |
2064 |
- #include "opie.h" |
2065 |
-+#include <string.h> |
2066 |
- |
2067 |
- int opielookup FUNCTION((opie, principal), struct opie *opie AND char *principal) |
2068 |
- { |
2069 |
-diff -uNr contrib.old/opie/libopie/newseed.c contrib/opie/libopie/newseed.c |
2070 |
---- contrib.old/opie/libopie/newseed.c 2012-05-25 08:54:33.000000000 -0400 |
2071 |
-+++ contrib/opie/libopie/newseed.c 2012-05-25 09:14:37.000000000 -0400 |
2072 |
-@@ -36,6 +36,9 @@ |
2073 |
- #include <syslog.h> |
2074 |
- #endif /* DEBUG */ |
2075 |
- #include "opie.h" |
2076 |
-+#include <stdio.h> |
2077 |
-+#include <stdlib.h> |
2078 |
-+#include <time.h> |
2079 |
- |
2080 |
- int opienewseed FUNCTION((seed), char *seed) |
2081 |
- { |
2082 |
-diff -uNr contrib.old/opie/libopie/parsechallenge.c contrib/opie/libopie/parsechallenge.c |
2083 |
---- contrib.old/opie/libopie/parsechallenge.c 2012-05-25 08:54:33.000000000 -0400 |
2084 |
-+++ contrib/opie/libopie/parsechallenge.c 2012-05-25 09:15:54.000000000 -0400 |
2085 |
-@@ -20,6 +20,8 @@ |
2086 |
- #include <string.h> |
2087 |
- #endif /* HAVE_STRING_H */ |
2088 |
- #include "opie.h" |
2089 |
-+#include <stdlib.h> |
2090 |
-+#include <ctype.h> |
2091 |
- |
2092 |
- struct algorithm { |
2093 |
- char *name; |
2094 |
-diff -uNr contrib.old/opie/libopie/passwd.c contrib/opie/libopie/passwd.c |
2095 |
---- contrib.old/opie/libopie/passwd.c 2012-05-25 08:54:33.000000000 -0400 |
2096 |
-+++ contrib/opie/libopie/passwd.c 2012-05-25 09:13:45.000000000 -0400 |
2097 |
-@@ -22,6 +22,7 @@ |
2098 |
- |
2099 |
- #include "opie_cfg.h" |
2100 |
- #include "opie.h" |
2101 |
-+#include <string.h> |
2102 |
- |
2103 |
- int opiepasswd FUNCTION((old, flags, principal, n, seed, ks), struct opie *old AND int flags AND char *principal AND int n AND char *seed AND char *ks) |
2104 |
- { |
2105 |
-diff -uNr contrib.old/opie/libopie/randomchallenge.c contrib/opie/libopie/randomchallenge.c |
2106 |
---- contrib.old/opie/libopie/randomchallenge.c 2012-05-25 08:54:33.000000000 -0400 |
2107 |
-+++ contrib/opie/libopie/randomchallenge.c 2012-05-25 09:00:27.000000000 -0400 |
2108 |
-@@ -28,6 +28,9 @@ |
2109 |
- |
2110 |
- #include "opie_cfg.h" |
2111 |
- #include "opie.h" |
2112 |
-+#include <stdio.h> |
2113 |
-+#include <string.h> |
2114 |
-+#include <stdlib.h> |
2115 |
- |
2116 |
- static char *algids[] = { 0, 0, 0, "sha1", "md4", "md5" }; |
2117 |
- |
2118 |
-diff -uNr contrib.old/opie/libopie/verify.c contrib/opie/libopie/verify.c |
2119 |
---- contrib.old/opie/libopie/verify.c 2012-05-25 08:54:33.000000000 -0400 |
2120 |
-+++ contrib/opie/libopie/verify.c 2012-05-25 09:12:09.000000000 -0400 |
2121 |
-@@ -25,6 +25,7 @@ |
2122 |
- #include <string.h> |
2123 |
- #endif /* HAVE_STRING_H */ |
2124 |
- #include "opie.h" |
2125 |
-+#include <ctype.h> |
2126 |
- |
2127 |
- #define RESPONSE_STANDARD 0 |
2128 |
- #define RESPONSE_WORD 1 |
2129 |
-diff -uNr contrib.old/opie/libopie/version.c contrib/opie/libopie/version.c |
2130 |
---- contrib.old/opie/libopie/version.c 2012-05-25 08:54:33.000000000 -0400 |
2131 |
-+++ contrib/opie/libopie/version.c 2012-05-25 09:13:15.000000000 -0400 |
2132 |
-@@ -19,6 +19,8 @@ |
2133 |
- */ |
2134 |
- #include "opie_cfg.h" |
2135 |
- #include "opie.h" |
2136 |
-+#include <stdio.h> |
2137 |
-+#include <stdlib.h> |
2138 |
- |
2139 |
- VOIDRET opieversion FUNCTION_NOARGS |
2140 |
- { |
2141 |
-diff -uNr contrib.old/opie/opie.h contrib/opie/opie.h |
2142 |
---- contrib.old/opie/opie.h 2012-05-25 08:54:33.000000000 -0400 |
2143 |
-+++ contrib/opie/opie.h 2012-05-25 09:21:28.000000000 -0400 |
2144 |
-@@ -158,6 +158,9 @@ |
2145 |
- int __opiereadrec __P((struct opie *)); |
2146 |
- int __opiewriterec __P((struct opie *)); |
2147 |
- int __opieparsechallenge __P((char *buffer, int *algorithm, int *sequence, char **seed, int *exts)); |
2148 |
-+VOIDRET opiehashlen FUNCTION((algorithm, in, out, n), int algorithm AND VOIDPTR in AND struct opie_otpkey *out AND int n); |
2149 |
-+int opieinsecure FUNCTION_NOARGS; |
2150 |
-+int opienewseed FUNCTION((seed), char *seed); |
2151 |
- __END_DECLS |
2152 |
- |
2153 |
- #define opiestrncpy(dst, src, n) \ |
2154 |
|
2155 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-trylock-adaptive.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-trylock-adaptive.patch |
2156 |
deleted file mode 100644 |
2157 |
index e72b171..0000000 |
2158 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.0-trylock-adaptive.patch |
2159 |
+++ /dev/null |
2160 |
@@ -1,14 +0,0 @@ |
2161 |
-http://www.freebsd.org/cgi/query-pr.cgi?pr=168317 |
2162 |
- |
2163 |
-Index: lib/libthr/thread/thr_mutex.c |
2164 |
-=================================================================== |
2165 |
---- lib/libthr/thread/thr_mutex.c (revision 235924) |
2166 |
-+++ lib/libthr/thread/thr_mutex.c (working copy) |
2167 |
-@@ -538,6 +538,7 @@ |
2168 |
- switch (PMUTEX_TYPE(m->m_flags)) { |
2169 |
- case PTHREAD_MUTEX_ERRORCHECK: |
2170 |
- case PTHREAD_MUTEX_NORMAL: |
2171 |
-+ case PTHREAD_MUTEX_ADAPTIVE_NP: |
2172 |
- ret = EBUSY; |
2173 |
- break; |
2174 |
- |
2175 |
|
2176 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.1-.eh_frame_hdr-fix.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-9.1-.eh_frame_hdr-fix.patch |
2177 |
deleted file mode 100644 |
2178 |
index fdb7e16..0000000 |
2179 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.1-.eh_frame_hdr-fix.patch |
2180 |
+++ /dev/null |
2181 |
@@ -1,17 +0,0 @@ |
2182 |
-Fix "no .eh_frame_hdr table will be created" error. |
2183 |
- |
2184 |
-http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47829 |
2185 |
-http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4a0e0cd7377c45dc21d5c71bcab931b5e5727e74 |
2186 |
- |
2187 |
-diff -Nur lib.orig/csu/i386-elf/Makefile lib/csu/i386-elf/Makefile |
2188 |
---- lib.orig/csu/i386-elf/Makefile 2013-03-06 01:07:57.000000000 +0900 |
2189 |
-+++ lib/csu/i386-elf/Makefile 2013-03-06 01:10:09.000000000 +0900 |
2190 |
-@@ -10,6 +10,8 @@ |
2191 |
- FILESDIR= ${LIBDIR} |
2192 |
- CFLAGS+= -I${.CURDIR}/../common \ |
2193 |
- -I${.CURDIR}/../../libc/include |
2194 |
-+CFLAGS+= -fno-omit-frame-pointer |
2195 |
-+CFLAGS+= -fno-asynchronous-unwind-tables |
2196 |
- CLEANFILES= ${FILES} crt1_c.o crt1_s.o gcrt1_c.o Scrt1_c.o |
2197 |
- CLEANFILES+= crt1_c.s gcrt1_c.s Scrt1_c.s |
2198 |
- |
2199 |
|
2200 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.1-rmgssapi.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-9.1-rmgssapi.patch |
2201 |
deleted file mode 100644 |
2202 |
index 62357e0..0000000 |
2203 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.1-rmgssapi.patch |
2204 |
+++ /dev/null |
2205 |
@@ -1,16 +0,0 @@ |
2206 |
---- include/Makefile.orig 2013-06-16 10:47:52.000000000 +0200 |
2207 |
-+++ include/Makefile 2013-06-16 10:47:37.000000000 +0200 |
2208 |
-@@ -6,11 +6,11 @@ |
2209 |
- .include <bsd.own.mk> |
2210 |
- |
2211 |
- CLEANFILES= osreldate.h version vers.c |
2212 |
-+SUBDIR= arpa protocols rpcsvc rpc xlocale |
2213 |
--SUBDIR= arpa gssapi protocols rpcsvc rpc xlocale |
2214 |
- INCS= a.out.h ar.h assert.h bitstring.h complex.h cpio.h _ctype.h ctype.h \ |
2215 |
- db.h \ |
2216 |
- dirent.h dlfcn.h elf.h elf-hints.h err.h fmtmsg.h fnmatch.h fstab.h \ |
2217 |
-+ fts.h ftw.h getopt.h glob.h grp.h \ |
2218 |
-- fts.h ftw.h getopt.h glob.h grp.h gssapi.h \ |
2219 |
- ieeefp.h ifaddrs.h \ |
2220 |
- inttypes.h iso646.h kenv.h langinfo.h libgen.h limits.h link.h \ |
2221 |
- locale.h malloc.h malloc_np.h memory.h monetary.h mpool.h mqueue.h \ |
2222 |
|
2223 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.2-liblink.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-9.2-liblink.patch |
2224 |
deleted file mode 100644 |
2225 |
index 99ee36a..0000000 |
2226 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-9.2-liblink.patch |
2227 |
+++ /dev/null |
2228 |
@@ -1,80 +0,0 @@ |
2229 |
-diff --git a/lib/libdwarf/Makefile b/lib/libdwarf/Makefile |
2230 |
-index 87ce8d4..77d0535 100644 |
2231 |
---- a/lib/libdwarf/Makefile |
2232 |
-+++ b/lib/libdwarf/Makefile |
2233 |
-@@ -21,6 +21,7 @@ SRCS= \ |
2234 |
- INCS= dwarf.h libdwarf.h |
2235 |
- |
2236 |
- CFLAGS+= -I${.CURDIR} |
2237 |
-+CFLAGS+= -I${.CURDIR}/../libelf |
2238 |
- |
2239 |
- SHLIB_MAJOR= 3 |
2240 |
- |
2241 |
-diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile |
2242 |
-index e20e00a..77d46d7 100644 |
2243 |
---- a/lib/libproc/Makefile |
2244 |
-+++ b/lib/libproc/Makefile |
2245 |
-@@ -12,9 +12,13 @@ SRCS= proc_bkpt.c \ |
2246 |
- INCS= libproc.h |
2247 |
- |
2248 |
- CFLAGS+= -I${.CURDIR} |
2249 |
-+CFLAGS+= -I${.CURDIR}/../libelf |
2250 |
- |
2251 |
- SHLIB_MAJOR= 2 |
2252 |
- |
2253 |
- WITHOUT_MAN= |
2254 |
- |
2255 |
-+LDADD+= -lelf |
2256 |
-+LDFLAGS+= -L${.OBJDIR}/../libelf |
2257 |
-+ |
2258 |
- .include <bsd.lib.mk> |
2259 |
-diff --git a/lib/librtld_db/Makefile b/lib/librtld_db/Makefile |
2260 |
-index 783fb8b..62e7c60 100644 |
2261 |
---- a/lib/librtld_db/Makefile |
2262 |
-+++ b/lib/librtld_db/Makefile |
2263 |
-@@ -10,5 +10,8 @@ SRCS= rtld_db.c |
2264 |
- INCS= rtld_db.h |
2265 |
- |
2266 |
- CFLAGS+= -I${.CURDIR} |
2267 |
-+CFLAGS+= -I${.CURDIR}/../libelf |
2268 |
-+LDADD+= -lutil -lproc |
2269 |
-+LDFLAGS+= -L${.OBJDIR}/../libutil -L${.OBJDIR}/../libproc |
2270 |
- |
2271 |
- .include <bsd.lib.mk> |
2272 |
-diff -uNr lib.old/libprocstat/Makefile lib/libprocstat/Makefile |
2273 |
---- a/lib/libprocstat/Makefile 2013-08-11 16:00:47.000000000 -0400 |
2274 |
-+++ b/lib/libprocstat/Makefile 2013-08-11 16:18:19.000000000 -0400 |
2275 |
-@@ -17,6 +17,8 @@ |
2276 |
- SYMBOL_MAPS= ${.CURDIR}/Symbol.map |
2277 |
- |
2278 |
- INCS= libprocstat.h |
2279 |
-+CFLAGS+= -I${.CURDIR}/../libelf |
2280 |
-+LDFLAGS+= -L${.OBJDIR}/../libelf |
2281 |
- CFLAGS+= -I. -I${.CURDIR} -D_KVM_VNODE |
2282 |
- SHLIB_MAJOR= 1 |
2283 |
- |
2284 |
-diff --git a/lib/libcam/Makefile b/lib/libcam/Makefile |
2285 |
-index fcb16de..6d0312b 100644 |
2286 |
---- a/lib/libcam/Makefile |
2287 |
-+++ b/lib/libcam/Makefile |
2288 |
-@@ -8,6 +8,7 @@ INCS= camlib.h |
2289 |
- |
2290 |
- DPADD= ${LIBSBUF} |
2291 |
- LDADD= -lsbuf |
2292 |
-+LDFLAGS+= -L${.OBJDIR}/../libsbuf |
2293 |
- |
2294 |
- MAN= cam.3 cam_cdbparse.3 |
2295 |
- |
2296 |
-diff --git a/lib/libtelnet/Makefile b/lib/libtelnet/Makefile |
2297 |
-index 446f552..f55b3ba 100644 |
2298 |
---- a/lib/libtelnet/Makefile |
2299 |
-+++ b/lib/libtelnet/Makefile |
2300 |
-@@ -13,6 +13,8 @@ INTERNALLIB= |
2301 |
- SRCS= genget.c getent.c misc.c |
2302 |
- CFLAGS+= -I${TELNETDIR} |
2303 |
- |
2304 |
-+CFLAGS+= -I${.CURDIR}/../libmp |
2305 |
-+ |
2306 |
- WARNS?= 2 |
2307 |
- |
2308 |
- .if !defined(RELEASE_CRUNCH) |
2309 |
|
2310 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-add-nossp-cflags.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-add-nossp-cflags.patch |
2311 |
deleted file mode 100644 |
2312 |
index 00b39f7..0000000 |
2313 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-add-nossp-cflags.patch |
2314 |
+++ /dev/null |
2315 |
@@ -1,30 +0,0 @@ |
2316 |
-Please do not disable this patch. |
2317 |
-All commands will be non-executable. |
2318 |
-Abort trap: 6 (core dumped) is displayed... |
2319 |
- |
2320 |
-Details see Gentoo Bug #511698. |
2321 |
-https://bugs.gentoo.org/show_bug.cgi?id=511698 |
2322 |
- |
2323 |
-diff --git a/lib/libc/Makefile b/lib/libc/Makefile |
2324 |
-index 1cc23b7..7dd458e 100644 |
2325 |
---- a/lib/libc/Makefile |
2326 |
-+++ b/lib/libc/Makefile |
2327 |
-@@ -149,6 +149,6 @@ CWARNFLAGS:= ${.IMPSRC:Ngdtoa_*.c:C/^.+$/${CWARNFLAGS}/:C/^$/-w/} |
2328 |
- # in the future to circumvent this. |
2329 |
- SSP_CFLAGS:= ${SSP_CFLAGS:S/^-fstack-protector-all$/-fstack-protector/} |
2330 |
- # Disable stack protection for SSP symbols. |
2331 |
--SSP_CFLAGS:= ${.IMPSRC:N*/stack_protector.c:C/^.+$/${SSP_CFLAGS}/} |
2332 |
-+SSP_CFLAGS:= ${.IMPSRC:N*/stack_protector.c:C/^.+$/${SSP_CFLAGS}/:C/^$/-fno-stack-protector/} |
2333 |
- # Generate stack unwinding tables for cancellation points |
2334 |
- CANCELPOINTS_CFLAGS:= ${.IMPSRC:Mcancelpoints_*:C/^.+$/${CANCELPOINTS_CFLAGS}/:C/^$//} |
2335 |
-diff --git a/lib/csu/Makefile.inc b/lib/csu/Makefile.inc |
2336 |
-index f92d87d..7a3a2f3 100644 |
2337 |
---- a/lib/csu/Makefile.inc |
2338 |
-+++ b/lib/csu/Makefile.inc |
2339 |
-@@ -1,5 +1,5 @@ |
2340 |
- # $FreeBSD: release/9.1.0/lib/csu/Makefile.inc 204757 2010-03-05 13:29:05Z uqs $ |
2341 |
- |
2342 |
--SSP_CFLAGS= |
2343 |
-+SSP_CFLAGS= -fno-stack-protector |
2344 |
- |
2345 |
- .include "../Makefile.inc" |
2346 |
|
2347 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-bsdxml2expat.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-bsdxml2expat.patch |
2348 |
deleted file mode 100644 |
2349 |
index 1b4e791..0000000 |
2350 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-bsdxml2expat.patch |
2351 |
+++ /dev/null |
2352 |
@@ -1,26 +0,0 @@ |
2353 |
-diff -ur lib/libgeom.old/Makefile lib/libgeom/Makefile |
2354 |
---- lib/libgeom.old/Makefile 2011-07-10 14:23:51.000000000 +0000 |
2355 |
-+++ lib/libgeom/Makefile 2011-07-10 15:12:39.000000000 +0000 |
2356 |
-@@ -13,8 +13,8 @@ |
2357 |
- |
2358 |
- WARNS?= 3 |
2359 |
- |
2360 |
--DPADD= ${LIBBSDXML} ${LIBSBUF} |
2361 |
--LDADD= -lbsdxml -lsbuf |
2362 |
-+DPADD= ${LIBSBUF} |
2363 |
-+LDADD= -lexpat -lsbuf |
2364 |
- |
2365 |
- MAN= libgeom.3 |
2366 |
- |
2367 |
-diff -ur lib/libgeom.old/geom_xml2tree.c lib/libgeom/geom_xml2tree.c |
2368 |
---- lib/libgeom.old/geom_xml2tree.c 2010-12-21 17:09:25.000000000 +0000 |
2369 |
-+++ lib/libgeom/geom_xml2tree.c 2011-07-10 15:12:52.000000000 +0000 |
2370 |
-@@ -43,7 +43,7 @@ |
2371 |
- #include <sys/sbuf.h> |
2372 |
- #include <sys/sysctl.h> |
2373 |
- #include <err.h> |
2374 |
--#include <bsdxml.h> |
2375 |
-+#include <expat.h> |
2376 |
- #include <libgeom.h> |
2377 |
- |
2378 |
- struct mystate { |
2379 |
|
2380 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-includes.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-includes.patch |
2381 |
deleted file mode 100644 |
2382 |
index c2cf142..0000000 |
2383 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-includes.patch |
2384 |
+++ /dev/null |
2385 |
@@ -1,13 +0,0 @@ |
2386 |
-Fix headers dependencies so that they can be included alone. |
2387 |
- |
2388 |
---- include/ifaddrs.h.old 2009-05-15 13:50:10 +0000 |
2389 |
-+++ include/ifaddrs.h 2009-05-15 13:50:23 +0000 |
2390 |
-@@ -28,6 +28,8 @@ |
2391 |
- #ifndef _IFADDRS_H_ |
2392 |
- #define _IFADDRS_H_ |
2393 |
- |
2394 |
-+#include <sys/types.h> |
2395 |
-+ |
2396 |
- struct ifaddrs { |
2397 |
- struct ifaddrs *ifa_next; |
2398 |
- char *ifa_name; |
2399 |
|
2400 |
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-sources-9.0-sysctluint.patch b/sys-freebsd/freebsd-lib/files/freebsd-sources-9.0-sysctluint.patch |
2401 |
deleted file mode 100644 |
2402 |
index 751a77c..0000000 |
2403 |
--- a/sys-freebsd/freebsd-lib/files/freebsd-sources-9.0-sysctluint.patch |
2404 |
+++ /dev/null |
2405 |
@@ -1,13 +0,0 @@ |
2406 |
-u_int is defined in sys/types.h |
2407 |
-makes header usable alone. |
2408 |
- |
2409 |
---- sys/sys/sysctl.h.old 2012-05-25 11:08:53.000000000 -0400 |
2410 |
-+++ sys/sys/sysctl.h 2012-05-25 11:09:16.000000000 -0400 |
2411 |
-@@ -788,6 +788,7 @@ |
2412 |
- struct sysctl_req *); |
2413 |
- #else /* !_KERNEL */ |
2414 |
- #include <sys/cdefs.h> |
2415 |
-+#include <sys/types.h> /* for u_int */ |
2416 |
- |
2417 |
- __BEGIN_DECLS |
2418 |
- int sysctl(const int *, u_int, void *, size_t *, const void *, size_t); |
2419 |
|
2420 |
diff --git a/sys-freebsd/freebsd-lib/files/libmap.conf b/sys-freebsd/freebsd-lib/files/libmap.conf |
2421 |
deleted file mode 100644 |
2422 |
index 7a879f9..0000000 |
2423 |
--- a/sys-freebsd/freebsd-lib/files/libmap.conf |
2424 |
+++ /dev/null |
2425 |
@@ -1,8 +0,0 @@ |
2426 |
-# /etc/libmap.conf |
2427 |
- |
2428 |
-# Ensure that libthr does all threading |
2429 |
-libpthread.so.2 libthr.so.2 |
2430 |
-libpthread.so libthr.so |
2431 |
-libc_r.so.6 libthr.so.2 |
2432 |
-libc_r.so libthr.so |
2433 |
- |
2434 |
|
2435 |
diff --git a/sys-freebsd/freebsd-lib/files/libusb-1.0.pc.in b/sys-freebsd/freebsd-lib/files/libusb-1.0.pc.in |
2436 |
deleted file mode 100644 |
2437 |
index 058ecb4..0000000 |
2438 |
--- a/sys-freebsd/freebsd-lib/files/libusb-1.0.pc.in |
2439 |
+++ /dev/null |
2440 |
@@ -1,11 +0,0 @@ |
2441 |
-prefix=/usr |
2442 |
-exec_prefix=${prefix} |
2443 |
-libdir=@LIBDIR@ |
2444 |
-includedir=${prefix}/include |
2445 |
- |
2446 |
-Name: libusb |
2447 |
-Description: USB access library (FreeBSD version) |
2448 |
-Version: 1.0.1 |
2449 |
-Libs: -L${libdir} -lusb |
2450 |
-Cflags: -I${includedir} |
2451 |
- |
2452 |
|
2453 |
diff --git a/sys-freebsd/freebsd-lib/files/libusb.pc.in b/sys-freebsd/freebsd-lib/files/libusb.pc.in |
2454 |
deleted file mode 100644 |
2455 |
index f63c6e3..0000000 |
2456 |
--- a/sys-freebsd/freebsd-lib/files/libusb.pc.in |
2457 |
+++ /dev/null |
2458 |
@@ -1,11 +0,0 @@ |
2459 |
-prefix=/usr |
2460 |
-exec_prefix=${prefix} |
2461 |
-libdir=@LIBDIR@ |
2462 |
-includedir=${prefix}/include |
2463 |
- |
2464 |
-Name: libusb |
2465 |
-Description: USB access library (FreeBSD version) |
2466 |
-Version: 0.1.12 |
2467 |
-Libs: -L${libdir} -lusb |
2468 |
-Cflags: -I${includedir} |
2469 |
- |
2470 |
|
2471 |
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-10.1.0.9999-r1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-10.1.0.9999-r1.ebuild |
2472 |
deleted file mode 100644 |
2473 |
index 2697cb8..0000000 |
2474 |
--- a/sys-freebsd/freebsd-lib/freebsd-lib-10.1.0.9999-r1.ebuild |
2475 |
+++ /dev/null |
2476 |
@@ -1,632 +0,0 @@ |
2477 |
-# Copyright 1999-2014 Gentoo Foundation |
2478 |
-# Distributed under the terms of the GNU General Public License v2 |
2479 |
-# $Header: $ |
2480 |
- |
2481 |
-EAPI=5 |
2482 |
- |
2483 |
-inherit bsdmk freebsd flag-o-matic multilib toolchain-funcs eutils multibuild multilib-build |
2484 |
- |
2485 |
-DESCRIPTION="FreeBSD's base system libraries" |
2486 |
-SLOT="0" |
2487 |
- |
2488 |
-# Crypto is needed to have an internal OpenSSL header |
2489 |
-# sys is needed for libalias, probably we can just extract that instead of |
2490 |
-# extracting the whole tarball |
2491 |
-if [[ ${PV} != *9999* ]]; then |
2492 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
2493 |
- SRC_URI="mirror://gentoo/${LIB}.tar.xz |
2494 |
- mirror://gentoo/${CONTRIB}.tar.xz |
2495 |
- mirror://gentoo/${CRYPTO}.tar.xz |
2496 |
- mirror://gentoo/${LIBEXEC}.tar.xz |
2497 |
- mirror://gentoo/${ETC}.tar.xz |
2498 |
- mirror://gentoo/${INCLUDE}.tar.xz |
2499 |
- mirror://gentoo/${USBIN}.tar.xz |
2500 |
- mirror://gentoo/${GNU}.tar.xz |
2501 |
- mirror://gentoo/${SECURE}.tar.xz |
2502 |
- build? ( mirror://gentoo/${SYS}.tar.xz ) |
2503 |
- zfs? ( mirror://gentoo/${CDDL}.tar.xz )" |
2504 |
-fi |
2505 |
- |
2506 |
-if [ "${CATEGORY#*cross-}" = "${CATEGORY}" ]; then |
2507 |
- RDEPEND="ssl? ( dev-libs/openssl ) |
2508 |
- hesiod? ( net-dns/hesiod ) |
2509 |
- kerberos? ( app-crypt/heimdal ) |
2510 |
- usb? ( !dev-libs/libusb ) |
2511 |
- zfs? ( =sys-freebsd/freebsd-cddl-${RV}* ) |
2512 |
- >=dev-libs/expat-2.0.1 |
2513 |
- =sys-freebsd/freebsd-libexec-${RV}* |
2514 |
- !sys-libs/libutempter |
2515 |
- !dev-libs/libelf |
2516 |
- !dev-libs/libexecinfo |
2517 |
- !dev-libs/libiconv |
2518 |
- !sys-freebsd/freebsd-headers" |
2519 |
- DEPEND="${RDEPEND} |
2520 |
- >=sys-devel/flex-2.5.31-r2 |
2521 |
- =sys-freebsd/freebsd-sources-${RV}*" |
2522 |
- RDEPEND="${RDEPEND} |
2523 |
- =sys-freebsd/freebsd-share-${RV}* |
2524 |
- >=virtual/libiconv-0-r2" |
2525 |
-else |
2526 |
- SRC_URI="${SRC_URI} |
2527 |
- mirror://gentoo/${SYS}.tar.xz" |
2528 |
-fi |
2529 |
- |
2530 |
-DEPEND="${DEPEND} |
2531 |
- userland_GNU? ( sys-apps/mtree ) |
2532 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
2533 |
- |
2534 |
-S="${WORKDIR}/lib" |
2535 |
- |
2536 |
-export CTARGET=${CTARGET:-${CHOST}} |
2537 |
-if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then |
2538 |
- export CTARGET=${CATEGORY/cross-} |
2539 |
-fi |
2540 |
- |
2541 |
-IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware |
2542 |
- build crosscompile_opts_headers-only zfs |
2543 |
- userland_GNU userland_BSD" |
2544 |
- |
2545 |
-QA_DT_NEEDED="lib/libc.so.7 lib32/libc.so.7" |
2546 |
- |
2547 |
-pkg_setup() { |
2548 |
- [ -c /dev/zero ] || \ |
2549 |
- die "You forgot to mount /dev; the compiled libc would break." |
2550 |
- |
2551 |
- if ! use ssl && use kerberos; then |
2552 |
- eerror "If you want kerberos support you need to enable ssl support, too." |
2553 |
- fi |
2554 |
- |
2555 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
2556 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
2557 |
- use hesiod || mymakeopts="${mymakeopts} WITHOUT_HESIOD= " |
2558 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6_SUPPORT= " |
2559 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= WITHOUT_GSSAPI= " |
2560 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
2561 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
2562 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
2563 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
2564 |
- |
2565 |
- mymakeopts="${mymakeopts} WITHOUT_SENDMAIL= WITHOUT_CLANG= WITHOUT_LIBCPLUSPLUS= WITHOUT_LDNS= WITHOUT_UNBOUND= " |
2566 |
- |
2567 |
- if [ "${CTARGET}" != "${CHOST}" ]; then |
2568 |
- mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})" |
2569 |
- mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})" |
2570 |
- fi |
2571 |
-} |
2572 |
- |
2573 |
-PATCHES=( |
2574 |
- "${FILESDIR}/${PN}-6.0-pmc.patch" |
2575 |
- "${FILESDIR}/${PN}-6.1-csu.patch" |
2576 |
- "${FILESDIR}/${PN}-10.0-liblink.patch" |
2577 |
- "${FILESDIR}/${PN}-10.0-atfcxx.patch" |
2578 |
- "${FILESDIR}/${PN}-10.0-libusb.patch" |
2579 |
- "${FILESDIR}/${PN}-10.0-libproc-libcxx.patch" |
2580 |
- "${FILESDIR}/${PN}-bsdxml2expat.patch" |
2581 |
- "${FILESDIR}/${PN}-9.0-bluetooth.patch" |
2582 |
- "${FILESDIR}/${PN}-9.1-.eh_frame_hdr-fix.patch" |
2583 |
- "${FILESDIR}/${PN}-add-nossp-cflags.patch" |
2584 |
- "${FILESDIR}/${PN}-10.1-cve-2014-8611.patch" |
2585 |
- ) |
2586 |
- |
2587 |
-# Here we disable and remove source which we don't need or want |
2588 |
-# In order: |
2589 |
-# - ncurses stuff |
2590 |
-# - libexpat creates a bsdxml library which is the same as expat |
2591 |
-# - archiving libraries (have their own ebuild) |
2592 |
-# - sendmail libraries (they are installed by sendmail) |
2593 |
-# - SNMP library and dependency (have their own ebuilds) |
2594 |
-# - libstand: static library, 32bits on amd64 used for boot0, we build it from |
2595 |
-# boot0 instead. |
2596 |
-# |
2597 |
-# The rest are libraries we already have somewhere else because |
2598 |
-# they are contribution. |
2599 |
-REMOVE_SUBDIRS="ncurses \ |
2600 |
- libexpat \ |
2601 |
- libz libbz2 libarchive liblzma \ |
2602 |
- libsm libsmdb libsmutil \ |
2603 |
- libbegemot libbsnmp \ |
2604 |
- libpam libpcap libwrap libmagic \ |
2605 |
- libcom_err |
2606 |
- libedit |
2607 |
- libstand |
2608 |
- libgssapi" |
2609 |
- |
2610 |
-# Are we building a cross-compiler? |
2611 |
-is_crosscompile() { |
2612 |
- [ "${CATEGORY#*cross-}" != "${CATEGORY}" ] |
2613 |
-} |
2614 |
- |
2615 |
-src_prepare() { |
2616 |
- sed -i.bak -e 's:-o/dev/stdout:-t:' "${S}/libc/net/Makefile.inc" |
2617 |
- |
2618 |
- # Upstream Display Managers default to using VT7 |
2619 |
- # We should make FreeBSD allow this by default |
2620 |
- local x= |
2621 |
- for x in "${WORKDIR}"/etc/etc.*/ttys ; do |
2622 |
- sed -i.bak \ |
2623 |
- -e '/ttyv5[[:space:]]/ a\ |
2624 |
-# Display Managers default to VT7.\ |
2625 |
-# If you use the xdm init script, keep ttyv6 commented out\ |
2626 |
-# unless you force a different VT for the DM being used.' \ |
2627 |
- -e '/^ttyv[678][[:space:]]/ s/^/# /' "${x}" \ |
2628 |
- || die "Failed to sed ${x}" |
2629 |
- rm "${x}".bak |
2630 |
- done |
2631 |
- |
2632 |
- # This one is here because it also |
2633 |
- # patches "${WORKDIR}/include" |
2634 |
- cd "${WORKDIR}" |
2635 |
- epatch "${FILESDIR}/${PN}-includes.patch" |
2636 |
- epatch "${FILESDIR}/${PN}-8.0-gcc45.patch" |
2637 |
- epatch "${FILESDIR}/${PN}-9.0-opieincludes.patch" |
2638 |
- |
2639 |
- # Don't install the hesiod man page or header |
2640 |
- rm "${WORKDIR}"/include/hesiod.h || die |
2641 |
- sed -i.bak -e 's:hesiod.h::' "${WORKDIR}"/include/Makefile || die |
2642 |
- sed -i.bak -e 's:hesiod.c::' -e 's:hesiod.3::' \ |
2643 |
- "${WORKDIR}"/lib/libc/net/Makefile.inc || die |
2644 |
- |
2645 |
- # Fix the Makefiles of these few libraries that will overwrite our LDADD. |
2646 |
- cd "${S}" |
2647 |
- for dir in libradius libtacplus libcam libdevstat libfetch libgeom libmemstat libopie \ |
2648 |
- libsmb libprocstat libulog; do sed -i.bak -e 's:LDADD=:LDADD+=:g' "${dir}/Makefile" || \ |
2649 |
- die "Problem fixing \"${dir}/Makefile" |
2650 |
- done |
2651 |
- # Call LD with LDFLAGS, rename them to RAW_LDFLAGS |
2652 |
- sed -e 's/LDFLAGS/RAW_LDFLAGS/g' \ |
2653 |
- -i "${S}/csu/i386-elf/Makefile" \ |
2654 |
- -i "${S}/csu/ia64/Makefile" || die |
2655 |
- if use build; then |
2656 |
- cd "${WORKDIR}" |
2657 |
- # This patch has to be applied on ${WORKDIR}/sys, so we do it here since it |
2658 |
- # shouldn't be a symlink to /usr/src/sys (which should be already patched) |
2659 |
- epatch "${FILESDIR}"/${PN}-7.1-types.h-fix.patch |
2660 |
- epatch "${FILESDIR}"/freebsd-sources-9.0-sysctluint.patch |
2661 |
- return 0 |
2662 |
- fi |
2663 |
- |
2664 |
- if ! is_crosscompile ; then |
2665 |
- if [[ ! -e "${WORKDIR}/sys" ]]; then |
2666 |
- ln -s "/usr/src/sys" "${WORKDIR}/sys" || die "Couldn't make sys symlink!" |
2667 |
- fi |
2668 |
- else |
2669 |
- sed -i.bak -e "s:/usr/include:/usr/${CTARGET}/usr/include:g" \ |
2670 |
- "${S}/libc/rpc/Makefile.inc" \ |
2671 |
- "${S}/libc/yp/Makefile.inc" |
2672 |
- fi |
2673 |
- |
2674 |
- if install --version 2> /dev/null | grep -q GNU; then |
2675 |
- sed -i.bak -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile" |
2676 |
- fi |
2677 |
- |
2678 |
- # Try to fix sed calls for GNU sed. Do it only with GNU userland and force |
2679 |
- # BSD's sed on BSD. |
2680 |
- cd "${S}" |
2681 |
- if use userland_GNU; then |
2682 |
- find . -name Makefile -exec sed -ibak 's/sed -i /sed -i/' {} \; |
2683 |
- fi |
2684 |
-} |
2685 |
- |
2686 |
-bootstrap_lib() { |
2687 |
- for i ; do |
2688 |
- cd "${WORKDIR}/${i}" || die "missing ${i}" |
2689 |
- freebsd_src_compile |
2690 |
- append-ldflags "-L${MAKEOBJDIRPREFIX}/${WORKDIR}/${i}" |
2691 |
- done |
2692 |
-} |
2693 |
- |
2694 |
-get_csudir() { |
2695 |
- if [ -d "${WORKDIR}/lib/csu/$1-elf" ]; then |
2696 |
- echo "lib/csu/$1-elf" |
2697 |
- else |
2698 |
- echo "lib/csu/$1" |
2699 |
- fi |
2700 |
-} |
2701 |
- |
2702 |
-bootstrap_csu() { |
2703 |
- local csudir="$(get_csudir $(tc-arch-kernel ${CTARGET}))" |
2704 |
- export RAW_LDFLAGS=$(raw-ldflags) |
2705 |
- bootstrap_lib "${csudir}" |
2706 |
- |
2707 |
- CFLAGS="${CFLAGS} -B ${MAKEOBJDIRPREFIX}/${WORKDIR}/${csudir}" |
2708 |
- append-ldflags "-B ${MAKEOBJDIRPREFIX}/${WORKDIR}/${csudir}" |
2709 |
- |
2710 |
- bootstrap_lib "gnu/lib/csu" |
2711 |
- |
2712 |
- cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu" |
2713 |
- for i in *.So ; do |
2714 |
- ln -s $i ${i%.So}S.o |
2715 |
- done |
2716 |
- CFLAGS="${CFLAGS} -B ${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu" |
2717 |
- append-ldflags "-B ${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu" |
2718 |
-} |
2719 |
- |
2720 |
-# Compile libssp_nonshared.a and add it's path to LDFLAGS. |
2721 |
-bootstrap_libssp_nonshared() { |
2722 |
- bootstrap_lib "gnu/lib/libssp/libssp_nonshared" |
2723 |
- export LDADD="-lssp_nonshared" |
2724 |
-} |
2725 |
- |
2726 |
-bootstrap_libgcc() { |
2727 |
- bootstrap_lib "lib/libcompiler_rt" |
2728 |
- cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/lib/libcompiler_rt" || die |
2729 |
- ln -s libcompiler_rt.a libgcc.a || die |
2730 |
- |
2731 |
- bootstrap_lib "lib/libc" "gnu/lib/libgcc" |
2732 |
-} |
2733 |
- |
2734 |
-bootstrap_libthr() { |
2735 |
- bootstrap_lib "lib/libthr" |
2736 |
- cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/lib/libthr" || die |
2737 |
- ln -s libthr.so libpthread.so |
2738 |
-} |
2739 |
- |
2740 |
-# What to build for a cross-compiler. |
2741 |
-# We also need the csu but this has to be handled separately. |
2742 |
-CROSS_SUBDIRS="lib/libc lib/msun gnu/lib/libssp/libssp_nonshared lib/libthr lib/libutil lib/librt lib/libc_nonshared" |
2743 |
- |
2744 |
-# What to build for non-default ABIs. |
2745 |
-NON_NATIVE_SUBDIRS="${CROSS_SUBDIRS} gnu/lib/csu lib/libcompiler_rt gnu/lib/libgcc lib/libmd lib/libcrypt lib/libsbuf lib/libcam lib/libelf lib/libiconv_modules" |
2746 |
- |
2747 |
-# Subdirs for a native build: |
2748 |
-NATIVE_SUBDIRS="lib gnu/lib/libssp/libssp_nonshared gnu/lib/libregex gnu/lib/csu gnu/lib/libgcc lib/libiconv_modules" |
2749 |
- |
2750 |
-# Is my $ABI native ? |
2751 |
-is_native_abi() { |
2752 |
- is_crosscompile && return 1 |
2753 |
- multilib_is_native_abi |
2754 |
-} |
2755 |
- |
2756 |
-# Do we need to bootstrap the csu and libssp_nonshared? |
2757 |
-need_bootstrap() { |
2758 |
- is_crosscompile || use build || { ! is_native_abi && ! has_version '>=sys-freebsd/freebsd-lib-9.1-r8[multilib]' && ! has_version ">=sys-freebsd/freebsd-lib-9.1-r11[${MULTILIB_USEDEP}]" ; } || has_version "<${CATEGORY}/${P}" |
2759 |
-} |
2760 |
- |
2761 |
-# Get the subdirs we are building. |
2762 |
-get_subdirs() { |
2763 |
- local ret="" |
2764 |
- if is_native_abi ; then |
2765 |
- # If we are building for the native ABI, build everything |
2766 |
- ret="${NATIVE_SUBDIRS}" |
2767 |
- elif is_crosscompile ; then |
2768 |
- # With a cross-compiler we only build the very core parts. |
2769 |
- ret="${CROSS_SUBDIRS}" |
2770 |
- if [ "${EBUILD_PHASE}" = "install" ]; then |
2771 |
- # Add the csu dir first when installing. We treat it separately for |
2772 |
- # compiling. |
2773 |
- ret="$(get_csudir $(tc-arch-kernel ${CTARGET})) ${ret}" |
2774 |
- fi |
2775 |
- else |
2776 |
- # For the non-native ABIs we only build the csu parts and very core |
2777 |
- # libraries for now. |
2778 |
- ret="${NON_NATIVE_SUBDIRS} $(get_csudir $(tc-arch-kernel ${CHOST}))" |
2779 |
- fi |
2780 |
- echo "${ret}" |
2781 |
-} |
2782 |
- |
2783 |
-# Bootstrap the core libraries and setup the flags so that the other parts can |
2784 |
-# build against it. |
2785 |
-do_bootstrap() { |
2786 |
- einfo "Bootstrapping on ${CHOST} for ${CTARGET}" |
2787 |
- if ! is_crosscompile ; then |
2788 |
- # Pre-install headers, but not when building a cross-compiler since we |
2789 |
- # assume they have been installed in the previous pass. |
2790 |
- einfo "Pre-installing includes in include_proper_${ABI}" |
2791 |
- mkdir "${WORKDIR}/include_proper_${ABI}" || die |
2792 |
- CTARGET="${CHOST}" install_includes "/include_proper_${ABI}" |
2793 |
- CFLAGS="${CFLAGS} -isystem ${WORKDIR}/include_proper_${ABI}" |
2794 |
- CXXFLAGS="${CXXFLAGS} -isystem ${WORKDIR}/include_proper_${ABI}" |
2795 |
- fi |
2796 |
- bootstrap_csu |
2797 |
- bootstrap_libssp_nonshared |
2798 |
- is_crosscompile && bootstrap_lib "lib/libc" |
2799 |
- is_crosscompile || is_native_abi || bootstrap_libgcc |
2800 |
- is_native_abi || bootstrap_libthr |
2801 |
-} |
2802 |
- |
2803 |
-# Compile it. Assume we have the toolchain setup correctly. |
2804 |
-do_compile() { |
2805 |
- # Bootstrap if needed, otherwise assume the system headers are in |
2806 |
- # /usr/include. |
2807 |
- if need_bootstrap ; then |
2808 |
- do_bootstrap |
2809 |
- else |
2810 |
- CFLAGS="${CFLAGS} -isystem /usr/include" |
2811 |
- CXXFLAGS="${CXXFLAGS} -isystem /usr/include" |
2812 |
- fi |
2813 |
- |
2814 |
- export RAW_LDFLAGS=$(raw-ldflags) |
2815 |
- |
2816 |
- # Everything is now setup, build it! |
2817 |
- for i in $(get_subdirs) ; do |
2818 |
- einfo "Building in ${i}... with CC=${CC} and CFLAGS=${CFLAGS}" |
2819 |
- cd "${WORKDIR}/${i}/" || die "missing ${i}." |
2820 |
- freebsd_src_compile || die "make ${i} failed" |
2821 |
- done |
2822 |
-} |
2823 |
- |
2824 |
-src_compile() { |
2825 |
- # Does not work with GNU sed |
2826 |
- # Force BSD's sed on BSD. |
2827 |
- if use userland_BSD ; then |
2828 |
- export ESED=/usr/bin/sed |
2829 |
- unalias sed |
2830 |
- fi |
2831 |
- |
2832 |
- use usb && export NON_NATIVE_SUBDIRS="${NON_NATIVE_SUBDIRS} lib/libusb lib/libusbhid" |
2833 |
- |
2834 |
- cd "${WORKDIR}/include" |
2835 |
- $(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed" |
2836 |
- |
2837 |
- use crosscompile_opts_headers-only && return 0 |
2838 |
- |
2839 |
- # Bug #270098 |
2840 |
- append-flags $(test-flags -fno-strict-aliasing) |
2841 |
- |
2842 |
- # Bug #324445 |
2843 |
- append-flags $(test-flags -fno-strict-overflow) |
2844 |
- |
2845 |
- # strip flags and do not do it later, we only add safe, and in fact |
2846 |
- # needed flags after all |
2847 |
- strip-flags |
2848 |
- export NOFLAGSTRIP=yes |
2849 |
- if is_crosscompile ; then |
2850 |
- export YACC='yacc -by' |
2851 |
- CHOST=${CTARGET} tc-export CC LD CXX RANLIB |
2852 |
- mymakeopts="${mymakeopts} NLS=" |
2853 |
- CFLAGS="${CFLAGS} -isystem /usr/${CTARGET}/usr/include" |
2854 |
- CXXFLAGS="${CXXFLAGS} -isystem /usr/${CTARGET}/usr/include" |
2855 |
- append-ldflags "-L${WORKDIR}/${CHOST}/${WORKDIR}/lib/libc" |
2856 |
- fi |
2857 |
- |
2858 |
- if is_crosscompile ; then |
2859 |
- do_compile |
2860 |
- else |
2861 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
2862 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper do_compile |
2863 |
- fi |
2864 |
-} |
2865 |
- |
2866 |
-gen_libc_ldscript() { |
2867 |
- # Parameters: |
2868 |
- # $1 = target libdir |
2869 |
- # $2 = source libc dir |
2870 |
- # $3 = source libssp_nonshared dir |
2871 |
- |
2872 |
- # Clear the symlink. |
2873 |
- rm -f "${D}/$2/libc.so" || die |
2874 |
- |
2875 |
- # Move the library if needed |
2876 |
- if [ "$1" != "$2" ] ; then |
2877 |
- mv "${D}/$2/libc.so.7" "${D}/$1/" || die |
2878 |
- fi |
2879 |
- |
2880 |
- # Generate libc.so ldscript for inclusion of libssp_nonshared.a when linking |
2881 |
- # this is done to avoid having to touch gcc spec file as it is currently |
2882 |
- # done on FreeBSD upstream, mostly because their binutils aren't able to |
2883 |
- # cope with linker scripts yet. |
2884 |
- # Taken from toolchain-funcs.eclass: |
2885 |
- local output_format |
2886 |
- output_format=$($(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p') |
2887 |
- [[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )" |
2888 |
- |
2889 |
- # iconv symbol provided by libc_nonshared.a. |
2890 |
- # http://svnweb.freebsd.org/base?view=revision&revision=258283 |
2891 |
- cat > "${D}/$2/libc.so" <<-END_LDSCRIPT |
2892 |
-/* GNU ld script |
2893 |
- SSP (-fstack-protector) requires __stack_chk_fail_local to be local. |
2894 |
- GCC invokes this symbol in a non-PIC way, which results in TEXTRELs if |
2895 |
- this symbol was provided by a shared libc. So we link in |
2896 |
- libssp_nonshared.a from here. |
2897 |
- */ |
2898 |
-${output_format} |
2899 |
-GROUP ( /$1/libc.so.7 /$3/libc_nonshared.a /$3/libssp_nonshared.a ) |
2900 |
-END_LDSCRIPT |
2901 |
-} |
2902 |
- |
2903 |
-header_list="" |
2904 |
- |
2905 |
-move_header() { |
2906 |
- local dirname=$(dirname ${1}) |
2907 |
- local filename=$(basename ${1}) |
2908 |
- |
2909 |
- if [ ! -d "${dirname}/${ABI}" ] ; then |
2910 |
- mkdir "${dirname}/${ABI}" || die |
2911 |
- fi |
2912 |
- |
2913 |
- mv "${1}" "${dirname}/${ABI}/" || die |
2914 |
- |
2915 |
- export header_list="${header_list} ${1}" |
2916 |
-} |
2917 |
- |
2918 |
-make_header_template() { |
2919 |
- cat <<-END_HEADER |
2920 |
-/* |
2921 |
- * Wrapped header for multilib support. |
2922 |
- * See the real headers included below. |
2923 |
- */ |
2924 |
- |
2925 |
-#if defined(__x86_64__) |
2926 |
- @ABI_amd64_fbsd@ |
2927 |
-#elif defined(__i386__) |
2928 |
- @ABI_x86_fbsd@ |
2929 |
-#else |
2930 |
- @ABI_${DEFAULT_ABI}@ |
2931 |
-#endif |
2932 |
-END_HEADER |
2933 |
-} |
2934 |
- |
2935 |
-wrap_header() { |
2936 |
- local dirname=$(dirname ${1}) |
2937 |
- local filename=$(basename ${1}) |
2938 |
- |
2939 |
- if [ -n "${dirname#.}" ] ; then |
2940 |
- dirname="${dirname}/${2}" |
2941 |
- else |
2942 |
- dirname="${2}" |
2943 |
- fi |
2944 |
- |
2945 |
- if [ -f "${dirname}/${filename}" ] ; then |
2946 |
- sed -e "s:@ABI_${2}@:#include <${dirname}/${filename}>:" ${1} |
2947 |
- else |
2948 |
- cat ${1} |
2949 |
- fi |
2950 |
-} |
2951 |
- |
2952 |
-wrap_header_end() { |
2953 |
- sed -e "s:@ABI_.*@:#error \"Sorry, no support for your ABI.\":" ${1} |
2954 |
-} |
2955 |
- |
2956 |
-do_install() { |
2957 |
- if is_crosscompile ; then |
2958 |
- INCLUDEDIR="/usr/${CTARGET}/usr/include" |
2959 |
- else |
2960 |
- INCLUDEDIR="/usr/include" |
2961 |
- fi |
2962 |
- |
2963 |
- dodir ${INCLUDEDIR} |
2964 |
- CTARGET="${CHOST}" \ |
2965 |
- install_includes ${INCLUDEDIR} |
2966 |
- |
2967 |
- is_crosscompile && use crosscompile_opts_headers-only && return 0 |
2968 |
- |
2969 |
- # Install a libusb.pc for better compat with Linux's libusb |
2970 |
- if use usb ; then |
2971 |
- dodir /usr/$(get_libdir)/pkgconfig |
2972 |
- sed -i.bkp "s:^libdir=.*:libdir=/usr/$(get_libdir):g" "${S}"/libusb/libusb-*.pc |
2973 |
- fi |
2974 |
- |
2975 |
- for i in $(get_subdirs) ; do |
2976 |
- if [[ ${i} != *libiconv_modules* ]] ; then |
2977 |
- einfo "Installing in ${i}..." |
2978 |
- cd "${WORKDIR}/${i}/" || die "missing ${i}." |
2979 |
- freebsd_src_install || die "Install ${i} failed" |
2980 |
- fi |
2981 |
- done |
2982 |
- |
2983 |
- if ! is_crosscompile; then |
2984 |
- local mymakeopts_save="${mymakeopts}" |
2985 |
- mymakeopts="${mymakeopts} SHLIBDIR=/usr/$(get_libdir)/i18n LIBDIR=/usr/$(get_libdir)/i18n" |
2986 |
- |
2987 |
- einfo "Installing in lib/libiconv_modules..." |
2988 |
- cd "${WORKDIR}/lib/libiconv_modules/" || die "missing libiconv_modules." |
2989 |
- freebsd_src_install || die "Install lib/libiconv_modules failed" |
2990 |
- |
2991 |
- mymakeopts="${mymakeopts_save}" |
2992 |
- fi |
2993 |
- |
2994 |
- if ! is_crosscompile ; then |
2995 |
- if ! multilib_is_native_abi ; then |
2996 |
- gen_libc_ldscript "usr/$(get_libdir)" "usr/$(get_libdir)" "usr/$(get_libdir)" |
2997 |
- else |
2998 |
- dodir "$(get_libdir)" |
2999 |
- gen_libc_ldscript "$(get_libdir)" "usr/$(get_libdir)" "usr/$(get_libdir)" |
3000 |
- fi |
3001 |
- else |
3002 |
- CHOST=${CTARGET} gen_libc_ldscript "usr/${CTARGET}/usr/lib" "usr/${CTARGET}/usr/lib" "usr/${CTARGET}/usr/lib" |
3003 |
- # We're done for the cross libc here. |
3004 |
- return 0 |
3005 |
- fi |
3006 |
- |
3007 |
- # Generate ldscripts for core libraries that will go in / |
3008 |
- multilib_is_native_abi && \ |
3009 |
- gen_usr_ldscript -a alias cam geom ipsec jail kiconv \ |
3010 |
- kvm m md procstat sbuf thr ufs util elf |
3011 |
- |
3012 |
- if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]] ; then |
3013 |
- cd "${D}/usr/include" |
3014 |
- for i in machine/*.h fenv.h ; do |
3015 |
- move_header ${i} |
3016 |
- done |
3017 |
- if multilib_is_native_abi ; then |
3018 |
- # Supposedly the last one! |
3019 |
- local uniq_headers="$(echo ${header_list} | tr ' ' '\n' | sort | uniq | tr '\n' ' ')" |
3020 |
- for j in ${uniq_headers} ; do |
3021 |
- make_header_template > ${j} |
3022 |
- for i in $(get_all_abis) ; do |
3023 |
- wrap_header ${j} ${i} > ${j}.new |
3024 |
- cp ${j}.new ${j} |
3025 |
- rm -f ${j}.new |
3026 |
- done |
3027 |
- wrap_header_end ${j} > ${j}.new |
3028 |
- cp ${j}.new ${j} |
3029 |
- rm -f ${j}.new |
3030 |
- done |
3031 |
- fi |
3032 |
- fi |
3033 |
-} |
3034 |
- |
3035 |
-src_install() { |
3036 |
- if is_crosscompile ; then |
3037 |
- einfo "Installing for ${CTARGET} in ${CHOST}.." |
3038 |
- # From this point we need to force: get stripped with the correct tools, |
3039 |
- # get tc-arch-kernel to return the right value, etc. |
3040 |
- export CHOST=${CTARGET} |
3041 |
- |
3042 |
- mymakeopts="${mymakeopts} NO_MAN= \ |
3043 |
- INCLUDEDIR=/usr/${CTARGET}/usr/include \ |
3044 |
- SHLIBDIR=/usr/${CTARGET}/usr/lib \ |
3045 |
- LIBDIR=/usr/${CTARGET}/usr/lib" |
3046 |
- |
3047 |
- dosym "usr/include" "/usr/${CTARGET}/sys-include" |
3048 |
- do_install |
3049 |
- |
3050 |
- return 0 |
3051 |
- else |
3052 |
- export STRIP_MASK="*/usr/lib*/*crt*.o" |
3053 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
3054 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper do_install |
3055 |
- fi |
3056 |
- |
3057 |
- cd "${WORKDIR}/etc/" |
3058 |
- insinto /etc |
3059 |
- doins nls.alias mac.conf netconfig |
3060 |
- |
3061 |
- # Install ttys file |
3062 |
- local MACHINE="$(tc-arch-kernel)" |
3063 |
- doins "etc.${MACHINE}"/* |
3064 |
-} |
3065 |
- |
3066 |
-install_includes() |
3067 |
-{ |
3068 |
- local INCLUDEDIR="$1" |
3069 |
- |
3070 |
- # The idea is to be called from either install or unpack. |
3071 |
- # During unpack it's required to install them as portage's user. |
3072 |
- if [[ "${EBUILD_PHASE}" == "install" ]]; then |
3073 |
- local DESTDIR="${D}" |
3074 |
- BINOWN="root" |
3075 |
- BINGRP="wheel" |
3076 |
- else |
3077 |
- local DESTDIR="${WORKDIR}" |
3078 |
- [[ -z "${USER}" ]] && USER="portage" |
3079 |
- BINOWN="${USER}" |
3080 |
- [[ -z "${GROUPS}" ]] && GROUPS="portage" |
3081 |
- BINGRP="${GROUPS}" |
3082 |
- fi |
3083 |
- |
3084 |
- # Must exist before we use it. |
3085 |
- [[ -d "${DESTDIR}${INCLUDEDIR}" ]] || die "dodir or mkdir ${INCLUDEDIR} before using install_includes." |
3086 |
- cd "${WORKDIR}/include" |
3087 |
- |
3088 |
- local MACHINE="$(tc-arch-kernel)" |
3089 |
- |
3090 |
- einfo "Installing includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." |
3091 |
- $(freebsd_get_bmake) installincludes \ |
3092 |
- MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE} \ |
3093 |
- DESTDIR="${DESTDIR}" \ |
3094 |
- INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ |
3095 |
- BINGRP="${BINGRP}" \ |
3096 |
- WITHOUT_GSSAPI= || die "install_includes() failed" |
3097 |
- einfo "includes installed ok." |
3098 |
- EXTRA_INCLUDES="lib/librtld_db lib/libutil lib/msun gnu/lib/libregex" |
3099 |
- for i in $EXTRA_INCLUDES; do |
3100 |
- einfo "Installing $i includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." |
3101 |
- cd "${WORKDIR}/$i" || die |
3102 |
- $(freebsd_get_bmake) installincludes DESTDIR="${DESTDIR}" \ |
3103 |
- MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE} \ |
3104 |
- INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ |
3105 |
- BINGRP="${BINGRP}" || die "problem installing $i includes." |
3106 |
- einfo "$i includes installed ok." |
3107 |
- done |
3108 |
-} |
3109 |
|
3110 |
diff --git a/sys-freebsd/freebsd-libexec/Manifest b/sys-freebsd/freebsd-libexec/Manifest |
3111 |
deleted file mode 100644 |
3112 |
index daee594..0000000 |
3113 |
--- a/sys-freebsd/freebsd-libexec/Manifest |
3114 |
+++ /dev/null |
3115 |
@@ -1,10 +0,0 @@ |
3116 |
-AUX bootpd.confd 183 SHA256 c70c6a7a99470354a5f61bfe5c0f71325f4896e41da150e782223a30f07a275c SHA512 3f097c1acb5547add8d12fcee0b4b55b03896cb3ba473214d1634804f3683e0dea4b3c9559b61b2366b7f264d7a3d878695e16f29acff076b8060ca1fd79757f WHIRLPOOL c6721ac9b3ba70268fdba8c81ad9225e26049a5eb5ef8ea9bccc5fbbe7a110defe15df1d27b1c4b54f92e19d7d8b2099f87e7972faa0e5ddf17b66d30e26e0ad |
3117 |
-AUX bootpd.initd 553 SHA256 1fdc8470fda0acca9213c11e1e380110d36e992754709f754bec6ab04b77e7fa SHA512 a7522086d3c968485891fb658fee490f53582328dd07ee65f4b620b227f33f3bfb6637ad5758846eac7df11425f2e8ed681b70bc7f52bea2db0b4a29fca4b87d WHIRLPOOL a7725cfd975808759c91468f61b161701adaafbaab0e2675e9ebb33ed43b4840dfbe71cf4a203f3d9105cbaa02306258c6d12984c51a4e3e4866704b8b2d58a1 |
3118 |
-AUX freebsd-libexec-10.0-atf-check.patch 628 SHA256 3733068f0253cd7b3c311390927e77d3d315d9ed42f07d1e82c549d8a4a2457e SHA512 fb21ad139f0ebabf94856dde84c9694e70da21f2e02286a1f35101ae80b19739f536525f3cf1ef17f8b09d7ada093785b3f86b0dd72cd59b12460605b5f48868 WHIRLPOOL 3c01985ffda2a75188290fe5ac805564561af6dde51c67b2d0003f11e597f8432238d1bb7a9c62fef02a45250c8bcd4b196245eb2b98d40bc774388efeda8420 |
3119 |
-AUX freebsd-libexec-9.2-no_ld32.patch 634 SHA256 ee5568c2ffbff4cf73c87401e5eb93165e813a2ff252d953a95fc4294dd2ace8 SHA512 df5421ad4d07d9f3d5f8dfd110eca588848ff55a63c70adf76f90746c1156ac50004a79bb626783ada8f96060fdd37e153e64da6ed43148c02a8eae4493c18d8 WHIRLPOOL d11ddc097a8ff171d143c655c1f2c9dd4ee3ff5e7bd6693bbd7c5d065e72c4d9e2c5a3521b9701ea0a3c7f5234fb174675373e68fb65cbb41c95133db6eb53f5 |
3120 |
-AUX rquotad.xinetd 162 SHA256 3f73f86e5a6ab3b6d25698f6179cdbe169b2fd01c682b45a9c8711f36bb317e5 SHA512 2cf16514f18abe2aeaa273fabc2dc94b09f31d02001ece5c82d9336c02d921e03dff6f82a613a4bffe57b5e415add2b82ef883a306907dd20ffe1bbe332b011f WHIRLPOOL 237667cbff4807d703a3c4c4eb8c2c5863d024a6263e3addf8d96ffa1461a8d1cda6318deee1de72146d27305b670b501da9ad4035880551dee5138b6798f6c6 |
3121 |
-AUX rstatd.xinetd 218 SHA256 7bf526babdd46f03a6ea9ed12b5df16e5c2abc8aeb567214c8edb8ac327d4381 SHA512 febca8ab8248b1c103dd7be0806e3d678c5b5cf165a7b3bd0305bc905da228bf92392d65d44a765b7692f772befeedcbc3df205d32bb62ad5aa307f71a1c1011 WHIRLPOOL 76f8b1f3f85e97f27950549f62dc411e0620b25eba68c161c96a5252617c7c4beb0fecf94af9bc9cf931dff8fc4c750e780c41143a50b39d7538a30b7c0bd322 |
3122 |
-AUX rusersd.xinetd 220 SHA256 271de1cad33a65a2a0e81e8983cbb1b7ab6e2e75bbf4c6e99181408067a49cd3 SHA512 fdf4ef4e0b0dd11c64fb38d32c9fca2d378a69e4cff87523127089d7dc0db12b26f6399c7a61fc43d62ca8083b116440f6fffff9e3329f0548bf54f0f26699cd WHIRLPOOL 7517089e5ab5b3925b46908c22a929cb04c8390387ad075f17c2fa0213ab38cae833d9280cfe289915afe4c2ee0b3e0299cee42daa871c23507f5f96cc22f227 |
3123 |
-AUX sprayd.xinetd 216 SHA256 5b2c0e14c40c3d14f16f6fbe7b1f00d133bbae8ea27e548273a16d104afea24e SHA512 a49824ab0421560699901f54d9faf3f38fb6f8d8f63f05e33eb11da053278838e80eaabf5963b1c2a7292ba2d2118e1efd90954b2f3b2dc01b945fbadc6ce101 WHIRLPOOL 3869a0e4a9f03aa3654729e611a020421ec0beef2686ca8857b5ac3d50f8db26d7c1a5eb16e90aaf5b2b33e992915f7e9e504ce6bca9fd5862c2051a7172495f |
3124 |
-AUX walld.xinetd 215 SHA256 b7d8cb4b69809a2ea2f479f942c3d7752c5cb1e4b3b4b7b7b590f15616a774f0 SHA512 ab78d32e48d660649d3415a4432a5f3e98f8a6a8854791d1d828b0dc678f58e9f24532c264c5f5b039ccd706e0bb70c369ba9fb55fc9af9d3ed9b28e10b9e830 WHIRLPOOL 013b60056a8f5fe46eb4e00182fe0f391a2dc915312fe7e47eb372697526ed05a53e156159fd5dd3dcbf3db44a6591461c789af31ca0e1dd967537b785462802 |
3125 |
-EBUILD freebsd-libexec-10.1.0.9999.ebuild 3198 SHA256 b9833d0d661363258bbd3ba68bef66bfe5e0b120140ace4ef2f6b59b8754f66f SHA512 15d631126cb462cc63b456da4963952829fb9ed5f7b97492a162f831ef4b493c798573f0a900c64a631efabeb3ec825c35ab6e258f033c6ecfaac74b8210ce1f WHIRLPOOL 348beffbd76065a94e440629bfd12eef8610bc6a7e15bfa4b779acac0bf443825b8ba3a95a90dcb29b81956098f5ab166c1f73eb3c93e1f7ff06e677325593f6 |
3126 |
|
3127 |
diff --git a/sys-freebsd/freebsd-libexec/files/bootpd.confd b/sys-freebsd/freebsd-libexec/files/bootpd.confd |
3128 |
deleted file mode 100644 |
3129 |
index 6d238e4..0000000 |
3130 |
--- a/sys-freebsd/freebsd-libexec/files/bootpd.confd |
3131 |
+++ /dev/null |
3132 |
@@ -1,7 +0,0 @@ |
3133 |
-# Configuration file for /etc/init.d/bootpd |
3134 |
- |
3135 |
-# Name of the configuration file for bootpd |
3136 |
-# bootptab_file="/etc/bootptab" |
3137 |
- |
3138 |
-# Options to pass to bootpd. See bootpd(8). |
3139 |
-# bootpd_opts="" |
3140 |
|
3141 |
diff --git a/sys-freebsd/freebsd-libexec/files/bootpd.initd b/sys-freebsd/freebsd-libexec/files/bootpd.initd |
3142 |
deleted file mode 100644 |
3143 |
index e82563f..0000000 |
3144 |
--- a/sys-freebsd/freebsd-libexec/files/bootpd.initd |
3145 |
+++ /dev/null |
3146 |
@@ -1,27 +0,0 @@ |
3147 |
-#!/sbin/runscript |
3148 |
-# Copyright 2008 Gentoo Foundation |
3149 |
-# Distributed under the terms of the GNU General Public License v2 |
3150 |
- |
3151 |
-depend() { |
3152 |
- need net |
3153 |
-} |
3154 |
- |
3155 |
-start() { |
3156 |
- local bootptab=${bootptab_file:-/etc/bootptab} |
3157 |
- |
3158 |
- if ! [ -f "${bootptab}" ]; then |
3159 |
- eerror "Unable to find the bootptab file: ${bootptab}" |
3160 |
- eend 1 |
3161 |
- return 1 |
3162 |
- fi |
3163 |
- |
3164 |
- ebegin "Starting BOOTP server" |
3165 |
- start-stop-daemon --start --exec /usr/libexec/bootpd -- ${bootpd_opts} ${bootptab} |
3166 |
- eend $? |
3167 |
-} |
3168 |
- |
3169 |
-stop() { |
3170 |
- ebegin "Stopping BOOTP server" |
3171 |
- start-stop-daemon --stop --exec /usr/libexec/bootpd |
3172 |
- eend $? |
3173 |
-} |
3174 |
|
3175 |
diff --git a/sys-freebsd/freebsd-libexec/files/freebsd-libexec-10.0-atf-check.patch b/sys-freebsd/freebsd-libexec/files/freebsd-libexec-10.0-atf-check.patch |
3176 |
deleted file mode 100644 |
3177 |
index c7bb686..0000000 |
3178 |
--- a/sys-freebsd/freebsd-libexec/files/freebsd-libexec-10.0-atf-check.patch |
3179 |
+++ /dev/null |
3180 |
@@ -1,25 +0,0 @@ |
3181 |
-diff --git a/libexec/atf/Makefile.inc b/libexec/atf/Makefile.inc |
3182 |
-index a28f546..9f55937 100644 |
3183 |
---- a/libexec/atf/Makefile.inc |
3184 |
-+++ b/libexec/atf/Makefile.inc |
3185 |
-@@ -27,6 +27,6 @@ |
3186 |
- |
3187 |
- ATF = ${.CURDIR}/../../../contrib/atf |
3188 |
- |
3189 |
--CFLAGS+= -DHAVE_CONFIG_H |
3190 |
-+CXXFLAGS+= -DHAVE_CONFIG_H |
3191 |
- |
3192 |
- WARNS?= 3 |
3193 |
-diff --git a/libexec/atf/atf-check/Makefile b/libexec/atf/atf-check/Makefile |
3194 |
-index fafb1e4..3710403 100644 |
3195 |
---- a/libexec/atf/atf-check/Makefile |
3196 |
-+++ b/libexec/atf/atf-check/Makefile |
3197 |
-@@ -34,7 +34,7 @@ PROG_CXX= atf-check |
3198 |
- SRCS= atf-check.cpp |
3199 |
- MAN= atf-check.1 |
3200 |
- |
3201 |
--CFLAGS+= -I${ATF} |
3202 |
-+CXXFLAGS+= -I${ATF} |
3203 |
- |
3204 |
- DPADD+= ${LIBATF_CXX} ${LIBATF_C} |
3205 |
- |
3206 |
|
3207 |
diff --git a/sys-freebsd/freebsd-libexec/files/freebsd-libexec-9.2-no_ld32.patch b/sys-freebsd/freebsd-libexec/files/freebsd-libexec-9.2-no_ld32.patch |
3208 |
deleted file mode 100644 |
3209 |
index d330009..0000000 |
3210 |
--- a/sys-freebsd/freebsd-libexec/files/freebsd-libexec-9.2-no_ld32.patch |
3211 |
+++ /dev/null |
3212 |
@@ -1,15 +0,0 @@ |
3213 |
-Use LD_* variables for 32bits too instead of the FreeBSD invention LD_32_*. |
3214 |
-We use LD_* everywhere on Gentoo and things like libtool wrappers have no clue |
3215 |
-about LD_32_* and thus fail to run from the build directory. |
3216 |
- |
3217 |
-diff -uNr libexec.old/rtld-elf/rtld.h libexec/rtld-elf/rtld.h |
3218 |
---- libexec.old/rtld-elf/rtld.h 2013-08-24 12:30:26.000000000 -0400 |
3219 |
-+++ libexec/rtld-elf/rtld.h 2013-08-26 17:10:19.000000000 -0400 |
3220 |
-@@ -47,7 +47,6 @@ |
3221 |
- #define _PATH_ELF_HINTS "/var/run/ld-elf32.so.hints" |
3222 |
- /* For running 32 bit binaries */ |
3223 |
- #define STANDARD_LIBRARY_PATH "/lib32:/usr/lib32" |
3224 |
--#define LD_ "LD_32_" |
3225 |
- #endif |
3226 |
- |
3227 |
- #ifndef STANDARD_LIBRARY_PATH |
3228 |
|
3229 |
diff --git a/sys-freebsd/freebsd-libexec/files/rquotad.xinetd b/sys-freebsd/freebsd-libexec/files/rquotad.xinetd |
3230 |
deleted file mode 100644 |
3231 |
index 876cd16..0000000 |
3232 |
--- a/sys-freebsd/freebsd-libexec/files/rquotad.xinetd |
3233 |
+++ /dev/null |
3234 |
@@ -1,11 +0,0 @@ |
3235 |
-service rquotad |
3236 |
-{ |
3237 |
- type = rpc |
3238 |
- socket_type = dgram |
3239 |
- protocol = udp |
3240 |
- wait = yes |
3241 |
- user = root |
3242 |
- server = /usr/libexec/rpc.rquotad |
3243 |
- rpc_version = 1 |
3244 |
- disabled = yes |
3245 |
-} |
3246 |
|
3247 |
diff --git a/sys-freebsd/freebsd-libexec/files/rstatd.xinetd b/sys-freebsd/freebsd-libexec/files/rstatd.xinetd |
3248 |
deleted file mode 100644 |
3249 |
index ba1b819..0000000 |
3250 |
--- a/sys-freebsd/freebsd-libexec/files/rstatd.xinetd |
3251 |
+++ /dev/null |
3252 |
@@ -1,11 +0,0 @@ |
3253 |
-service rstatd |
3254 |
-{ |
3255 |
- type = rpc |
3256 |
- socket_type = dgram |
3257 |
- protocol = udp |
3258 |
- wait = yes |
3259 |
- user = root |
3260 |
- server = /usr/libexec/rpc.rstatd |
3261 |
- rpc_version = 1-3 |
3262 |
- disabled = yes |
3263 |
-} |
3264 |
|
3265 |
diff --git a/sys-freebsd/freebsd-libexec/files/rusersd.xinetd b/sys-freebsd/freebsd-libexec/files/rusersd.xinetd |
3266 |
deleted file mode 100644 |
3267 |
index 5cbe091..0000000 |
3268 |
--- a/sys-freebsd/freebsd-libexec/files/rusersd.xinetd |
3269 |
+++ /dev/null |
3270 |
@@ -1,11 +0,0 @@ |
3271 |
-service rusersd |
3272 |
-{ |
3273 |
- type = rpc |
3274 |
- socket_type = dgram |
3275 |
- protocol = udp |
3276 |
- wait = yes |
3277 |
- user = root |
3278 |
- server = /usr/libexec/rpc.rusersd |
3279 |
- rpc_version = 1-2 |
3280 |
- disabled = yes |
3281 |
-} |
3282 |
|
3283 |
diff --git a/sys-freebsd/freebsd-libexec/files/sprayd.xinetd b/sys-freebsd/freebsd-libexec/files/sprayd.xinetd |
3284 |
deleted file mode 100644 |
3285 |
index 7be5577..0000000 |
3286 |
--- a/sys-freebsd/freebsd-libexec/files/sprayd.xinetd |
3287 |
+++ /dev/null |
3288 |
@@ -1,11 +0,0 @@ |
3289 |
-service sprayd |
3290 |
-{ |
3291 |
- type = rpc |
3292 |
- socket_type = dgram |
3293 |
- protocol = udp |
3294 |
- wait = yes |
3295 |
- user = root |
3296 |
- server = /usr/libexec/rpc.sprayd |
3297 |
- rpc_version = 1 |
3298 |
- disabled = yes |
3299 |
-} |
3300 |
|
3301 |
diff --git a/sys-freebsd/freebsd-libexec/files/walld.xinetd b/sys-freebsd/freebsd-libexec/files/walld.xinetd |
3302 |
deleted file mode 100644 |
3303 |
index 800b84f..0000000 |
3304 |
--- a/sys-freebsd/freebsd-libexec/files/walld.xinetd |
3305 |
+++ /dev/null |
3306 |
@@ -1,11 +0,0 @@ |
3307 |
-service walld |
3308 |
-{ |
3309 |
- type = rpc |
3310 |
- socket_type = dgram |
3311 |
- protocol = udp |
3312 |
- wait = yes |
3313 |
- user = root |
3314 |
- server = /usr/libexec/rpc.rwalld |
3315 |
- rpc_version = 1 |
3316 |
- disabled = yes |
3317 |
-} |
3318 |
|
3319 |
diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-10.1.0.9999.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-10.1.0.9999.ebuild |
3320 |
deleted file mode 100644 |
3321 |
index 5a2d7bc..0000000 |
3322 |
--- a/sys-freebsd/freebsd-libexec/freebsd-libexec-10.1.0.9999.ebuild |
3323 |
+++ /dev/null |
3324 |
@@ -1,101 +0,0 @@ |
3325 |
-# Copyright 1999-2014 Gentoo Foundation |
3326 |
-# Distributed under the terms of the GNU General Public License v2 |
3327 |
-# $Header: $ |
3328 |
- |
3329 |
-EAPI=5 |
3330 |
- |
3331 |
-inherit bsdmk freebsd pam multilib multibuild multilib-build |
3332 |
- |
3333 |
-DESCRIPTION="FreeBSD libexec things" |
3334 |
-SLOT="0" |
3335 |
- |
3336 |
-if [[ ${PV} != *9999* ]]; then |
3337 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
3338 |
- SRC_URI="mirror://gentoo/${LIBEXEC}.tar.xz |
3339 |
- mirror://gentoo/${UBIN}.tar.xz |
3340 |
- mirror://gentoo/${BIN}.tar.xz |
3341 |
- mirror://gentoo/${CONTRIB}.tar.xz |
3342 |
- mirror://gentoo/${LIB}.tar.xz |
3343 |
- mirror://gentoo/${ETC}.tar.xz |
3344 |
- mirror://gentoo/${USBIN}.tar.xz" |
3345 |
-fi |
3346 |
- |
3347 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
3348 |
- >=sys-freebsd/freebsd-lib-9.1-r11[${MULTILIB_USEDEP}] |
3349 |
- pam? ( virtual/pam )" |
3350 |
-DEPEND="${RDEPEND} |
3351 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
3352 |
- =sys-freebsd/freebsd-sources-${RV}*" |
3353 |
-RDEPEND="${RDEPEND} |
3354 |
- xinetd? ( sys-apps/xinetd )" |
3355 |
- |
3356 |
-S="${WORKDIR}/libexec" |
3357 |
- |
3358 |
-# Remove sendmail, tcp_wrapper and other useless stuff |
3359 |
-REMOVE_SUBDIRS="smrsh mail.local tcpd telnetd rshd rlogind ftpd" |
3360 |
- |
3361 |
-IUSE="pam ssl kerberos ipv6 nis xinetd" |
3362 |
- |
3363 |
-PATCHES=( "${FILESDIR}/${PN}-9.2-no_ld32.patch" |
3364 |
- "${FILESDIR}/${PN}-10.0-atf-check.patch" ) |
3365 |
- |
3366 |
-pkg_setup() { |
3367 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
3368 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " |
3369 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
3370 |
- use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " |
3371 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
3372 |
- |
3373 |
- mymakeopts="${mymakeopts} WITHOUT_SENDMAIL= WITHOUT_PF= WITHOUT_RCMDS= " |
3374 |
-} |
3375 |
- |
3376 |
-src_prepare() { |
3377 |
- if [[ ! -e "${WORKDIR}/include" ]]; then |
3378 |
- ln -s /usr/include "${WORKDIR}/include" || die "Symlinking /usr/include.." |
3379 |
- fi |
3380 |
- # allow upgrade directly from 9.x to 10.1. |
3381 |
- if has_version "<sys-freebsd/freebsd-lib-10.0"; then |
3382 |
- # taken from sys/sys/elf_common.h |
3383 |
- echo "#define DF_1_INTERPOSE 0x00000400" >> "${S}"/rtld-elf/rtld.h |
3384 |
- echo "#define STT_GNU_IFUNC 10" >> "${S}"/rtld-elf/rtld.h |
3385 |
- echo "#define R_386_IRELATIVE 42" >> "${S}"/rtld-elf/rtld.h |
3386 |
- echo "#define PT_GNU_RELRO 0x6474e552" >> "${S}"/rtld-elf/rtld.h |
3387 |
- echo "#define DF_1_NODEFLIB 0x00000800" >> "${S}"/rtld-elf/rtld.h |
3388 |
- # taken from sys/sys/fcntl.h |
3389 |
- echo "#define F_DUPFD_CLOEXEC 17" >> "${S}"/rtld-elf/rtld.h |
3390 |
- # taken from sys/sys/cdefs.h |
3391 |
- echo '#define __compiler_membar() __asm __volatile(" " : : : "memory")' >> "${S}"/rtld-elf/rtld.h |
3392 |
- fi |
3393 |
-} |
3394 |
- |
3395 |
-setup_multilib_vars() { |
3396 |
- if ! multilib_is_native_abi ; then |
3397 |
- cd "${WORKDIR}/libexec/rtld-elf" || die |
3398 |
- export mymakeopts="${mymakeopts} PROG=ld-elf32.so.1" |
3399 |
- else |
3400 |
- cd "${S}" |
3401 |
- fi |
3402 |
- "$@" |
3403 |
-} |
3404 |
- |
3405 |
-src_compile() { |
3406 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
3407 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile |
3408 |
-} |
3409 |
- |
3410 |
-src_install() { |
3411 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
3412 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install |
3413 |
- |
3414 |
- insinto /etc |
3415 |
- doins "${WORKDIR}/etc/gettytab" |
3416 |
- newinitd "${FILESDIR}/bootpd.initd" bootpd |
3417 |
- newconfd "${FILESDIR}/bootpd.confd" bootpd |
3418 |
- |
3419 |
- if use xinetd; then |
3420 |
- for rpcd in rstatd rusersd walld rquotad sprayd; do |
3421 |
- insinto /etc/xinetd.d |
3422 |
- newins "${FILESDIR}/${rpcd}.xinetd" ${rpcd} |
3423 |
- done |
3424 |
- fi |
3425 |
-} |
3426 |
|
3427 |
diff --git a/sys-freebsd/freebsd-mk-defs/Manifest b/sys-freebsd/freebsd-mk-defs/Manifest |
3428 |
deleted file mode 100644 |
3429 |
index dd4368c..0000000 |
3430 |
--- a/sys-freebsd/freebsd-mk-defs/Manifest |
3431 |
+++ /dev/null |
3432 |
@@ -1,11 +0,0 @@ |
3433 |
-AUX freebsd-mk-defs-10.0-gentoo.patch 12183 SHA256 7e859440386e4b7047507a279fa6e5b0737918f65a04f8c75cc8470a20511d39 SHA512 3d257b59873281afbaeaead56abe944cb82cd42fe3b403795009efe452ae9e85f50da845f261e576b39c5110f422dc8929b30451905f7a797541a83983c8a39b WHIRLPOOL 67adf7e146743b0c372197df595ccdfa0725879213dab05656ce033a5189e3d71a7f64462baf4ff4761de572ca61473cadeacf63c76e67aa80543d0916b94a93 |
3434 |
-AUX freebsd-mk-defs-10.0-gnu.patch 2290 SHA256 c393eacd7abc98e74d9c6d222a1edb9fd8fb3ef300dd88ae1805962d40bbfb9d SHA512 06bee5f219f7650041a48558ba3447125179ba501a8e5cf767533cd8fb972ef73eb68bbe8099b429326a5ca9ece4afa54d97fabf915b21d46d0574aeaa1e1e18 WHIRLPOOL f594d656a27a4ffe2b3613d74b7997bd91f01e3a254932217654720fe35bb1dcebb425685837c939a1fdd1d0f36d074d011ca99811c36e59654307421dd2b152 |
3435 |
-AUX freebsd-mk-defs-9.0-gentoo.patch 11525 SHA256 da5204dc5f421d918fab06c6a5796282dff28e8b48d728905eaba343dd1d9232 SHA512 c5ff71797f771c334560364270d9e01fa35c1368e713057c559d86b05992d2ca3a19bc65beec240cae2f5ca07391e32c127211a3b577bc9e573104843c34942e WHIRLPOOL a22613d188c27d28de8ebbea9440d4a6333a4c19fa1bcdf6061cc468e150556f5cbe472dc3f6c3f29947827817ba6dd5af933a8a117793293118bcc9bb0f5362 |
3436 |
-AUX freebsd-mk-defs-9.0-gnu.patch 2353 SHA256 49c84f315d006d443c4cef4123cd02aee72fef93d967c164977d83af8e6f5b6e SHA512 536745ae047ce1dd5ffacf46401e16218e7245efaef0d69b2a38dd907eddcef2089798dbe653d614aa34d71472a890e467a5c8fad79c1762d24a5a87a01d8cc8 WHIRLPOOL a617d4f956cbb6accc7f56dc28e341e233e1d3e24ed7526be5f89d59b555a0ebe18d9a74cc82ba1c65b1ec32cf8cee4675103ee49771dbd7754d6ea9dfdb6e7e |
3437 |
-AUX freebsd-mk-defs-9.1-gentoo.patch 11769 SHA256 d9f0585ecdbaec0483d9443543974f6a2157af2fcbe4554e8b61b6255ce6c818 SHA512 2ac2f700b168905df79b8a4c43fb7893ba752fa95b9d55bf0924602903ea5fdd6e4510b89a212dac70dd208ce24928eb202891f932a69507695d49ba59c4c6fe WHIRLPOOL 65946289e0e62ca575e3ce1acd22955e41143eefe0412f5dc6f6d358d95d08c2325d4870475d664a9565cc5492a0debe73d4f24a8ca34dce03ea20b46306f924 |
3438 |
-AUX freebsd-mk-defs-9.1-gnu.patch 2273 SHA256 6b8ebbfd2ff724099d593a00dc226ca7f2e12020a9afcf0602b3098b95a2bb18 SHA512 b1537d3c9dcac78de5ddc026b1281887f755990a4a164e9f05cee53acfc1d7f2674ab1dfb4345b3862bdf971d9403e677e0900fb64a4e7b200c38b8d06c64fbd WHIRLPOOL 91b7e4a43f5f83fdd3c9bbaa9a2a82ab28373cca6050e7f558baa67fcc39983be84d43e64b17949c4ed3066c0b2e27d409b4cf18c930e4de793a4f41a54a10e6 |
3439 |
-AUX freebsd-mk-defs-9.2-gentoo.patch 12160 SHA256 a1f6fbf7815130790726022ea5c4b41ac6b01925c8f9641c4c3ceee9f9d7013f SHA512 7c7cd5d8baecda1188441bcca90ee2852e7c6d2434f4da5e72f08cca13102cac22c777a03d51dacc3a9b2f4cabd722d0f53878f88aff108aaab4719b878ff81a WHIRLPOOL 2163f6fca01490244cb813cd11373434bcec6cb825284e2c7deed98b0c4baea45eb0cf71da629908322dff2f2a093d8e61b9a96f4b724ec8d8e4998b2e7512cd |
3440 |
-AUX freebsd-mk-defs-9.2-gnu.patch 2242 SHA256 95305f335a360549703c73056898e778640c30a60c9f6b104709e7fc0cf75926 SHA512 a5b5c341972bee204d2a5b1f59cefda03aa48fdb7c7c713ceb9d4477e266aecfd137c2101988c48c73c527652ff0828e0a60b8c474904b146238c640c25d7416 WHIRLPOOL 7f7a45ad858a0b1c0cb099cedef05772fb90a752567ec778ec6f379f04e2cc86a8d4756c5c70d18685d42346fe43088622977eced076cf2c5bdbfb90fbb53362 |
3441 |
-AUX freebsd-mk-defs-9.3-gentoo.patch 12275 SHA256 e77676e5604a77d10cb3f245de9e5d12acd37064f9d1220a7bc9b562de8068a6 SHA512 db184d82508f386c7176f68431009c89d97fe1d11a5fcb29579341162b85f1e14d4b8fcbe9b4e2c6bd4b097b4b8c68fb8282b27d56f053cf94eaf43e28b31301 WHIRLPOOL fc1bb6d56b93490a00b9c05273920d8051a3c89ec329efecc2483c8cc60d7fddc907b24bcd82a829e159e3f83a1ff85fc8cf2b7cd1e014f68f1fcf98809cbae0 |
3442 |
-AUX freebsd-mk-defs-add-nossp-cflags.patch 1017 SHA256 fa9f47aa7bee35feee0462b6c91995f648143384c547326bcec3b58f69d3db5b SHA512 012897f4f4b4c3f71d1288ab57adeed56d7f399e508cfa4f593a1f787443e3e4752f7002c86f5da65952ac57eb908d0cce751d7b029048b1c70a9b3c79bea913 WHIRLPOOL 98c8fd10f85e9b2e780ef639de932caaa68ae4da50d7417601ae3366d119445364d15307016561b11fa91e4849a0ba45599a85b988702688e15ebd44457883c1 |
3443 |
-EBUILD freebsd-mk-defs-10.1.0.9999.ebuild 822 SHA256 d07246a139936e75d6c3d582acbdf69d3f529ec8ce038ff5f07a395e6b9c3334 SHA512 a339f41281ee5896e24b736e75c628d438dcd09dc162caa547c58846a8cbf4fad9b18514fa5683d2db3ac68159ae8018945c0753ee966fbd6334fcdd22d66c7c WHIRLPOOL aa5e407e4169e9b3c67d538a4787a16163cbf5032fb06d2e60e766166f431710fc9c0e03028e5b9b749f0e3bf98899059a627d5ab779b5c1f3a9c2312afa03a1 |
3444 |
|
3445 |
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.0-gentoo.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.0-gentoo.patch |
3446 |
deleted file mode 100644 |
3447 |
index 2b99754..0000000 |
3448 |
--- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.0-gentoo.patch |
3449 |
+++ /dev/null |
3450 |
@@ -1,352 +0,0 @@ |
3451 |
-tested revision 255489 |
3452 |
- |
3453 |
-diff --git a/share/mk/bsd.compiler.mk b/share/mk/bsd.compiler.mk |
3454 |
-index 2d648de..e456a4b 100644 |
3455 |
---- a/share/mk/bsd.compiler.mk |
3456 |
-+++ b/share/mk/bsd.compiler.mk |
3457 |
-@@ -1,7 +1,7 @@ |
3458 |
- # $FreeBSD$ |
3459 |
- |
3460 |
- .if !defined(COMPILER_TYPE) |
3461 |
--. if ${CC:T:Mgcc*} |
3462 |
-+. if ${CC:T:M*gcc*} |
3463 |
- COMPILER_TYPE:= gcc |
3464 |
- . elif ${CC:T:Mclang} |
3465 |
- COMPILER_TYPE:= clang |
3466 |
-diff --git a/share/mk/bsd.doc.mk b/share/mk/bsd.doc.mk |
3467 |
-index 49b2d9b..c2a8c5c 100644 |
3468 |
---- a/share/mk/bsd.doc.mk |
3469 |
-+++ b/share/mk/bsd.doc.mk |
3470 |
-@@ -135,10 +135,12 @@ CLEANFILES+= ${DOC}.ascii ${DOC}.ascii${DCOMPRESS_EXT} \ |
3471 |
- realinstall: |
3472 |
- .for _dev in ${PRINTERDEVICE:Mhtml} |
3473 |
- cd ${SRCDIR}; \ |
3474 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR}/${VOLUME}; \ |
3475 |
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
3476 |
- ${DOC}*.html ${DESTDIR}${BINDIR}/${VOLUME} |
3477 |
- .endfor |
3478 |
- .for _dev in ${PRINTERDEVICE:Nhtml} |
3479 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR}/${VOLUME}; \ |
3480 |
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
3481 |
- ${DFILE.${_dev}} ${DESTDIR}${BINDIR}/${VOLUME} |
3482 |
- .endfor |
3483 |
-diff --git a/share/mk/bsd.files.mk b/share/mk/bsd.files.mk |
3484 |
-index 240f958..67f0cf9 100644 |
3485 |
---- a/share/mk/bsd.files.mk |
3486 |
-+++ b/share/mk/bsd.files.mk |
3487 |
-@@ -39,6 +39,7 @@ ${group}NAME_${file:T}?= ${file:T} |
3488 |
- .endif |
3489 |
- installfiles: _${group}INS_${file:T} |
3490 |
- _${group}INS_${file:T}: ${file} |
3491 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR_${.ALLSRC:T}} |
3492 |
- ${INSTALL} -o ${${group}OWN_${.ALLSRC:T}} \ |
3493 |
- -g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ |
3494 |
- ${.ALLSRC} \ |
3495 |
-@@ -51,10 +52,12 @@ _${group}FILES+= ${file} |
3496 |
- installfiles: _${group}INS |
3497 |
- _${group}INS: ${_${group}FILES} |
3498 |
- .if defined(${group}NAME) |
3499 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR}/${${group}NAME} |
3500 |
- ${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \ |
3501 |
- -m ${${group}MODE} ${.ALLSRC} \ |
3502 |
- ${DESTDIR}${${group}DIR}/${${group}NAME} |
3503 |
- .else |
3504 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR} |
3505 |
- ${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \ |
3506 |
- -m ${${group}MODE} ${.ALLSRC} ${DESTDIR}${${group}DIR} |
3507 |
- .endif |
3508 |
-diff --git a/share/mk/bsd.incs.mk b/share/mk/bsd.incs.mk |
3509 |
-index 74c378b..7d2c7a0 100644 |
3510 |
---- a/share/mk/bsd.incs.mk |
3511 |
-+++ b/share/mk/bsd.incs.mk |
3512 |
-@@ -41,6 +41,9 @@ ${group}NAME_${header:T}?= ${header:T} |
3513 |
- .endif |
3514 |
- installincludes: _${group}INS_${header:T} |
3515 |
- _${group}INS_${header:T}: ${header} |
3516 |
-+ ${INSTALL} -d -o ${${group}OWN_${.ALLSRC:T}} \ |
3517 |
-+ -g ${${group}GRP_${.ALLSRC:T}} \ |
3518 |
-+ ${DESTDIR}${${group}DIR_${.ALLSRC:T}} |
3519 |
- ${INSTALL} -C -o ${${group}OWN_${.ALLSRC:T}} \ |
3520 |
- -g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ |
3521 |
- ${.ALLSRC} \ |
3522 |
-@@ -53,9 +56,13 @@ _${group}INCS+= ${header} |
3523 |
- installincludes: _${group}INS |
3524 |
- _${group}INS: ${_${group}INCS} |
3525 |
- .if defined(${group}NAME) |
3526 |
-+ ${INSTALL} -d -o ${${group}OWN} -g ${${group}GRP} \ |
3527 |
-+ ${DESTDIR}${${group}DIR} |
3528 |
- ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ |
3529 |
- ${.ALLSRC} ${DESTDIR}${${group}DIR}/${${group}NAME} |
3530 |
- .else |
3531 |
-+ ${INSTALL} -d -o ${${group}OWN} -g ${${group}GRP} \ |
3532 |
-+ ${DESTDIR}${${group}DIR} |
3533 |
- ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ |
3534 |
- ${.ALLSRC} ${DESTDIR}${${group}DIR} |
3535 |
- .endif |
3536 |
-diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk |
3537 |
-index c54b435..d283240 100644 |
3538 |
---- a/share/mk/bsd.info.mk |
3539 |
-+++ b/share/mk/bsd.info.mk |
3540 |
-@@ -83,6 +83,7 @@ INFO2HTML?= info2html |
3541 |
- TEX?= tex |
3542 |
- DVIPS?= dvips |
3543 |
- DVIPS2ASCII?= dvips2ascii |
3544 |
-+INSTALL?= install |
3545 |
- |
3546 |
- .SUFFIXES: ${ICOMPRESS_EXT} .info .texi .texinfo .dvi .ps .latin1 .html |
3547 |
- |
3548 |
-@@ -144,15 +145,17 @@ ${x:S/$/${ICOMPRESS_EXT}/}: ${x} |
3549 |
- INSTALLINFODIRS+= ${x:S/$/-install/} |
3550 |
- ${x:S/$/-install/}: |
3551 |
- .if !empty(.MAKEFLAGS:M-j) |
3552 |
-+ ${INSTALL} -d ${DESTDIR}${INFODIR} |
3553 |
- lockf -k ${DESTDIR}${INFODIR}/${INFODIRFILE} \ |
3554 |
- ${INSTALLINFO} ${INSTALLINFOFLAGS} \ |
3555 |
-- --defsection=${INFOSECTION} \ |
3556 |
-- --defentry=${INFOENTRY_${x}} \ |
3557 |
-+ --section=${INFOSECTION} \ |
3558 |
-+ --entry=${INFOENTRY_${x}} \ |
3559 |
- ${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE} |
3560 |
- .else |
3561 |
-+ ${INSTALL} -d ${DESTDIR}${INFODIR} |
3562 |
- ${INSTALLINFO} ${INSTALLINFOFLAGS} \ |
3563 |
-- --defsection=${INFOSECTION} \ |
3564 |
-- --defentry=${INFOENTRY_${x}} \ |
3565 |
-+ --section=${INFOSECTION} \ |
3566 |
-+ --entry=${INFOENTRY_${x}} \ |
3567 |
- ${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE} |
3568 |
- .endif |
3569 |
- .endfor |
3570 |
-diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk |
3571 |
-index bb3db64..dbb9bf4 100644 |
3572 |
---- a/share/mk/bsd.lib.mk |
3573 |
-+++ b/share/mk/bsd.lib.mk |
3574 |
-@@ -39,8 +39,6 @@ CFLAGS+= ${DEBUG_FLAGS} |
3575 |
- .if ${MK_CTF} != "no" && ${DEBUG_FLAGS:M-g} != "" |
3576 |
- CTFFLAGS+= -g |
3577 |
- .endif |
3578 |
--.else |
3579 |
--STRIP?= -s |
3580 |
- .endif |
3581 |
- |
3582 |
- .if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \ |
3583 |
-@@ -302,14 +300,17 @@ realinstall: _libinstall |
3584 |
- .ORDER: beforeinstall _libinstall |
3585 |
- _libinstall: |
3586 |
- .if defined(LIB) && !empty(LIB) && ${MK_INSTALLLIB} != "no" |
3587 |
-+ ${INSTALL} -d ${DESTDIR}${_LIBDIR} |
3588 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
3589 |
- ${_INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${_LIBDIR} |
3590 |
- .endif |
3591 |
- .if ${MK_PROFILE} != "no" && defined(LIB) && !empty(LIB) |
3592 |
-+ ${INSTALL} -d ${DESTDIR}${_LIBDIR} |
3593 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
3594 |
- ${_INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${_LIBDIR} |
3595 |
- .endif |
3596 |
- .if defined(SHLIB_NAME) |
3597 |
-+ ${INSTALL} -d ${DESTDIR}${_SHLIBDIR} |
3598 |
- ${INSTALL} ${STRIP} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
3599 |
- ${_INSTALLFLAGS} ${_SHLINSTALLFLAGS} \ |
3600 |
- ${SHLIB_NAME} ${DESTDIR}${_SHLIBDIR} |
3601 |
-@@ -363,10 +364,12 @@ _libinstall: |
3602 |
- .endif # SHLIB_LINK |
3603 |
- .endif # SHIB_NAME |
3604 |
- .if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && ${MK_TOOLCHAIN} != "no" |
3605 |
-+ ${INSTALL} -d ${DESTDIR}${_LIBDIR} |
3606 |
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
3607 |
- ${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${_LIBDIR} |
3608 |
- .endif |
3609 |
- .if defined(WANT_LINT) && !defined(NO_LINT) && defined(LIB) && !empty(LIB) |
3610 |
-+ ${INSTALL} -d ${DESTDIR}${LINTLIBDIR} |
3611 |
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
3612 |
- ${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR} |
3613 |
- .endif |
3614 |
-diff --git a/share/mk/bsd.libnames.mk b/share/mk/bsd.libnames.mk |
3615 |
-index 00d38ff..86792f4 100644 |
3616 |
---- a/share/mk/bsd.libnames.mk |
3617 |
-+++ b/share/mk/bsd.libnames.mk |
3618 |
-@@ -53,7 +53,7 @@ LIBEDIT?= ${DESTDIR}${LIBDIR}/libedit.a |
3619 |
- LIBELF?= ${DESTDIR}${LIBDIR}/libelf.a |
3620 |
- LIBEXECINFO?= ${DESTDIR}${LIBDIR}/libexecinfo.a |
3621 |
- LIBFETCH?= ${DESTDIR}${LIBDIR}/libfetch.a |
3622 |
--LIBFL?= "don't use LIBFL, use LIBL" |
3623 |
-+LIBFL?= ${DESTDIR}${LIBDIR}/libfl.a |
3624 |
- LIBFORM?= ${DESTDIR}${LIBDIR}/libform.a |
3625 |
- LIBG2C?= ${DESTDIR}${LIBDIR}/libg2c.a |
3626 |
- LIBGCC?= ${DESTDIR}${LIBDIR}/libgcc.a |
3627 |
-@@ -88,7 +88,7 @@ LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a |
3628 |
- LIBKICONV?= ${DESTDIR}${LIBDIR}/libkiconv.a |
3629 |
- LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a |
3630 |
- LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a |
3631 |
--LIBL?= ${DESTDIR}${LIBDIR}/libl.a |
3632 |
-+LIBL?= ${DESTDIR}${LIBDIR}/libfl.a |
3633 |
- .if ${MK_LDNS} != "no" |
3634 |
- LIBLDNS?= ${DESTDIR}${LIBPRIVATEDIR}/libldns.a |
3635 |
- .endif |
3636 |
-diff --git a/share/mk/bsd.links.mk b/share/mk/bsd.links.mk |
3637 |
-index 1e4d57e..fcb81fe 100644 |
3638 |
---- a/share/mk/bsd.links.mk |
3639 |
-+++ b/share/mk/bsd.links.mk |
3640 |
-@@ -15,6 +15,8 @@ _installlinks: |
3641 |
- t=${DESTDIR}$$1; \ |
3642 |
- shift; \ |
3643 |
- ${ECHO} $$t -\> $$l; \ |
3644 |
-+ d=`dirname $$t`; \ |
3645 |
-+ test -d $$d || mkdir $$d; \ |
3646 |
- ${INSTALL_LINK} $$l $$t; \ |
3647 |
- done; true |
3648 |
- .endif |
3649 |
-@@ -26,6 +28,8 @@ _installlinks: |
3650 |
- t=${DESTDIR}$$1; \ |
3651 |
- shift; \ |
3652 |
- ${ECHO} $$t -\> $$l; \ |
3653 |
-+ d=`dirname $$t`; \ |
3654 |
-+ test -d $$d || mkdir $$d; \ |
3655 |
- ${INSTALL_SYMLINK} $$l $$t; \ |
3656 |
- done; true |
3657 |
- .endif |
3658 |
-diff --git a/share/mk/bsd.man.mk b/share/mk/bsd.man.mk |
3659 |
-index 6445ba3..fabffa2 100644 |
3660 |
---- a/share/mk/bsd.man.mk |
3661 |
-+++ b/share/mk/bsd.man.mk |
3662 |
-@@ -165,9 +165,11 @@ _maninstall: ${MAN} |
3663 |
- .if defined(NO_MANCOMPRESS) |
3664 |
- .if defined(MANFILTER) |
3665 |
- .for __page in ${MAN} |
3666 |
-+ ${INSTALL} -d ${DESTDIR}${MANDIR}${page:E}${MANSUBDIR}/${page} |
3667 |
- ${MINSTALL} ${__page:T:S/$/${FILTEXTENSION}/g} \ |
3668 |
- ${DESTDIR}${MANDIR}${__page:E}${MANSUBDIR}/${__page} |
3669 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
3670 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page} |
3671 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}${FILTEXTENSION}/g} \ |
3672 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page} |
3673 |
- .endif |
3674 |
-@@ -181,11 +183,14 @@ _maninstall: ${MAN} |
3675 |
- esac; \ |
3676 |
- page=$$1; shift; sect=$$1; shift; \ |
3677 |
- d=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}; \ |
3678 |
-+ ${ECHO} ${INSTALL} -d $${d}; \ |
3679 |
-+ ${INSTALL} -d $${d}; \ |
3680 |
- ${ECHO} ${MINSTALL} $${page} $${d}; \ |
3681 |
- ${MINSTALL} $${page} $${d}; \ |
3682 |
- done |
3683 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
3684 |
- .for __page in ${MAN} |
3685 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page:T} |
3686 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}/} \ |
3687 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page:T} |
3688 |
- .endfor |
3689 |
-@@ -193,9 +198,11 @@ _maninstall: ${MAN} |
3690 |
- .endif |
3691 |
- .else |
3692 |
- .for __page in ${MAN} |
3693 |
-+ ${INSTALL} -d ${DESTDIR}${MANDIR}${page:E}${MANSUBDIR} |
3694 |
- ${MINSTALL} ${__page:T:S/$/${MCOMPRESS_EXT}/g} \ |
3695 |
- ${DESTDIR}${MANDIR}${__page:E}${MANSUBDIR} |
3696 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
3697 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page:T:S/$/${MCOMPRESS_EXT} |
3698 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}${MCOMPRESS_EXT}/g} \ |
3699 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page:T:S/$/${MCOMPRESS_EXT}/} |
3700 |
- .endif |
3701 |
-diff --git a/share/mk/bsd.nls.mk b/share/mk/bsd.nls.mk |
3702 |
-index 48093eb..69f56bc 100644 |
3703 |
---- a/share/mk/bsd.nls.mk |
3704 |
-+++ b/share/mk/bsd.nls.mk |
3705 |
-@@ -62,7 +62,8 @@ NLSDIR?= ${SHAREDIR}/nls |
3706 |
- # installation rules |
3707 |
- # |
3708 |
- .for file in ${NLS} |
3709 |
--NLSNAME_${file:T}= ${file:T:R}/${NLSNAME}.cat |
3710 |
-+NLSDIR_${file:T}= ${SHAREDIR}/nls/${file:T:R}/ |
3711 |
-+NLSNAME_${file:T}= ${NLSNAME}.cat |
3712 |
- .if defined(NLSLINKS_${file:R}) && !empty(NLSLINKS_${file:R}) |
3713 |
- NLSLINKS+= ${file:R} |
3714 |
- .endif |
3715 |
-diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk |
3716 |
-index 8f7f0b9..189ccec 100644 |
3717 |
---- a/share/mk/bsd.own.mk |
3718 |
-+++ b/share/mk/bsd.own.mk |
3719 |
-@@ -202,9 +202,6 @@ INSTALL_LINK?= ${INSTALL} ${HRDLINK} |
3720 |
- INSTALL_SYMLINK?= ${INSTALL} ${SYMLINK} |
3721 |
- |
3722 |
- # Common variables |
3723 |
--.if !defined(DEBUG_FLAGS) |
3724 |
--STRIP?= -s |
3725 |
--.endif |
3726 |
- |
3727 |
- COMPRESS_CMD?= gzip -cn |
3728 |
- COMPRESS_EXT?= .gz |
3729 |
-diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk |
3730 |
-index 22ddfb5..f6a4939 100644 |
3731 |
---- a/share/mk/bsd.prog.mk |
3732 |
-+++ b/share/mk/bsd.prog.mk |
3733 |
-@@ -44,10 +44,6 @@ CTFFLAGS+= -g |
3734 |
- .endif |
3735 |
- .endif |
3736 |
- |
3737 |
--.if !defined(DEBUG_FLAGS) |
3738 |
--STRIP?= -s |
3739 |
--.endif |
3740 |
-- |
3741 |
- .if defined(NO_SHARED) && (${NO_SHARED} != "no" && ${NO_SHARED} != "NO") |
3742 |
- LDFLAGS+= -static |
3743 |
- .endif |
3744 |
-@@ -201,6 +197,7 @@ realinstall: _proginstall |
3745 |
- .ORDER: beforeinstall _proginstall |
3746 |
- _proginstall: |
3747 |
- .if defined(PROG) |
3748 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR} |
3749 |
- ${INSTALL} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
3750 |
- ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR}/${PROGNAME} |
3751 |
- .if ${MK_DEBUG_FILES} != "no" |
3752 |
-@@ -234,6 +231,7 @@ SCRIPTSGRP_${script:T}?= ${SCRIPTSGRP} |
3753 |
- SCRIPTSMODE_${script:T}?= ${SCRIPTSMODE} |
3754 |
- _scriptsinstall: _SCRIPTSINS_${script:T} |
3755 |
- _SCRIPTSINS_${script:T}: ${script} |
3756 |
-+ ${INSTALL} -d ${DESTDIR}${SCRIPTSDIR_${.ALLSRC:T}} |
3757 |
- ${INSTALL} -o ${SCRIPTSOWN_${.ALLSRC:T}} \ |
3758 |
- -g ${SCRIPTSGRP_${.ALLSRC:T}} -m ${SCRIPTSMODE_${.ALLSRC:T}} \ |
3759 |
- ${.ALLSRC} \ |
3760 |
-diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk |
3761 |
-index 72dfa61..4f21af4 100644 |
3762 |
---- a/share/mk/bsd.sys.mk |
3763 |
-+++ b/share/mk/bsd.sys.mk |
3764 |
-@@ -30,10 +30,6 @@ CFLAGS+= -std=${CSTD} |
3765 |
- .if defined(WARNS) |
3766 |
- .if ${WARNS} >= 1 |
3767 |
- CWARNFLAGS+= -Wsystem-headers |
3768 |
--.if !defined(NO_WERROR) && (${COMPILER_TYPE} != "clang" \ |
3769 |
-- || !defined(NO_WERROR.clang)) |
3770 |
--CWARNFLAGS+= -Werror |
3771 |
--.endif # !NO_WERROR && (!CLANG || !NO_WERROR.clang) |
3772 |
- .endif # WARNS >= 1 |
3773 |
- .if ${WARNS} >= 2 |
3774 |
- CWARNFLAGS+= -Wall -Wno-format-y2k |
3775 |
-@@ -99,10 +95,6 @@ CWARNFLAGS+= -Wformat=2 -Wno-format-extra-args |
3776 |
- CWARNFLAGS+= -Wno-format-nonliteral |
3777 |
- .endif # WARNS <= 3 |
3778 |
- .endif # CLANG |
3779 |
--.if !defined(NO_WERROR) && (${COMPILER_TYPE} != "clang" \ |
3780 |
-- || !defined(NO_WERROR.clang)) |
3781 |
--CWARNFLAGS+= -Werror |
3782 |
--.endif # !NO_WERROR && (!CLANG || !NO_WERROR.clang) |
3783 |
- .endif # WFORMAT > 0 |
3784 |
- .endif # WFORMAT |
3785 |
- .if defined(NO_WFORMAT) || (${COMPILER_TYPE} == "clang" && defined(NO_WFORMAT.clang)) |
3786 |
-diff --git a/share/mk/sys.mk b/share/mk/sys.mk |
3787 |
-index eb9f2ca..09ad4cf 100644 |
3788 |
---- a/share/mk/sys.mk |
3789 |
-+++ b/share/mk/sys.mk |
3790 |
-@@ -321,12 +321,6 @@ YFLAGS ?= -d |
3791 |
- rm -f ${.PREFIX}.tmp.c |
3792 |
- ${CTFCONVERT_CMD} |
3793 |
- |
3794 |
--# FreeBSD build pollution. Hide it in the non-POSIX part of the ifdef. |
3795 |
--__MAKE_CONF?=/etc/make.conf |
3796 |
--.if exists(${__MAKE_CONF}) |
3797 |
--.include "${__MAKE_CONF}" |
3798 |
--.endif |
3799 |
-- |
3800 |
- .if defined(__MAKE_SHELL) && !empty(__MAKE_SHELL) |
3801 |
- SHELL= ${__MAKE_SHELL} |
3802 |
- .SHELL: path=${__MAKE_SHELL} |
3803 |
|
3804 |
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.0-gnu.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.0-gnu.patch |
3805 |
deleted file mode 100644 |
3806 |
index acce807..0000000 |
3807 |
--- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-10.0-gnu.patch |
3808 |
+++ /dev/null |
3809 |
@@ -1,79 +0,0 @@ |
3810 |
-diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk |
3811 |
-index 0a33fdb..cd7ca2f 100644 |
3812 |
---- a/share/mk/bsd.lib.mk |
3813 |
-+++ b/share/mk/bsd.lib.mk |
3814 |
-@@ -165,11 +165,7 @@ _LIBS= lib${LIB}.a |
3815 |
- lib${LIB}.a: ${OBJS} ${STATICOBJS} |
3816 |
- @${ECHO} building static ${LIB} library |
3817 |
- @rm -f ${.TARGET} |
3818 |
--.if !defined(NM) |
3819 |
-- @${AR} ${ARFLAGS} ${.TARGET} `lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} |
3820 |
--.else |
3821 |
-- @${AR} ${ARFLAGS} ${.TARGET} `NM='${NM}' lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} |
3822 |
--.endif |
3823 |
-+ @${AR} ${ARFLAGS} ${.TARGET} ${OBJS} ${STATICOBJS} ${ARADD} |
3824 |
- ${RANLIB} ${.TARGET} |
3825 |
- .endif |
3826 |
- |
3827 |
-@@ -182,11 +178,7 @@ POBJS+= ${OBJS:.o=.po} ${STATICOBJS:.o=.po} |
3828 |
- lib${LIB}_p.a: ${POBJS} |
3829 |
- @${ECHO} building profiled ${LIB} library |
3830 |
- @rm -f ${.TARGET} |
3831 |
--.if !defined(NM) |
3832 |
-- @${AR} ${ARFLAGS} ${.TARGET} `lorder ${POBJS} | tsort -q` ${ARADD} |
3833 |
--.else |
3834 |
-- @${AR} ${ARFLAGS} ${.TARGET} `NM='${NM}' lorder ${POBJS} | tsort -q` ${ARADD} |
3835 |
--.endif |
3836 |
-+ @${AR} ${ARFLAGS} ${.TARGET} ${POBJS} ${ARADD} |
3837 |
- ${RANLIB} ${.TARGET} |
3838 |
- .endif |
3839 |
- |
3840 |
-@@ -213,15 +205,9 @@ ${SHLIB_NAME_FULL}: ${SOBJS} |
3841 |
- .if defined(SHLIB_LINK) |
3842 |
- @${INSTALL_SYMLINK} ${SHLIB_NAME} ${SHLIB_LINK} |
3843 |
- .endif |
3844 |
--.if !defined(NM) |
3845 |
- @${CC} ${LDFLAGS} ${SSP_CFLAGS} ${SOLINKOPTS} \ |
3846 |
- -o ${.TARGET} -Wl,-soname,${SONAME} \ |
3847 |
-- `lorder ${SOBJS} | tsort -q` ${LDADD} |
3848 |
--.else |
3849 |
-- @${CC} ${LDFLAGS} ${SSP_CFLAGS} ${SOLINKOPTS} \ |
3850 |
-- -o ${.TARGET} -Wl,-soname,${SONAME} \ |
3851 |
-- `NM='${NM}' lorder ${SOBJS} | tsort -q` ${LDADD} |
3852 |
--.endif |
3853 |
-+ `echo ${SOBJS} | xargs -n 1 echo | sort -u` ${LDADD} |
3854 |
- .if ${MK_CTF} != "no" |
3855 |
- ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS} |
3856 |
- .endif |
3857 |
-@@ -279,13 +265,6 @@ _EXTRADEPEND: |
3858 |
- |
3859 |
- .if !target(install) |
3860 |
- |
3861 |
--.if defined(PRECIOUSLIB) |
3862 |
--.if !defined(NO_FSCHG) |
3863 |
--SHLINSTALLFLAGS+= -fschg |
3864 |
--.endif |
3865 |
--SHLINSTALLFLAGS+= -S |
3866 |
--.endif |
3867 |
-- |
3868 |
- _INSTALLFLAGS:= ${INSTALLFLAGS} |
3869 |
- .for ie in ${INSTALLFLAGS_EDIT} |
3870 |
- _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} |
3871 |
-diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk |
3872 |
-index 02024e0..0f9010d 100644 |
3873 |
---- a/share/mk/bsd.prog.mk |
3874 |
-+++ b/share/mk/bsd.prog.mk |
3875 |
-@@ -180,13 +180,6 @@ _EXTRADEPEND: |
3876 |
- |
3877 |
- .if !target(install) |
3878 |
- |
3879 |
--.if defined(PRECIOUSPROG) |
3880 |
--.if !defined(NO_FSCHG) |
3881 |
--INSTALLFLAGS+= -fschg |
3882 |
--.endif |
3883 |
--INSTALLFLAGS+= -S |
3884 |
--.endif |
3885 |
-- |
3886 |
- _INSTALLFLAGS:= ${INSTALLFLAGS} |
3887 |
- .for ie in ${INSTALLFLAGS_EDIT} |
3888 |
- _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} |
3889 |
|
3890 |
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.0-gentoo.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.0-gentoo.patch |
3891 |
deleted file mode 100644 |
3892 |
index f5e6568..0000000 |
3893 |
--- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.0-gentoo.patch |
3894 |
+++ /dev/null |
3895 |
@@ -1,326 +0,0 @@ |
3896 |
-diff -ur share/mk.old/bsd.doc.mk share/mk/bsd.doc.mk |
3897 |
---- share/mk.old/bsd.doc.mk 2011-10-18 14:42:26.000000000 +0000 |
3898 |
-+++ share/mk/bsd.doc.mk 2011-11-06 15:45:08.000000000 +0000 |
3899 |
-@@ -135,10 +135,12 @@ |
3900 |
- realinstall: |
3901 |
- .for _dev in ${PRINTERDEVICE:Mhtml} |
3902 |
- cd ${SRCDIR}; \ |
3903 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR}/${VOLUME}; \ |
3904 |
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
3905 |
- ${DOC}*.html ${DESTDIR}${BINDIR}/${VOLUME} |
3906 |
- .endfor |
3907 |
- .for _dev in ${PRINTERDEVICE:Nhtml} |
3908 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR}/${VOLUME}; \ |
3909 |
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
3910 |
- ${DFILE.${_dev}} ${DESTDIR}${BINDIR}/${VOLUME} |
3911 |
- .endfor |
3912 |
-diff -ur share/mk.old/bsd.files.mk share/mk/bsd.files.mk |
3913 |
---- share/mk.old/bsd.files.mk 2011-10-18 14:42:26.000000000 +0000 |
3914 |
-+++ share/mk/bsd.files.mk 2011-11-06 15:45:08.000000000 +0000 |
3915 |
-@@ -39,6 +39,7 @@ |
3916 |
- .endif |
3917 |
- installfiles: _${group}INS_${file:T} |
3918 |
- _${group}INS_${file:T}: ${file} |
3919 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR_${.ALLSRC:T}} |
3920 |
- ${INSTALL} -o ${${group}OWN_${.ALLSRC:T}} \ |
3921 |
- -g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ |
3922 |
- ${.ALLSRC} \ |
3923 |
-@@ -51,10 +52,12 @@ |
3924 |
- installfiles: _${group}INS |
3925 |
- _${group}INS: ${_${group}FILES} |
3926 |
- .if defined(${group}NAME) |
3927 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR}/${${group}NAME} |
3928 |
- ${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \ |
3929 |
- -m ${${group}MODE} ${.ALLSRC} \ |
3930 |
- ${DESTDIR}${${group}DIR}/${${group}NAME} |
3931 |
- .else |
3932 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR} |
3933 |
- ${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \ |
3934 |
- -m ${${group}MODE} ${.ALLSRC} ${DESTDIR}${${group}DIR} |
3935 |
- .endif |
3936 |
-diff -ur share/mk.old/bsd.incs.mk share/mk/bsd.incs.mk |
3937 |
---- share/mk.old/bsd.incs.mk 2011-10-18 14:42:26.000000000 +0000 |
3938 |
-+++ share/mk/bsd.incs.mk 2011-11-06 15:45:08.000000000 +0000 |
3939 |
-@@ -41,7 +41,10 @@ |
3940 |
- .endif |
3941 |
- installincludes: _${group}INS_${header:T} |
3942 |
- _${group}INS_${header:T}: ${header} |
3943 |
-+ ${INSTALL} -d -o ${${group}OWN_${.ALLSRC:T}} \ |
3944 |
-+ -g ${${group}GRP_${.ALLSRC:T}} \ |
3945 |
-+ ${DESTDIR}${${group}DIR_${.ALLSRC:T}} |
3946 |
- ${INSTALL} -C -o ${${group}OWN_${.ALLSRC:T}} \ |
3947 |
- -g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ |
3948 |
- ${.ALLSRC} \ |
3949 |
- ${DESTDIR}${${group}DIR_${.ALLSRC:T}}/${${group}NAME_${.ALLSRC:T}} |
3950 |
-@@ -53,10 +56,14 @@ |
3951 |
- installincludes: _${group}INS |
3952 |
- _${group}INS: ${_${group}INCS} |
3953 |
- .if defined(${group}NAME) |
3954 |
-+ ${INSTALL} -d -o ${${group}OWN} -g ${${group}GRP} \ |
3955 |
-+ ${DESTDIR}${${group}DIR} |
3956 |
- ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ |
3957 |
- ${.ALLSRC} ${DESTDIR}${${group}DIR}/${${group}NAME} |
3958 |
- .else |
3959 |
-+ ${INSTALL} -d -o ${${group}OWN} -g ${${group}GRP} \ |
3960 |
-+ ${DESTDIR}${${group}DIR} |
3961 |
- ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ |
3962 |
- ${.ALLSRC} ${DESTDIR}${${group}DIR} |
3963 |
- .endif |
3964 |
- .endif |
3965 |
-diff -ur share/mk.old/bsd.info.mk share/mk/bsd.info.mk |
3966 |
---- share/mk.old/bsd.info.mk 2011-10-18 14:42:26.000000000 +0000 |
3967 |
-+++ share/mk/bsd.info.mk 2011-11-06 15:45:08.000000000 +0000 |
3968 |
-@@ -83,6 +83,7 @@ |
3969 |
- TEX?= tex |
3970 |
- DVIPS?= dvips |
3971 |
- DVIPS2ASCII?= dvips2ascii |
3972 |
-+INSTALL?= install |
3973 |
- |
3974 |
- .SUFFIXES: ${ICOMPRESS_EXT} .info .texi .texinfo .dvi .ps .latin1 .html |
3975 |
- |
3976 |
-@@ -144,15 +145,17 @@ |
3977 |
- INSTALLINFODIRS+= ${x:S/$/-install/} |
3978 |
- ${x:S/$/-install/}: |
3979 |
- .if !empty(.MAKEFLAGS:M-j) |
3980 |
-+ ${INSTALL} -d ${DESTDIR}${INFODIR} |
3981 |
- lockf -k ${DESTDIR}${INFODIR}/${INFODIRFILE} \ |
3982 |
- ${INSTALLINFO} ${INSTALLINFOFLAGS} \ |
3983 |
-- --defsection=${INFOSECTION} \ |
3984 |
-- --defentry=${INFOENTRY_${x}} \ |
3985 |
-+ --section=${INFOSECTION} \ |
3986 |
-+ --entry=${INFOENTRY_${x}} \ |
3987 |
- ${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE} |
3988 |
- .else |
3989 |
-+ ${INSTALL} -d ${DESTDIR}${INFODIR} |
3990 |
- ${INSTALLINFO} ${INSTALLINFOFLAGS} \ |
3991 |
-- --defsection=${INFOSECTION} \ |
3992 |
-- --defentry=${INFOENTRY_${x}} \ |
3993 |
-+ --section=${INFOSECTION} \ |
3994 |
-+ --entry=${INFOENTRY_${x}} \ |
3995 |
- ${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE} |
3996 |
- .endif |
3997 |
- .endfor |
3998 |
-diff -ur share/mk.old/bsd.lib.mk share/mk/bsd.lib.mk |
3999 |
---- share/mk.old/bsd.lib.mk 2011-10-18 14:42:26.000000000 +0000 |
4000 |
-+++ share/mk/bsd.lib.mk 2011-11-06 15:45:08.000000000 +0000 |
4001 |
-@@ -46,10 +46,6 @@ |
4002 |
- .endif |
4003 |
- .endif |
4004 |
- |
4005 |
--.if !defined(DEBUG_FLAGS) |
4006 |
--STRIP?= -s |
4007 |
--.endif |
4008 |
-- |
4009 |
- .include <bsd.libnames.mk> |
4010 |
- |
4011 |
- # prefer .s to a .c, add .po, remove stuff not used in the BSD libraries |
4012 |
-@@ -270,14 +266,17 @@ |
4013 |
- .ORDER: beforeinstall _libinstall |
4014 |
- _libinstall: |
4015 |
- .if defined(LIB) && !empty(LIB) && ${MK_INSTALLLIB} != "no" |
4016 |
-+ ${INSTALL} -d ${DESTDIR}${LIBDIR} |
4017 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4018 |
- ${_INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${LIBDIR} |
4019 |
- .endif |
4020 |
- .if ${MK_PROFILE} != "no" && defined(LIB) && !empty(LIB) |
4021 |
-+ ${INSTALL} -d ${DESTDIR}${LIBDIR} |
4022 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4023 |
- ${_INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${LIBDIR} |
4024 |
- .endif |
4025 |
- .if defined(SHLIB_NAME) |
4026 |
-+ ${INSTALL} -d ${DESTDIR}${SHLIBDIR} |
4027 |
- ${INSTALL} ${STRIP} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4028 |
- ${_INSTALLFLAGS} ${_SHLINSTALLFLAGS} \ |
4029 |
- ${SHLIB_NAME} ${DESTDIR}${SHLIBDIR} |
4030 |
-@@ -295,10 +294,12 @@ |
4031 |
- .endif |
4032 |
- .endif |
4033 |
- .if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && ${MK_TOOLCHAIN} != "no" |
4034 |
-+ ${INSTALL} -d ${DESTDIR}${LIBDIR} |
4035 |
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4036 |
- ${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${LIBDIR} |
4037 |
- .endif |
4038 |
- .if defined(WANT_LINT) && !defined(NO_LINT) && defined(LIB) && !empty(LIB) |
4039 |
-+ ${INSTALL} -d ${DESTDIR}${LINTLIBDIR} |
4040 |
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4041 |
- ${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR} |
4042 |
- .endif |
4043 |
-diff -ur share/mk.old/bsd.libnames.mk share/mk/bsd.libnames.mk |
4044 |
---- share/mk.old/bsd.libnames.mk 2011-10-18 14:42:26.000000000 +0000 |
4045 |
-+++ share/mk/bsd.libnames.mk 2011-11-06 15:45:08.000000000 +0000 |
4046 |
-@@ -46,7 +46,7 @@ |
4047 |
- LIBEDIT?= ${DESTDIR}${LIBDIR}/libedit.a |
4048 |
- LIBELF?= ${DESTDIR}${LIBDIR}/libelf.a |
4049 |
- LIBFETCH?= ${DESTDIR}${LIBDIR}/libfetch.a |
4050 |
--LIBFL?= "don't use LIBFL, use LIBL" |
4051 |
-+LIBFL?= ${DESTDIR}${LIBDIR}/libfl.a |
4052 |
- LIBFORM?= ${DESTDIR}${LIBDIR}/libform.a |
4053 |
- LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a |
4054 |
- LIBG2C?= ${DESTDIR}${LIBDIR}/libg2c.a |
4055 |
-@@ -77,7 +77,7 @@ |
4056 |
- LIBKICONV?= ${DESTDIR}${LIBDIR}/libkiconv.a |
4057 |
- LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a |
4058 |
- LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a |
4059 |
--LIBL?= ${DESTDIR}${LIBDIR}/libl.a |
4060 |
-+LIBL?= ${DESTDIR}${LIBDIR}/libfl.a |
4061 |
- LIBLN?= "don't use LIBLN, use LIBL" |
4062 |
- .if ${MK_BIND} != "no" |
4063 |
- LIBLWRES?= ${DESTDIR}${LIBDIR}/liblwres.a |
4064 |
-diff -ur share/mk.old/bsd.links.mk share/mk/bsd.links.mk |
4065 |
---- share/mk.old/bsd.links.mk 2011-10-18 14:42:26.000000000 +0000 |
4066 |
-+++ share/mk/bsd.links.mk 2011-11-06 15:45:08.000000000 +0000 |
4067 |
-@@ -15,6 +15,8 @@ |
4068 |
- t=${DESTDIR}$$1; \ |
4069 |
- shift; \ |
4070 |
- ${ECHO} $$t -\> $$l; \ |
4071 |
-+ d=`dirname $$t`; \ |
4072 |
-+ test -d $$d || mkdir $$d; \ |
4073 |
- ln -f $$l $$t; \ |
4074 |
- done; true |
4075 |
- .endif |
4076 |
-@@ -26,6 +28,8 @@ |
4077 |
- t=${DESTDIR}$$1; \ |
4078 |
- shift; \ |
4079 |
- ${ECHO} $$t -\> $$l; \ |
4080 |
-+ d=`dirname $$t`; \ |
4081 |
-+ test -d $$d || mkdir $$d; \ |
4082 |
- ln -fs $$l $$t; \ |
4083 |
- done; true |
4084 |
- .endif |
4085 |
-diff -ur share/mk.old/bsd.man.mk share/mk/bsd.man.mk |
4086 |
---- share/mk.old/bsd.man.mk 2011-10-18 14:42:26.000000000 +0000 |
4087 |
-+++ share/mk/bsd.man.mk 2011-11-06 15:45:08.000000000 +0000 |
4088 |
-@@ -165,9 +165,11 @@ |
4089 |
- .if defined(NO_MANCOMPRESS) |
4090 |
- .if defined(MANFILTER) |
4091 |
- .for __page in ${MAN} |
4092 |
-+ ${INSTALL} -d ${DESTDIR}${MANDIR}${page:E}${MANSUBDIR}/${page} |
4093 |
- ${MINSTALL} ${__page:T:S/$/${FILTEXTENSION}/g} \ |
4094 |
- ${DESTDIR}${MANDIR}${__page:E}${MANSUBDIR}/${__page} |
4095 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
4096 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page} |
4097 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}${FILTEXTENSION}/g} \ |
4098 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page} |
4099 |
- .endif |
4100 |
-@@ -181,11 +183,14 @@ |
4101 |
- esac; \ |
4102 |
- page=$$1; shift; sect=$$1; shift; \ |
4103 |
- d=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}; \ |
4104 |
-+ ${ECHO} ${INSTALL} -d $${d}; \ |
4105 |
-+ ${INSTALL} -d $${d}; \ |
4106 |
- ${ECHO} ${MINSTALL} $${page} $${d}; \ |
4107 |
- ${MINSTALL} $${page} $${d}; \ |
4108 |
- done |
4109 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
4110 |
- .for __page in ${MAN} |
4111 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page:T} |
4112 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}/} \ |
4113 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page:T} |
4114 |
- .endfor |
4115 |
-@@ -193,9 +198,11 @@ |
4116 |
- .endif |
4117 |
- .else |
4118 |
- .for __page in ${MAN} |
4119 |
-+ ${INSTALL} -d ${DESTDIR}${MANDIR}${page:E}${MANSUBDIR} |
4120 |
- ${MINSTALL} ${__page:T:S/$/${MCOMPRESS_EXT}/g} \ |
4121 |
- ${DESTDIR}${MANDIR}${__page:E}${MANSUBDIR} |
4122 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
4123 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page:T:S/$/${MCOMPRESS_EXT} |
4124 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}${MCOMPRESS_EXT}/g} \ |
4125 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page:T:S/$/${MCOMPRESS_EXT}/} |
4126 |
- .endif |
4127 |
-diff -ur share/mk.old/bsd.nls.mk share/mk/bsd.nls.mk |
4128 |
---- share/mk.old/bsd.nls.mk 2011-10-18 14:42:26.000000000 +0000 |
4129 |
-+++ share/mk/bsd.nls.mk 2011-11-06 15:45:08.000000000 +0000 |
4130 |
-@@ -62,7 +62,8 @@ |
4131 |
- # installation rules |
4132 |
- # |
4133 |
- .for file in ${NLS} |
4134 |
--NLSNAME_${file:T}= ${file:T:R}/${NLSNAME}.cat |
4135 |
-+NLSDIR_${file:T}= ${SHAREDIR}/nls/${file:T:R}/ |
4136 |
-+NLSNAME_${file:T}= ${NLSNAME}.cat |
4137 |
- .if defined(NLSLINKS_${file:R}) && !empty(NLSLINKS_${file:R}) |
4138 |
- NLSLINKS+= ${file:R} |
4139 |
- .endif |
4140 |
-diff -ur share/mk.old/bsd.own.mk share/mk/bsd.own.mk |
4141 |
---- share/mk.old/bsd.own.mk 2011-10-18 14:42:26.000000000 +0000 |
4142 |
-+++ share/mk/bsd.own.mk 2011-11-06 15:45:08.000000000 +0000 |
4143 |
-@@ -182,9 +182,6 @@ |
4144 |
- INCLUDEDIR?= /usr/include |
4145 |
- |
4146 |
- # Common variables |
4147 |
--.if !defined(DEBUG_FLAGS) |
4148 |
--STRIP?= -s |
4149 |
--.endif |
4150 |
- |
4151 |
- COMPRESS_CMD?= gzip -cn |
4152 |
- COMPRESS_EXT?= .gz |
4153 |
-diff -ur share/mk.old/bsd.prog.mk share/mk/bsd.prog.mk |
4154 |
---- share/mk.old/bsd.prog.mk 2011-10-18 14:42:26.000000000 +0000 |
4155 |
-+++ share/mk/bsd.prog.mk 2011-11-06 15:45:08.000000000 +0000 |
4156 |
-@@ -33,10 +33,6 @@ |
4157 |
- CFLAGS+=${CRUNCH_CFLAGS} |
4158 |
- .endif |
4159 |
- |
4160 |
--.if !defined(DEBUG_FLAGS) |
4161 |
--STRIP?= -s |
4162 |
--.endif |
4163 |
-- |
4164 |
- .if defined(NO_SHARED) && (${NO_SHARED} != "no" && ${NO_SHARED} != "NO") |
4165 |
- LDFLAGS+= -static |
4166 |
- .endif |
4167 |
-@@ -155,6 +151,7 @@ |
4168 |
- .ORDER: beforeinstall _proginstall |
4169 |
- _proginstall: |
4170 |
- .if defined(PROG) |
4171 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR} |
4172 |
- .if defined(PROGNAME) |
4173 |
- ${INSTALL} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
4174 |
- ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR}/${PROGNAME} |
4175 |
-@@ -186,6 +183,7 @@ |
4176 |
- SCRIPTSMODE_${script:T}?= ${SCRIPTSMODE} |
4177 |
- _scriptsinstall: _SCRIPTSINS_${script:T} |
4178 |
- _SCRIPTSINS_${script:T}: ${script} |
4179 |
-+ ${INSTALL} -d ${DESTDIR}${SCRIPTSDIR_${.ALLSRC:T}} |
4180 |
- ${INSTALL} -o ${SCRIPTSOWN_${.ALLSRC:T}} \ |
4181 |
- -g ${SCRIPTSGRP_${.ALLSRC:T}} -m ${SCRIPTSMODE_${.ALLSRC:T}} \ |
4182 |
- ${.ALLSRC} \ |
4183 |
-diff -ur share/mk.old/bsd.sys.mk share/mk/bsd.sys.mk |
4184 |
---- share/mk.old/bsd.sys.mk 2011-10-18 14:42:26.000000000 +0000 |
4185 |
-+++ share/mk/bsd.sys.mk 2011-11-06 15:45:08.000000000 +0000 |
4186 |
-@@ -28,9 +28,6 @@ |
4187 |
- . if defined(WARNS) |
4188 |
- . if ${WARNS} >= 1 |
4189 |
- CWARNFLAGS += -Wsystem-headers |
4190 |
--. if !defined(NO_WERROR) |
4191 |
--CWARNFLAGS += -Werror |
4192 |
--. endif |
4193 |
- . endif |
4194 |
- . if ${WARNS} >= 2 |
4195 |
- CWARNFLAGS += -Wall -Wno-format-y2k |
4196 |
-@@ -66,9 +63,6 @@ |
4197 |
- . if ${WFORMAT} > 0 |
4198 |
- #CWARNFLAGS += -Wformat-nonliteral -Wformat-security -Wno-format-extra-args |
4199 |
- CWARNFLAGS += -Wformat=2 -Wno-format-extra-args |
4200 |
--. if !defined(NO_WERROR) |
4201 |
--CWARNFLAGS += -Werror |
4202 |
--. endif |
4203 |
- . endif |
4204 |
- . endif |
4205 |
- . if defined(NO_WFORMAT) |
4206 |
-diff -ur share/mk.old/sys.mk share/mk/sys.mk |
4207 |
---- share/mk.old/sys.mk 2011-10-18 14:42:26.000000000 +0000 |
4208 |
-+++ share/mk/sys.mk 2011-11-06 15:45:08.000000000 +0000 |
4209 |
-@@ -349,12 +349,6 @@ |
4210 |
- (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \ |
4211 |
- ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}) |
4212 |
- |
4213 |
--# FreeBSD build pollution. Hide it in the non-POSIX part of the ifdef. |
4214 |
--__MAKE_CONF?=/etc/make.conf |
4215 |
--.if exists(${__MAKE_CONF}) |
4216 |
--.include "${__MAKE_CONF}" |
4217 |
--.endif |
4218 |
-- |
4219 |
- .if defined(__MAKE_SHELL) && !empty(__MAKE_SHELL) |
4220 |
- SHELL= ${__MAKE_SHELL} |
4221 |
- .SHELL: path=${__MAKE_SHELL} |
4222 |
|
4223 |
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.0-gnu.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.0-gnu.patch |
4224 |
deleted file mode 100644 |
4225 |
index bd7d7e6..0000000 |
4226 |
--- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.0-gnu.patch |
4227 |
+++ /dev/null |
4228 |
@@ -1,79 +0,0 @@ |
4229 |
-Index: work/share/mk/bsd.lib.mk |
4230 |
-=================================================================== |
4231 |
---- work.orig/share/mk/bsd.lib.mk |
4232 |
-+++ work/share/mk/bsd.lib.mk |
4233 |
-@@ -146,11 +146,7 @@ _LIBS= lib${LIB}.a |
4234 |
- lib${LIB}.a: ${OBJS} ${STATICOBJS} |
4235 |
- @${ECHO} building static ${LIB} library |
4236 |
- @rm -f ${.TARGET} |
4237 |
--.if !defined(NM) |
4238 |
-- @${AR} cq ${.TARGET} `lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} |
4239 |
--.else |
4240 |
-- @${AR} cq ${.TARGET} `NM='${NM}' lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} |
4241 |
--.endif |
4242 |
-+ @${AR} cq ${.TARGET} ${OBJS} ${STATICOBJS} ${ARADD} |
4243 |
- ${RANLIB} ${.TARGET} |
4244 |
- .endif |
4245 |
- |
4246 |
-@@ -163,11 +159,7 @@ POBJS+= ${OBJS:.o=.po} ${STATICOBJS:.o= |
4247 |
- lib${LIB}_p.a: ${POBJS} |
4248 |
- @${ECHO} building profiled ${LIB} library |
4249 |
- @rm -f ${.TARGET} |
4250 |
--.if !defined(NM) |
4251 |
-- @${AR} cq ${.TARGET} `lorder ${POBJS} | tsort -q` ${ARADD} |
4252 |
--.else |
4253 |
-- @${AR} cq ${.TARGET} `NM='${NM}' lorder ${POBJS} | tsort -q` ${ARADD} |
4254 |
--.endif |
4255 |
-+ @${AR} cq ${.TARGET} ${POBJS} ${ARADD} |
4256 |
- ${RANLIB} ${.TARGET} |
4257 |
- .endif |
4258 |
- |
4259 |
-@@ -189,15 +181,9 @@ ${SHLIB_NAME}: ${SOBJS} |
4260 |
- .if defined(SHLIB_LINK) |
4261 |
- @ln -fs ${.TARGET} ${SHLIB_LINK} |
4262 |
- .endif |
4263 |
--.if !defined(NM) |
4264 |
- @${CC} ${LDFLAGS} ${SSP_CFLAGS} -shared -Wl,-x \ |
4265 |
- -o ${.TARGET} -Wl,-soname,${SONAME} \ |
4266 |
-- `lorder ${SOBJS} | tsort -q` ${LDADD} |
4267 |
--.else |
4268 |
-- @${CC} ${LDFLAGS} ${SSP_CFLAGS} -shared -Wl,-x \ |
4269 |
-- -o ${.TARGET} -Wl,-soname,${SONAME} \ |
4270 |
-- `NM='${NM}' lorder ${SOBJS} | tsort -q` ${LDADD} |
4271 |
--.endif |
4272 |
-+ `echo ${SOBJS} | xargs -n 1 echo | sort -u` ${LDADD} |
4273 |
- @[ -z "${CTFMERGE}" -o -n "${NO_CTF}" ] || \ |
4274 |
- (${ECHO} ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS} && \ |
4275 |
- ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS}) |
4276 |
-@@ -245,13 +231,6 @@ _EXTRADEPEND: |
4277 |
- |
4278 |
- .if !target(install) |
4279 |
- |
4280 |
--.if defined(PRECIOUSLIB) |
4281 |
--.if !defined(NO_FSCHG) |
4282 |
--SHLINSTALLFLAGS+= -fschg |
4283 |
--.endif |
4284 |
--SHLINSTALLFLAGS+= -S |
4285 |
--.endif |
4286 |
-- |
4287 |
- _INSTALLFLAGS:= ${INSTALLFLAGS} |
4288 |
- .for ie in ${INSTALLFLAGS_EDIT} |
4289 |
- _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} |
4290 |
-Index: work/share/mk/bsd.prog.mk |
4291 |
-=================================================================== |
4292 |
---- work.orig/share/mk/bsd.prog.mk |
4293 |
-+++ work/share/mk/bsd.prog.mk |
4294 |
-@@ -134,13 +134,6 @@ _EXTRADEPEND: |
4295 |
- |
4296 |
- .if !target(install) |
4297 |
- |
4298 |
--.if defined(PRECIOUSPROG) |
4299 |
--.if !defined(NO_FSCHG) |
4300 |
--INSTALLFLAGS+= -fschg |
4301 |
--.endif |
4302 |
--INSTALLFLAGS+= -S |
4303 |
--.endif |
4304 |
-- |
4305 |
- _INSTALLFLAGS:= ${INSTALLFLAGS} |
4306 |
- .for ie in ${INSTALLFLAGS_EDIT} |
4307 |
- _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} |
4308 |
|
4309 |
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.1-gentoo.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.1-gentoo.patch |
4310 |
deleted file mode 100644 |
4311 |
index 598d0b9..0000000 |
4312 |
--- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.1-gentoo.patch |
4313 |
+++ /dev/null |
4314 |
@@ -1,326 +0,0 @@ |
4315 |
-diff -Nur share.orig/mk/bsd.doc.mk share/mk/bsd.doc.mk |
4316 |
---- share.orig/mk/bsd.doc.mk 2012-07-12 13:25:44.000000000 +0900 |
4317 |
-+++ share/mk/bsd.doc.mk 2012-07-16 00:01:55.000000000 +0900 |
4318 |
-@@ -135,10 +135,12 @@ |
4319 |
- realinstall: |
4320 |
- .for _dev in ${PRINTERDEVICE:Mhtml} |
4321 |
- cd ${SRCDIR}; \ |
4322 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR}/${VOLUME}; \ |
4323 |
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
4324 |
- ${DOC}*.html ${DESTDIR}${BINDIR}/${VOLUME} |
4325 |
- .endfor |
4326 |
- .for _dev in ${PRINTERDEVICE:Nhtml} |
4327 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR}/${VOLUME}; \ |
4328 |
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
4329 |
- ${DFILE.${_dev}} ${DESTDIR}${BINDIR}/${VOLUME} |
4330 |
- .endfor |
4331 |
-diff -Nur share.orig/mk/bsd.files.mk share/mk/bsd.files.mk |
4332 |
---- share.orig/mk/bsd.files.mk 2012-07-12 13:25:44.000000000 +0900 |
4333 |
-+++ share/mk/bsd.files.mk 2012-07-16 00:01:55.000000000 +0900 |
4334 |
-@@ -39,6 +39,7 @@ |
4335 |
- .endif |
4336 |
- installfiles: _${group}INS_${file:T} |
4337 |
- _${group}INS_${file:T}: ${file} |
4338 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR_${.ALLSRC:T}} |
4339 |
- ${INSTALL} -o ${${group}OWN_${.ALLSRC:T}} \ |
4340 |
- -g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ |
4341 |
- ${.ALLSRC} \ |
4342 |
-@@ -51,10 +52,12 @@ |
4343 |
- installfiles: _${group}INS |
4344 |
- _${group}INS: ${_${group}FILES} |
4345 |
- .if defined(${group}NAME) |
4346 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR}/${${group}NAME} |
4347 |
- ${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \ |
4348 |
- -m ${${group}MODE} ${.ALLSRC} \ |
4349 |
- ${DESTDIR}${${group}DIR}/${${group}NAME} |
4350 |
- .else |
4351 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR} |
4352 |
- ${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \ |
4353 |
- -m ${${group}MODE} ${.ALLSRC} ${DESTDIR}${${group}DIR} |
4354 |
- .endif |
4355 |
-diff -Nur share.orig/mk/bsd.incs.mk share/mk/bsd.incs.mk |
4356 |
---- share.orig/mk/bsd.incs.mk 2012-07-12 13:25:44.000000000 +0900 |
4357 |
-+++ share/mk/bsd.incs.mk 2012-07-16 00:01:55.000000000 +0900 |
4358 |
-@@ -41,6 +41,9 @@ |
4359 |
- .endif |
4360 |
- installincludes: _${group}INS_${header:T} |
4361 |
- _${group}INS_${header:T}: ${header} |
4362 |
-+ ${INSTALL} -d -o ${${group}OWN_${.ALLSRC:T}} \ |
4363 |
-+ -g ${${group}GRP_${.ALLSRC:T}} \ |
4364 |
-+ ${DESTDIR}${${group}DIR_${.ALLSRC:T}} |
4365 |
- ${INSTALL} -C -o ${${group}OWN_${.ALLSRC:T}} \ |
4366 |
- -g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ |
4367 |
- ${.ALLSRC} \ |
4368 |
-@@ -53,9 +56,13 @@ |
4369 |
- installincludes: _${group}INS |
4370 |
- _${group}INS: ${_${group}INCS} |
4371 |
- .if defined(${group}NAME) |
4372 |
-+ ${INSTALL} -d -o ${${group}OWN} -g ${${group}GRP} \ |
4373 |
-+ ${DESTDIR}${${group}DIR} |
4374 |
- ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ |
4375 |
- ${.ALLSRC} ${DESTDIR}${${group}DIR}/${${group}NAME} |
4376 |
- .else |
4377 |
-+ ${INSTALL} -d -o ${${group}OWN} -g ${${group}GRP} \ |
4378 |
-+ ${DESTDIR}${${group}DIR} |
4379 |
- ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ |
4380 |
- ${.ALLSRC} ${DESTDIR}${${group}DIR} |
4381 |
- .endif |
4382 |
-diff -Nur share.orig/mk/bsd.info.mk share/mk/bsd.info.mk |
4383 |
---- share.orig/mk/bsd.info.mk 2012-07-12 13:25:44.000000000 +0900 |
4384 |
-+++ share/mk/bsd.info.mk 2012-07-16 00:01:55.000000000 +0900 |
4385 |
-@@ -83,6 +83,7 @@ |
4386 |
- TEX?= tex |
4387 |
- DVIPS?= dvips |
4388 |
- DVIPS2ASCII?= dvips2ascii |
4389 |
-+INSTALL?= install |
4390 |
- |
4391 |
- .SUFFIXES: ${ICOMPRESS_EXT} .info .texi .texinfo .dvi .ps .latin1 .html |
4392 |
- |
4393 |
-@@ -144,15 +145,17 @@ |
4394 |
- INSTALLINFODIRS+= ${x:S/$/-install/} |
4395 |
- ${x:S/$/-install/}: |
4396 |
- .if !empty(.MAKEFLAGS:M-j) |
4397 |
-+ ${INSTALL} -d ${DESTDIR}${INFODIR} |
4398 |
- lockf -k ${DESTDIR}${INFODIR}/${INFODIRFILE} \ |
4399 |
- ${INSTALLINFO} ${INSTALLINFOFLAGS} \ |
4400 |
-- --defsection=${INFOSECTION} \ |
4401 |
-- --defentry=${INFOENTRY_${x}} \ |
4402 |
-+ --section=${INFOSECTION} \ |
4403 |
-+ --entry=${INFOENTRY_${x}} \ |
4404 |
- ${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE} |
4405 |
- .else |
4406 |
-+ ${INSTALL} -d ${DESTDIR}${INFODIR} |
4407 |
- ${INSTALLINFO} ${INSTALLINFOFLAGS} \ |
4408 |
-- --defsection=${INFOSECTION} \ |
4409 |
-- --defentry=${INFOENTRY_${x}} \ |
4410 |
-+ --section=${INFOSECTION} \ |
4411 |
-+ --entry=${INFOENTRY_${x}} \ |
4412 |
- ${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE} |
4413 |
- .endif |
4414 |
- .endfor |
4415 |
-diff -Nur share.orig/mk/bsd.lib.mk share/mk/bsd.lib.mk |
4416 |
---- share.orig/mk/bsd.lib.mk 2012-07-12 13:25:44.000000000 +0900 |
4417 |
-+++ share/mk/bsd.lib.mk 2012-07-16 00:01:55.000000000 +0900 |
4418 |
-@@ -46,10 +46,6 @@ |
4419 |
- .endif |
4420 |
- .endif |
4421 |
- |
4422 |
--.if !defined(DEBUG_FLAGS) |
4423 |
--STRIP?= -s |
4424 |
--.endif |
4425 |
-- |
4426 |
- .include <bsd.libnames.mk> |
4427 |
- |
4428 |
- # prefer .s to a .c, add .po, remove stuff not used in the BSD libraries |
4429 |
-@@ -284,14 +280,17 @@ |
4430 |
- .ORDER: beforeinstall _libinstall |
4431 |
- _libinstall: |
4432 |
- .if defined(LIB) && !empty(LIB) && ${MK_INSTALLLIB} != "no" |
4433 |
-+ ${INSTALL} -d ${DESTDIR}${LIBDIR} |
4434 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4435 |
- ${_INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${LIBDIR} |
4436 |
- .endif |
4437 |
- .if ${MK_PROFILE} != "no" && defined(LIB) && !empty(LIB) |
4438 |
-+ ${INSTALL} -d ${DESTDIR}${LIBDIR} |
4439 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4440 |
- ${_INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${LIBDIR} |
4441 |
- .endif |
4442 |
- .if defined(SHLIB_NAME) |
4443 |
-+ ${INSTALL} -d ${DESTDIR}${SHLIBDIR} |
4444 |
- ${INSTALL} ${STRIP} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4445 |
- ${_INSTALLFLAGS} ${_SHLINSTALLFLAGS} \ |
4446 |
- ${SHLIB_NAME} ${DESTDIR}${SHLIBDIR} |
4447 |
-@@ -329,10 +328,12 @@ |
4448 |
- .endif # SHLIB_LINK |
4449 |
- .endif # SHIB_NAME |
4450 |
- .if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && ${MK_TOOLCHAIN} != "no" |
4451 |
-+ ${INSTALL} -d ${DESTDIR}${LIBDIR} |
4452 |
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4453 |
- ${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${LIBDIR} |
4454 |
- .endif |
4455 |
- .if defined(WANT_LINT) && !defined(NO_LINT) && defined(LIB) && !empty(LIB) |
4456 |
-+ ${INSTALL} -d ${DESTDIR}${LINTLIBDIR} |
4457 |
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4458 |
- ${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR} |
4459 |
- .endif |
4460 |
-diff -Nur share.orig/mk/bsd.libnames.mk share/mk/bsd.libnames.mk |
4461 |
---- share.orig/mk/bsd.libnames.mk 2012-07-12 13:25:44.000000000 +0900 |
4462 |
-+++ share/mk/bsd.libnames.mk 2012-07-16 00:01:55.000000000 +0900 |
4463 |
-@@ -48,7 +48,7 @@ |
4464 |
- LIBEDIT?= ${DESTDIR}${LIBDIR}/libedit.a |
4465 |
- LIBELF?= ${DESTDIR}${LIBDIR}/libelf.a |
4466 |
- LIBFETCH?= ${DESTDIR}${LIBDIR}/libfetch.a |
4467 |
--LIBFL?= "don't use LIBFL, use LIBL" |
4468 |
-+LIBFL?= ${DESTDIR}${LIBDIR}/libfl.a |
4469 |
- LIBFORM?= ${DESTDIR}${LIBDIR}/libform.a |
4470 |
- LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a |
4471 |
- LIBG2C?= ${DESTDIR}${LIBDIR}/libg2c.a |
4472 |
-@@ -79,7 +79,7 @@ |
4473 |
- LIBKICONV?= ${DESTDIR}${LIBDIR}/libkiconv.a |
4474 |
- LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a |
4475 |
- LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a |
4476 |
--LIBL?= ${DESTDIR}${LIBDIR}/libl.a |
4477 |
-+LIBL?= ${DESTDIR}${LIBDIR}/libfl.a |
4478 |
- LIBLN?= "don't use LIBLN, use LIBL" |
4479 |
- .if ${MK_BIND} != "no" |
4480 |
- LIBLWRES?= ${DESTDIR}${LIBDIR}/liblwres.a |
4481 |
-diff -Nur share.orig/mk/bsd.links.mk share/mk/bsd.links.mk |
4482 |
---- share.orig/mk/bsd.links.mk 2012-07-12 13:25:44.000000000 +0900 |
4483 |
-+++ share/mk/bsd.links.mk 2012-07-16 00:01:55.000000000 +0900 |
4484 |
-@@ -15,6 +15,8 @@ |
4485 |
- t=${DESTDIR}$$1; \ |
4486 |
- shift; \ |
4487 |
- ${ECHO} $$t -\> $$l; \ |
4488 |
-+ d=`dirname $$t`; \ |
4489 |
-+ test -d $$d || mkdir $$d; \ |
4490 |
- ln -f $$l $$t; \ |
4491 |
- done; true |
4492 |
- .endif |
4493 |
-@@ -26,6 +28,8 @@ |
4494 |
- t=${DESTDIR}$$1; \ |
4495 |
- shift; \ |
4496 |
- ${ECHO} $$t -\> $$l; \ |
4497 |
-+ d=`dirname $$t`; \ |
4498 |
-+ test -d $$d || mkdir $$d; \ |
4499 |
- ln -fs $$l $$t; \ |
4500 |
- done; true |
4501 |
- .endif |
4502 |
-diff -Nur share.orig/mk/bsd.man.mk share/mk/bsd.man.mk |
4503 |
---- share.orig/mk/bsd.man.mk 2012-07-12 13:25:44.000000000 +0900 |
4504 |
-+++ share/mk/bsd.man.mk 2012-07-16 00:01:55.000000000 +0900 |
4505 |
-@@ -165,9 +165,11 @@ |
4506 |
- .if defined(NO_MANCOMPRESS) |
4507 |
- .if defined(MANFILTER) |
4508 |
- .for __page in ${MAN} |
4509 |
-+ ${INSTALL} -d ${DESTDIR}${MANDIR}${page:E}${MANSUBDIR}/${page} |
4510 |
- ${MINSTALL} ${__page:T:S/$/${FILTEXTENSION}/g} \ |
4511 |
- ${DESTDIR}${MANDIR}${__page:E}${MANSUBDIR}/${__page} |
4512 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
4513 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page} |
4514 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}${FILTEXTENSION}/g} \ |
4515 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page} |
4516 |
- .endif |
4517 |
-@@ -181,11 +183,14 @@ |
4518 |
- esac; \ |
4519 |
- page=$$1; shift; sect=$$1; shift; \ |
4520 |
- d=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}; \ |
4521 |
-+ ${ECHO} ${INSTALL} -d $${d}; \ |
4522 |
-+ ${INSTALL} -d $${d}; \ |
4523 |
- ${ECHO} ${MINSTALL} $${page} $${d}; \ |
4524 |
- ${MINSTALL} $${page} $${d}; \ |
4525 |
- done |
4526 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
4527 |
- .for __page in ${MAN} |
4528 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page:T} |
4529 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}/} \ |
4530 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page:T} |
4531 |
- .endfor |
4532 |
-@@ -193,9 +198,11 @@ |
4533 |
- .endif |
4534 |
- .else |
4535 |
- .for __page in ${MAN} |
4536 |
-+ ${INSTALL} -d ${DESTDIR}${MANDIR}${page:E}${MANSUBDIR} |
4537 |
- ${MINSTALL} ${__page:T:S/$/${MCOMPRESS_EXT}/g} \ |
4538 |
- ${DESTDIR}${MANDIR}${__page:E}${MANSUBDIR} |
4539 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
4540 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page:T:S/$/${MCOMPRESS_EXT} |
4541 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}${MCOMPRESS_EXT}/g} \ |
4542 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page:T:S/$/${MCOMPRESS_EXT}/} |
4543 |
- .endif |
4544 |
-diff -Nur share.orig/mk/bsd.nls.mk share/mk/bsd.nls.mk |
4545 |
---- share.orig/mk/bsd.nls.mk 2012-07-12 13:25:44.000000000 +0900 |
4546 |
-+++ share/mk/bsd.nls.mk 2012-07-16 00:01:55.000000000 +0900 |
4547 |
-@@ -62,7 +62,8 @@ |
4548 |
- # installation rules |
4549 |
- # |
4550 |
- .for file in ${NLS} |
4551 |
--NLSNAME_${file:T}= ${file:T:R}/${NLSNAME}.cat |
4552 |
-+NLSDIR_${file:T}= ${SHAREDIR}/nls/${file:T:R}/ |
4553 |
-+NLSNAME_${file:T}= ${NLSNAME}.cat |
4554 |
- .if defined(NLSLINKS_${file:R}) && !empty(NLSLINKS_${file:R}) |
4555 |
- NLSLINKS+= ${file:R} |
4556 |
- .endif |
4557 |
-diff -Nur share.orig/mk/bsd.own.mk share/mk/bsd.own.mk |
4558 |
---- share.orig/mk/bsd.own.mk 2012-07-12 13:25:44.000000000 +0900 |
4559 |
-+++ share/mk/bsd.own.mk 2012-07-16 00:01:55.000000000 +0900 |
4560 |
-@@ -182,9 +182,6 @@ |
4561 |
- INCLUDEDIR?= /usr/include |
4562 |
- |
4563 |
- # Common variables |
4564 |
--.if !defined(DEBUG_FLAGS) |
4565 |
--STRIP?= -s |
4566 |
--.endif |
4567 |
- |
4568 |
- COMPRESS_CMD?= gzip -cn |
4569 |
- COMPRESS_EXT?= .gz |
4570 |
-diff -Nur share.orig/mk/bsd.prog.mk share/mk/bsd.prog.mk |
4571 |
---- share.orig/mk/bsd.prog.mk 2012-07-12 13:25:44.000000000 +0900 |
4572 |
-+++ share/mk/bsd.prog.mk 2012-07-16 00:01:55.000000000 +0900 |
4573 |
-@@ -33,10 +33,6 @@ |
4574 |
- CFLAGS+=${CRUNCH_CFLAGS} |
4575 |
- .endif |
4576 |
- |
4577 |
--.if !defined(DEBUG_FLAGS) |
4578 |
--STRIP?= -s |
4579 |
--.endif |
4580 |
-- |
4581 |
- .if defined(NO_SHARED) && (${NO_SHARED} != "no" && ${NO_SHARED} != "NO") |
4582 |
- LDFLAGS+= -static |
4583 |
- .endif |
4584 |
-@@ -155,6 +151,7 @@ |
4585 |
- .ORDER: beforeinstall _proginstall |
4586 |
- _proginstall: |
4587 |
- .if defined(PROG) |
4588 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR} |
4589 |
- .if defined(PROGNAME) |
4590 |
- ${INSTALL} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
4591 |
- ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR}/${PROGNAME} |
4592 |
-@@ -186,6 +183,7 @@ |
4593 |
- SCRIPTSMODE_${script:T}?= ${SCRIPTSMODE} |
4594 |
- _scriptsinstall: _SCRIPTSINS_${script:T} |
4595 |
- _SCRIPTSINS_${script:T}: ${script} |
4596 |
-+ ${INSTALL} -d ${DESTDIR}${SCRIPTSDIR_${.ALLSRC:T}} |
4597 |
- ${INSTALL} -o ${SCRIPTSOWN_${.ALLSRC:T}} \ |
4598 |
- -g ${SCRIPTSGRP_${.ALLSRC:T}} -m ${SCRIPTSMODE_${.ALLSRC:T}} \ |
4599 |
- ${.ALLSRC} \ |
4600 |
-diff -Nur share.orig/mk/bsd.sys.mk share/mk/bsd.sys.mk |
4601 |
---- share.orig/mk/bsd.sys.mk 2012-07-12 13:25:44.000000000 +0900 |
4602 |
-+++ share/mk/bsd.sys.mk 2012-07-16 00:04:14.000000000 +0900 |
4603 |
-@@ -28,10 +28,6 @@ |
4604 |
- .if defined(WARNS) |
4605 |
- .if ${WARNS} >= 1 |
4606 |
- CWARNFLAGS+= -Wsystem-headers |
4607 |
--.if !defined(NO_WERROR) && ((${MK_CLANG_IS_CC} == "no" && \ |
4608 |
-- ${CC:T:Mclang} != "clang") || !defined(NO_WERROR.clang)) |
4609 |
--CWARNFLAGS+= -Werror |
4610 |
--.endif # !NO_WERROR && (!CLANG || !NO_WERROR.clang) |
4611 |
- .endif # WARNS >= 1 |
4612 |
- .if ${WARNS} >= 2 |
4613 |
- CWARNFLAGS+= -Wall -Wno-format-y2k |
4614 |
-@@ -95,10 +91,6 @@ |
4615 |
- CWARNFLAGS+= -Wno-format-nonliteral |
4616 |
- .endif # WARNS <= 3 |
4617 |
- .endif # CLANG |
4618 |
--.if !defined(NO_WERROR) && ((${MK_CLANG_IS_CC} == "no" && \ |
4619 |
-- ${CC:T:Mclang} != "clang") || !defined(NO_WERROR.clang)) |
4620 |
--CWARNFLAGS+= -Werror |
4621 |
--.endif # !NO_WERROR && (!CLANG || !NO_WERROR.clang) |
4622 |
- .endif # WFORMAT > 0 |
4623 |
- .endif # WFORMAT |
4624 |
- .if defined(NO_WFORMAT) || ((${MK_CLANG_IS_CC} != "no" || \ |
4625 |
-diff -Nur share.orig/mk/sys.mk share/mk/sys.mk |
4626 |
---- share.orig/mk/sys.mk 2012-07-12 13:25:44.000000000 +0900 |
4627 |
-+++ share/mk/sys.mk 2012-07-16 00:01:55.000000000 +0900 |
4628 |
-@@ -349,12 +349,6 @@ |
4629 |
- (${ECHO} ${CTFCONVERT} ${CTFFLAGS} ${.TARGET} && \ |
4630 |
- ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}) |
4631 |
- |
4632 |
--# FreeBSD build pollution. Hide it in the non-POSIX part of the ifdef. |
4633 |
--__MAKE_CONF?=/etc/make.conf |
4634 |
--.if exists(${__MAKE_CONF}) |
4635 |
--.include "${__MAKE_CONF}" |
4636 |
--.endif |
4637 |
-- |
4638 |
- .if defined(__MAKE_SHELL) && !empty(__MAKE_SHELL) |
4639 |
- SHELL= ${__MAKE_SHELL} |
4640 |
- .SHELL: path=${__MAKE_SHELL} |
4641 |
|
4642 |
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.1-gnu.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.1-gnu.patch |
4643 |
deleted file mode 100644 |
4644 |
index f986ed9..0000000 |
4645 |
--- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.1-gnu.patch |
4646 |
+++ /dev/null |
4647 |
@@ -1,77 +0,0 @@ |
4648 |
-diff -Nur share.orig/mk/bsd.lib.mk share/mk/bsd.lib.mk |
4649 |
---- share.orig/mk/bsd.lib.mk 2012-07-16 02:40:07.000000000 +0900 |
4650 |
-+++ share/mk/bsd.lib.mk 2012-07-16 02:41:40.000000000 +0900 |
4651 |
-@@ -155,11 +155,7 @@ |
4652 |
- lib${LIB}.a: ${OBJS} ${STATICOBJS} |
4653 |
- @${ECHO} building static ${LIB} library |
4654 |
- @rm -f ${.TARGET} |
4655 |
--.if !defined(NM) |
4656 |
-- @${AR} cq ${.TARGET} `lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} |
4657 |
--.else |
4658 |
-- @${AR} cq ${.TARGET} `NM='${NM}' lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} |
4659 |
--.endif |
4660 |
-+ @${AR} cq ${.TARGET} ${OBJS} ${STATICOBJS} ${ARADD} |
4661 |
- ${RANLIB} ${.TARGET} |
4662 |
- .endif |
4663 |
- |
4664 |
-@@ -172,11 +168,7 @@ |
4665 |
- lib${LIB}_p.a: ${POBJS} |
4666 |
- @${ECHO} building profiled ${LIB} library |
4667 |
- @rm -f ${.TARGET} |
4668 |
--.if !defined(NM) |
4669 |
-- @${AR} cq ${.TARGET} `lorder ${POBJS} | tsort -q` ${ARADD} |
4670 |
--.else |
4671 |
-- @${AR} cq ${.TARGET} `NM='${NM}' lorder ${POBJS} | tsort -q` ${ARADD} |
4672 |
--.endif |
4673 |
-+ @${AR} cq ${.TARGET} ${POBJS} ${ARADD} |
4674 |
- ${RANLIB} ${.TARGET} |
4675 |
- .endif |
4676 |
- |
4677 |
-@@ -203,15 +195,9 @@ |
4678 |
- .if defined(SHLIB_LINK) |
4679 |
- @ln -fs ${.TARGET} ${SHLIB_LINK} |
4680 |
- .endif |
4681 |
--.if !defined(NM) |
4682 |
- @${CC} ${LDFLAGS} ${SSP_CFLAGS} ${SOLINKOPTS} \ |
4683 |
- -o ${.TARGET} -Wl,-soname,${SONAME} \ |
4684 |
-- `lorder ${SOBJS} | tsort -q` ${LDADD} |
4685 |
--.else |
4686 |
-- @${CC} ${LDFLAGS} ${SSP_CFLAGS} ${SOLINKOPTS} \ |
4687 |
-- -o ${.TARGET} -Wl,-soname,${SONAME} \ |
4688 |
-- `NM='${NM}' lorder ${SOBJS} | tsort -q` ${LDADD} |
4689 |
--.endif |
4690 |
-+ `echo ${SOBJS} | xargs -n 1 echo | sort -u` ${LDADD} |
4691 |
- @[ -z "${CTFMERGE}" -o -n "${NO_CTF}" ] || \ |
4692 |
- (${ECHO} ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS} && \ |
4693 |
- ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS}) |
4694 |
-@@ -259,13 +245,6 @@ |
4695 |
- |
4696 |
- .if !target(install) |
4697 |
- |
4698 |
--.if defined(PRECIOUSLIB) |
4699 |
--.if !defined(NO_FSCHG) |
4700 |
--SHLINSTALLFLAGS+= -fschg |
4701 |
--.endif |
4702 |
--SHLINSTALLFLAGS+= -S |
4703 |
--.endif |
4704 |
-- |
4705 |
- _INSTALLFLAGS:= ${INSTALLFLAGS} |
4706 |
- .for ie in ${INSTALLFLAGS_EDIT} |
4707 |
- _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} |
4708 |
-diff -Nur share.orig/mk/bsd.prog.mk share/mk/bsd.prog.mk |
4709 |
---- share.orig/mk/bsd.prog.mk 2012-07-16 02:40:07.000000000 +0900 |
4710 |
-+++ share/mk/bsd.prog.mk 2012-07-16 02:40:24.000000000 +0900 |
4711 |
-@@ -134,13 +134,6 @@ |
4712 |
- |
4713 |
- .if !target(install) |
4714 |
- |
4715 |
--.if defined(PRECIOUSPROG) |
4716 |
--.if !defined(NO_FSCHG) |
4717 |
--INSTALLFLAGS+= -fschg |
4718 |
--.endif |
4719 |
--INSTALLFLAGS+= -S |
4720 |
--.endif |
4721 |
-- |
4722 |
- _INSTALLFLAGS:= ${INSTALLFLAGS} |
4723 |
- .for ie in ${INSTALLFLAGS_EDIT} |
4724 |
- _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} |
4725 |
|
4726 |
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.2-gentoo.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.2-gentoo.patch |
4727 |
deleted file mode 100644 |
4728 |
index ce66bc8..0000000 |
4729 |
--- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.2-gentoo.patch |
4730 |
+++ /dev/null |
4731 |
@@ -1,352 +0,0 @@ |
4732 |
-tested revision 251934. |
4733 |
- |
4734 |
-diff --git a/share/mk/bsd.compiler.mk b/share/mk/bsd.compiler.mk |
4735 |
-index d9f0ccf..9cf6b4f 100644 |
4736 |
---- a/share/mk/bsd.compiler.mk |
4737 |
-+++ b/share/mk/bsd.compiler.mk |
4738 |
-@@ -1,7 +1,7 @@ |
4739 |
- # $FreeBSD$ |
4740 |
- |
4741 |
- .if !defined(COMPILER_TYPE) |
4742 |
--. if ${CC:T:Mgcc*} |
4743 |
-+. if ${CC:T:M*gcc*} |
4744 |
- COMPILER_TYPE:= gcc |
4745 |
- . elif ${CC:T:Mclang} |
4746 |
- COMPILER_TYPE:= clang |
4747 |
-diff --git a/share/mk/bsd.doc.mk b/share/mk/bsd.doc.mk |
4748 |
-index 49b2d9b..c2a8c5c 100644 |
4749 |
---- a/share/mk/bsd.doc.mk |
4750 |
-+++ b/share/mk/bsd.doc.mk |
4751 |
-@@ -135,10 +135,12 @@ CLEANFILES+= ${DOC}.ascii ${DOC}.ascii${DCOMPRESS_EXT} \ |
4752 |
- realinstall: |
4753 |
- .for _dev in ${PRINTERDEVICE:Mhtml} |
4754 |
- cd ${SRCDIR}; \ |
4755 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR}/${VOLUME}; \ |
4756 |
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
4757 |
- ${DOC}*.html ${DESTDIR}${BINDIR}/${VOLUME} |
4758 |
- .endfor |
4759 |
- .for _dev in ${PRINTERDEVICE:Nhtml} |
4760 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR}/${VOLUME}; \ |
4761 |
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
4762 |
- ${DFILE.${_dev}} ${DESTDIR}${BINDIR}/${VOLUME} |
4763 |
- .endfor |
4764 |
-diff --git a/share/mk/bsd.files.mk b/share/mk/bsd.files.mk |
4765 |
-index 240f958..67f0cf9 100644 |
4766 |
---- a/share/mk/bsd.files.mk |
4767 |
-+++ b/share/mk/bsd.files.mk |
4768 |
-@@ -39,6 +39,7 @@ ${group}NAME_${file:T}?= ${file:T} |
4769 |
- .endif |
4770 |
- installfiles: _${group}INS_${file:T} |
4771 |
- _${group}INS_${file:T}: ${file} |
4772 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR_${.ALLSRC:T}} |
4773 |
- ${INSTALL} -o ${${group}OWN_${.ALLSRC:T}} \ |
4774 |
- -g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ |
4775 |
- ${.ALLSRC} \ |
4776 |
-@@ -51,10 +52,12 @@ _${group}FILES+= ${file} |
4777 |
- installfiles: _${group}INS |
4778 |
- _${group}INS: ${_${group}FILES} |
4779 |
- .if defined(${group}NAME) |
4780 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR}/${${group}NAME} |
4781 |
- ${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \ |
4782 |
- -m ${${group}MODE} ${.ALLSRC} \ |
4783 |
- ${DESTDIR}${${group}DIR}/${${group}NAME} |
4784 |
- .else |
4785 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR} |
4786 |
- ${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \ |
4787 |
- -m ${${group}MODE} ${.ALLSRC} ${DESTDIR}${${group}DIR} |
4788 |
- .endif |
4789 |
-diff --git a/share/mk/bsd.incs.mk b/share/mk/bsd.incs.mk |
4790 |
-index 74c378b..7d2c7a0 100644 |
4791 |
---- a/share/mk/bsd.incs.mk |
4792 |
-+++ b/share/mk/bsd.incs.mk |
4793 |
-@@ -41,6 +41,9 @@ ${group}NAME_${header:T}?= ${header:T} |
4794 |
- .endif |
4795 |
- installincludes: _${group}INS_${header:T} |
4796 |
- _${group}INS_${header:T}: ${header} |
4797 |
-+ ${INSTALL} -d -o ${${group}OWN_${.ALLSRC:T}} \ |
4798 |
-+ -g ${${group}GRP_${.ALLSRC:T}} \ |
4799 |
-+ ${DESTDIR}${${group}DIR_${.ALLSRC:T}} |
4800 |
- ${INSTALL} -C -o ${${group}OWN_${.ALLSRC:T}} \ |
4801 |
- -g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ |
4802 |
- ${.ALLSRC} \ |
4803 |
-@@ -53,9 +56,13 @@ _${group}INCS+= ${header} |
4804 |
- installincludes: _${group}INS |
4805 |
- _${group}INS: ${_${group}INCS} |
4806 |
- .if defined(${group}NAME) |
4807 |
-+ ${INSTALL} -d -o ${${group}OWN} -g ${${group}GRP} \ |
4808 |
-+ ${DESTDIR}${${group}DIR} |
4809 |
- ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ |
4810 |
- ${.ALLSRC} ${DESTDIR}${${group}DIR}/${${group}NAME} |
4811 |
- .else |
4812 |
-+ ${INSTALL} -d -o ${${group}OWN} -g ${${group}GRP} \ |
4813 |
-+ ${DESTDIR}${${group}DIR} |
4814 |
- ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ |
4815 |
- ${.ALLSRC} ${DESTDIR}${${group}DIR} |
4816 |
- .endif |
4817 |
-diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk |
4818 |
-index c54b435..d283240 100644 |
4819 |
---- a/share/mk/bsd.info.mk |
4820 |
-+++ b/share/mk/bsd.info.mk |
4821 |
-@@ -83,6 +83,7 @@ INFO2HTML?= info2html |
4822 |
- TEX?= tex |
4823 |
- DVIPS?= dvips |
4824 |
- DVIPS2ASCII?= dvips2ascii |
4825 |
-+INSTALL?= install |
4826 |
- |
4827 |
- .SUFFIXES: ${ICOMPRESS_EXT} .info .texi .texinfo .dvi .ps .latin1 .html |
4828 |
- |
4829 |
-@@ -144,15 +145,17 @@ ${x:S/$/${ICOMPRESS_EXT}/}: ${x} |
4830 |
- INSTALLINFODIRS+= ${x:S/$/-install/} |
4831 |
- ${x:S/$/-install/}: |
4832 |
- .if !empty(.MAKEFLAGS:M-j) |
4833 |
-+ ${INSTALL} -d ${DESTDIR}${INFODIR} |
4834 |
- lockf -k ${DESTDIR}${INFODIR}/${INFODIRFILE} \ |
4835 |
- ${INSTALLINFO} ${INSTALLINFOFLAGS} \ |
4836 |
-- --defsection=${INFOSECTION} \ |
4837 |
-- --defentry=${INFOENTRY_${x}} \ |
4838 |
-+ --section=${INFOSECTION} \ |
4839 |
-+ --entry=${INFOENTRY_${x}} \ |
4840 |
- ${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE} |
4841 |
- .else |
4842 |
-+ ${INSTALL} -d ${DESTDIR}${INFODIR} |
4843 |
- ${INSTALLINFO} ${INSTALLINFOFLAGS} \ |
4844 |
-- --defsection=${INFOSECTION} \ |
4845 |
-- --defentry=${INFOENTRY_${x}} \ |
4846 |
-+ --section=${INFOSECTION} \ |
4847 |
-+ --entry=${INFOENTRY_${x}} \ |
4848 |
- ${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE} |
4849 |
- .endif |
4850 |
- .endfor |
4851 |
-diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk |
4852 |
-index 05a949f..215d198 100644 |
4853 |
---- a/share/mk/bsd.lib.mk |
4854 |
-+++ b/share/mk/bsd.lib.mk |
4855 |
-@@ -39,8 +39,6 @@ CFLAGS+= ${DEBUG_FLAGS} |
4856 |
- .if ${MK_CTF} != "no" && ${DEBUG_FLAGS:M-g} != "" |
4857 |
- CTFFLAGS+= -g |
4858 |
- .endif |
4859 |
--.else |
4860 |
--STRIP?= -s |
4861 |
- .endif |
4862 |
- |
4863 |
- .include <bsd.libnames.mk> |
4864 |
-@@ -256,14 +254,17 @@ realinstall: _libinstall |
4865 |
- .ORDER: beforeinstall _libinstall |
4866 |
- _libinstall: |
4867 |
- .if defined(LIB) && !empty(LIB) && ${MK_INSTALLLIB} != "no" |
4868 |
-+ ${INSTALL} -d ${DESTDIR}${LIBDIR} |
4869 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4870 |
- ${_INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${LIBDIR} |
4871 |
- .endif |
4872 |
- .if ${MK_PROFILE} != "no" && defined(LIB) && !empty(LIB) |
4873 |
-+ ${INSTALL} -d ${DESTDIR}${LIBDIR} |
4874 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4875 |
- ${_INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${LIBDIR} |
4876 |
- .endif |
4877 |
- .if defined(SHLIB_NAME) |
4878 |
-+ ${INSTALL} -d ${DESTDIR}${SHLIBDIR} |
4879 |
- ${INSTALL} ${STRIP} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4880 |
- ${_INSTALLFLAGS} ${_SHLINSTALLFLAGS} \ |
4881 |
- ${SHLIB_NAME} ${DESTDIR}${SHLIBDIR} |
4882 |
-@@ -306,10 +307,12 @@ _libinstall: |
4883 |
- .endif # SHLIB_LINK |
4884 |
- .endif # SHIB_NAME |
4885 |
- .if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && ${MK_TOOLCHAIN} != "no" |
4886 |
-+ ${INSTALL} -d ${DESTDIR}${LIBDIR} |
4887 |
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4888 |
- ${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${LIBDIR} |
4889 |
- .endif |
4890 |
- .if defined(WANT_LINT) && !defined(NO_LINT) && defined(LIB) && !empty(LIB) |
4891 |
-+ ${INSTALL} -d ${DESTDIR}${LINTLIBDIR} |
4892 |
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
4893 |
- ${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR} |
4894 |
- .endif |
4895 |
-diff --git a/share/mk/bsd.libnames.mk b/share/mk/bsd.libnames.mk |
4896 |
-index a3dbf3b..2cf726c 100644 |
4897 |
---- a/share/mk/bsd.libnames.mk |
4898 |
-+++ b/share/mk/bsd.libnames.mk |
4899 |
-@@ -50,7 +50,7 @@ LIBDWARF?= ${DESTDIR}${LIBDIR}/libdwarf.a |
4900 |
- LIBEDIT?= ${DESTDIR}${LIBDIR}/libedit.a |
4901 |
- LIBELF?= ${DESTDIR}${LIBDIR}/libelf.a |
4902 |
- LIBFETCH?= ${DESTDIR}${LIBDIR}/libfetch.a |
4903 |
--LIBFL?= "don't use LIBFL, use LIBL" |
4904 |
-+LIBFL?= ${DESTDIR}${LIBDIR}/libfl.a |
4905 |
- LIBFORM?= ${DESTDIR}${LIBDIR}/libform.a |
4906 |
- LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a |
4907 |
- LIBG2C?= ${DESTDIR}${LIBDIR}/libg2c.a |
4908 |
-@@ -81,7 +81,7 @@ LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a |
4909 |
- LIBKICONV?= ${DESTDIR}${LIBDIR}/libkiconv.a |
4910 |
- LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a |
4911 |
- LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a |
4912 |
--LIBL?= ${DESTDIR}${LIBDIR}/libl.a |
4913 |
-+LIBL?= ${DESTDIR}${LIBDIR}/libfl.a |
4914 |
- LIBLN?= "don't use LIBLN, use LIBL" |
4915 |
- .if ${MK_BIND} != "no" |
4916 |
- LIBLWRES?= ${DESTDIR}${LIBDIR}/liblwres.a |
4917 |
-diff --git a/share/mk/bsd.links.mk b/share/mk/bsd.links.mk |
4918 |
-index 1e4d57e..fcb81fe 100644 |
4919 |
---- a/share/mk/bsd.links.mk |
4920 |
-+++ b/share/mk/bsd.links.mk |
4921 |
-@@ -15,6 +15,8 @@ _installlinks: |
4922 |
- t=${DESTDIR}$$1; \ |
4923 |
- shift; \ |
4924 |
- ${ECHO} $$t -\> $$l; \ |
4925 |
-+ d=`dirname $$t`; \ |
4926 |
-+ test -d $$d || mkdir $$d; \ |
4927 |
- ${INSTALL_LINK} $$l $$t; \ |
4928 |
- done; true |
4929 |
- .endif |
4930 |
-@@ -26,6 +28,8 @@ _installlinks: |
4931 |
- t=${DESTDIR}$$1; \ |
4932 |
- shift; \ |
4933 |
- ${ECHO} $$t -\> $$l; \ |
4934 |
-+ d=`dirname $$t`; \ |
4935 |
-+ test -d $$d || mkdir $$d; \ |
4936 |
- ${INSTALL_SYMLINK} $$l $$t; \ |
4937 |
- done; true |
4938 |
- .endif |
4939 |
-diff --git a/share/mk/bsd.man.mk b/share/mk/bsd.man.mk |
4940 |
-index 6445ba3..fabffa2 100644 |
4941 |
---- a/share/mk/bsd.man.mk |
4942 |
-+++ b/share/mk/bsd.man.mk |
4943 |
-@@ -165,9 +165,11 @@ _maninstall: ${MAN} |
4944 |
- .if defined(NO_MANCOMPRESS) |
4945 |
- .if defined(MANFILTER) |
4946 |
- .for __page in ${MAN} |
4947 |
-+ ${INSTALL} -d ${DESTDIR}${MANDIR}${page:E}${MANSUBDIR}/${page} |
4948 |
- ${MINSTALL} ${__page:T:S/$/${FILTEXTENSION}/g} \ |
4949 |
- ${DESTDIR}${MANDIR}${__page:E}${MANSUBDIR}/${__page} |
4950 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
4951 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page} |
4952 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}${FILTEXTENSION}/g} \ |
4953 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page} |
4954 |
- .endif |
4955 |
-@@ -181,11 +183,14 @@ _maninstall: ${MAN} |
4956 |
- esac; \ |
4957 |
- page=$$1; shift; sect=$$1; shift; \ |
4958 |
- d=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}; \ |
4959 |
-+ ${ECHO} ${INSTALL} -d $${d}; \ |
4960 |
-+ ${INSTALL} -d $${d}; \ |
4961 |
- ${ECHO} ${MINSTALL} $${page} $${d}; \ |
4962 |
- ${MINSTALL} $${page} $${d}; \ |
4963 |
- done |
4964 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
4965 |
- .for __page in ${MAN} |
4966 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page:T} |
4967 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}/} \ |
4968 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page:T} |
4969 |
- .endfor |
4970 |
-@@ -193,9 +198,11 @@ _maninstall: ${MAN} |
4971 |
- .endif |
4972 |
- .else |
4973 |
- .for __page in ${MAN} |
4974 |
-+ ${INSTALL} -d ${DESTDIR}${MANDIR}${page:E}${MANSUBDIR} |
4975 |
- ${MINSTALL} ${__page:T:S/$/${MCOMPRESS_EXT}/g} \ |
4976 |
- ${DESTDIR}${MANDIR}${__page:E}${MANSUBDIR} |
4977 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
4978 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page:T:S/$/${MCOMPRESS_EXT} |
4979 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}${MCOMPRESS_EXT}/g} \ |
4980 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page:T:S/$/${MCOMPRESS_EXT}/} |
4981 |
- .endif |
4982 |
-diff --git a/share/mk/bsd.nls.mk b/share/mk/bsd.nls.mk |
4983 |
-index 48093eb..69f56bc 100644 |
4984 |
---- a/share/mk/bsd.nls.mk |
4985 |
-+++ b/share/mk/bsd.nls.mk |
4986 |
-@@ -62,7 +62,8 @@ NLSDIR?= ${SHAREDIR}/nls |
4987 |
- # installation rules |
4988 |
- # |
4989 |
- .for file in ${NLS} |
4990 |
--NLSNAME_${file:T}= ${file:T:R}/${NLSNAME}.cat |
4991 |
-+NLSDIR_${file:T}= ${SHAREDIR}/nls/${file:T:R}/ |
4992 |
-+NLSNAME_${file:T}= ${NLSNAME}.cat |
4993 |
- .if defined(NLSLINKS_${file:R}) && !empty(NLSLINKS_${file:R}) |
4994 |
- NLSLINKS+= ${file:R} |
4995 |
- .endif |
4996 |
-diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk |
4997 |
-index b871f91..bbcd667 100644 |
4998 |
---- a/share/mk/bsd.own.mk |
4999 |
-+++ b/share/mk/bsd.own.mk |
5000 |
-@@ -191,9 +191,6 @@ INSTALL_LINK?= ${INSTALL} ${HRDLINK} |
5001 |
- INSTALL_SYMLINK?= ${INSTALL} ${SYMLINK} |
5002 |
- |
5003 |
- # Common variables |
5004 |
--.if !defined(DEBUG_FLAGS) |
5005 |
--STRIP?= -s |
5006 |
--.endif |
5007 |
- |
5008 |
- COMPRESS_CMD?= gzip -cn |
5009 |
- COMPRESS_EXT?= .gz |
5010 |
-diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk |
5011 |
-index 0cf2f6d..50d5e54 100644 |
5012 |
---- a/share/mk/bsd.prog.mk |
5013 |
-+++ b/share/mk/bsd.prog.mk |
5014 |
-@@ -28,10 +28,6 @@ CTFFLAGS+= -g |
5015 |
- CFLAGS+=${CRUNCH_CFLAGS} |
5016 |
- .endif |
5017 |
- |
5018 |
--.if !defined(DEBUG_FLAGS) |
5019 |
--STRIP?= -s |
5020 |
--.endif |
5021 |
-- |
5022 |
- .if defined(NO_SHARED) && (${NO_SHARED} != "no" && ${NO_SHARED} != "NO") |
5023 |
- LDFLAGS+= -static |
5024 |
- .endif |
5025 |
-@@ -152,6 +148,7 @@ realinstall: _proginstall |
5026 |
- .ORDER: beforeinstall _proginstall |
5027 |
- _proginstall: |
5028 |
- .if defined(PROG) |
5029 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR} |
5030 |
- ${INSTALL} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
5031 |
- ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR}/${PROGNAME} |
5032 |
- .endif |
5033 |
-@@ -178,6 +175,7 @@ SCRIPTSGRP_${script:T}?= ${SCRIPTSGRP} |
5034 |
- SCRIPTSMODE_${script:T}?= ${SCRIPTSMODE} |
5035 |
- _scriptsinstall: _SCRIPTSINS_${script:T} |
5036 |
- _SCRIPTSINS_${script:T}: ${script} |
5037 |
-+ ${INSTALL} -d ${DESTDIR}${SCRIPTSDIR_${.ALLSRC:T}} |
5038 |
- ${INSTALL} -o ${SCRIPTSOWN_${.ALLSRC:T}} \ |
5039 |
- -g ${SCRIPTSGRP_${.ALLSRC:T}} -m ${SCRIPTSMODE_${.ALLSRC:T}} \ |
5040 |
- ${.ALLSRC} \ |
5041 |
-diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk |
5042 |
-index 21c3352..5bfaa8e 100644 |
5043 |
---- a/share/mk/bsd.sys.mk |
5044 |
-+++ b/share/mk/bsd.sys.mk |
5045 |
-@@ -30,10 +30,6 @@ CFLAGS+= -std=${CSTD} |
5046 |
- .if defined(WARNS) |
5047 |
- .if ${WARNS} >= 1 |
5048 |
- CWARNFLAGS+= -Wsystem-headers |
5049 |
--.if !defined(NO_WERROR) && (${COMPILER_TYPE} != "clang" \ |
5050 |
-- || !defined(NO_WERROR.clang)) |
5051 |
--CWARNFLAGS+= -Werror |
5052 |
--.endif # !NO_WERROR && (!CLANG || !NO_WERROR.clang) |
5053 |
- .endif # WARNS >= 1 |
5054 |
- .if ${WARNS} >= 2 |
5055 |
- CWARNFLAGS+= -Wall -Wno-format-y2k |
5056 |
-@@ -95,10 +91,6 @@ CWARNFLAGS+= -Wformat=2 -Wno-format-extra-args |
5057 |
- CWARNFLAGS+= -Wno-format-nonliteral |
5058 |
- .endif # WARNS <= 3 |
5059 |
- .endif # CLANG |
5060 |
--.if !defined(NO_WERROR) && (${COMPILER_TYPE} != "clang" \ |
5061 |
-- || !defined(NO_WERROR.clang)) |
5062 |
--CWARNFLAGS+= -Werror |
5063 |
--.endif # !NO_WERROR && (!CLANG || !NO_WERROR.clang) |
5064 |
- .endif # WFORMAT > 0 |
5065 |
- .endif # WFORMAT |
5066 |
- .if defined(NO_WFORMAT) || (${COMPILER_TYPE} == "clang" && defined(NO_WFORMAT.clang)) |
5067 |
-diff --git a/share/mk/sys.mk b/share/mk/sys.mk |
5068 |
-index e8ec4c1..e98501e 100644 |
5069 |
---- a/share/mk/sys.mk |
5070 |
-+++ b/share/mk/sys.mk |
5071 |
-@@ -305,12 +305,6 @@ YFLAGS ?= -d |
5072 |
- rm -f ${.PREFIX}.tmp.c |
5073 |
- ${CTFCONVERT_CMD} |
5074 |
- |
5075 |
--# FreeBSD build pollution. Hide it in the non-POSIX part of the ifdef. |
5076 |
--__MAKE_CONF?=/etc/make.conf |
5077 |
--.if exists(${__MAKE_CONF}) |
5078 |
--.include "${__MAKE_CONF}" |
5079 |
--.endif |
5080 |
-- |
5081 |
- .if defined(__MAKE_SHELL) && !empty(__MAKE_SHELL) |
5082 |
- SHELL= ${__MAKE_SHELL} |
5083 |
- .SHELL: path=${__MAKE_SHELL} |
5084 |
|
5085 |
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.2-gnu.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.2-gnu.patch |
5086 |
deleted file mode 100644 |
5087 |
index 1b2a207..0000000 |
5088 |
--- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.2-gnu.patch |
5089 |
+++ /dev/null |
5090 |
@@ -1,79 +0,0 @@ |
5091 |
-diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk |
5092 |
-index 131b90e..60c7207 100644 |
5093 |
---- a/share/mk/bsd.lib.mk |
5094 |
-+++ b/share/mk/bsd.lib.mk |
5095 |
-@@ -153,11 +153,7 @@ _LIBS= lib${LIB}.a |
5096 |
- lib${LIB}.a: ${OBJS} ${STATICOBJS} |
5097 |
- @${ECHO} building static ${LIB} library |
5098 |
- @rm -f ${.TARGET} |
5099 |
--.if !defined(NM) |
5100 |
-- @${AR} cq ${.TARGET} `lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} |
5101 |
--.else |
5102 |
-- @${AR} cq ${.TARGET} `NM='${NM}' lorder ${OBJS} ${STATICOBJS} | tsort -q` ${ARADD} |
5103 |
--.endif |
5104 |
-+ @${AR} cq ${.TARGET} ${OBJS} ${STATICOBJS} ${ARADD} |
5105 |
- ${RANLIB} ${.TARGET} |
5106 |
- .endif |
5107 |
- |
5108 |
-@@ -170,11 +166,7 @@ POBJS+= ${OBJS:.o=.po} ${STATICOBJS:.o=.po} |
5109 |
- lib${LIB}_p.a: ${POBJS} |
5110 |
- @${ECHO} building profiled ${LIB} library |
5111 |
- @rm -f ${.TARGET} |
5112 |
--.if !defined(NM) |
5113 |
-- @${AR} cq ${.TARGET} `lorder ${POBJS} | tsort -q` ${ARADD} |
5114 |
--.else |
5115 |
-- @${AR} cq ${.TARGET} `NM='${NM}' lorder ${POBJS} | tsort -q` ${ARADD} |
5116 |
--.endif |
5117 |
-+ @${AR} cq ${.TARGET} ${POBJS} ${ARADD} |
5118 |
- ${RANLIB} ${.TARGET} |
5119 |
- .endif |
5120 |
- |
5121 |
-@@ -201,15 +193,9 @@ ${SHLIB_NAME_FULL}: ${SOBJS} |
5122 |
- .if defined(SHLIB_LINK) |
5123 |
- @${INSTALL_SYMLINK} ${SHLIB_NAME} ${SHLIB_LINK} |
5124 |
- .endif |
5125 |
--.if !defined(NM) |
5126 |
- @${CC} ${LDFLAGS} ${SSP_CFLAGS} ${SOLINKOPTS} \ |
5127 |
- -o ${.TARGET} -Wl,-soname,${SONAME} \ |
5128 |
-- `lorder ${SOBJS} | tsort -q` ${LDADD} |
5129 |
--.else |
5130 |
-- @${CC} ${LDFLAGS} ${SSP_CFLAGS} ${SOLINKOPTS} \ |
5131 |
-- -o ${.TARGET} -Wl,-soname,${SONAME} \ |
5132 |
-- `NM='${NM}' lorder ${SOBJS} | tsort -q` ${LDADD} |
5133 |
--.endif |
5134 |
-+ `echo ${SOBJS} | xargs -n 1 echo | sort -u` ${LDADD} |
5135 |
- .if ${MK_CTF} != "no" |
5136 |
- ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS} |
5137 |
- .endif |
5138 |
-@@ -267,13 +253,6 @@ _EXTRADEPEND: |
5139 |
- |
5140 |
- .if !target(install) |
5141 |
- |
5142 |
--.if defined(PRECIOUSLIB) |
5143 |
--.if !defined(NO_FSCHG) |
5144 |
--SHLINSTALLFLAGS+= -fschg |
5145 |
--.endif |
5146 |
--SHLINSTALLFLAGS+= -S |
5147 |
--.endif |
5148 |
-- |
5149 |
- _INSTALLFLAGS:= ${INSTALLFLAGS} |
5150 |
- .for ie in ${INSTALLFLAGS_EDIT} |
5151 |
- _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} |
5152 |
-diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk |
5153 |
-index 3c8fe5e..7916787 100644 |
5154 |
---- a/share/mk/bsd.prog.mk |
5155 |
-+++ b/share/mk/bsd.prog.mk |
5156 |
-@@ -176,13 +176,6 @@ _EXTRADEPEND: |
5157 |
- |
5158 |
- .if !target(install) |
5159 |
- |
5160 |
--.if defined(PRECIOUSPROG) |
5161 |
--.if !defined(NO_FSCHG) |
5162 |
--INSTALLFLAGS+= -fschg |
5163 |
--.endif |
5164 |
--INSTALLFLAGS+= -S |
5165 |
--.endif |
5166 |
-- |
5167 |
- _INSTALLFLAGS:= ${INSTALLFLAGS} |
5168 |
- .for ie in ${INSTALLFLAGS_EDIT} |
5169 |
- _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}} |
5170 |
|
5171 |
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.3-gentoo.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.3-gentoo.patch |
5172 |
deleted file mode 100644 |
5173 |
index ba4b5cf..0000000 |
5174 |
--- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-9.3-gentoo.patch |
5175 |
+++ /dev/null |
5176 |
@@ -1,352 +0,0 @@ |
5177 |
-tested revision 266298. |
5178 |
- |
5179 |
-diff --git a/share/mk/bsd.compiler.mk b/share/mk/bsd.compiler.mk |
5180 |
-index 0b2e46b..4854519 100644 |
5181 |
---- a/share/mk/bsd.compiler.mk |
5182 |
-+++ b/share/mk/bsd.compiler.mk |
5183 |
-@@ -1,7 +1,7 @@ |
5184 |
- # $FreeBSD: stable/9/share/mk/bsd.compiler.mk 253220 2013-07-11 20:09:46Z dim $ |
5185 |
- |
5186 |
- .if !defined(COMPILER_TYPE) |
5187 |
--. if ${CC:T:Mgcc*} |
5188 |
-+. if ${CC:T:M*gcc*} |
5189 |
- COMPILER_TYPE:= gcc |
5190 |
- . elif ${CC:T:Mclang} |
5191 |
- COMPILER_TYPE:= clang |
5192 |
-diff --git a/share/mk/bsd.doc.mk b/share/mk/bsd.doc.mk |
5193 |
-index ccc6aaa..579eb76 100644 |
5194 |
---- a/share/mk/bsd.doc.mk |
5195 |
-+++ b/share/mk/bsd.doc.mk |
5196 |
-@@ -135,10 +135,12 @@ CLEANFILES+= ${DOC}.ascii ${DOC}.ascii${DCOMPRESS_EXT} \ |
5197 |
- realinstall: |
5198 |
- .for _dev in ${PRINTERDEVICE:Mhtml} |
5199 |
- cd ${SRCDIR}; \ |
5200 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR}/${VOLUME}; \ |
5201 |
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
5202 |
- ${DOC}*.html ${DESTDIR}${BINDIR}/${VOLUME} |
5203 |
- .endfor |
5204 |
- .for _dev in ${PRINTERDEVICE:Nhtml} |
5205 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR}/${VOLUME}; \ |
5206 |
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
5207 |
- ${DFILE.${_dev}} ${DESTDIR}${BINDIR}/${VOLUME} |
5208 |
- .endfor |
5209 |
-diff --git a/share/mk/bsd.files.mk b/share/mk/bsd.files.mk |
5210 |
-index cf77893..85d1c78 100644 |
5211 |
---- a/share/mk/bsd.files.mk |
5212 |
-+++ b/share/mk/bsd.files.mk |
5213 |
-@@ -39,6 +39,7 @@ ${group}NAME_${file:T}?= ${file:T} |
5214 |
- .endif |
5215 |
- installfiles: _${group}INS_${file:T} |
5216 |
- _${group}INS_${file:T}: ${file} |
5217 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR_${.ALLSRC:T}} |
5218 |
- ${INSTALL} -o ${${group}OWN_${.ALLSRC:T}} \ |
5219 |
- -g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ |
5220 |
- ${.ALLSRC} \ |
5221 |
-@@ -51,10 +52,12 @@ _${group}FILES+= ${file} |
5222 |
- installfiles: _${group}INS |
5223 |
- _${group}INS: ${_${group}FILES} |
5224 |
- .if defined(${group}NAME) |
5225 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR}/${${group}NAME} |
5226 |
- ${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \ |
5227 |
- -m ${${group}MODE} ${.ALLSRC} \ |
5228 |
- ${DESTDIR}${${group}DIR}/${${group}NAME} |
5229 |
- .else |
5230 |
-+ ${INSTALL} -d ${DESTDIR}${${group}DIR} |
5231 |
- ${INSTALL} -o ${${group}OWN} -g ${${group}GRP} \ |
5232 |
- -m ${${group}MODE} ${.ALLSRC} ${DESTDIR}${${group}DIR} |
5233 |
- .endif |
5234 |
-diff --git a/share/mk/bsd.incs.mk b/share/mk/bsd.incs.mk |
5235 |
-index 51200a6..efa04cc 100644 |
5236 |
---- a/share/mk/bsd.incs.mk |
5237 |
-+++ b/share/mk/bsd.incs.mk |
5238 |
-@@ -41,6 +41,9 @@ ${group}NAME_${header:T}?= ${header:T} |
5239 |
- .endif |
5240 |
- installincludes: _${group}INS_${header:T} |
5241 |
- _${group}INS_${header:T}: ${header} |
5242 |
-+ ${INSTALL} -d -o ${${group}OWN_${.ALLSRC:T}} \ |
5243 |
-+ -g ${${group}GRP_${.ALLSRC:T}} \ |
5244 |
-+ ${DESTDIR}${${group}DIR_${.ALLSRC:T}} |
5245 |
- ${INSTALL} -C -o ${${group}OWN_${.ALLSRC:T}} \ |
5246 |
- -g ${${group}GRP_${.ALLSRC:T}} -m ${${group}MODE_${.ALLSRC:T}} \ |
5247 |
- ${.ALLSRC} \ |
5248 |
-@@ -53,9 +56,13 @@ _${group}INCS+= ${header} |
5249 |
- installincludes: _${group}INS |
5250 |
- _${group}INS: ${_${group}INCS} |
5251 |
- .if defined(${group}NAME) |
5252 |
-+ ${INSTALL} -d -o ${${group}OWN} -g ${${group}GRP} \ |
5253 |
-+ ${DESTDIR}${${group}DIR} |
5254 |
- ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ |
5255 |
- ${.ALLSRC} ${DESTDIR}${${group}DIR}/${${group}NAME} |
5256 |
- .else |
5257 |
-+ ${INSTALL} -d -o ${${group}OWN} -g ${${group}GRP} \ |
5258 |
-+ ${DESTDIR}${${group}DIR} |
5259 |
- ${INSTALL} -C -o ${${group}OWN} -g ${${group}GRP} -m ${${group}MODE} \ |
5260 |
- ${.ALLSRC} ${DESTDIR}${${group}DIR} |
5261 |
- .endif |
5262 |
-diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk |
5263 |
-index 285a778..c09a8dd 100644 |
5264 |
---- a/share/mk/bsd.info.mk |
5265 |
-+++ b/share/mk/bsd.info.mk |
5266 |
-@@ -83,6 +83,7 @@ INFO2HTML?= info2html |
5267 |
- TEX?= tex |
5268 |
- DVIPS?= dvips |
5269 |
- DVIPS2ASCII?= dvips2ascii |
5270 |
-+INSTALL?= install |
5271 |
- |
5272 |
- .SUFFIXES: ${ICOMPRESS_EXT} .info .texi .texinfo .dvi .ps .latin1 .html |
5273 |
- |
5274 |
-@@ -144,15 +145,17 @@ ${x:S/$/${ICOMPRESS_EXT}/}: ${x} |
5275 |
- INSTALLINFODIRS+= ${x:S/$/-install/} |
5276 |
- ${x:S/$/-install/}: |
5277 |
- .if !empty(.MAKEFLAGS:M-j) |
5278 |
-+ ${INSTALL} -d ${DESTDIR}${INFODIR} |
5279 |
- lockf -k ${DESTDIR}${INFODIR}/${INFODIRFILE} \ |
5280 |
- ${INSTALLINFO} ${INSTALLINFOFLAGS} \ |
5281 |
-- --defsection=${INFOSECTION} \ |
5282 |
-- --defentry=${INFOENTRY_${x}} \ |
5283 |
-+ --section=${INFOSECTION} \ |
5284 |
-+ --entry=${INFOENTRY_${x}} \ |
5285 |
- ${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE} |
5286 |
- .else |
5287 |
-+ ${INSTALL} -d ${DESTDIR}${INFODIR} |
5288 |
- ${INSTALLINFO} ${INSTALLINFOFLAGS} \ |
5289 |
-- --defsection=${INFOSECTION} \ |
5290 |
-- --defentry=${INFOENTRY_${x}} \ |
5291 |
-+ --section=${INFOSECTION} \ |
5292 |
-+ --entry=${INFOENTRY_${x}} \ |
5293 |
- ${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE} |
5294 |
- .endif |
5295 |
- .endfor |
5296 |
-diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk |
5297 |
-index c6ff20a..7c2a816 100644 |
5298 |
---- a/share/mk/bsd.lib.mk |
5299 |
-+++ b/share/mk/bsd.lib.mk |
5300 |
-@@ -39,8 +39,6 @@ CFLAGS+= ${DEBUG_FLAGS} |
5301 |
- .if ${MK_CTF} != "no" && ${DEBUG_FLAGS:M-g} != "" |
5302 |
- CTFFLAGS+= -g |
5303 |
- .endif |
5304 |
--.else |
5305 |
--STRIP?= -s |
5306 |
- .endif |
5307 |
- |
5308 |
- .if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \ |
5309 |
-@@ -302,14 +300,17 @@ realinstall: _libinstall |
5310 |
- .ORDER: beforeinstall _libinstall |
5311 |
- _libinstall: |
5312 |
- .if defined(LIB) && !empty(LIB) && ${MK_INSTALLLIB} != "no" |
5313 |
-+ ${INSTALL} -d ${DESTDIR}${_LIBDIR} |
5314 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
5315 |
- ${_INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${_LIBDIR} |
5316 |
- .endif |
5317 |
- .if ${MK_PROFILE} != "no" && defined(LIB) && !empty(LIB) |
5318 |
-+ ${INSTALL} -d ${DESTDIR}${_LIBDIR} |
5319 |
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
5320 |
- ${_INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${_LIBDIR} |
5321 |
- .endif |
5322 |
- .if defined(SHLIB_NAME) |
5323 |
-+ ${INSTALL} -d ${DESTDIR}${_SHLIBDIR} |
5324 |
- ${INSTALL} ${STRIP} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
5325 |
- ${_INSTALLFLAGS} ${_SHLINSTALLFLAGS} \ |
5326 |
- ${SHLIB_NAME} ${DESTDIR}${_SHLIBDIR} |
5327 |
-@@ -363,10 +364,12 @@ _libinstall: |
5328 |
- .endif # SHLIB_LINK |
5329 |
- .endif # SHIB_NAME |
5330 |
- .if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && ${MK_TOOLCHAIN} != "no" |
5331 |
-+ ${INSTALL} -d ${DESTDIR}${_LIBDIR} |
5332 |
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
5333 |
- ${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${_LIBDIR} |
5334 |
- .endif |
5335 |
- .if defined(WANT_LINT) && !defined(NO_LINT) && defined(LIB) && !empty(LIB) |
5336 |
-+ ${INSTALL} -d ${DESTDIR}${LINTLIBDIR} |
5337 |
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ |
5338 |
- ${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR} |
5339 |
- .endif |
5340 |
-diff --git a/share/mk/bsd.libnames.mk b/share/mk/bsd.libnames.mk |
5341 |
-index fce7e2a..4ee6f81 100644 |
5342 |
---- a/share/mk/bsd.libnames.mk |
5343 |
-+++ b/share/mk/bsd.libnames.mk |
5344 |
-@@ -50,7 +50,7 @@ LIBDWARF?= ${DESTDIR}${LIBDIR}/libdwarf.a |
5345 |
- LIBEDIT?= ${DESTDIR}${LIBDIR}/libedit.a |
5346 |
- LIBELF?= ${DESTDIR}${LIBDIR}/libelf.a |
5347 |
- LIBFETCH?= ${DESTDIR}${LIBDIR}/libfetch.a |
5348 |
--LIBFL?= "don't use LIBFL, use LIBL" |
5349 |
-+LIBFL?= ${DESTDIR}${LIBDIR}/libfl.a |
5350 |
- LIBFORM?= ${DESTDIR}${LIBDIR}/libform.a |
5351 |
- LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a |
5352 |
- LIBG2C?= ${DESTDIR}${LIBDIR}/libg2c.a |
5353 |
-@@ -81,7 +81,7 @@ LIBKEYCAP?= ${DESTDIR}${LIBDIR}/libkeycap.a |
5354 |
- LIBKICONV?= ${DESTDIR}${LIBDIR}/libkiconv.a |
5355 |
- LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a |
5356 |
- LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a |
5357 |
--LIBL?= ${DESTDIR}${LIBDIR}/libl.a |
5358 |
-+LIBL?= ${DESTDIR}${LIBDIR}/libfl.a |
5359 |
- LIBLN?= "don't use LIBLN, use LIBL" |
5360 |
- .if ${MK_BIND} != "no" |
5361 |
- LIBLWRES?= ${DESTDIR}${LIBDIR}/liblwres.a |
5362 |
-diff --git a/share/mk/bsd.links.mk b/share/mk/bsd.links.mk |
5363 |
-index 1e848c5..035f5aa 100644 |
5364 |
---- a/share/mk/bsd.links.mk |
5365 |
-+++ b/share/mk/bsd.links.mk |
5366 |
-@@ -15,6 +15,8 @@ _installlinks: |
5367 |
- t=${DESTDIR}$$1; \ |
5368 |
- shift; \ |
5369 |
- ${ECHO} $$t -\> $$l; \ |
5370 |
-+ d=`dirname $$t`; \ |
5371 |
-+ test -d $$d || mkdir $$d; \ |
5372 |
- ${INSTALL_LINK} $$l $$t; \ |
5373 |
- done; true |
5374 |
- .endif |
5375 |
-@@ -26,6 +28,8 @@ _installlinks: |
5376 |
- t=${DESTDIR}$$1; \ |
5377 |
- shift; \ |
5378 |
- ${ECHO} $$t -\> $$l; \ |
5379 |
-+ d=`dirname $$t`; \ |
5380 |
-+ test -d $$d || mkdir $$d; \ |
5381 |
- ${INSTALL_SYMLINK} $$l $$t; \ |
5382 |
- done; true |
5383 |
- .endif |
5384 |
-diff --git a/share/mk/bsd.man.mk b/share/mk/bsd.man.mk |
5385 |
-index d76fb48..a93c3b8 100644 |
5386 |
---- a/share/mk/bsd.man.mk |
5387 |
-+++ b/share/mk/bsd.man.mk |
5388 |
-@@ -165,9 +165,11 @@ _maninstall: ${MAN} |
5389 |
- .if defined(NO_MANCOMPRESS) |
5390 |
- .if defined(MANFILTER) |
5391 |
- .for __page in ${MAN} |
5392 |
-+ ${INSTALL} -d ${DESTDIR}${MANDIR}${page:E}${MANSUBDIR}/${page} |
5393 |
- ${MINSTALL} ${__page:T:S/$/${FILTEXTENSION}/g} \ |
5394 |
- ${DESTDIR}${MANDIR}${__page:E}${MANSUBDIR}/${__page} |
5395 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
5396 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page} |
5397 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}${FILTEXTENSION}/g} \ |
5398 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page} |
5399 |
- .endif |
5400 |
-@@ -181,11 +183,14 @@ _maninstall: ${MAN} |
5401 |
- esac; \ |
5402 |
- page=$$1; shift; sect=$$1; shift; \ |
5403 |
- d=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}; \ |
5404 |
-+ ${ECHO} ${INSTALL} -d $${d}; \ |
5405 |
-+ ${INSTALL} -d $${d}; \ |
5406 |
- ${ECHO} ${MINSTALL} $${page} $${d}; \ |
5407 |
- ${MINSTALL} $${page} $${d}; \ |
5408 |
- done |
5409 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
5410 |
- .for __page in ${MAN} |
5411 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page:T} |
5412 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}/} \ |
5413 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page:T} |
5414 |
- .endfor |
5415 |
-@@ -193,9 +198,11 @@ _maninstall: ${MAN} |
5416 |
- .endif |
5417 |
- .else |
5418 |
- .for __page in ${MAN} |
5419 |
-+ ${INSTALL} -d ${DESTDIR}${MANDIR}${page:E}${MANSUBDIR} |
5420 |
- ${MINSTALL} ${__page:T:S/$/${MCOMPRESS_EXT}/g} \ |
5421 |
- ${DESTDIR}${MANDIR}${__page:E}${MANSUBDIR} |
5422 |
- .if defined(MANBUILDCAT) && !empty(MANBUILDCAT) |
5423 |
-+ ${INSTALL} -d ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page:T:S/$/${MCOMPRESS_EXT} |
5424 |
- ${MINSTALL} ${__page:T:S/$/${CATEXT}${MCOMPRESS_EXT}/g} \ |
5425 |
- ${DESTDIR}${CATDIR}${__page:E}${MANSUBDIR}/${__page:T:S/$/${MCOMPRESS_EXT}/} |
5426 |
- .endif |
5427 |
-diff --git a/share/mk/bsd.nls.mk b/share/mk/bsd.nls.mk |
5428 |
-index 2d18ad4..1f06753 100644 |
5429 |
---- a/share/mk/bsd.nls.mk |
5430 |
-+++ b/share/mk/bsd.nls.mk |
5431 |
-@@ -62,7 +62,8 @@ NLSDIR?= ${SHAREDIR}/nls |
5432 |
- # installation rules |
5433 |
- # |
5434 |
- .for file in ${NLS} |
5435 |
--NLSNAME_${file:T}= ${file:T:R}/${NLSNAME}.cat |
5436 |
-+NLSDIR_${file:T}= ${SHAREDIR}/nls/${file:T:R}/ |
5437 |
-+NLSNAME_${file:T}= ${NLSNAME}.cat |
5438 |
- .if defined(NLSLINKS_${file:R}) && !empty(NLSLINKS_${file:R}) |
5439 |
- NLSLINKS+= ${file:R} |
5440 |
- .endif |
5441 |
-diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk |
5442 |
-index 11a63cf..37ff0f2 100644 |
5443 |
---- a/share/mk/bsd.own.mk |
5444 |
-+++ b/share/mk/bsd.own.mk |
5445 |
-@@ -202,9 +202,6 @@ INSTALL_LINK?= ${INSTALL} ${HRDLINK} |
5446 |
- INSTALL_SYMLINK?= ${INSTALL} ${SYMLINK} |
5447 |
- |
5448 |
- # Common variables |
5449 |
--.if !defined(DEBUG_FLAGS) |
5450 |
--STRIP?= -s |
5451 |
--.endif |
5452 |
- |
5453 |
- COMPRESS_CMD?= gzip -cn |
5454 |
- COMPRESS_EXT?= .gz |
5455 |
-diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk |
5456 |
-index 34937f8..d2ae145 100644 |
5457 |
---- a/share/mk/bsd.prog.mk |
5458 |
-+++ b/share/mk/bsd.prog.mk |
5459 |
-@@ -44,10 +44,6 @@ CTFFLAGS+= -g |
5460 |
- .endif |
5461 |
- .endif |
5462 |
- |
5463 |
--.if !defined(DEBUG_FLAGS) |
5464 |
--STRIP?= -s |
5465 |
--.endif |
5466 |
-- |
5467 |
- .if defined(NO_SHARED) && (${NO_SHARED} != "no" && ${NO_SHARED} != "NO") |
5468 |
- LDFLAGS+= -static |
5469 |
- .endif |
5470 |
-@@ -201,6 +197,7 @@ realinstall: _proginstall |
5471 |
- .ORDER: beforeinstall _proginstall |
5472 |
- _proginstall: |
5473 |
- .if defined(PROG) |
5474 |
-+ ${INSTALL} -d ${DESTDIR}${BINDIR} |
5475 |
- ${INSTALL} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
5476 |
- ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR}/${PROGNAME} |
5477 |
- .if ${MK_DEBUG_FILES} != "no" |
5478 |
-@@ -234,6 +231,7 @@ SCRIPTSGRP_${script:T}?= ${SCRIPTSGRP} |
5479 |
- SCRIPTSMODE_${script:T}?= ${SCRIPTSMODE} |
5480 |
- _scriptsinstall: _SCRIPTSINS_${script:T} |
5481 |
- _SCRIPTSINS_${script:T}: ${script} |
5482 |
-+ ${INSTALL} -d ${DESTDIR}${SCRIPTSDIR_${.ALLSRC:T}} |
5483 |
- ${INSTALL} -o ${SCRIPTSOWN_${.ALLSRC:T}} \ |
5484 |
- -g ${SCRIPTSGRP_${.ALLSRC:T}} -m ${SCRIPTSMODE_${.ALLSRC:T}} \ |
5485 |
- ${.ALLSRC} \ |
5486 |
-diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk |
5487 |
-index 519143c..358371d 100644 |
5488 |
---- a/share/mk/bsd.sys.mk |
5489 |
-+++ b/share/mk/bsd.sys.mk |
5490 |
-@@ -30,10 +30,6 @@ CFLAGS+= -std=${CSTD} |
5491 |
- .if defined(WARNS) |
5492 |
- .if ${WARNS} >= 1 |
5493 |
- CWARNFLAGS+= -Wsystem-headers |
5494 |
--.if !defined(NO_WERROR) && (${COMPILER_TYPE} != "clang" \ |
5495 |
-- || !defined(NO_WERROR.clang)) |
5496 |
--CWARNFLAGS+= -Werror |
5497 |
--.endif # !NO_WERROR && (!CLANG || !NO_WERROR.clang) |
5498 |
- .endif # WARNS >= 1 |
5499 |
- .if ${WARNS} >= 2 |
5500 |
- CWARNFLAGS+= -Wall -Wno-format-y2k |
5501 |
-@@ -95,10 +91,6 @@ CWARNFLAGS+= -Wformat=2 -Wno-format-extra-args |
5502 |
- CWARNFLAGS+= -Wno-format-nonliteral |
5503 |
- .endif # WARNS <= 3 |
5504 |
- .endif # CLANG |
5505 |
--.if !defined(NO_WERROR) && (${COMPILER_TYPE} != "clang" \ |
5506 |
-- || !defined(NO_WERROR.clang)) |
5507 |
--CWARNFLAGS+= -Werror |
5508 |
--.endif # !NO_WERROR && (!CLANG || !NO_WERROR.clang) |
5509 |
- .endif # WFORMAT > 0 |
5510 |
- .endif # WFORMAT |
5511 |
- .if defined(NO_WFORMAT) || (${COMPILER_TYPE} == "clang" && defined(NO_WFORMAT.clang)) |
5512 |
-diff --git a/share/mk/sys.mk b/share/mk/sys.mk |
5513 |
-index 3d61918..5b841ff 100644 |
5514 |
---- a/share/mk/sys.mk |
5515 |
-+++ b/share/mk/sys.mk |
5516 |
-@@ -311,12 +311,6 @@ YFLAGS ?= -d |
5517 |
- rm -f ${.PREFIX}.tmp.c |
5518 |
- ${CTFCONVERT_CMD} |
5519 |
- |
5520 |
--# FreeBSD build pollution. Hide it in the non-POSIX part of the ifdef. |
5521 |
--__MAKE_CONF?=/etc/make.conf |
5522 |
--.if exists(${__MAKE_CONF}) |
5523 |
--.include "${__MAKE_CONF}" |
5524 |
--.endif |
5525 |
-- |
5526 |
- .if defined(__MAKE_SHELL) && !empty(__MAKE_SHELL) |
5527 |
- SHELL= ${__MAKE_SHELL} |
5528 |
- .SHELL: path=${__MAKE_SHELL} |
5529 |
|
5530 |
diff --git a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-add-nossp-cflags.patch b/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-add-nossp-cflags.patch |
5531 |
deleted file mode 100644 |
5532 |
index 8eb80c3..0000000 |
5533 |
--- a/sys-freebsd/freebsd-mk-defs/files/freebsd-mk-defs-add-nossp-cflags.patch |
5534 |
+++ /dev/null |
5535 |
@@ -1,28 +0,0 @@ |
5536 |
-https://bugs.gentoo.org/show_bug.cgi?id=511698 |
5537 |
- |
5538 |
-diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk |
5539 |
-index e438633..de4a05b 100644 |
5540 |
---- a/share/mk/bsd.sys.mk |
5541 |
-+++ b/share/mk/bsd.sys.mk |
5542 |
-@@ -111,12 +111,18 @@ CLANG_OPT_SMALL= -mstack-alignment=8 -mllvm -inline-threshold=3\ |
5543 |
- CFLAGS+= -Qunused-arguments |
5544 |
- .endif # CLANG |
5545 |
- |
5546 |
--.if ${MK_SSP} != "no" && ${MACHINE_CPUARCH} != "ia64" && \ |
5547 |
-- ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" |
5548 |
-+.if ${MACHINE_CPUARCH} != "ia64" && ${MACHINE_CPUARCH} != "arm" \ |
5549 |
-+ && ${MACHINE_CPUARCH} != "mips" |
5550 |
-+.if ${MK_SSP} != "no" |
5551 |
- # Don't use -Wstack-protector as it breaks world with -Werror. |
5552 |
- SSP_CFLAGS?= -fstack-protector |
5553 |
-+.else |
5554 |
-+# gcc-4.9, -fstack-protector-strong is enabled by default. |
5555 |
-+# Add -fno-stack-protector to disable it. Gentoo Bug #511698. |
5556 |
-+SSP_CFLAGS= -fno-stack-protector |
5557 |
-+.endif #SSP |
5558 |
- CFLAGS+= ${SSP_CFLAGS} |
5559 |
--.endif # SSP && !IA64 && !ARM && !MIPS |
5560 |
-+.endif # !IA64 && !ARM && !MIPS |
5561 |
- |
5562 |
- # Allow user-specified additional warning flags |
5563 |
- CFLAGS+= ${CWARNFLAGS} |
5564 |
|
5565 |
diff --git a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.1.0.9999.ebuild b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.1.0.9999.ebuild |
5566 |
deleted file mode 100644 |
5567 |
index 54a98c8..0000000 |
5568 |
--- a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-10.1.0.9999.ebuild |
5569 |
+++ /dev/null |
5570 |
@@ -1,41 +0,0 @@ |
5571 |
-# Copyright 1999-2014 Gentoo Foundation |
5572 |
-# Distributed under the terms of the GNU General Public License v2 |
5573 |
-# $Header: $ |
5574 |
- |
5575 |
-EAPI=3 |
5576 |
- |
5577 |
-inherit bsdmk freebsd |
5578 |
- |
5579 |
-DESCRIPTION="Makefiles definitions used for building and installing libraries and system files" |
5580 |
-SLOT="0" |
5581 |
- |
5582 |
-IUSE="userland_GNU" |
5583 |
- |
5584 |
-if [[ ${PV} != *9999* ]]; then |
5585 |
- KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
5586 |
- SRC_URI="mirror://gentoo/${SHARE}.tar.xz" |
5587 |
-fi |
5588 |
- |
5589 |
-RDEPEND="" |
5590 |
-DEPEND="" |
5591 |
- |
5592 |
-RESTRICT="strip" |
5593 |
- |
5594 |
-S="${WORKDIR}/share/mk" |
5595 |
- |
5596 |
-src_prepare() { |
5597 |
- epatch "${FILESDIR}/${PN}-10.0-gentoo.patch" |
5598 |
- epatch "${FILESDIR}/${PN}-add-nossp-cflags.patch" |
5599 |
- use userland_GNU && epatch "${FILESDIR}/${PN}-10.0-gnu.patch" |
5600 |
-} |
5601 |
- |
5602 |
-src_compile() { :; } |
5603 |
- |
5604 |
-src_install() { |
5605 |
- if [[ ${CHOST} != *-freebsd* ]]; then |
5606 |
- insinto /usr/share/mk/freebsd |
5607 |
- else |
5608 |
- insinto /usr/share/mk |
5609 |
- fi |
5610 |
- doins *.mk *.awk |
5611 |
-} |
5612 |
|
5613 |
diff --git a/sys-freebsd/freebsd-pam-modules/Manifest b/sys-freebsd/freebsd-pam-modules/Manifest |
5614 |
deleted file mode 100644 |
5615 |
index f3052db..0000000 |
5616 |
--- a/sys-freebsd/freebsd-pam-modules/Manifest |
5617 |
+++ /dev/null |
5618 |
@@ -1,3 +0,0 @@ |
5619 |
-AUX README.pamd 2965 SHA256 2d3cea2b59ddee2ca6639ca7d14068e1499acee4194181c255bdfea81964d5ac SHA512 e278fd0a5056ae8c1de2f6104bfb4766adc89c7c357a4b965cb08ee555a071b326462c937fd63cd8fc7bd7e2a880f939cecdf2997a3d2c33c1b962afee12d38e WHIRLPOOL 8ee79582595a2b79f3936863bd5fdb144930380a4073a74ec81967b3a11d61a40ca0becaf36dfa760c0c6110efa2041a4acd6041615e0d006f032e1d9c819aff |
5620 |
-AUX freebsd-pam-modules-9.0-gentoo.patch 622 SHA256 b397d5d646712c4a63606d94c45d25551344872d77d7b6b5f646403a2b09f7fb SHA512 752b593a8bea623110683a181deefd7126eaded7bf94973bcd994b2415db5739cd69a125ee9bd0c960fd5a3e30e3a2eaf8c711893f94966a9cc5a9b0c3191af0 WHIRLPOOL 168b0ba47e9a326ff1db9cfe46724c83a45d744df0fa737599894ef1574b0e199c46e7626b16f5cc83cd4886fd79320c5f92e4c2b37801ef3604ffd4ec1b2de7 |
5621 |
-EBUILD freebsd-pam-modules-10.1.0.9999.ebuild 1123 SHA256 cafabb8a7349e9da4b38191fcb0564ec8f858e4e22f3036c664196c0f767b2b6 SHA512 f89569d4bd75c970d564405b2fe6474faea98cfc46d1d87e8ca46e7af1a5e3261db535cdc8d1854f90a4ad92647d428b321b609645b52d5b451a6c0ed605b243 WHIRLPOOL 0055549c4390770e1527337db1cf17bc577a8f2c418b7e7f73343dcb1e3e04a5de01e963d94ffde155bdf144b9acb193e64e20eda631e32195a926d60af4a86f |
5622 |
|
5623 |
diff --git a/sys-freebsd/freebsd-pam-modules/files/README.pamd b/sys-freebsd/freebsd-pam-modules/files/README.pamd |
5624 |
deleted file mode 100644 |
5625 |
index 64e716c..0000000 |
5626 |
--- a/sys-freebsd/freebsd-pam-modules/files/README.pamd |
5627 |
+++ /dev/null |
5628 |
@@ -1,63 +0,0 @@ |
5629 |
-/etc/pam.d |
5630 |
- |
5631 |
-This directory contains configuration files for the Pluggable |
5632 |
-Authentication Modules (PAM) library. |
5633 |
- |
5634 |
-Each file details the module chain for a single service, and must be |
5635 |
-named after that service. If no configuration file is found for a |
5636 |
-particular service, the /etc/pam.d/other is used instead. If that |
5637 |
-file does not exist, /etc/pam.conf is searched for entries matching |
5638 |
-the specified service or, failing that, the "other" service. |
5639 |
- |
5640 |
-See the pam(8) manual page for an explanation of the workings of the |
5641 |
-PAM library and descriptions of the various files and modules. Below |
5642 |
-is a summary of the format for the pam.conf and /etc/pam.d/* files. |
5643 |
- |
5644 |
-Configuration lines take the following form: |
5645 |
- |
5646 |
-module-type control-flag module-path arguments |
5647 |
- |
5648 |
-Comments are introduced with a hash mark ('#'). Blank lines and lines |
5649 |
-consisting entirely of comments are ignored. |
5650 |
- |
5651 |
-The meanings of the different fields are as follows: |
5652 |
- |
5653 |
- module-type: |
5654 |
- auth: prompt for a password to authenticate that the user is |
5655 |
- who they say they are, and set any credentials. |
5656 |
- account: non-authentication based authorization, based on time, |
5657 |
- resources, etc. |
5658 |
- session: housekeeping before and/or after login. |
5659 |
- password: update authentication tokens. |
5660 |
- |
5661 |
- control-flag: How libpam handles success or failure of the module. |
5662 |
- required: success is required; on failure all remaining |
5663 |
- modules are run, but the request will be denied. |
5664 |
- requisite: success is required, and on failure no remaining |
5665 |
- modules are run. |
5666 |
- sufficient: success is sufficient, and if no previous required |
5667 |
- module failed, no remaining modules are run. |
5668 |
- binding: success is sufficient; on failure all remaining |
5669 |
- modules are run, but the request will be denied. |
5670 |
- optional: ignored unless the other modules return PAM_IGNORE. |
5671 |
- |
5672 |
- arguments: Module-specific options, plus some generic ones: |
5673 |
- debug: syslog debug info. |
5674 |
- no_warn: return no warning messages to the application. |
5675 |
- Remove this to feed back to the user the |
5676 |
- reason(s) they are being rejected. |
5677 |
- use_first_pass: try authentication using password from the |
5678 |
- preceding auth module. |
5679 |
- try_first_pass: first try authentication using password from |
5680 |
- the preceding auth module, and if that fails |
5681 |
- prompt for a new password. |
5682 |
- use_mapped_pass: convert cleartext password to a crypto key. |
5683 |
- expose_account: allow printing more info about the user when |
5684 |
- prompting. |
5685 |
- |
5686 |
-Note that having a "sufficient" module as the last entry for a |
5687 |
-particular service and module type may result in surprising behaviour. |
5688 |
-To get the intended semantics, add a "required" entry listing the |
5689 |
-pam_deny module at the end of the chain. |
5690 |
- |
5691 |
-$Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/files/README.pamd,v 1.1 2009/01/22 21:03:18 the_paya Exp $ |
5692 |
|
5693 |
diff --git a/sys-freebsd/freebsd-pam-modules/files/freebsd-pam-modules-9.0-gentoo.patch b/sys-freebsd/freebsd-pam-modules/files/freebsd-pam-modules-9.0-gentoo.patch |
5694 |
deleted file mode 100644 |
5695 |
index aa08d40..0000000 |
5696 |
--- a/sys-freebsd/freebsd-pam-modules/files/freebsd-pam-modules-9.0-gentoo.patch |
5697 |
+++ /dev/null |
5698 |
@@ -1,22 +0,0 @@ |
5699 |
---- lib/libpam/modules/Makefile.inc.old 2011-11-02 20:46:56.000000000 +0000 |
5700 |
-+++ lib/libpam/modules/Makefile.inc 2011-11-02 20:47:16.000000000 +0000 |
5701 |
-@@ -5,18 +5,10 @@ |
5702 |
- NO_INSTALLLIB= |
5703 |
- NO_PROFILE= |
5704 |
- |
5705 |
--CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam |
5706 |
-+CFLAGS+= -I${.CURDIR}/../../libpam |
5707 |
- |
5708 |
--# This is nasty. |
5709 |
--# For the static case, libpam.a depends on the modules. |
5710 |
--# For the dynamic case, the modules depend on libpam.so.N |
5711 |
--.if defined(_NO_LIBPAM_SO_YET) |
5712 |
--NO_PIC= |
5713 |
--.else |
5714 |
- SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR} |
5715 |
--DPADD+= ${LIBPAM} |
5716 |
- LDADD+= -lpam |
5717 |
--.endif |
5718 |
- |
5719 |
- .c.o: |
5720 |
- ${CC} ${CFLAGS} -DOPENPAM_STATIC_MODULES -c ${.IMPSRC} |
5721 |
|
5722 |
diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-10.1.0.9999.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-10.1.0.9999.ebuild |
5723 |
deleted file mode 100644 |
5724 |
index f60689b..0000000 |
5725 |
--- a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-10.1.0.9999.ebuild |
5726 |
+++ /dev/null |
5727 |
@@ -1,47 +0,0 @@ |
5728 |
-# Copyright 1999-2014 Gentoo Foundation |
5729 |
-# Distributed under the terms of the GNU General Public License v2 |
5730 |
-# $Header: $ |
5731 |
- |
5732 |
-EAPI=3 |
5733 |
- |
5734 |
-inherit bsdmk freebsd multilib pam |
5735 |
- |
5736 |
-DESCRIPTION="FreeBSD's PAM authentication modules" |
5737 |
-SLOT="0" |
5738 |
- |
5739 |
-IUSE="kerberos nis" |
5740 |
- |
5741 |
-if [[ ${PV} != *9999* ]]; then |
5742 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
5743 |
- SRC_URI="mirror://gentoo/${LIB}.tar.xz" |
5744 |
-fi |
5745 |
- |
5746 |
-RDEPEND=">=sys-auth/openpam-20050201-r1 |
5747 |
- kerberos? ( dev-libs/openssl |
5748 |
- virtual/krb5 )" |
5749 |
-DEPEND="${RDEPEND} |
5750 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
5751 |
- =sys-freebsd/freebsd-sources-${RV}*" |
5752 |
- |
5753 |
-S=${WORKDIR}/lib/libpam/modules |
5754 |
- |
5755 |
-PATCHES=( "${FILESDIR}"/${PN}-9.0-gentoo.patch ) |
5756 |
- |
5757 |
-pkg_setup() { |
5758 |
- # Avoid installing pam_ssh as that has its own ebuild. |
5759 |
- mymakeopts="${mymakeopts} WITHOUT_OPENSSH= " |
5760 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS= " |
5761 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
5762 |
-} |
5763 |
- |
5764 |
-src_prepare() { |
5765 |
- for module in pam_deny pam_passwdqc pam_permit pam_krb5; do |
5766 |
- sed -i -e "s:${module}::" "${S}"/modules.inc |
5767 |
- done |
5768 |
-} |
5769 |
- |
5770 |
-src_install() { |
5771 |
- mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed" |
5772 |
- |
5773 |
- dodoc "${FILESDIR}/README.pamd" |
5774 |
-} |
5775 |
|
5776 |
diff --git a/sys-freebsd/freebsd-pf/Manifest b/sys-freebsd/freebsd-pf/Manifest |
5777 |
deleted file mode 100644 |
5778 |
index 8d70ceb..0000000 |
5779 |
--- a/sys-freebsd/freebsd-pf/Manifest |
5780 |
+++ /dev/null |
5781 |
@@ -1,10 +0,0 @@ |
5782 |
-AUX freebsd-pf-10.0-libevent.patch 403 SHA256 b3de99dbc75a116ae46fec1aeaab0bfcc7448a87b963e9defbb94238bb79bee0 SHA512 1ec0d97afd9392c852071d6df704b05a0ca3146a20a3daa4ac541291a2a30c7c8752330381e1f3ae3d874640dd2f04d4b94c5b4adf985a3fbf8890da6a7f9b0b WHIRLPOOL 9cfa4b4b751737b224c43eb75a6eb27ba2e02f2c99829ce8327956d5b0aa381afce7cb86455bc97792ffbe66d8919959865f0c4a5ba44302391c8ea91c7bc065 |
5783 |
-AUX freebsd-pf-10.0-pflogd.patch 349 SHA256 630346adc5d39d32112ebb299391b728a0e22b517376fa5f1d872593186f3800 SHA512 d4a605bb1a31837bfb0fa5d20fbac5ed449e4d579c5ab6025da2988ff101c31df7c67e23f9863f2f0b98a76788123e06402d8790d1c9baafd5b732dff0678644 WHIRLPOOL 388b3e724a6971e17867fc4749ea8769d56327a07fbba318f6e4d052ac049f78cc673911cca28dc37dbc3ca93f47eee061c07c0854101cefe6919b373746ebe1 |
5784 |
-AUX freebsd-pf-9.0-bpf.patch 309 SHA256 9adf0af94c2cf2f61c1e9f2ab071c8628b3845778f7f61abfe52feb347a615a7 SHA512 e3364e372b5c2d2c4a1960ee1f6d5fa411810ba3597356ec17b275afd8bb6813cce62d781fc683663037b008d81804d28a2617f308c942a741657cf8dcf0e039 WHIRLPOOL 141a2ad5dbc1e199dc669aef995fcd9b4c71a6a0da55c11645adbef073755a8d661ae4e653d377c42ab000913599ba7f90aa611059496996a2f57282eaf07f8a |
5785 |
-AUX freebsd-pf-9.0-getline.patch 1159 SHA256 c56fa01870e2ea7ea187b14ef0d13801782c3f479f3e7fe31ac8fba2917969aa SHA512 2b7ab780e8a66a63e17302f9de19a9a72c7246b349f16745fbe7a2a69d8c83c9d8c5c7e18311bf0273620ce18cd9add6dcf051364013f941d477dbbf165b3ddb WHIRLPOOL 4ab2c2598b79a4066d013bc056f6e3977501cdce959568b7f14360b8b34f3622654a784291c9ba979390fb71f6b76672c26c0242ee9c1df09aadbe96e3e4156e |
5786 |
-AUX freebsd-pf-9.0-libevent.patch 384 SHA256 e1331cdc64d5d135f3cf33bea70031cba7813abc39778f860f06a161c395f799 SHA512 763c352e5a1e789e5d634066cfa7de84199db14a1f0d61b699f84f04ef1a2acb82dd63d59cffa339ff673bf92a3a9aab25f4b60fb5928e040e47b8c43b6a93f8 WHIRLPOOL ac352886754590178c550aa755a2380e493cccb66815f2875e03427d5d644394de5f711b6d01625a49fafabb4df1e63bff89ea19f47f99b1f6252ff7ca248ab2 |
5787 |
-AUX freebsd-pf-9.0-pcap_pollution.patch 450 SHA256 d6ec6b1952e22f621b33d85956837bae26fd06a79cd3daf5e073b889d4650276 SHA512 262d23f74449f75d628dcda09a7c7e0d501b61899c0a2a1ca71179989803f5c5f70fd4f8908f06ce998aca994d54b43efe03578892ff121c0a27e7fa36e4f1dd WHIRLPOOL 9dd4be7cf9741a8cbb0395346a79656233532b10762551d04c85a36637bd95e5d1aed0024ba1ee4259d41d1b5d26777524353787d3c13ad12e4dfb21f12955cf |
5788 |
-AUX freebsd-pf-9.0-pflogd.patch 332 SHA256 fc832fdfa406603a2cb185b8f0f746b13f7673742578913ba635849e1fd778f6 SHA512 7bc7ea7695504a236b7f0aef2598ce577314843e0937258a68b21a7a246db733b9952e6822c938aac9f31409ddaef6753abe7f5143a514d4875abab4aec3f073 WHIRLPOOL b90b5e454e96cc6f243e99358b78d45b6a13a46810a3683d837f03721052e7b4fc3f8733ac2c96cabed204435a9be93a0652da5311f6552ece294031b0b663df |
5789 |
-AUX pf.confd 274 SHA256 dba0e34d34ef583b3a06499eae5f5dd9a73cacdb238915060735e24bd6c2c8eb SHA512 bf476bf7dc796307f2bf916e73780a6c70a2defd75f4dcbce664a99fdbb5aa69ce7004483073036a0c52fadcf9e7e7c8bcc902e9eacb7ac1963714740bdfc5e5 WHIRLPOOL fa87094a2339af4fc117840741e6460331c8de1d7ff656394701d58d0f362243788b1d6e650ee2cea34e9e4ad9c19f97996de8d01927808875384af2925a8adc |
5790 |
-AUX pf.initd 916 SHA256 b0cf7dadb825a1133fb52069e63eda10042aa62e3fa702bfbee53cd455837ac9 SHA512 cd55eccc9735f5a9e41297049a12c23b3fb4ef0987236b25bbfeeb01e7e0be697ff60fe8c9827dbb6a3da93211d6534e018a9693a6d1d48d60723738a21e7485 WHIRLPOOL babaa4fdcb885262ec9e89b9bd076aa4fec0c82764025d3192dda6986366b2f0169235c4c771510ea742444deb0c7bccf56f4ab23fb592351decae445b9cc158 |
5791 |
-EBUILD freebsd-pf-10.1.0.9999.ebuild 1678 SHA256 3bc74457178d6c6496c2080943e80de01853e45b4427e27ba10e53ad6c51b093 SHA512 f7eb1b7f5db59329cbe19b94db51d5372529e43a4e4e925d8fea1801d75220fb8c8073a40fb7d85240557c3a02b8239fc8dabfaaaefae1062afaab7679cf6128 WHIRLPOOL 287a0be6dac4bb133954829d35886c478768a5b81d6a7e416bf1c47cb1f6b24558145b757749f647d9326acfb95f99de79a5859b8323b1f3e02ac53cf9cc6610 |
5792 |
|
5793 |
diff --git a/sys-freebsd/freebsd-pf/files/freebsd-pf-10.0-libevent.patch b/sys-freebsd/freebsd-pf/files/freebsd-pf-10.0-libevent.patch |
5794 |
deleted file mode 100644 |
5795 |
index 57474ea..0000000 |
5796 |
--- a/sys-freebsd/freebsd-pf/files/freebsd-pf-10.0-libevent.patch |
5797 |
+++ /dev/null |
5798 |
@@ -1,16 +0,0 @@ |
5799 |
-diff --git a/usr.sbin/ftp-proxy/ftp-proxy/Makefile b/usr.sbin/ftp-proxy/ftp-proxy/Makefile |
5800 |
-index de49888..2ab32fb 100644 |
5801 |
---- a/usr.sbin/ftp-proxy/ftp-proxy/Makefile |
5802 |
-+++ b/usr.sbin/ftp-proxy/ftp-proxy/Makefile |
5803 |
-@@ -7,10 +7,7 @@ MAN= ftp-proxy.8 |
5804 |
- |
5805 |
- SRCS= ftp-proxy.c filter.c |
5806 |
- |
5807 |
--CFLAGS+= -I${.CURDIR}/../../../contrib/pf/libevent |
5808 |
-- |
5809 |
--LDADD+= ${LIBEVENT} |
5810 |
--DPADD+= ${LIBEVENT} |
5811 |
-+LDADD+= -levent |
5812 |
- |
5813 |
- WARNS?= 3 |
5814 |
- |
5815 |
|
5816 |
diff --git a/sys-freebsd/freebsd-pf/files/freebsd-pf-10.0-pflogd.patch b/sys-freebsd/freebsd-pf/files/freebsd-pf-10.0-pflogd.patch |
5817 |
deleted file mode 100644 |
5818 |
index 1316d3b..0000000 |
5819 |
--- a/sys-freebsd/freebsd-pf/files/freebsd-pf-10.0-pflogd.patch |
5820 |
+++ /dev/null |
5821 |
@@ -1,15 +0,0 @@ |
5822 |
-diff --git a/sbin/pflogd/Makefile b/sbin/pflogd/Makefile |
5823 |
-index fcff8eb..0da383d 100644 |
5824 |
---- a/sbin/pflogd/Makefile |
5825 |
-+++ b/sbin/pflogd/Makefile |
5826 |
-@@ -6,10 +6,7 @@ PROG= pflogd |
5827 |
- SRCS= pflogd.c pidfile.c privsep.c privsep_fdpass.c |
5828 |
- MAN= pflogd.8 |
5829 |
- |
5830 |
--CFLAGS+=-include ${.CURDIR}/../../lib/libpcap/config.h |
5831 |
-- |
5832 |
- LDADD= -lpcap |
5833 |
--DPADD= ${LIBPCAP} |
5834 |
- |
5835 |
- WARNS?= 2 |
5836 |
- |
5837 |
|
5838 |
diff --git a/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-bpf.patch b/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-bpf.patch |
5839 |
deleted file mode 100644 |
5840 |
index fb3c701..0000000 |
5841 |
--- a/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-bpf.patch |
5842 |
+++ /dev/null |
5843 |
@@ -1,10 +0,0 @@ |
5844 |
---- contrib/pf/pflogd/pflogd.c.old 2011-11-02 21:12:57.000000000 +0000 |
5845 |
-+++ contrib/pf/pflogd/pflogd.c 2011-11-02 21:13:11.000000000 +0000 |
5846 |
-@@ -39,6 +39,7 @@ |
5847 |
- #include <sys/stat.h> |
5848 |
- #include <sys/socket.h> |
5849 |
- #include <net/if.h> |
5850 |
-+#include <net/bpf.h> |
5851 |
- #include <stdio.h> |
5852 |
- #include <stdlib.h> |
5853 |
- #include <string.h> |
5854 |
|
5855 |
diff --git a/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-getline.patch b/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-getline.patch |
5856 |
deleted file mode 100644 |
5857 |
index 6679d32..0000000 |
5858 |
--- a/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-getline.patch |
5859 |
+++ /dev/null |
5860 |
@@ -1,38 +0,0 @@ |
5861 |
---- contrib/pf/ftp-proxy/ftp-proxy.c.old 2011-11-02 21:18:19.000000000 +0000 |
5862 |
-+++ contrib/pf/ftp-proxy/ftp-proxy.c 2011-11-02 21:18:36.000000000 +0000 |
5863 |
-@@ -103,7 +103,7 @@ |
5864 |
- int drop_privs(void); |
5865 |
- void end_session(struct session *); |
5866 |
- void exit_daemon(void); |
5867 |
--int getline(char *, size_t *); |
5868 |
-+int ftpgetline(char *, size_t *); |
5869 |
- void handle_connection(const int, short, void *); |
5870 |
- void handle_signal(int, short, void *); |
5871 |
- struct session * init_session(void); |
5872 |
-@@ -249,7 +249,7 @@ |
5873 |
- buf_avail); |
5874 |
- s->cbuf_valid += clientread; |
5875 |
- |
5876 |
-- while ((n = getline(s->cbuf, &s->cbuf_valid)) > 0) { |
5877 |
-+ while ((n = ftpgetline(s->cbuf, &s->cbuf_valid)) > 0) { |
5878 |
- logmsg(LOG_DEBUG, "#%d client: %s", s->id, linebuf); |
5879 |
- if (!client_parse(s)) { |
5880 |
- end_session(s); |
5881 |
-@@ -343,7 +343,7 @@ |
5882 |
- } |
5883 |
- |
5884 |
- int |
5885 |
--getline(char *buf, size_t *valid) |
5886 |
-+ftpgetline(char *buf, size_t *valid) |
5887 |
- { |
5888 |
- size_t i; |
5889 |
- |
5890 |
-@@ -1087,7 +1087,7 @@ |
5891 |
- buf_avail); |
5892 |
- s->sbuf_valid += srvread; |
5893 |
- |
5894 |
-- while ((n = getline(s->sbuf, &s->sbuf_valid)) > 0) { |
5895 |
-+ while ((n = ftpgetline(s->sbuf, &s->sbuf_valid)) > 0) { |
5896 |
- logmsg(LOG_DEBUG, "#%d server: %s", s->id, linebuf); |
5897 |
- if (!server_parse(s)) { |
5898 |
- end_session(s); |
5899 |
|
5900 |
diff --git a/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-libevent.patch b/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-libevent.patch |
5901 |
deleted file mode 100644 |
5902 |
index e488423..0000000 |
5903 |
--- a/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-libevent.patch |
5904 |
+++ /dev/null |
5905 |
@@ -1,15 +0,0 @@ |
5906 |
---- usr.sbin/ftp-proxy/ftp-proxy/Makefile.old 2011-11-02 20:57:03.000000000 +0000 |
5907 |
-+++ usr.sbin/ftp-proxy/ftp-proxy/Makefile 2011-11-02 20:57:21.000000000 +0000 |
5908 |
-@@ -7,11 +7,9 @@ |
5909 |
- |
5910 |
- SRCS= ftp-proxy.c filter.c |
5911 |
- |
5912 |
--CFLAGS+= -I${.CURDIR}/../../../contrib/pf/libevent |
5913 |
- CFLAGS+= -I${.CURDIR}/../../../sys/contrib/pf |
5914 |
- |
5915 |
--LDADD+= ${LIBEVENT} |
5916 |
--DPADD+= ${LIBEVENT} |
5917 |
-+LDADD+= -levent |
5918 |
- |
5919 |
- WARNS?= 3 |
5920 |
- |
5921 |
|
5922 |
diff --git a/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-pcap_pollution.patch b/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-pcap_pollution.patch |
5923 |
deleted file mode 100644 |
5924 |
index 184ab6f..0000000 |
5925 |
--- a/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-pcap_pollution.patch |
5926 |
+++ /dev/null |
5927 |
@@ -1,17 +0,0 @@ |
5928 |
---- contrib/pf/pflogd/privsep.c.old 2011-11-02 21:04:01.000000000 +0000 |
5929 |
-+++ contrib/pf/pflogd/privsep.c 2011-11-02 21:04:27.000000000 +0000 |
5930 |
-@@ -32,11 +32,13 @@ |
5931 |
- #include <errno.h> |
5932 |
- #include <fcntl.h> |
5933 |
- #include <limits.h> |
5934 |
-+#include <stdio.h> |
5935 |
-+#define HAVE_SNPRINTF |
5936 |
-+#define HAVE_STRLCPY |
5937 |
- #include <pcap.h> |
5938 |
- #include <pcap-int.h> |
5939 |
- #include <pwd.h> |
5940 |
- #include <signal.h> |
5941 |
--#include <stdio.h> |
5942 |
- #include <stdlib.h> |
5943 |
- #include <string.h> |
5944 |
- #include <syslog.h> |
5945 |
|
5946 |
diff --git a/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-pflogd.patch b/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-pflogd.patch |
5947 |
deleted file mode 100644 |
5948 |
index d5a65ea..0000000 |
5949 |
--- a/sys-freebsd/freebsd-pf/files/freebsd-pf-9.0-pflogd.patch |
5950 |
+++ /dev/null |
5951 |
@@ -1,13 +0,0 @@ |
5952 |
---- sbin/pflogd/Makefile.old 2011-11-02 21:08:46.000000000 +0000 |
5953 |
-+++ sbin/pflogd/Makefile 2011-11-02 21:08:53.000000000 +0000 |
5954 |
-@@ -6,10 +6,7 @@ |
5955 |
- SRCS= pflogd.c pidfile.c privsep.c privsep_fdpass.c |
5956 |
- MAN= pflogd.8 |
5957 |
- |
5958 |
--CFLAGS+=-include ${.CURDIR}/../../lib/libpcap/config.h |
5959 |
-- |
5960 |
- LDADD= -lpcap |
5961 |
--DPADD= ${LIBPCAP} ${LIBUTIL} |
5962 |
- |
5963 |
- WARNS?= 2 |
5964 |
- |
5965 |
|
5966 |
diff --git a/sys-freebsd/freebsd-pf/files/pf.confd b/sys-freebsd/freebsd-pf/files/pf.confd |
5967 |
deleted file mode 100644 |
5968 |
index 87c21b2..0000000 |
5969 |
--- a/sys-freebsd/freebsd-pf/files/pf.confd |
5970 |
+++ /dev/null |
5971 |
@@ -1,9 +0,0 @@ |
5972 |
-# Copyright 2006 Gentoo Foundation |
5973 |
-# Distributed under the terms of the GNU General Public License v2 |
5974 |
- |
5975 |
-# Defines where the rules file is found, by default /etc/pf.conf |
5976 |
-# pf_conf=/etc/pf.conf |
5977 |
- |
5978 |
-# Extra options to pass to pfctl when loading the rules |
5979 |
-# See pfctl(8) |
5980 |
-# pf_args= |
5981 |
|
5982 |
diff --git a/sys-freebsd/freebsd-pf/files/pf.initd b/sys-freebsd/freebsd-pf/files/pf.initd |
5983 |
deleted file mode 100755 |
5984 |
index da12019..0000000 |
5985 |
--- a/sys-freebsd/freebsd-pf/files/pf.initd |
5986 |
+++ /dev/null |
5987 |
@@ -1,50 +0,0 @@ |
5988 |
-#!/sbin/runscript |
5989 |
-# Copyright 2006 Gentoo Foundation |
5990 |
-# Distributed under the terms of the GNU General Public License v2 |
5991 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/files/pf.initd,v 1.2 2007/02/23 13:51:44 uberlord Exp $ |
5992 |
- |
5993 |
-depend() { |
5994 |
- need net |
5995 |
-} |
5996 |
- |
5997 |
-checkconfig() { |
5998 |
- if ! [ -c /dev/pf ]; then |
5999 |
- ewarn "Pseudo-device /dev/pf not found." |
6000 |
- |
6001 |
- ebegin "Loading pf module" |
6002 |
- if ! kldload pf; then |
6003 |
- eerror "Unable to load pf module." |
6004 |
- eend 1 |
6005 |
- return 1 |
6006 |
- fi |
6007 |
- eend $? |
6008 |
- |
6009 |
- if ! [ -c /dev/pf ]; then |
6010 |
- eerror "Pseudo-device /dev/pf still not found." |
6011 |
- return 1 |
6012 |
- fi |
6013 |
- fi |
6014 |
- |
6015 |
- return 0 |
6016 |
-} |
6017 |
- |
6018 |
-start() { |
6019 |
- checkconfig || return 1 |
6020 |
- |
6021 |
- einfo "Starting firewall" |
6022 |
- |
6023 |
- if [ -r "${PF_RULES_FILE}" ]; then |
6024 |
- einfo "Loading firewall rules" |
6025 |
- /sbin/pfctl -qe -f ${PF_RULES_FILE:-/etc/pf.conf} ${PF_OPTS} |
6026 |
- else |
6027 |
- /sbin/pfctl -qe ${PF_OPTS} |
6028 |
- fi |
6029 |
- |
6030 |
- eend $? |
6031 |
-} |
6032 |
- |
6033 |
-stop() { |
6034 |
- einfo "Stopping firewall" |
6035 |
- /sbin/pfctl -qd || retval=1 |
6036 |
- eend $? |
6037 |
-} |
6038 |
|
6039 |
diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-10.1.0.9999.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-10.1.0.9999.ebuild |
6040 |
deleted file mode 100644 |
6041 |
index 70e25fa..0000000 |
6042 |
--- a/sys-freebsd/freebsd-pf/freebsd-pf-10.1.0.9999.ebuild |
6043 |
+++ /dev/null |
6044 |
@@ -1,70 +0,0 @@ |
6045 |
-# Copyright 1999-2014 Gentoo Foundation |
6046 |
-# Distributed under the terms of the GNU General Public License v2 |
6047 |
-# $Header: $ |
6048 |
- |
6049 |
-EAPI=3 |
6050 |
- |
6051 |
-inherit bsdmk freebsd user |
6052 |
- |
6053 |
-DESCRIPTION="FreeBSD's base system libraries" |
6054 |
-SLOT="0" |
6055 |
- |
6056 |
-IUSE="" |
6057 |
- |
6058 |
-# Crypto is needed to have an internal OpenSSL header |
6059 |
-if [[ ${PV} != *9999* ]]; then |
6060 |
- KEYWORDS="~amd64-fbsd ~x86-fbsd" |
6061 |
- SRC_URI="mirror://gentoo/${USBIN}.tar.xz |
6062 |
- mirror://gentoo/${SBIN}.tar.xz |
6063 |
- mirror://gentoo/${CONTRIB}.tar.xz |
6064 |
- mirror://gentoo/${ETC}.tar.xz" |
6065 |
-fi |
6066 |
- |
6067 |
-RDEPEND="net-libs/libpcap" |
6068 |
-DEPEND="${RDEPEND} |
6069 |
- dev-libs/libevent |
6070 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
6071 |
- =sys-freebsd/freebsd-sources-${RV}*" |
6072 |
- |
6073 |
-S="${WORKDIR}" |
6074 |
- |
6075 |
-SUBDIRS="usr.sbin/authpf sbin/pfctl sbin/pflogd usr.sbin/ftp-proxy/ftp-proxy" |
6076 |
- |
6077 |
-pkg_setup() { |
6078 |
- enewgroup authpf 63 |
6079 |
- mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " |
6080 |
-} |
6081 |
- |
6082 |
-src_prepare() { |
6083 |
- # pcap-int.h redefines snprintf as pcap_snprintf |
6084 |
- epatch "${FILESDIR}/${PN}-9.0-pcap_pollution.patch" |
6085 |
- # Use system's libevent |
6086 |
- epatch "${FILESDIR}/${PN}-10.0-libevent.patch" |
6087 |
- epatch "${FILESDIR}/${PN}-10.0-pflogd.patch" |
6088 |
- epatch "${FILESDIR}/${PN}-9.0-bpf.patch" |
6089 |
- epatch "${FILESDIR}/${PN}-9.0-getline.patch" |
6090 |
- # Link in kernel sources |
6091 |
- [[ ! -e "${WORKDIR}/sys" ]] && ln -s "/usr/src/sys" "${WORKDIR}/sys" |
6092 |
-} |
6093 |
- |
6094 |
-src_compile() { |
6095 |
- for dir in ${SUBDIRS}; do |
6096 |
- einfo "Starting make in ${dir}" |
6097 |
- cd "${S}/${dir}" |
6098 |
- mkmake || die "Make ${dir} failed" |
6099 |
- done |
6100 |
-} |
6101 |
- |
6102 |
-src_install() { |
6103 |
- for dir in ${SUBDIRS}; do |
6104 |
- einfo "Starting install in ${dir}" |
6105 |
- cd "${S}/${dir}" |
6106 |
- mkinstall || die "Install ${dir} failed" |
6107 |
- done |
6108 |
- |
6109 |
- cd "${WORKDIR}"/etc |
6110 |
- insinto /etc |
6111 |
- doins pf.os |
6112 |
- # pf.initd provided by openrc, but no pf.confd |
6113 |
- newconfd "${FILESDIR}/pf.confd" pf |
6114 |
-} |
6115 |
|
6116 |
diff --git a/sys-freebsd/freebsd-rescue/Manifest b/sys-freebsd/freebsd-rescue/Manifest |
6117 |
deleted file mode 100644 |
6118 |
index 98b1a8e..0000000 |
6119 |
--- a/sys-freebsd/freebsd-rescue/Manifest |
6120 |
+++ /dev/null |
6121 |
@@ -1,8 +0,0 @@ |
6122 |
-AUX freebsd-rescue-10.0-zlib.patch 861 SHA256 e6ed90b353f180dc805d8ebf8774ef221f99dcd2ee2df485d48e795020ae8f4c SHA512 b055878934144bb2403bcf7d93b6239d161654d822ff5839676430eec282b1a7d210e9d4d4b744995b6e6d400ac15a98af9268f0ef62e455c6e776fa79d7b037 WHIRLPOOL 13e41e3aa5d9e0ca581927a8550acddd31ca0619b8e59f34a4f1c0a4a43b1d5fe2927fe8860db9c3bbd8cce8f7267c6f88ceca139569a0ac3ab575561929b4b8 |
6123 |
-AUX freebsd-rescue-7.1-zlib.patch 800 SHA256 18c028bf1b51cf7c57d5517d8fe6f3221c8a4d00d1ae436e40af0d1cd095bc4f SHA512 54db6c1ad6030002fb1b5848e75470136a2b0b3d0c5398e1e0b3439c0bb736eb1ffa4799da7a3775a29761196a2c09a9cf70f75244de7d4e99bfe07357ed759c WHIRLPOOL cc5572b6ed34cb0462da77edf714e92ba10b672a315b216f342d200f0081ffdc417936b69cdf9e7e5ba8e1451f509fe222d366c84d98a005999c2987ae08d3ef |
6124 |
-AUX freebsd-rescue-8.0-pkgconfig_static_libarchive.patch 330 SHA256 3690730ee66082fcc4f04ab79c49c6759772c0aefc68abdebbe4497b1155a7bc SHA512 529294fbff01e573f714e7f0474ccb85755453da057d224ffc1eab91ea6945af2efc8cafcc48db4d75f5204fa5ab514da35af66d75f90df4bde3f0b8e8aa7dc5 WHIRLPOOL 95b65d6501a8d77fe4ecbc13aea1010e85fa5591fb5fc12d4a3ccaee51b908245ac79961bccd3d0e4b8430eacd7eb0fe271907c8a94812fad8df0ab888e3bd7d |
6125 |
-AUX freebsd-rescue-8.2-libzcleverlink.patch 789 SHA256 80d86cb1b632d0c09fdcfd7b998fb1189e957619a41fc65682e2c439392c38fd SHA512 5c24aed5b05b1de4aad67961edbc168c31f80a2d0d034839af8b2fb73497b34d525e1af2c0979b1e23bbcbb53d6079030aa68a1b218cef470c8daa2f439d3a7f WHIRLPOOL 55b39e959f0d0821189070ca03167becdd6d446a97dff7c171c40b12629cb2365aed6633635e6d8f6e3f3fa6bea68c46f31b79e537c3d56752e4aee76d76ce84 |
6126 |
-AUX freebsd-rescue-9.1-bsdtar.patch 404 SHA256 0e71e3e370b33318bbb167e82d6507589fb95cc2c2d1fc6e8b74d0faf3d17ef1 SHA512 320d2a69c2f0de5e6cb733238fcc46133e571d8536f2ac573597f008d4261fae4d27619c244a90a70392688004df438b80e89f6be810841f6a40a22c2c361bb4 WHIRLPOOL 412da27f4535e1300d150edc74f72cf5e4e2b8bb6d4c7e9f31a498396ac12514e97e4b3a83040484b4713a7edb6b2d6ed5e8b2fe714d13f297c35d657f90fc08 |
6127 |
-AUX freebsd-rescue-9.1-libcleverlink.patch 801 SHA256 53794263aabaf55cd570adbbfdb68e86a9e9b17557e8ca223d424a5c2f4f6831 SHA512 556bb68f3307dc7fb10096080db2d336ba4096ba6bebc6a1fe9449ab5298ce2c66fb53f11f0702ee75c2208b45a6e2cb366a3d774bedb65bcdb2a49f51c08fa3 WHIRLPOOL 88125b9143113b1f7049bf63a20a0c6d82fbe2c722198405830092b0a183f4bf7744420e6a82b601c8fb25911556c8f3a9088949798c7f66caf7843a5f9b2347 |
6128 |
-AUX freebsd-sbin-bsdxml2expat.patch 424 SHA256 f40f55bec52d0e3e0205c363ad624a1139a74d5de36f99ca2ff9e53583bc2287 SHA512 f455db40e528c9bf19a68a639d2c0b304371d66741ee852c279246647f43620fd33911787aa9721547e086cbaa7dafa85b1ee6571094593c74de15e2ccc2f522 WHIRLPOOL 9409fa6d31a1a9b7dad59a6bdd820319c8a895b27c130af7d29e0db969be6760c4ab7df952420fb4fca9445fe0433b3aca5377f509852261d0f6b4e5a2fbd72b |
6129 |
-EBUILD freebsd-rescue-10.1.0.9999.ebuild 1997 SHA256 4b669c20567d931f38f20c824b1c9a0a72bfdad998bd7616621289d8077e0586 SHA512 3d39ba10c1db1dc60924e31bb1a8b24436c4d0a8fb2371dc1e081e15c227de729f9be85952f75de21f8316086c8ef969da30863130e65e1e041e0e8f19f79187 WHIRLPOOL dbe509a3d8d6eac97b063382ce0f3aec073102253b21e36ae6df6c54ac534bb8c13178f255afa0066f5ffca3ef6d0f55b9cbf473ddbd6832a9724dbe7511699f |
6130 |
|
6131 |
diff --git a/sys-freebsd/freebsd-rescue/files/freebsd-rescue-10.0-zlib.patch b/sys-freebsd/freebsd-rescue/files/freebsd-rescue-10.0-zlib.patch |
6132 |
deleted file mode 100644 |
6133 |
index 42165c4..0000000 |
6134 |
--- a/sys-freebsd/freebsd-rescue/files/freebsd-rescue-10.0-zlib.patch |
6135 |
+++ /dev/null |
6136 |
@@ -1,22 +0,0 @@ |
6137 |
-diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c |
6138 |
-index 13c0d43..1f258f3 100644 |
6139 |
---- a/sbin/savecore/savecore.c |
6140 |
-+++ b/sbin/savecore/savecore.c |
6141 |
-@@ -92,7 +92,7 @@ static int checkfor, compress, clear, force, keep, verbose; /* flags */ |
6142 |
- static int nfound, nsaved, nerr; /* statistics */ |
6143 |
- static int maxdumps; |
6144 |
- |
6145 |
--extern FILE *zopen(const char *, const char *); |
6146 |
-+extern FILE *gzopen(const char *, const char *); |
6147 |
- |
6148 |
- static sig_atomic_t got_siginfo; |
6149 |
- static void infohandler(int); |
6150 |
-@@ -626,7 +626,7 @@ DoFile(const char *savedir, const char *device) |
6151 |
- if (compress) { |
6152 |
- snprintf(corename, sizeof(corename), "%s.%d.gz", |
6153 |
- istextdump ? "textdump.tar" : "vmcore", bounds); |
6154 |
-- fp = zopen(corename, "w"); |
6155 |
-+ fp = gzopen(corename, "w"); |
6156 |
- } else { |
6157 |
- snprintf(corename, sizeof(corename), "%s.%d", |
6158 |
- istextdump ? "textdump.tar" : "vmcore", bounds); |
6159 |
|
6160 |
diff --git a/sys-freebsd/freebsd-rescue/files/freebsd-rescue-7.1-zlib.patch b/sys-freebsd/freebsd-rescue/files/freebsd-rescue-7.1-zlib.patch |
6161 |
deleted file mode 100644 |
6162 |
index 22fb2ec..0000000 |
6163 |
--- a/sys-freebsd/freebsd-rescue/files/freebsd-rescue-7.1-zlib.patch |
6164 |
+++ /dev/null |
6165 |
@@ -1,21 +0,0 @@ |
6166 |
-diff -ur sbin/savecore/savecore.c sbin-zlib/savecore/savecore.c |
6167 |
---- sbin/savecore/savecore.c 2005-02-26 01:21:50 +0000 |
6168 |
-+++ sbin-zlib/savecore/savecore.c 2005-05-06 12:00:06 +0000 |
6169 |
-@@ -95,7 +95,7 @@ |
6170 |
- static int checkfor, compress, clear, force, keep, verbose; /* flags */ |
6171 |
- static int nfound, nsaved, nerr; /* statistics */ |
6172 |
- |
6173 |
--extern FILE *zopen(const char *, const char *); |
6174 |
-+extern FILE *gzopen(const char *, const char *); |
6175 |
- |
6176 |
- static void |
6177 |
- printheader(FILE *f, const struct kerneldumpheader *h, const char *device, |
6178 |
-@@ -553,7 +553,7 @@ |
6179 |
- if (compress) { |
6180 |
- sprintf(filename, "%s.%d.gz", istextdump ? "textdump.tar" : |
6181 |
- "vmcore", bounds); |
6182 |
-- fp = zopen(filename, "w"); |
6183 |
-+ fp = gzopen(filename, "w"); |
6184 |
- } else { |
6185 |
- sprintf(filename, "%s.%d", istextdump ? "textdump.tar" : |
6186 |
- "vmcore", bounds); |
6187 |
|
6188 |
diff --git a/sys-freebsd/freebsd-rescue/files/freebsd-rescue-8.0-pkgconfig_static_libarchive.patch b/sys-freebsd/freebsd-rescue/files/freebsd-rescue-8.0-pkgconfig_static_libarchive.patch |
6189 |
deleted file mode 100644 |
6190 |
index 7d12621..0000000 |
6191 |
--- a/sys-freebsd/freebsd-rescue/files/freebsd-rescue-8.0-pkgconfig_static_libarchive.patch |
6192 |
+++ /dev/null |
6193 |
@@ -1,11 +0,0 @@ |
6194 |
---- rescue/rescue/Makefile.old 2010-03-12 12:14:17 +0100 |
6195 |
-+++ rescue/rescue/Makefile 2010-03-12 12:14:47 +0100 |
6196 |
-@@ -209,7 +209,7 @@ |
6197 |
- CRUNCH_LIBS+= -lbz2 |
6198 |
- |
6199 |
- CRUNCH_PROGS_usr.bin+= tar |
6200 |
--CRUNCH_LIBS+= -larchive -lmd |
6201 |
-+CRUNCH_LIBS+= `pkg-config --static --libs libarchive` -lmd |
6202 |
- .if ${MK_OPENSSL} != "no" |
6203 |
- CRUNCH_LIBS+= -lcrypto |
6204 |
- .endif |
6205 |
|
6206 |
diff --git a/sys-freebsd/freebsd-rescue/files/freebsd-rescue-8.2-libzcleverlink.patch b/sys-freebsd/freebsd-rescue/files/freebsd-rescue-8.2-libzcleverlink.patch |
6207 |
deleted file mode 100644 |
6208 |
index 3d44457..0000000 |
6209 |
--- a/sys-freebsd/freebsd-rescue/files/freebsd-rescue-8.2-libzcleverlink.patch |
6210 |
+++ /dev/null |
6211 |
@@ -1,20 +0,0 @@ |
6212 |
---- rescue/rescue/Makefile.old 2011-07-06 01:35:13.000000000 +0000 |
6213 |
-+++ rescue/rescue/Makefile 2011-07-06 01:35:54.000000000 +0000 |
6214 |
-@@ -143,7 +143,7 @@ |
6215 |
- .if ${MK_ZFS} != "no" |
6216 |
- CRUNCH_LIBS+= -lzfs -lnvpair -luutil -lavl |
6217 |
- .endif |
6218 |
--CRUNCH_LIBS+= -lgeom -lbsdxml -ljail -lkiconv -lmd -lreadline -lsbuf -lufs -lz |
6219 |
-+CRUNCH_LIBS+= -lgeom -lbsdxml -ljail -lkiconv -lmd -lreadline -lsbuf -lufs |
6220 |
- |
6221 |
- .if ${MACHINE_ARCH} == "i386" |
6222 |
- CRUNCH_PROGS_sbin+= bsdlabel sconfig fdisk |
6223 |
-@@ -234,7 +234,7 @@ |
6224 |
- CRUNCH_PROGS_usr.sbin+= chown |
6225 |
- CRUNCH_ALIAS_chown= chgrp |
6226 |
- ################################################################## |
6227 |
--CRUNCH_LIBS+= -lm |
6228 |
-+CRUNCH_LIBS+= -lz -lm |
6229 |
- |
6230 |
- ################################################################## |
6231 |
- # The following is pretty nearly a generic crunchgen-handling makefile |
6232 |
|
6233 |
diff --git a/sys-freebsd/freebsd-rescue/files/freebsd-rescue-9.1-bsdtar.patch b/sys-freebsd/freebsd-rescue/files/freebsd-rescue-9.1-bsdtar.patch |
6234 |
deleted file mode 100644 |
6235 |
index d4d23d7..0000000 |
6236 |
--- a/sys-freebsd/freebsd-rescue/files/freebsd-rescue-9.1-bsdtar.patch |
6237 |
+++ /dev/null |
6238 |
@@ -1,12 +0,0 @@ |
6239 |
-diff -Nur work.orig/contrib/libarchive/tar/bsdtar.c work/contrib/libarchive/tar/bsdtar.c |
6240 |
---- work.orig/contrib/libarchive/tar/bsdtar.c 2012-07-12 13:44:29.000000000 +0900 |
6241 |
-+++ work/contrib/libarchive/tar/bsdtar.c 2012-07-29 00:57:25.000000000 +0900 |
6242 |
-@@ -691,7 +691,7 @@ |
6243 |
- { |
6244 |
- printf("bsdtar %s - %s\n", |
6245 |
- BSDTAR_VERSION_STRING, |
6246 |
-- archive_version()); |
6247 |
-+ archive_version_string()); |
6248 |
- exit(0); |
6249 |
- } |
6250 |
- |
6251 |
|
6252 |
diff --git a/sys-freebsd/freebsd-rescue/files/freebsd-rescue-9.1-libcleverlink.patch b/sys-freebsd/freebsd-rescue/files/freebsd-rescue-9.1-libcleverlink.patch |
6253 |
deleted file mode 100644 |
6254 |
index a194397..0000000 |
6255 |
--- a/sys-freebsd/freebsd-rescue/files/freebsd-rescue-9.1-libcleverlink.patch |
6256 |
+++ /dev/null |
6257 |
@@ -1,21 +0,0 @@ |
6258 |
-diff -Nur work.orig/rescue/rescue/Makefile work/rescue/rescue/Makefile |
6259 |
---- work.orig/rescue/rescue/Makefile 2012-07-29 00:50:20.000000000 +0900 |
6260 |
-+++ work/rescue/rescue/Makefile 2012-07-29 00:56:01.000000000 +0900 |
6261 |
-@@ -125,7 +125,7 @@ |
6262 |
- .if ${MK_ZFS} != "no" |
6263 |
- CRUNCH_LIBS+= -lavl -lnvpair -lpthread -lzfs -luutil -lumem |
6264 |
- .endif |
6265 |
--CRUNCH_LIBS+= -lgeom -lexpat -ljail -lkiconv -lmd -lreadline -lsbuf -lufs -lz |
6266 |
-+CRUNCH_LIBS+= -lgeom -lexpat -ljail -lkiconv -lreadline -lsbuf -lufs |
6267 |
- |
6268 |
- .if ${MACHINE_CPUARCH} == "i386" |
6269 |
- CRUNCH_PROGS_sbin+= bsdlabel sconfig fdisk |
6270 |
-@@ -216,7 +216,7 @@ |
6271 |
- CRUNCH_PROGS_usr.sbin+= chown |
6272 |
- CRUNCH_ALIAS_chown= chgrp |
6273 |
- ################################################################## |
6274 |
--CRUNCH_LIBS+= -lm |
6275 |
-+CRUNCH_LIBS+= -lmd -lz -lm |
6276 |
- |
6277 |
- .include <bsd.crunchgen.mk> |
6278 |
- .include <bsd.prog.mk> |
6279 |
|
6280 |
diff --git a/sys-freebsd/freebsd-rescue/files/freebsd-sbin-bsdxml2expat.patch b/sys-freebsd/freebsd-rescue/files/freebsd-sbin-bsdxml2expat.patch |
6281 |
deleted file mode 100644 |
6282 |
index bdda99b..0000000 |
6283 |
--- a/sys-freebsd/freebsd-rescue/files/freebsd-sbin-bsdxml2expat.patch |
6284 |
+++ /dev/null |
6285 |
@@ -1,13 +0,0 @@ |
6286 |
-diff -uNr sbin/ifconfig.old/regdomain.c sbin/ifconfig/regdomain.c |
6287 |
---- sbin/ifconfig.old/regdomain.c 2010-12-21 17:09:25.000000000 +0000 |
6288 |
-+++ sbin/ifconfig/regdomain.c 2011-07-10 15:56:27.000000000 +0000 |
6289 |
-@@ -39,7 +39,7 @@ |
6290 |
- #include <err.h> |
6291 |
- #include <unistd.h> |
6292 |
- |
6293 |
--#include <bsdxml.h> |
6294 |
-+#include <expat.h> |
6295 |
- |
6296 |
- #include "regdomain.h" |
6297 |
- |
6298 |
-Los ficheros binarios sbin/ifconfig.old/regdomain.o y sbin/ifconfig/regdomain.o son distintos |
6299 |
|
6300 |
diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-10.1.0.9999.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-10.1.0.9999.ebuild |
6301 |
deleted file mode 100644 |
6302 |
index 821021c..0000000 |
6303 |
--- a/sys-freebsd/freebsd-rescue/freebsd-rescue-10.1.0.9999.ebuild |
6304 |
+++ /dev/null |
6305 |
@@ -1,76 +0,0 @@ |
6306 |
-# Copyright 1999-2014 Gentoo Foundation |
6307 |
-# Distributed under the terms of the GNU General Public License v2 |
6308 |
-# $Header: $ |
6309 |
- |
6310 |
-EAPI=5 |
6311 |
- |
6312 |
-inherit bsdmk freebsd toolchain-funcs |
6313 |
- |
6314 |
-DESCRIPTION="FreeBSD's rescue binaries" |
6315 |
-SLOT="0" |
6316 |
-LICENSE="BSD zfs? ( CDDL )" |
6317 |
- |
6318 |
-IUSE="atm netware nis zfs" |
6319 |
- |
6320 |
-if [[ ${PV} != *9999* ]]; then |
6321 |
- KEYWORDS="~amd64-fbsd ~x86-fbsd" |
6322 |
- SRC_URI="mirror://gentoo/${UBIN}.tar.xz |
6323 |
- mirror://gentoo/${CONTRIB}.tar.xz |
6324 |
- mirror://gentoo/${LIB}.tar.xz |
6325 |
- mirror://gentoo/${BIN}.tar.xz |
6326 |
- mirror://gentoo/${SBIN}.tar.xz |
6327 |
- mirror://gentoo/${USBIN}.tar.xz |
6328 |
- mirror://gentoo/${GNU}.tar.xz |
6329 |
- mirror://gentoo/${SYS}.tar.xz |
6330 |
- mirror://gentoo/${LIBEXEC}.tar.xz |
6331 |
- mirror://gentoo/${RESCUE}.tar.xz |
6332 |
- zfs? ( mirror://gentoo/${CDDL}.tar.xz )" |
6333 |
-fi |
6334 |
- |
6335 |
-RDEPEND="" |
6336 |
-DEPEND="sys-devel/flex |
6337 |
- app-arch/xz-utils[static-libs] |
6338 |
- sys-libs/ncurses[static-libs] |
6339 |
- dev-libs/expat[static-libs] |
6340 |
- app-arch/bzip2[static-libs] |
6341 |
- dev-libs/libedit[static-libs] |
6342 |
- dev-libs/libxml2:2[static-libs] |
6343 |
- dev-libs/openssl[static-libs] |
6344 |
- sys-libs/zlib[static-libs] |
6345 |
- sys-libs/readline[static-libs] |
6346 |
- =sys-freebsd/freebsd-lib-${RV}*[atm?,netware?] |
6347 |
- =sys-freebsd/freebsd-sources-${RV}* |
6348 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
6349 |
- zfs? ( =sys-freebsd/freebsd-cddl-${RV}* )" |
6350 |
- |
6351 |
-S="${WORKDIR}/rescue" |
6352 |
- |
6353 |
-pkg_setup() { |
6354 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
6355 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= " |
6356 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
6357 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
6358 |
- mymakeopts="${mymakeopts} NO_PIC= " |
6359 |
-} |
6360 |
- |
6361 |
-src_prepare() { |
6362 |
- # As they are patches from ${WORKDIR} apply them by hand |
6363 |
- cd "${WORKDIR}" |
6364 |
- epatch "${FILESDIR}/${PN}"-10.0-zlib.patch |
6365 |
- epatch "${FILESDIR}/freebsd-sbin-bsdxml2expat.patch" |
6366 |
-} |
6367 |
- |
6368 |
-src_compile() { |
6369 |
- tc-export CC |
6370 |
- # crunchgen is now checks env MAKE. |
6371 |
- # Use to force BSD's make |
6372 |
- export MAKE=/usr/bin/make |
6373 |
- |
6374 |
- cd "${WORKDIR}/lib/libarchive" |
6375 |
- echo "#include <expat.h>" > bsdxml.h |
6376 |
- freebsd_src_compile |
6377 |
- export CC="${CC} -L${WORKDIR}/lib/libarchive" |
6378 |
- |
6379 |
- cd "${S}" |
6380 |
- freebsd_src_compile |
6381 |
-} |
6382 |
|
6383 |
diff --git a/sys-freebsd/freebsd-sbin/Manifest b/sys-freebsd/freebsd-sbin/Manifest |
6384 |
deleted file mode 100644 |
6385 |
index fb8a538..0000000 |
6386 |
--- a/sys-freebsd/freebsd-sbin/Manifest |
6387 |
+++ /dev/null |
6388 |
@@ -1,9 +0,0 @@ |
6389 |
-AUX adjkerntz-crontab 184 SHA256 f3b08140ea38bfe502b34dd8c69aa4a6b65b786d792828cce082be8f844345dc SHA512 28ecfd94257eca2d91323e4bac1920969e589a13f877f1d67c4be0dd5d0bf4585eba8f749ae04f2e0761d5860b76e0c04993350bbdeb52736584ea9df97c6093 WHIRLPOOL 883509014af5a6f3803993eb4fc9f53608b08eaffdfcb409be3945d8234ab66b6a99c620b781a8d650aaeaff1f05db2e5249fb280f9a2bb079421062be3e5332 |
6390 |
-AUX freebsd-sbin-10.0-zlib.patch 861 SHA256 9e2b89c1def6424b4a628d286ced8554f5f59bdf890e647f5b07e431e4bc9351 SHA512 8a6e14d15e44e9de22863c65cd359cc408207a4329ecdfe053317fd120d01025f5d42b958447ed0bb2e584cc050391306438934ac8cae0edc4a6a785da8138b7 WHIRLPOOL ebad6febc4ebdd4355fe6a60f99af13d2b15e52f538a6c677705401982e1e55556234df7099c570fa7e6fa5ee9c9264e5a394382c626919d43c214d21023d6ba |
6391 |
-AUX freebsd-sbin-6.1-pr102701.patch 548 SHA256 dccf32386359a2cfd80272c86085467d612c8f4d7924a6a223cd1259a8b7a176 SHA512 2b882565670ffe559410b17e2fa6a94624eee89d25a791ef3e27d657dedcf95b2be282217a2350203af7727b839d5d6ff50368f72c4bef3d7e60fef8a6325cbe WHIRLPOOL 14db7a26e6189314cc9a0e8ff5ccd01bedba178d9ddff856df262b18ce35fbd85999f5f4a612c2388af8718c6a1c0b544db4287bca08356fa5fb191f1cccf978 |
6392 |
-AUX freebsd-sbin-6.2-ldconfig.patch 389 SHA256 b3fd47a733d39dea3400bee180d156ed09ff4c19dd47fbf5df52af33bdc5dc2b SHA512 ed8f6073991ba0c8823aea1570e720273d7dc68ec6daf38d7e1d41f2285d307d7905cf674a1148d4783c69f2dafd7fc8a51e729aa4727eb46d857218ab2d71ed WHIRLPOOL 3ecccd7b56c9bee820ca92b8a6a446a1bf69e61e889324407f2e76336eb0328b1162c7dc5d5f24505ec1f36d235bfe33fbecc5c5d60bf0f04741eeca9eb5b1cb |
6393 |
-AUX freebsd-sbin-7.1-zlib.patch 800 SHA256 18c028bf1b51cf7c57d5517d8fe6f3221c8a4d00d1ae436e40af0d1cd095bc4f SHA512 54db6c1ad6030002fb1b5848e75470136a2b0b3d0c5398e1e0b3439c0bb736eb1ffa4799da7a3775a29761196a2c09a9cf70f75244de7d4e99bfe07357ed759c WHIRLPOOL cc5572b6ed34cb0462da77edf714e92ba10b672a315b216f342d200f0081ffdc417936b69cdf9e7e5ba8e1451f509fe222d366c84d98a005999c2987ae08d3ef |
6394 |
-AUX freebsd-sbin-bsdxml2expat.patch 424 SHA256 f40f55bec52d0e3e0205c363ad624a1139a74d5de36f99ca2ff9e53583bc2287 SHA512 f455db40e528c9bf19a68a639d2c0b304371d66741ee852c279246647f43620fd33911787aa9721547e086cbaa7dafa85b1ee6571094593c74de15e2ccc2f522 WHIRLPOOL 9409fa6d31a1a9b7dad59a6bdd820319c8a895b27c130af7d29e0db969be6760c4ab7df952420fb4fca9445fe0433b3aca5377f509852261d0f6b4e5a2fbd72b |
6395 |
-AUX freebsd-sbin-setXid.patch 541 SHA256 2d8158df7af52f9ce15f1513d16ed08ea6244f310aea3f271b12184a6a4c4267 SHA512 e6f1aefab22eca6941a5b62f6f9d9c82e0efc2b308ec636ecab40d9a678e87f2f6ccfefac99f5367ad8a16d18ddadf9a877a2f93697248b3f38a09edac75ec6e WHIRLPOOL a2d578ff3b54ad25875f65d6724d0762c0fc3a400aa8e14c93ab94dc789910fbc6ab70528cbd0074fd0d7a4957a2d2d51bf10f615cbfd751aa4e95edc88d4e7d |
6396 |
-AUX idmapd.initd 440 SHA256 e89050097731f658825b4a7215023e1c5070f0e31cfdf79eaf299ede9c9f9e39 SHA512 d76f1ed5b6cb0624359f0e1018b1decee80fec6e201393500656a2001034b042dde4299c2768ea8bfd1aa65813c86a5f9c06b5dd2e41ab74f954b8310d55259a WHIRLPOOL eeb04173b61c7e60883bd51e07be5f69aa67d6f4e506c3b3e07604e86cb43d81b5722e23e21ec189d83f2549a8827256216f45025ea5fd427b4874f2723c7a16 |
6397 |
-EBUILD freebsd-sbin-10.1.0.9999.ebuild 2682 SHA256 0089b62a44f816b015aae62867f54c085c6ed531359b9c4b4562747de67d777f SHA512 1d848b4463e9ce046f227966c9b0499f864e8644c3bad9779f00fc1fc1f941ff78ac130fd968cb954e83869e20473e36fc99106fdc4728e8c0bb05574bd14650 WHIRLPOOL 7174b3132e112288cb99f493e7b3982f4f01b63b67962f2a81516404bb131f00c9aca4316f2eda31d232b53c0343f98722d3f5882a37f4e4ded92b9d584c8741 |
6398 |
|
6399 |
diff --git a/sys-freebsd/freebsd-sbin/files/adjkerntz-crontab b/sys-freebsd/freebsd-sbin/files/adjkerntz-crontab |
6400 |
deleted file mode 100644 |
6401 |
index 5fc46f5..0000000 |
6402 |
--- a/sys-freebsd/freebsd-sbin/files/adjkerntz-crontab |
6403 |
+++ /dev/null |
6404 |
@@ -1,4 +0,0 @@ |
6405 |
-# Adjust the time zone if the CMOS clock keeps local time, as opposed to |
6406 |
-# UTC time. See adjkerntz(8) for details. |
6407 |
-1,31 0-5 * * * root /sbin/adjkerntz -a |
6408 |
- |
6409 |
|
6410 |
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch |
6411 |
deleted file mode 100644 |
6412 |
index c0a2bf9..0000000 |
6413 |
--- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch |
6414 |
+++ /dev/null |
6415 |
@@ -1,22 +0,0 @@ |
6416 |
-diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c |
6417 |
-index bdbf7e3..a4c67ec 100644 |
6418 |
---- a/sbin/savecore/savecore.c |
6419 |
-+++ b/sbin/savecore/savecore.c |
6420 |
-@@ -92,7 +92,7 @@ static int checkfor, compress, clear, force, keep, verbose; /* flags */ |
6421 |
- static int nfound, nsaved, nerr; /* statistics */ |
6422 |
- static int maxdumps; |
6423 |
- |
6424 |
--extern FILE *zopen(const char *, const char *); |
6425 |
-+extern FILE *gzopen(const char *, const char *); |
6426 |
- |
6427 |
- static sig_atomic_t got_siginfo; |
6428 |
- static void infohandler(int); |
6429 |
-@@ -626,7 +626,7 @@ DoFile(const char *savedir, const char *device) |
6430 |
- if (compress) { |
6431 |
- snprintf(corename, sizeof(corename), "%s.%d.gz", |
6432 |
- istextdump ? "textdump.tar" : "vmcore", bounds); |
6433 |
-- fp = zopen(corename, "w"); |
6434 |
-+ fp = gzopen(corename, "w"); |
6435 |
- } else { |
6436 |
- snprintf(corename, sizeof(corename), "%s.%d", |
6437 |
- istextdump ? "textdump.tar" : "vmcore", bounds); |
6438 |
|
6439 |
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch |
6440 |
deleted file mode 100644 |
6441 |
index 7b9578c..0000000 |
6442 |
--- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch |
6443 |
+++ /dev/null |
6444 |
@@ -1,17 +0,0 @@ |
6445 |
-Solves the issue reported in Problem Report bin/102701. |
6446 |
- |
6447 |
-Can't delete an inet6 alias address from an interface. |
6448 |
- |
6449 |
-Index: fbsd-6.1/sbin/ifconfig/af_inet6.c |
6450 |
-=================================================================== |
6451 |
---- fbsd-6.1.orig/sbin/ifconfig/af_inet6.c |
6452 |
-+++ fbsd-6.1/sbin/ifconfig/af_inet6.c |
6453 |
-@@ -515,7 +515,7 @@ static struct afswtch af_inet6 = { |
6454 |
- .af_settunnel = in6_set_tunnel, |
6455 |
- .af_difaddr = SIOCDIFADDR_IN6, |
6456 |
- .af_aifaddr = SIOCAIFADDR_IN6, |
6457 |
-- .af_ridreq = &in6_addreq, |
6458 |
-+ .af_ridreq = &in6_ridreq, |
6459 |
- .af_addreq = &in6_addreq, |
6460 |
- }; |
6461 |
- |
6462 |
|
6463 |
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ldconfig.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ldconfig.patch |
6464 |
deleted file mode 100644 |
6465 |
index 81ad024..0000000 |
6466 |
--- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ldconfig.patch |
6467 |
+++ /dev/null |
6468 |
@@ -1,13 +0,0 @@ |
6469 |
-diff -ur sbin.orig/ldconfig/elfhints.c sbin/ldconfig/elfhints.c |
6470 |
---- sbin.orig/ldconfig/elfhints.c 2001-05-03 00:56:18 +0100 |
6471 |
-+++ sbin/ldconfig/elfhints.c 2007-08-06 10:16:24 +0100 |
6472 |
-@@ -245,6 +245,9 @@ |
6473 |
- else |
6474 |
- add_dir(hintsfile, argv[i], 0); |
6475 |
- } |
6476 |
-+ /* Always add our system dirs */ |
6477 |
-+ add_dir (hintsfile, "/lib", 1); |
6478 |
-+ add_dir (hintsfile, "/usr/lib", 1); |
6479 |
- write_elf_hints(hintsfile); |
6480 |
- } |
6481 |
- |
6482 |
|
6483 |
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch |
6484 |
deleted file mode 100644 |
6485 |
index 22fb2ec..0000000 |
6486 |
--- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch |
6487 |
+++ /dev/null |
6488 |
@@ -1,21 +0,0 @@ |
6489 |
-diff -ur sbin/savecore/savecore.c sbin-zlib/savecore/savecore.c |
6490 |
---- sbin/savecore/savecore.c 2005-02-26 01:21:50 +0000 |
6491 |
-+++ sbin-zlib/savecore/savecore.c 2005-05-06 12:00:06 +0000 |
6492 |
-@@ -95,7 +95,7 @@ |
6493 |
- static int checkfor, compress, clear, force, keep, verbose; /* flags */ |
6494 |
- static int nfound, nsaved, nerr; /* statistics */ |
6495 |
- |
6496 |
--extern FILE *zopen(const char *, const char *); |
6497 |
-+extern FILE *gzopen(const char *, const char *); |
6498 |
- |
6499 |
- static void |
6500 |
- printheader(FILE *f, const struct kerneldumpheader *h, const char *device, |
6501 |
-@@ -553,7 +553,7 @@ |
6502 |
- if (compress) { |
6503 |
- sprintf(filename, "%s.%d.gz", istextdump ? "textdump.tar" : |
6504 |
- "vmcore", bounds); |
6505 |
-- fp = zopen(filename, "w"); |
6506 |
-+ fp = gzopen(filename, "w"); |
6507 |
- } else { |
6508 |
- sprintf(filename, "%s.%d", istextdump ? "textdump.tar" : |
6509 |
- "vmcore", bounds); |
6510 |
|
6511 |
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-bsdxml2expat.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-bsdxml2expat.patch |
6512 |
deleted file mode 100644 |
6513 |
index bdda99b..0000000 |
6514 |
--- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-bsdxml2expat.patch |
6515 |
+++ /dev/null |
6516 |
@@ -1,13 +0,0 @@ |
6517 |
-diff -uNr sbin/ifconfig.old/regdomain.c sbin/ifconfig/regdomain.c |
6518 |
---- sbin/ifconfig.old/regdomain.c 2010-12-21 17:09:25.000000000 +0000 |
6519 |
-+++ sbin/ifconfig/regdomain.c 2011-07-10 15:56:27.000000000 +0000 |
6520 |
-@@ -39,7 +39,7 @@ |
6521 |
- #include <err.h> |
6522 |
- #include <unistd.h> |
6523 |
- |
6524 |
--#include <bsdxml.h> |
6525 |
-+#include <expat.h> |
6526 |
- |
6527 |
- #include "regdomain.h" |
6528 |
- |
6529 |
-Los ficheros binarios sbin/ifconfig.old/regdomain.o y sbin/ifconfig/regdomain.o son distintos |
6530 |
|
6531 |
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-setXid.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-setXid.patch |
6532 |
deleted file mode 100644 |
6533 |
index c8cbebc..0000000 |
6534 |
--- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-setXid.patch |
6535 |
+++ /dev/null |
6536 |
@@ -1,20 +0,0 @@ |
6537 |
-diff -ur sbin.orig/ping/Makefile sbin.setXid/ping/Makefile |
6538 |
---- sbin.orig/ping/Makefile Thu Apr 7 20:27:57 2005 |
6539 |
-+++ sbin.setXid/ping/Makefile Thu Apr 7 20:42:02 2005 |
6540 |
-@@ -18,4 +18,6 @@ |
6541 |
- LDADD+= -lipsec |
6542 |
- .endif |
6543 |
- |
6544 |
-+LDFLAGS+= -Wl,-z,now |
6545 |
-+ |
6546 |
- .include <bsd.prog.mk> |
6547 |
-diff -ur sbin.orig/shutdown/Makefile sbin.setXid/shutdown/Makefile |
6548 |
---- sbin.orig/shutdown/Makefile Thu Apr 7 20:27:57 2005 |
6549 |
-+++ sbin.setXid/shutdown/Makefile Thu Apr 7 20:42:17 2005 |
6550 |
-@@ -7,4 +7,6 @@ |
6551 |
- BINGRP= operator |
6552 |
- BINMODE=4550 |
6553 |
- |
6554 |
-+LDFLAGS+= -Wl,-z,now |
6555 |
-+ |
6556 |
- .include <bsd.prog.mk> |
6557 |
|
6558 |
diff --git a/sys-freebsd/freebsd-sbin/files/idmapd.initd b/sys-freebsd/freebsd-sbin/files/idmapd.initd |
6559 |
deleted file mode 100755 |
6560 |
index 407b0e8..0000000 |
6561 |
--- a/sys-freebsd/freebsd-sbin/files/idmapd.initd |
6562 |
+++ /dev/null |
6563 |
@@ -1,20 +0,0 @@ |
6564 |
-#!/sbin/runscript |
6565 |
-# Copyright 1999-2008 Gentoo Foundation |
6566 |
-# Distributed under the terms of the GNU General Public License v2 |
6567 |
- |
6568 |
-depend() { |
6569 |
- need rpcbind |
6570 |
-} |
6571 |
- |
6572 |
-start() { |
6573 |
- ebegin "Starting NFS idmapd" |
6574 |
- start-stop-daemon --start --quiet --exec \ |
6575 |
- /sbin/idmapd -- $idmapdopts |
6576 |
- eend $? "Error starting NFS idmapd" |
6577 |
-} |
6578 |
- |
6579 |
-stop() { |
6580 |
- ebegin "Stopping NFS idmapd" |
6581 |
- start-stop-daemon --stop --quiet --exec /sbin/idmapd |
6582 |
- eend $? "Error stopping NFS idmapd" |
6583 |
-} |
6584 |
|
6585 |
diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-10.1.0.9999.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-10.1.0.9999.ebuild |
6586 |
deleted file mode 100644 |
6587 |
index 36ef6d8..0000000 |
6588 |
--- a/sys-freebsd/freebsd-sbin/freebsd-sbin-10.1.0.9999.ebuild |
6589 |
+++ /dev/null |
6590 |
@@ -1,96 +0,0 @@ |
6591 |
-# Copyright 1999-2014 Gentoo Foundation |
6592 |
-# Distributed under the terms of the GNU General Public License v2 |
6593 |
-# $Header: $ |
6594 |
- |
6595 |
-EAPI=3 |
6596 |
- |
6597 |
-inherit bsdmk freebsd multilib |
6598 |
- |
6599 |
-DESCRIPTION="FreeBSD sbin utils" |
6600 |
-SLOT="0" |
6601 |
- |
6602 |
-if [[ ${PV} != *9999* ]]; then |
6603 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
6604 |
- SRC_URI="mirror://gentoo/${SBIN}.tar.xz |
6605 |
- mirror://gentoo/${CONTRIB}.tar.xz |
6606 |
- mirror://gentoo/${LIB}.tar.xz |
6607 |
- mirror://gentoo/${LIBEXEC}.tar.xz |
6608 |
- mirror://gentoo/${USBIN}.tar.xz |
6609 |
- mirror://gentoo/${ETC}.tar.xz |
6610 |
- build? ( mirror://gentoo/${SYS}.tar.xz )" |
6611 |
-fi |
6612 |
- |
6613 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?] |
6614 |
- =sys-freebsd/freebsd-libexec-${RV}* |
6615 |
- >=dev-libs/expat-2.0.1 |
6616 |
- ssl? ( dev-libs/openssl ) |
6617 |
- >=dev-libs/libedit-20120311.3.0-r1 |
6618 |
- sys-libs/readline |
6619 |
- || ( |
6620 |
- sys-process/cronie |
6621 |
- sys-process/vixie-cron |
6622 |
- ) |
6623 |
- atm? ( net-analyzer/bsnmp )" |
6624 |
-DEPEND="${RDEPEND} |
6625 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
6626 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
6627 |
- |
6628 |
-S="${WORKDIR}/sbin" |
6629 |
- |
6630 |
-IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware" |
6631 |
- |
6632 |
-pkg_setup() { |
6633 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
6634 |
- use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX=" |
6635 |
- use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= " |
6636 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT=" |
6637 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
6638 |
- use pf || mymakeopts="${mymakeopts} WITHOUT_PF= " |
6639 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL=" |
6640 |
-} |
6641 |
- |
6642 |
-REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder resolvconf" |
6643 |
- |
6644 |
-PATCHES=( "${FILESDIR}/${PN}-setXid.patch" |
6645 |
- "${FILESDIR}/${PN}-10.0-zlib.patch" |
6646 |
- "${FILESDIR}/${PN}-6.2-ldconfig.patch" |
6647 |
- "${FILESDIR}/${PN}-6.1-pr102701.patch" |
6648 |
- "${FILESDIR}/${PN}-bsdxml2expat.patch" ) |
6649 |
- |
6650 |
-src_prepare() { |
6651 |
- if [[ ! -e "${WORKDIR}/sys" ]]; then |
6652 |
- use build || ln -s "/usr/src/sys" "${WORKDIR}/sys" |
6653 |
- fi |
6654 |
-} |
6655 |
- |
6656 |
-src_install() { |
6657 |
- mymakeopts="${mymakeopts} GEOM_CLASS_DIR=/$(get_libdir)/geom " |
6658 |
- freebsd_src_install |
6659 |
- keepdir /var/log |
6660 |
- # Needed by ldconfig: |
6661 |
- keepdir /var/run |
6662 |
- |
6663 |
- # Maybe ship our own sysctl.conf so things like radvd work out of the box. |
6664 |
- # New wireless config method requires regdomain.xml in /etc |
6665 |
- cd "${WORKDIR}/etc/" |
6666 |
- insinto /etc |
6667 |
- doins minfree sysctl.conf regdomain.xml || die |
6668 |
- |
6669 |
- # Install a crontab for adjkerntz |
6670 |
- insinto /etc/cron.d |
6671 |
- newins "${FILESDIR}/adjkerntz-crontab" adjkerntz |
6672 |
- |
6673 |
- # Install the periodic stuff (needs probably to be ported in a more |
6674 |
- # gentooish way) |
6675 |
- cd "${WORKDIR}/etc/periodic" |
6676 |
- |
6677 |
- doperiodic security \ |
6678 |
- security/*.ipfwlimit \ |
6679 |
- security/*.ipfwdenied || die |
6680 |
- |
6681 |
- use ipfilter && { doperiodic security \ |
6682 |
- security/*.ipfdenied || die ; } |
6683 |
- |
6684 |
- use pf && { doperiodic security \ |
6685 |
- security/*.pfdenied || die ; } |
6686 |
-} |
6687 |
|
6688 |
diff --git a/sys-freebsd/freebsd-share/Manifest b/sys-freebsd/freebsd-share/Manifest |
6689 |
deleted file mode 100644 |
6690 |
index 1ad74ef..0000000 |
6691 |
--- a/sys-freebsd/freebsd-share/Manifest |
6692 |
+++ /dev/null |
6693 |
@@ -1,8 +0,0 @@ |
6694 |
-AUX freebsd-share-10.0-gentoo-eapi3.patch 475 SHA256 504841c762c1fa82ac14c22e16b84543e88927608f3fb972d995caa89449e487 SHA512 b7fe870aafe1cf9029c1d1d9de16413b5be8354b1c2ba0d0eab6f0fe3076ab03da08ff764c923c087e246b90355a48d55acef9b9b5a29238ddf8c92bdb3ca0f8 WHIRLPOOL 58dd84d64cea1c149b0126d7e9567caf7dbe6f238b1434eb4ffde08496e45e268691ba8604ea80da863d06d3f6ac6aeff4e9f7a01d558a28a31f347ed6c0c4c9 |
6695 |
-AUX freebsd-share-5.3-doc-locations.patch 608 SHA256 d949e9081a181ab9443a18e56949905a77eff2cbd16d09d37b8abb5771cee3b6 SHA512 2156f679683b8a02fd01fa71268f13f342d282b1885095e48611d9a94bdf99f03bad71f5c22253425c09ad5ae1ea544d1db3d0d40361f3b814f7e10f0061f2a6 WHIRLPOOL bac15f5c439ffa81b83dfac5dce981e346e2815b6a035e9b9791db16df77d7f2e9fb6706f7b5315c65d18f209176866b23a34b311c56847f543f1257fa5e9634 |
6696 |
-AUX freebsd-share-5.4-gentoo-skel.patch 621 SHA256 5480127971c2a5df5faf44355d5ed6a8586923577d37e6cff10805626726c767 SHA512 608e108bcfdc1eaa1f45f4115f460e26fa89211aaefea9602d1943dfa51e34f721526ef5e71d7e44f019d31b43efbd8f9f937e71d71074b0c3b48a33329281af WHIRLPOOL 8fabb340e4fcb1a174e3870a2ebe737f89b892586fed61a239e96bb34fb508daaef1e8e80811634e2075dbf6a161a236bca10a589340fbc609382f685b0697a9 |
6697 |
-AUX freebsd-share-8.0-gnu-miscfiles.patch 858 SHA256 20b3761bd18d4ff8e7257ab006f9c23b99473809c138c44145e25832e0c79855 SHA512 0b10a29d7840b7839c819afba1beb0ba4c22af02a63400d90735ea4330413ab672bf247e375194e75746a858c5a2727d07cdf958a8618f9cf059b71105ea9853 WHIRLPOOL f8d6675121ac43d2672f77d7ea4215073ff213c311fc1c09fe367f2d86f7dc1791a95f31b6def6f5bb757a5cd682de4c373c91465aa05acd38acfb537e781a6a |
6698 |
-AUX freebsd-share-9.0-gentoowaydir.patch 314 SHA256 68ddc9d6d95c95fc295f3ed3f7d7562de01ff6894b002bd7455d2da72cf4e2f2 SHA512 ef325e79806d78ede26567268829949de3aab02db1b7ea5f1dd834d4deeeddee8338679f7196fee6dc1a5682ccd79c1a0bdd73c96349961a8e1c2153fcf84afd WHIRLPOOL 10448b2cd090068b698d2d9037f2a217cdc20cebcfce4a13f98111ae4e4a2073ce4cb274ec3a7011c2e89acc1b2ab1b5e8e3d141817c065fdb35d1879ae31c37 |
6699 |
-AUX freebsd-share-9.2-gnu-miscfiles.patch 1022 SHA256 0484a9ea6d05eb8d26c33efac61928c399230d8bf71a374fa2ae5c22a1acf3d2 SHA512 b220c884a6e3bb9037a1817b3bb1bcf181b1493836dafbef98bf0973e9781d2e2e982d9e17eef78b24056038e985969ed08c471c9ba374557097086bfcff8f3e WHIRLPOOL ffa0400172e0834f31897738d426dd53df40e67612e51045cd899cd84cef018db6a14c8600233fe2e23699a708e73f1b6df7654089356bdaa62274f5fc11931b |
6700 |
-EBUILD freebsd-share-10.1.0.9999.ebuild 3241 SHA256 e7be206aadbbfc959a46b818175fa8a59ba7f430d961bbf1f1f16a2cca7b8bcd SHA512 5a3419014aa7907b35f93cfef867fa6e7fd1b8a4fde392eb2d8813bb080722a11871bf5dbaca3125d3d2849c9e7740dd99f3f3129dbc1fb211f6fe3c09e2c5c7 WHIRLPOOL 48f8a6ccff8ab003c53e21812747c641b17ede01c151fc9d1251ef152de50d4c6301389379bfd29a25b8cfb5ec9793a80dce93a7d47713f3cc31e32354860283 |
6701 |
-MISC metadata.xml 223 SHA256 5c9860c4ce81b51fef51a6c5e87081bfd13e74ba452c27191a1abc0ca5ff0aa0 SHA512 3dc7fea8c9f850d63d4f9f24af639fb41d406c2e87439eb960c401412b37e7dc7ab6822d446ec113eb079aba30967391e95cd71dceb889753ed969bc51f6064e WHIRLPOOL 577570d1260a6ef86155c1647e3d90c18aa9b83a89027dcea28b70d22df60e413cee353083d7e915d81129f447772dc7dc4ea766e478a9cf363dabce5d9042de |
6702 |
|
6703 |
diff --git a/sys-freebsd/freebsd-share/files/freebsd-share-10.0-gentoo-eapi3.patch b/sys-freebsd/freebsd-share/files/freebsd-share-10.0-gentoo-eapi3.patch |
6704 |
deleted file mode 100644 |
6705 |
index 1d0a53e..0000000 |
6706 |
--- a/sys-freebsd/freebsd-share/files/freebsd-share-10.0-gentoo-eapi3.patch |
6707 |
+++ /dev/null |
6708 |
@@ -1,17 +0,0 @@ |
6709 |
-diff --git a/share/i18n/esdb/Makefile.part b/share/i18n/esdb/Makefile.part |
6710 |
-index 9ca8577..329e9fb 100644 |
6711 |
---- a/share/i18n/esdb/Makefile.part |
6712 |
-+++ b/share/i18n/esdb/Makefile.part |
6713 |
-@@ -13,10 +13,10 @@ PART!= sed '/^\#/d;/^ *$$/d' ${PARTFILE} |
6714 |
- .endif |
6715 |
- .if !defined(NO_EPREFIX) |
6716 |
- CODESETS?= ${PART:C/^/${CODE}${SEP}/} |
6717 |
--EPREFIX?= ${CODE}${SEP} |
6718 |
-+EPREFIX= ${CODE}${SEP} |
6719 |
- .else |
6720 |
- CODESETS?= ${PART} |
6721 |
--EPREFIX?= |
6722 |
-+EPREFIX= |
6723 |
- .endif |
6724 |
- ESUBDIR?= ${CODE} |
6725 |
- ESDB?= ${CODESETS:C/$/.esdb/:S/:/@/} |
6726 |
|
6727 |
diff --git a/sys-freebsd/freebsd-share/files/freebsd-share-5.3-doc-locations.patch b/sys-freebsd/freebsd-share/files/freebsd-share-5.3-doc-locations.patch |
6728 |
deleted file mode 100644 |
6729 |
index c0798d3..0000000 |
6730 |
--- a/sys-freebsd/freebsd-share/files/freebsd-share-5.3-doc-locations.patch |
6731 |
+++ /dev/null |
6732 |
@@ -1,20 +0,0 @@ |
6733 |
---- examples/smbfs/Makefile.orig Tue Mar 22 15:20:20 2005 |
6734 |
-+++ examples/smbfs/Makefile Tue Mar 22 15:20:46 2005 |
6735 |
-@@ -2,6 +2,7 @@ |
6736 |
- |
6737 |
- NOOBJ= |
6738 |
- BINDIR= /usr/share/examples/smbfs |
6739 |
-+FILESDIR= ${DOCDIR}/smbfs |
6740 |
- FILES= dot.nsmbrc |
6741 |
- |
6742 |
- .PATH: ${.CURDIR}/../../../contrib/smbfs/examples |
6743 |
---- examples/smbfs/print/Makefile.orig Tue Mar 22 15:22:17 2005 |
6744 |
-+++ examples/smbfs/print/Makefile Tue Mar 22 15:22:35 2005 |
6745 |
-@@ -2,6 +2,7 @@ |
6746 |
- |
6747 |
- NOOBJ= |
6748 |
- BINDIR= /usr/share/examples/smbfs/print |
6749 |
-+FILESDIR= ${DOCDIR}/smbfs/print |
6750 |
- FILES= lj6l ljspool printcap.sample tolj |
6751 |
- |
6752 |
- .PATH: ${.CURDIR}/../../../../contrib/smbfs/examples/print |
6753 |
|
6754 |
diff --git a/sys-freebsd/freebsd-share/files/freebsd-share-5.4-gentoo-skel.patch b/sys-freebsd/freebsd-share/files/freebsd-share-5.4-gentoo-skel.patch |
6755 |
deleted file mode 100644 |
6756 |
index f668d04..0000000 |
6757 |
--- a/sys-freebsd/freebsd-share/files/freebsd-share-5.4-gentoo-skel.patch |
6758 |
+++ /dev/null |
6759 |
@@ -1,20 +0,0 @@ |
6760 |
-Index: fbsd/share/skel/Makefile |
6761 |
-=================================================================== |
6762 |
---- fbsd.orig/share/skel/Makefile |
6763 |
-+++ fbsd/share/skel/Makefile |
6764 |
-@@ -2,11 +2,11 @@ |
6765 |
- # $FreeBSD: src/share/skel/Makefile,v 1.9.2.1 2005/02/13 07:23:30 obrien Exp $ |
6766 |
- |
6767 |
- FILESGROUPS= FILES1 FILES2 |
6768 |
--FILES1= dot.cshrc dot.login dot.login_conf dot.mailrc dot.profile \ |
6769 |
-+FILES1= dot.login_conf dot.mailrc \ |
6770 |
- dot.shrc |
6771 |
--FILES2= dot.mail_aliases dot.rhosts |
6772 |
--FILES1DIR= /usr/share/skel |
6773 |
--FILES2DIR= /usr/share/skel |
6774 |
-+FILES2= dot.mail_aliases |
6775 |
-+FILES1DIR= /etc/skel |
6776 |
-+FILES2DIR= /etc/skel |
6777 |
- FILES1MODE= 0644 |
6778 |
- FILES2MODE= 0600 |
6779 |
- NOOBJ= |
6780 |
|
6781 |
diff --git a/sys-freebsd/freebsd-share/files/freebsd-share-8.0-gnu-miscfiles.patch b/sys-freebsd/freebsd-share/files/freebsd-share-8.0-gnu-miscfiles.patch |
6782 |
deleted file mode 100644 |
6783 |
index 19167a6..0000000 |
6784 |
--- a/sys-freebsd/freebsd-share/files/freebsd-share-8.0-gnu-miscfiles.patch |
6785 |
+++ /dev/null |
6786 |
@@ -1,26 +0,0 @@ |
6787 |
---- share/misc/Makefile.old 2010-03-12 01:32:39 +0100 |
6788 |
-+++ share/misc/Makefile 2010-03-12 01:33:25 +0100 |
6789 |
-@@ -3,9 +3,9 @@ |
6790 |
- |
6791 |
- .PATH: ${.CURDIR}/../../sys/dev/usb |
6792 |
- |
6793 |
--FILES= ascii birthtoken bsd-family-tree committers-doc.dot committers-ports.dot \ |
6794 |
-+FILES= bsd-family-tree committers-doc.dot committers-ports.dot \ |
6795 |
- committers-src.dot eqnchar flowers init.ee \ |
6796 |
-- iso3166 iso639 latin1 man.template mdoc.template operator pci_vendors \ |
6797 |
-+ iso3166 iso639 man.template mdoc.template pci_vendors \ |
6798 |
- scsi_modes usb_hid_usages usbdevs |
6799 |
- |
6800 |
- NO_OBJ= |
6801 |
---- share/dict/Makefile.old 2010-03-12 01:33:53 +0100 |
6802 |
-+++ share/dict/Makefile 2010-03-12 01:34:18 +0100 |
6803 |
-@@ -4,8 +4,7 @@ |
6804 |
- NO_OBJ= |
6805 |
- |
6806 |
- # XXX MISSING: connectives words |
6807 |
--FILES= README propernames web2 web2a freebsd |
6808 |
-+FILES= README freebsd |
6809 |
- FILESDIR= ${BINDIR}/dict |
6810 |
--SYMLINKS= web2 ${FILESDIR}/words |
6811 |
- |
6812 |
- .include <bsd.prog.mk> |
6813 |
|
6814 |
diff --git a/sys-freebsd/freebsd-share/files/freebsd-share-9.0-gentoowaydir.patch b/sys-freebsd/freebsd-share/files/freebsd-share-9.0-gentoowaydir.patch |
6815 |
deleted file mode 100644 |
6816 |
index f299051..0000000 |
6817 |
--- a/sys-freebsd/freebsd-share/files/freebsd-share-9.0-gentoowaydir.patch |
6818 |
+++ /dev/null |
6819 |
@@ -1,16 +0,0 @@ |
6820 |
-diff -Nur etc.orig/mtree/BSD.usr.dist etc/mtree/BSD.usr.dist |
6821 |
---- etc.orig/mtree/BSD.usr.dist 2012-01-03 12:26:10.000000000 +0900 |
6822 |
-+++ etc/mtree/BSD.usr.dist 2012-01-27 21:50:47.941466067 +0900 |
6823 |
-@@ -25,12 +25,6 @@ |
6824 |
- i18n |
6825 |
- .. |
6826 |
- .. |
6827 |
-- lib32 |
6828 |
-- dtrace |
6829 |
-- .. |
6830 |
-- i18n |
6831 |
-- .. |
6832 |
-- .. |
6833 |
- libdata |
6834 |
- gcc |
6835 |
- .. |
6836 |
|
6837 |
diff --git a/sys-freebsd/freebsd-share/files/freebsd-share-9.2-gnu-miscfiles.patch b/sys-freebsd/freebsd-share/files/freebsd-share-9.2-gnu-miscfiles.patch |
6838 |
deleted file mode 100644 |
6839 |
index af84dc3..0000000 |
6840 |
--- a/sys-freebsd/freebsd-share/files/freebsd-share-9.2-gnu-miscfiles.patch |
6841 |
+++ /dev/null |
6842 |
@@ -1,28 +0,0 @@ |
6843 |
-diff -Nur share.orig/dict/Makefile share/dict/Makefile |
6844 |
---- share.orig/dict/Makefile 2012-12-31 18:00:00.000000000 +0900 |
6845 |
-+++ share/dict/Makefile 2012-12-31 18:03:15.000000000 +0900 |
6846 |
-@@ -4,8 +4,7 @@ |
6847 |
- NO_OBJ= |
6848 |
- |
6849 |
- # XXX MISSING: connectives words |
6850 |
--FILES= README propernames web2 web2a freebsd |
6851 |
-+FILES= README freebsd |
6852 |
- FILESDIR= ${BINDIR}/dict |
6853 |
--SYMLINKS= web2 ${FILESDIR}/words |
6854 |
- |
6855 |
- .include <bsd.prog.mk> |
6856 |
-diff -Nur share.orig/misc/Makefile share/misc/Makefile |
6857 |
---- share.orig/misc/Makefile 2012-12-31 18:00:00.000000000 +0900 |
6858 |
-+++ share/misc/Makefile 2012-12-31 18:04:22.000000000 +0900 |
6859 |
-@@ -3,9 +3,9 @@ |
6860 |
- |
6861 |
- .PATH: ${.CURDIR}/../../sys/dev/usb |
6862 |
- |
6863 |
--FILES= ascii birthtoken bsd-family-tree committers-doc.dot committers-ports.dot \ |
6864 |
-+FILES= bsd-family-tree committers-doc.dot committers-ports.dot \ |
6865 |
- committers-src.dot eqnchar flowers init.ee \ |
6866 |
-- iso3166 iso639 latin1 man.template mdoc.template operator pci_vendors \ |
6867 |
-+ iso3166 iso639 man.template mdoc.template pci_vendors \ |
6868 |
- scsi_modes usb_hid_usages usbdevs \ |
6869 |
- organization.dot |
6870 |
- |
6871 |
|
6872 |
diff --git a/sys-freebsd/freebsd-share/freebsd-share-10.1.0.9999.ebuild b/sys-freebsd/freebsd-share/freebsd-share-10.1.0.9999.ebuild |
6873 |
deleted file mode 100644 |
6874 |
index aa62f9c..0000000 |
6875 |
--- a/sys-freebsd/freebsd-share/freebsd-share-10.1.0.9999.ebuild |
6876 |
+++ /dev/null |
6877 |
@@ -1,107 +0,0 @@ |
6878 |
-# Copyright 1999-2014 Gentoo Foundation |
6879 |
-# Distributed under the terms of the GNU General Public License v2 |
6880 |
-# $Header: $ |
6881 |
- |
6882 |
-EAPI=3 |
6883 |
- |
6884 |
-inherit bsdmk freebsd |
6885 |
- |
6886 |
-DESCRIPTION="FreeBSD shared tools/files" |
6887 |
-SLOT="0" |
6888 |
- |
6889 |
-IUSE="doc zfs" |
6890 |
- |
6891 |
-if [[ ${PV} != *9999* ]]; then |
6892 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
6893 |
- SRC_URI="mirror://gentoo/${SHARE}.tar.xz |
6894 |
- mirror://gentoo/${CONTRIB}.tar.xz |
6895 |
- mirror://gentoo/${GNU}.tar.xz |
6896 |
- mirror://gentoo/${UBIN}.tar.xz |
6897 |
- mirror://gentoo/${USBIN}.tar.xz |
6898 |
- mirror://gentoo/${SBIN}.tar.xz |
6899 |
- mirror://gentoo/${BIN}.tar.xz |
6900 |
- mirror://gentoo/${LIB}.tar.xz |
6901 |
- mirror://gentoo/${ETC}.tar.xz |
6902 |
- zfs? ( mirror://gentoo/${CDDL}.tar.xz )" |
6903 |
-fi |
6904 |
- |
6905 |
-DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* |
6906 |
- =sys-freebsd/freebsd-sources-${RV}*" |
6907 |
-RDEPEND="sys-apps/miscfiles" |
6908 |
- |
6909 |
-RESTRICT="strip" |
6910 |
- |
6911 |
-S="${WORKDIR}/share" |
6912 |
- |
6913 |
-pkg_setup() { |
6914 |
- use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= " |
6915 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
6916 |
- [[ ! -e /usr/bin/vtfontcvt ]] && mymakeopts="${mymakeopts} WITHOUT_VT= " |
6917 |
- |
6918 |
- mymakeopts="${mymakeopts} NO_SENDMAIL= NO_MANCOMPRESS= NO_INFOCOMPRESS= " |
6919 |
-} |
6920 |
- |
6921 |
-REMOVE_SUBDIRS="mk termcap zoneinfo tabset" |
6922 |
- |
6923 |
-PATCHES=( "${FILESDIR}/${PN}-5.3-doc-locations.patch" |
6924 |
- "${FILESDIR}/${PN}-5.4-gentoo-skel.patch" |
6925 |
- "${FILESDIR}/${PN}-9.2-gnu-miscfiles.patch" |
6926 |
- "${FILESDIR}/${PN}-10.0-gentoo-eapi3.patch" ) |
6927 |
- |
6928 |
-src_prepare() { |
6929 |
- # Remove make.conf manpage as it describes bsdmk's make.conf. |
6930 |
- sed -i -e 's:make.conf.5::' "${S}/man/man5/Makefile" |
6931 |
- # Remove rc.conf manpage as it describes bsd's rc.conf. |
6932 |
- sed -i -e 's:\brc.conf.5::' "${S}/man/man5/Makefile" |
6933 |
- sed -i -e 's:\brc.conf.local.5::' "${S}/man/man5/Makefile" |
6934 |
- # Remove mailer.conf manpage |
6935 |
- sed -i -e 's:mailer.conf.5::' "${S}/man/man5/Makefile" |
6936 |
- # Remove pbm and moduli(ssh) manpages |
6937 |
- sed -i -e 's:pbm.5::' -e 's:moduli.5::' "${S}/man/man5/Makefile" |
6938 |
- # Remove builtins manpage |
6939 |
- sed -i -e '/builtins\.1/d' "${S}/man/man1/Makefile" |
6940 |
- # Remove rc manpages |
6941 |
- sed -i -e '/rc.8/d' "${S}/man/man8/Makefile" |
6942 |
- # Remove hv_kvp_daemon.8 manpage. It's provided by freebsd-usbin. |
6943 |
- sed -i -e '/hv_kvp_daemon.8/d' "${S}/man/man8/Makefile" |
6944 |
- |
6945 |
- # Don't install the arch-specific directories in subdirectories |
6946 |
- sed -i -e '/MANSUBDIR/d' "${S}"/man/man4/man4.{i386,sparc64}/Makefile |
6947 |
- |
6948 |
- # Remove them so that they can't be included by error |
6949 |
- rm -rf "${S}"/mk/*.mk |
6950 |
- |
6951 |
- # Make proper symlinks by defining the full target. |
6952 |
- local sdir |
6953 |
- for sdir in colldef mklocale monetdef msgdef numericdef timedef |
6954 |
- do |
6955 |
- sed -e 's:\${enc2}$:\${enc2}/\${FILESNAME}:g' -i \ |
6956 |
- "${S}/${sdir}/Makefile" || \ |
6957 |
- die "Error fixing ${sdir}/Makefile" |
6958 |
- done |
6959 |
- if [[ ! -e "${WORKDIR}/sys" ]]; then |
6960 |
- ln -s "/usr/src/sys" "${WORKDIR}/sys" || die "failed to set sys symlink" |
6961 |
- fi |
6962 |
-} |
6963 |
- |
6964 |
-src_compile() { |
6965 |
- export ESED="/usr/bin/sed" |
6966 |
- |
6967 |
- # libiconv support. |
6968 |
- # i18n/csmapper/APPLE requires mkcsmapper_static |
6969 |
- # i18n/esdb/APPLE requires mkesdb_static |
6970 |
- for pkg in mkcsmapper_static mkesdb_static |
6971 |
- do |
6972 |
- cd "${WORKDIR}"/usr.bin/${pkg} |
6973 |
- freebsd_src_compile |
6974 |
- done |
6975 |
- |
6976 |
- # This is a groff problem and not a -shared problem. |
6977 |
- cd "${S}" |
6978 |
- export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.22.2/tmac/" |
6979 |
- freebsd_src_compile -j1 || die "emake failed" |
6980 |
-} |
6981 |
- |
6982 |
-src_install() { |
6983 |
- mkmake -j1 DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install || die "Install failed" |
6984 |
-} |
6985 |
|
6986 |
diff --git a/sys-freebsd/freebsd-share/metadata.xml b/sys-freebsd/freebsd-share/metadata.xml |
6987 |
deleted file mode 100644 |
6988 |
index d74d135..0000000 |
6989 |
--- a/sys-freebsd/freebsd-share/metadata.xml |
6990 |
+++ /dev/null |
6991 |
@@ -1,8 +0,0 @@ |
6992 |
-<?xml version="1.0" encoding="UTF-8"?> |
6993 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
6994 |
-<pkgmetadata> |
6995 |
- <herd>bsd</herd> |
6996 |
- <use> |
6997 |
- <flag name='zfs'>Enable ZFS support.</flag> |
6998 |
- </use> |
6999 |
-</pkgmetadata> |
7000 |
|
7001 |
diff --git a/sys-freebsd/freebsd-sources/Manifest b/sys-freebsd/freebsd-sources/Manifest |
7002 |
deleted file mode 100644 |
7003 |
index b595b90..0000000 |
7004 |
--- a/sys-freebsd/freebsd-sources/Manifest |
7005 |
+++ /dev/null |
7006 |
@@ -1,29 +0,0 @@ |
7007 |
-AUX config-GENTOO 73 SHA256 04a7695383baa247120cfd39f399b62c9d9b66682b79bc9bc1117f0aeb95b858 SHA512 436e1e1cb4077488cd1e054a96598c1c6dc2fda5c060d2d6c1bf2986b534016c86ea2afee0dcf883b4bde6946625596ea474a273013b18fdfa5538ebcfe6ea54 WHIRLPOOL 467ed565c0c6b508185f3c7d9a2031ce1861573614ba6fd5db7d6825fdaaabf23b9be1daef035d7fea9fa66f9d92ba17267085e894db66d8c9f49ed4ca9f16b9 |
7008 |
-AUX freebsd-sources-10.0-EN-1407-pmap.patch 520 SHA256 64f3fc5765449538fecd6a911cf8fe4a03f8123a0169549ab2fa5363acbd4480 SHA512 eba94035c01d4e9819a89973a0e9baa2b573dfb20c9ee22cfbe786e29bb323beec54f6d6de2d14705c9a558ea6429e7a9edc81c34cd38ddcef4d9ed32b704108 WHIRLPOOL 4adb95ca70f781e5e812936a5fcf86149050bf10c12dccc9c1502ac6df79ae9f80e945b3872a55c187741d795f84e40ec83be015ecf9d7a729fcb13610429738 |
7009 |
-AUX freebsd-sources-10.0-SA-1417-kmem.patch 10626 SHA256 217fed19e36d6febc973f2eff141e9d10ff5700122126b9097c36f9642b168e7 SHA512 0706bef96076723a92664316573c2a877e090213ea50fdde2418d8ea7d98acc76fd45832bb9b66a5af45b6fc97e9d6ab11e7aa561514a4c59ed3afce516d3581 WHIRLPOOL f06b189d12ee4dd7ccec1d84b68297d2b3e33c832440f01c94c07cf5e051e9fa8ef782c28d01f976a017941f832da0be88700575f1092498aaffb7eb931821ac |
7010 |
-AUX freebsd-sources-10.0-clang34.patch 838 SHA256 2f1b02ff11ac48958857fa07168ea27f4974884cdf850f54f3c61541bf9617d2 SHA512 63403f328a2c394aefc66a6230e5c7699ca59d809780686055152f53ce5f7b86b7f2b083951e5e51d0a34ed20561f2473a22c3af8919f0336bf6f10a9db03113 WHIRLPOOL 5d0779ea5f5609f629d9751e365997ac39c2eaab3c0b8f2153b0ed17bf08896b581f3c109a51634be820f0e40b3cc18c6072b1540a1a270099263c63adfb3d67 |
7011 |
-AUX freebsd-sources-10.0-gentoo.patch 713 SHA256 13588f0572ba95c86beb755ce3d681c963e220694e3c0b3aae29faf05f8479da SHA512 98b8d1bf033b9bd7147f10e5bb4a39ac4883ec02ef0cc3825541ff11cb9bfe5e7722e7b8dcefe4c356f9fb0f86ec5cad6fbf9b80dbfd04149142fea5f8712d4d WHIRLPOOL 6372ec9abb566d06db174dd20785ab1768487ac2d57799fabad2d45cb77418f0e39aa0bad745c873e1c50de86a70fa80890f7f2f377f6a53f4fd5b7a6fa49edf |
7012 |
-AUX freebsd-sources-10.1-cve-2014-8612.patch 2097 SHA256 c8ade882a39dd8f65c34b175457cdd93be6eafea67ffb5f977435d48a19b6b68 SHA512 b233ae1d249bdbf516aba611d081a5a6ccaaab32f9e281cce65136c68c6a47362eac33398d6849a45e4e1c30f02a482287d6339069d29ece0aa5c4d9101e24a4 WHIRLPOOL 4713b4d896c561d47686b9f1d53a7e3c912fc58c8039529f0ae244b2cc533aabf20f386a1f9bc8632849ebd084d3739b6be55d4f39a00d484d5d230755497b69 |
7013 |
-AUX freebsd-sources-10.1-cve-2014-8613.patch 4181 SHA256 61b5e717e88671ecc3da9c2b11d4c6d5ddc26f529ed19cb8ce588743cd00af9d SHA512 30deeb82af385abb0b57cc02752e72d8dda37688df99038910f04558ab064624cb576b1989ba8a7674e3a9046f9607be90596d9bdfb2f28900568291b0f96717 WHIRLPOOL 1073a364805b0ef8377dae6e3cd1665de6e4e99612549081fd794a4d92b4b4ee583a68e66f089340dc35129e3fb0bcf00b14b5b71304b6dac744d9a852530fbe |
7014 |
-AUX freebsd-sources-10.1-cve-2015-1414.patch 463 SHA256 969674297e3afbacbd3e15fc6621c813149ab044964d47b936761f04f8ff0bd6 SHA512 5668d18c0abcaad53547394bca18fa1060372cd7f59fd35265778ad74bd331ed08fd8c0b0e48fb338bf8d08c427af1b40315855c7d83c9e3c1917b2f22de1f92 WHIRLPOOL ca93b5f794aac22a23c0e14853813439ce9e0a26847aeec3498bf01c7e10cc1829ddde1a2d5d1291bf2a610773846bfef9217199da1a249d4e7df9f4e44a3e46 |
7015 |
-AUX freebsd-sources-6.0-flex-2.5.31.patch 826 SHA256 8aaf240a344106fc5434fd098eb6555a554d16513b71c95f93a93388021c3d99 SHA512 7183b1923019df12849e7d3984c4227d65275077cf95c3b0719b99dc852234eb3813db0e69e9c34bdfca45a59f7340209211d0b7a2a5074c2d1ad8ea0a3a3f64 WHIRLPOOL 620ae55a54333c55e44247aad76be467bdfa491dac646f65dc0e0b6b1a95fe8edf5087e9ed68abeac1ef6db1a91c0e673342bf44f8753b6b8a5dce889137cdcc |
7016 |
-AUX freebsd-sources-6.1-ntfs.patch 1043 SHA256 2eb0e22bea267d7ac41c3dec81682d3cc1f1744316ea39342e2aaae1f2dca469 SHA512 5401b50ed93bd9155b8adc3f0d6ec81b6e48431bb950cdf468be2e918553e19cd88a1988cdad49be2a34a1db44419cb9eb7067ff0fb1feb8b3f6373aa3c262ad WHIRLPOOL bf4821beae08e002f290286bc290b2bfeac86db46c1597232f06a23e505d720e34841393d9fb4d7276ff7b98c1c133aae5d58c3ec7b8f12712b51260b981bd14 |
7017 |
-AUX freebsd-sources-7.0-tmpfs_whiteout_stub.patch 1015 SHA256 7857fc90c6d5ed28d848146d50ab5bcd01f79ad3480ad1335929f08e45afbc44 SHA512 9dc96b967869efd7480785977764e879bf50978b5e609867e678574f9ed1476695690832bdb725eaebc8d93e83b4a0b3fe9f23b94e2de072a6540a168b13c4a7 WHIRLPOOL 6841f24f2d3ff569ff0e7bd4d628955c9b61b41aa039bdd1e736fa82f737842101c212d8ae8961d1db335e53ba332cdbec1d021a4c57520e426926981bca4512 |
7018 |
-AUX freebsd-sources-7.1-includes.patch 318 SHA256 70c73d0939325185430a3a133380f0bc10674cb8fbe5c7ebfe3b07630d023369 SHA512 f73db3fd72bdd2972ae25c3f661e7677bd5877aa623981303a4b0c5e9522fd458e294799a0ebad17ac3c639d588394b10ad5fcab4d88743a6dfcc8a8d60eecd7 WHIRLPOOL 5dca685df773113dff0c8aac16f244882728ad586b62b7c20df948240b097e89d1bb62f16ed181f2535e13835471754d8fdd0f4ef02b73ce5077b9169c958557 |
7019 |
-AUX freebsd-sources-7.1-types.h-fix.patch 371 SHA256 9e745fcfe046c405a365d8d0db8763867f0a618952f7d6bab4c76a8c82273473 SHA512 133ab13e98c3f2dc5f96cd5e45cd11c4da9757f4ea64831a6e17b309bc4692e4213b48c7ab6dd634f1feb069ca2dfc3a8afe1585d0d1425b5304fd7494cd342f WHIRLPOOL d284dd82244a108e4677be143cfc302c18f18e5b39c39fcaa8915c61053d94bf7171e48028f40d25f8058f8ec910c3e55a3753ccecb46bbabbb0e5ba86e808e3 |
7020 |
-AUX freebsd-sources-8.0-subnet-route-pr40133.patch 548 SHA256 091764c97f4148d2245c24dcfabebd53ef0b4f3175a140fd5b1132788e718ca1 SHA512 9ae65e2775302b664dd4e5f5cbc58fe1ca7db61b6182db10971660207c72ec74e542181f1c2aefcacd2fd4b54e10d371efc619c3c03a977c35d3cf67b99b7de5 WHIRLPOOL 01e27e011c94641498cf0c04a663e4f8f4844a57bd462aa38a1c23a8b3244e5eec226fb11b5e8e598de7227ac2d3dd33aaa98d16f6e7628329ac59e1e7ce62ae |
7021 |
-AUX freebsd-sources-9.0-disable-optimization.patch 927 SHA256 e8ad8d8ed1f729b7b22839a7af93b3dd667f257b05db95f408c48b270003a486 SHA512 0b74874d42eab95994309b922f37ebbf3706d01db6c447c9f062b03e64b77c7f793bc297150b539acdf39530a8afd91f4bf824a87c674dd625a59056656c614b WHIRLPOOL 86f9586a3f07118f95e5fbce1a65fdd3be8dd701ed1bee1379ed2133cef3d9473b437826a13ec2a53c73f7b3e1003256d912a45eb80c86195749a8cd08f9813c |
7022 |
-AUX freebsd-sources-9.0-gentoo.patch 1194 SHA256 251178d014e62fbc3f20c26dd0e78401cc6691a848facd3ff2c7418ed7a43f22 SHA512 0c06b2e18ee8e97c8cc17eeaa50bd77a8a4fed0982cdc2f5cf3446b6020436bb91da256e8765a72ba4d384ebcb494f0b14c5302c4b956f540ff7374b6f55eea6 WHIRLPOOL 77a8bb44b6a18927eb21876672ece0bbfb79a57e29ea56df0eb484e5de37780156652330f03acfa7b8311b836d16ace56d52466a975cc036c3143c2994b14986 |
7023 |
-AUX freebsd-sources-9.0-ipv6refcount.patch 3259 SHA256 18186ef2f9fc020c0da053953b9e8c8629c2302082e0ee172dd7e84a7104bdd5 SHA512 04d89da7ab4c50d3405ff18eea49f94ffff34375c6333a6bb84bc81a63046ba12f384d256e010dc1b64a186650c7ad4702403ed933e6a678d2c5ee4238b56658 WHIRLPOOL c0511b2fec1f2ecc8a6e3aba23808a4c60a4c94f45693b6f21a30cb01386e24969fcc9b655584c78a501524579f7e266993fdd6d565525740f4f8e04f47b55a9 |
7024 |
-AUX freebsd-sources-9.0-sysctluint.patch 403 SHA256 884fbc5d6d3766ea3d4609946f56072f36f95368dc13ee316c330a46d42f0c9e SHA512 f3a87cb187858bc6fd1bafda3c3bd7bbda52b07239a50a7c1aa201df2c52a58d4809e196b8799b1949c8ca1a556519d454ad1789358540e3a96cd480fc0a504c WHIRLPOOL 1fd9852d59378b3fa8682886085f4f63ccd2a57806161b9a3ccb0cbe0c465be2e5620ed57942a8687656859e1a9df17c7d298ea66ec037514bbe7707783aa9f8 |
7025 |
-AUX freebsd-sources-9.1-MFC-r239588.patch 3076 SHA256 c23f0f8b66c06e024413db49267d217225464c0f965d3ea4db07854c2e23458e SHA512 a11b6a7e7290a4c63dda13a15972cae57c21c0a23df8d3f7fe4679a2af273ea6b1be01b34e99148b4f61d83395f5453f65ccb3c2ebadfde57df02b9817e58e7b WHIRLPOOL 5ca75d43686d051e2282226ee4a82cc7e855353e409c1b08f98ea6b6a7d01b37b3bfac93483e6d5bf4883783a2608b4bb327cc5629877d77d4e1f2a68f1574e0 |
7026 |
-AUX freebsd-sources-9.1-ciss.patch 2067 SHA256 a450312394a9ed449144c1b320ec323f8fcd6cb744ad6c6862046b0fd5086e4e SHA512 5b8088644813d465443754f248e0068da1c53b4f947b7c1e584ae9dcd9b7b135a53edd70efc463b500aef74c4f8193e2d1d349b39ce183ed1f18284a2c2d7989 WHIRLPOOL 59f1324eaa98e11a094e4fe48e8ad8f468bc373691de101c5082630d1a69d10a3e6d904f3b6138a2107b0f35f37c16f07da575c1efb4bbfa22869a7cf328e5e2 |
7027 |
-AUX freebsd-sources-9.1-cve-2014-1453.patch 2239 SHA256 2605926b9a36cf2eecf65fc3bcc92ed772922562fdfebfd39c99137526f2a440 SHA512 27b48c96447cb961d2de3ad7f67a739ff78ee3904da508b2e6c1948d299090cb169bd3f289b0448e7d242c1c0d39fd5e5fc29700d92ba4877c3e6d013a6cd6a1 WHIRLPOOL 206c18f70756f77050c681ee4b14f7e0d0e38cac42d146ae0ccd9bd79a3977c4db57d1456c3bfe0294dad313eead5dfb748446e0fa401c98105ea53097505e45 |
7028 |
-AUX freebsd-sources-9.1-gentoo.patch 743 SHA256 f75e451259933aac8028ad0a2b6d9ee43d21bf40f7309e556d139c7a125392bd SHA512 9a7abc263c87134534d6f5a727e08c5f5c34b0272b8b03ddb89daf2ea27e4ec1e46d59202347e4b4154ac617e8c8fa8c29be95d498b54e392680b96fdd10cb6c WHIRLPOOL 237fbd8f3770442cc2692a2b62e83ecc732f54510d267a575a388de778f4b5c22a778d6fd8a69822ff8e782118c936e843e845c6461b0694ab357b261608a86e |
7029 |
-AUX freebsd-sources-9.1-tcp.patch 1249 SHA256 a51412349a8724931cfc749150e3c07802126382a6ce5dbbc6617e4f81188e7a SHA512 46a2039ef4c000447ce22cd64515cffa34615e6980fba9f493c9cf527f45012f1d6128aadce401b3620667bfe9191d70c4c415f8e2d2c08617453822f73a029e WHIRLPOOL 6e81938c55e2a40f4d75a53f4bfeac1c4183feebf023bcc320c0179dbf802151cc5f04dde9302e233eff86c33fdca8a6e80dda70d47d0d762da61e22782b1b0d |
7030 |
-AUX freebsd-sources-9.2-gentoo-gcc.patch 506 SHA256 7457421478066b686dabc9a072ea1a30da8878014d0799220557820fd3a4bbe8 SHA512 cf553ad66b5a55dd2383a55c9a3c5c852985c4842244569aef91596a98481ca12c6189dfdd5fb2badcbe7901a87c81a3e0432cbf10add66dfb481ddcf38ebdcf WHIRLPOOL 42be74cafdad3e43815f638144b3ef8e89a7a95d791a312899a24387bf6a9cbc08acb0b30855d45fed607c6b73a3632afe1a44fb2bcd5738f76a7cf444b39218 |
7031 |
-AUX freebsd-sources-9.2-gentoo.patch 716 SHA256 9a196adef145f57bf960b936f69065f6793df55420ef010c04f76578eb5d1e23 SHA512 3f6d9c4e2e3ee34058bc44ffae87c1de82e70f03d31635f27e477437f3ad4e003d2f3d6c4ab393d18dfc8eeab4cbc0af4a25227ca5d48bcd579dc07bbe3bd7f1 WHIRLPOOL 4b0207d4ffffda9daa88663b638b542acb2f567284ef4456cd18fe74770793666bb5e9de34f02b1dbf29fa79d8bae9305ad84d5cf378510004b926beacb7250d |
7032 |
-AUX freebsd-sources-cve-2012-0217.patch 856 SHA256 9b752e65a29b2b9a4a1412765d69d00310c05508af1cfa6d8d3c16d545bb3ffe SHA512 b1ac18cae23b81fd5ab2fcb44bb9f9808d6eb80f52b8572b81296fdd0b18edee62460520bc753848283d67e13367bf99775a2a5c6cf0272def9cdff6ec6fa4d9 WHIRLPOOL 27e4d0647c5275b77123bef6b866ac841af4b1b547fc663f776da82a7889995eba21b930adeabf2a71b3fbe053d2af5583cbdb6e8fd16a0379d10214d24b9121 |
7033 |
-AUX freebsd-sources-cve-2012-4576.patch 561 SHA256 c3ad42e10164eaa3d928fd11a68b5ab490981b5d4684315e7e78c582e680d6c2 SHA512 451fb9be983672fa8d85d34bf13b67e70ac4bbda44da0c16ee484349bcf4e9ad795f66c36b5216bbcf022f709727dc19760e9f23b001a5768d9fa15dbad8122a WHIRLPOOL 2f261add2b2d9014782198b564a807f1a61917e0fbe91354ce5b1a685b27e312e699b7dc799f1653c952864633be84dda110e37f74378a3c5f1c5aacacb6811d |
7034 |
-EBUILD freebsd-sources-10.1.0.9999-r2.ebuild 3951 SHA256 3e5071a1dc764809739680dcb3fc123c34362e90531eb4efacec4a17b39bb389 SHA512 eef5c568e1009ba26408d7059d27d737f1f9777ecc3d1e553ed299f513244f20aa2ab01b1eec66a50064138d1c8fced7830660a94a3f8d6a0bf60cd8e4d647ef WHIRLPOOL 6504ffef793b3118751070ee7827fb8203603f2162304e92f525e9c7d6eeed7c4a8eb00af6875eafd2d50de5bfbfedcbd19956cc43e66a2812760f3a31f6f6b5 |
7035 |
-MISC metadata.xml 410 SHA256 f29a086ab076d7e7924571990c4cab73cce2aec303e10cf3be057dfa0c8b27fd SHA512 d949aac7499d418fce878c099d47713112e1856346dbf7478e95c14f37a5f2c2fbd580a21b2330712e439d5be235bc2de69ac182bd46c1727e95fbb3b081dd0f WHIRLPOOL ffc6ba7653dfa4be5d63231043a64c85a3ad2409f98b8e1f9cf03dd51edb84b1ed0add5a613e591e9f2409c92e3be08e8b3f7f2073fa45f362c19ef72ec7f63d |
7036 |
|
7037 |
diff --git a/sys-freebsd/freebsd-sources/files/config-GENTOO b/sys-freebsd/freebsd-sources/files/config-GENTOO |
7038 |
deleted file mode 100644 |
7039 |
index 7c7eb26..0000000 |
7040 |
--- a/sys-freebsd/freebsd-sources/files/config-GENTOO |
7041 |
+++ /dev/null |
7042 |
@@ -1,4 +0,0 @@ |
7043 |
-# Kernel configuration for Gentoo/FreeBSD. |
7044 |
-include GENERIC |
7045 |
-ident GENTOO |
7046 |
- |
7047 |
|
7048 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.0-EN-1407-pmap.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-10.0-EN-1407-pmap.patch |
7049 |
deleted file mode 100644 |
7050 |
index 078d6e0..0000000 |
7051 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.0-EN-1407-pmap.patch |
7052 |
+++ /dev/null |
7053 |
@@ -1,13 +0,0 @@ |
7054 |
-Index: sys/amd64/amd64/pmap.c |
7055 |
-=================================================================== |
7056 |
---- sys/amd64/amd64/pmap.c (revision 267572) |
7057 |
-+++ sys/amd64/amd64/pmap.c (working copy) |
7058 |
-@@ -367,7 +367,7 @@ static int pmap_flags = PMAP_PDE_SUPERPAGE; /* fla |
7059 |
- |
7060 |
- static struct unrhdr pcid_unr; |
7061 |
- static struct mtx pcid_mtx; |
7062 |
--int pmap_pcid_enabled = 1; |
7063 |
-+int pmap_pcid_enabled = 0; |
7064 |
- SYSCTL_INT(_vm_pmap, OID_AUTO, pcid_enabled, CTLFLAG_RDTUN, &pmap_pcid_enabled, |
7065 |
- 0, "Is TLB Context ID enabled ?"); |
7066 |
- int invpcid_works = 0; |
7067 |
|
7068 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.0-SA-1417-kmem.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-10.0-SA-1417-kmem.patch |
7069 |
deleted file mode 100644 |
7070 |
index 433da94..0000000 |
7071 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.0-SA-1417-kmem.patch |
7072 |
+++ /dev/null |
7073 |
@@ -1,263 +0,0 @@ |
7074 |
-Index: sys/kern/uipc_sockbuf.c |
7075 |
-=================================================================== |
7076 |
---- sys/kern/uipc_sockbuf.c (revision 268273) |
7077 |
-+++ sys/kern/uipc_sockbuf.c (working copy) |
7078 |
-@@ -1071,6 +1071,11 @@ sbcreatecontrol(caddr_t p, int size, int type, int |
7079 |
- m->m_len = 0; |
7080 |
- KASSERT(CMSG_SPACE((u_int)size) <= M_TRAILINGSPACE(m), |
7081 |
- ("sbcreatecontrol: short mbuf")); |
7082 |
-+ /* |
7083 |
-+ * Don't leave the padding between the msg header and the |
7084 |
-+ * cmsg data and the padding after the cmsg data un-initialized. |
7085 |
-+ */ |
7086 |
-+ bzero(cp, CMSG_SPACE((u_int)size)); |
7087 |
- if (p != NULL) |
7088 |
- (void)memcpy(CMSG_DATA(cp), p, size); |
7089 |
- m->m_len = CMSG_SPACE(size); |
7090 |
-Index: sys/netinet/sctp_auth.c |
7091 |
-=================================================================== |
7092 |
---- sys/netinet/sctp_auth.c (revision 268273) |
7093 |
-+++ sys/netinet/sctp_auth.c (working copy) |
7094 |
-@@ -1790,6 +1790,7 @@ sctp_notify_authentication(struct sctp_tcb *stcb, |
7095 |
- |
7096 |
- SCTP_BUF_LEN(m_notify) = 0; |
7097 |
- auth = mtod(m_notify, struct sctp_authkey_event *); |
7098 |
-+ memset(auth, 0, sizeof(struct sctp_authkey_event)); |
7099 |
- auth->auth_type = SCTP_AUTHENTICATION_EVENT; |
7100 |
- auth->auth_flags = 0; |
7101 |
- auth->auth_length = sizeof(*auth); |
7102 |
-Index: sys/netinet/sctp_indata.c |
7103 |
-=================================================================== |
7104 |
---- sys/netinet/sctp_indata.c (revision 268273) |
7105 |
-+++ sys/netinet/sctp_indata.c (working copy) |
7106 |
-@@ -250,6 +250,11 @@ sctp_build_ctl_nchunk(struct sctp_inpcb *inp, stru |
7107 |
- |
7108 |
- /* We need a CMSG header followed by the struct */ |
7109 |
- cmh = mtod(ret, struct cmsghdr *); |
7110 |
-+ /* |
7111 |
-+ * Make sure that there is no un-initialized padding between the |
7112 |
-+ * cmsg header and cmsg data and after the cmsg data. |
7113 |
-+ */ |
7114 |
-+ memset(cmh, 0, len); |
7115 |
- if (sctp_is_feature_on(inp, SCTP_PCB_FLAGS_RECVRCVINFO)) { |
7116 |
- cmh->cmsg_level = IPPROTO_SCTP; |
7117 |
- cmh->cmsg_len = CMSG_LEN(sizeof(struct sctp_rcvinfo)); |
7118 |
-Index: sys/netinet/sctputil.c |
7119 |
-=================================================================== |
7120 |
---- sys/netinet/sctputil.c (revision 268273) |
7121 |
-+++ sys/netinet/sctputil.c (working copy) |
7122 |
-@@ -2622,6 +2622,7 @@ sctp_notify_assoc_change(uint16_t state, struct sc |
7123 |
- } |
7124 |
- SCTP_BUF_NEXT(m_notify) = NULL; |
7125 |
- sac = mtod(m_notify, struct sctp_assoc_change *); |
7126 |
-+ memset(sac, 0, notif_len); |
7127 |
- sac->sac_type = SCTP_ASSOC_CHANGE; |
7128 |
- sac->sac_flags = 0; |
7129 |
- sac->sac_length = sizeof(struct sctp_assoc_change); |
7130 |
-@@ -2835,11 +2836,10 @@ sctp_notify_send_failed(struct sctp_tcb *stcb, uin |
7131 |
- if (m_notify == NULL) |
7132 |
- /* no space left */ |
7133 |
- return; |
7134 |
-- length += chk->send_size; |
7135 |
-- length -= sizeof(struct sctp_data_chunk); |
7136 |
- SCTP_BUF_LEN(m_notify) = 0; |
7137 |
- if (sctp_stcb_is_feature_on(stcb->sctp_ep, stcb, SCTP_PCB_FLAGS_RECVNSENDFAILEVNT)) { |
7138 |
- ssfe = mtod(m_notify, struct sctp_send_failed_event *); |
7139 |
-+ memset(ssfe, 0, length); |
7140 |
- ssfe->ssfe_type = SCTP_SEND_FAILED_EVENT; |
7141 |
- if (sent) { |
7142 |
- ssfe->ssfe_flags = SCTP_DATA_SENT; |
7143 |
-@@ -2846,10 +2846,11 @@ sctp_notify_send_failed(struct sctp_tcb *stcb, uin |
7144 |
- } else { |
7145 |
- ssfe->ssfe_flags = SCTP_DATA_UNSENT; |
7146 |
- } |
7147 |
-+ length += chk->send_size; |
7148 |
-+ length -= sizeof(struct sctp_data_chunk); |
7149 |
- ssfe->ssfe_length = length; |
7150 |
- ssfe->ssfe_error = error; |
7151 |
- /* not exactly what the user sent in, but should be close :) */ |
7152 |
-- bzero(&ssfe->ssfe_info, sizeof(ssfe->ssfe_info)); |
7153 |
- ssfe->ssfe_info.snd_sid = chk->rec.data.stream_number; |
7154 |
- ssfe->ssfe_info.snd_flags = chk->rec.data.rcv_flags; |
7155 |
- ssfe->ssfe_info.snd_ppid = chk->rec.data.payloadtype; |
7156 |
-@@ -2859,6 +2860,7 @@ sctp_notify_send_failed(struct sctp_tcb *stcb, uin |
7157 |
- SCTP_BUF_LEN(m_notify) = sizeof(struct sctp_send_failed_event); |
7158 |
- } else { |
7159 |
- ssf = mtod(m_notify, struct sctp_send_failed *); |
7160 |
-+ memset(ssf, 0, length); |
7161 |
- ssf->ssf_type = SCTP_SEND_FAILED; |
7162 |
- if (sent) { |
7163 |
- ssf->ssf_flags = SCTP_DATA_SENT; |
7164 |
-@@ -2865,6 +2867,8 @@ sctp_notify_send_failed(struct sctp_tcb *stcb, uin |
7165 |
- } else { |
7166 |
- ssf->ssf_flags = SCTP_DATA_UNSENT; |
7167 |
- } |
7168 |
-+ length += chk->send_size; |
7169 |
-+ length -= sizeof(struct sctp_data_chunk); |
7170 |
- ssf->ssf_length = length; |
7171 |
- ssf->ssf_error = error; |
7172 |
- /* not exactly what the user sent in, but should be close :) */ |
7173 |
-@@ -2948,16 +2952,16 @@ sctp_notify_send_failed2(struct sctp_tcb *stcb, ui |
7174 |
- /* no space left */ |
7175 |
- return; |
7176 |
- } |
7177 |
-- length += sp->length; |
7178 |
- SCTP_BUF_LEN(m_notify) = 0; |
7179 |
- if (sctp_stcb_is_feature_on(stcb->sctp_ep, stcb, SCTP_PCB_FLAGS_RECVNSENDFAILEVNT)) { |
7180 |
- ssfe = mtod(m_notify, struct sctp_send_failed_event *); |
7181 |
-+ memset(ssfe, 0, length); |
7182 |
- ssfe->ssfe_type = SCTP_SEND_FAILED_EVENT; |
7183 |
- ssfe->ssfe_flags = SCTP_DATA_UNSENT; |
7184 |
-+ length += sp->length; |
7185 |
- ssfe->ssfe_length = length; |
7186 |
- ssfe->ssfe_error = error; |
7187 |
- /* not exactly what the user sent in, but should be close :) */ |
7188 |
-- bzero(&ssfe->ssfe_info, sizeof(ssfe->ssfe_info)); |
7189 |
- ssfe->ssfe_info.snd_sid = sp->stream; |
7190 |
- if (sp->some_taken) { |
7191 |
- ssfe->ssfe_info.snd_flags = SCTP_DATA_LAST_FRAG; |
7192 |
-@@ -2971,12 +2975,13 @@ sctp_notify_send_failed2(struct sctp_tcb *stcb, ui |
7193 |
- SCTP_BUF_LEN(m_notify) = sizeof(struct sctp_send_failed_event); |
7194 |
- } else { |
7195 |
- ssf = mtod(m_notify, struct sctp_send_failed *); |
7196 |
-+ memset(ssf, 0, length); |
7197 |
- ssf->ssf_type = SCTP_SEND_FAILED; |
7198 |
- ssf->ssf_flags = SCTP_DATA_UNSENT; |
7199 |
-+ length += sp->length; |
7200 |
- ssf->ssf_length = length; |
7201 |
- ssf->ssf_error = error; |
7202 |
- /* not exactly what the user sent in, but should be close :) */ |
7203 |
-- bzero(&ssf->ssf_info, sizeof(ssf->ssf_info)); |
7204 |
- ssf->ssf_info.sinfo_stream = sp->stream; |
7205 |
- ssf->ssf_info.sinfo_ssn = 0; |
7206 |
- if (sp->some_taken) { |
7207 |
-@@ -3038,6 +3043,7 @@ sctp_notify_adaptation_layer(struct sctp_tcb *stcb |
7208 |
- return; |
7209 |
- SCTP_BUF_LEN(m_notify) = 0; |
7210 |
- sai = mtod(m_notify, struct sctp_adaptation_event *); |
7211 |
-+ memset(sai, 0, sizeof(struct sctp_adaptation_event)); |
7212 |
- sai->sai_type = SCTP_ADAPTATION_INDICATION; |
7213 |
- sai->sai_flags = 0; |
7214 |
- sai->sai_length = sizeof(struct sctp_adaptation_event); |
7215 |
-@@ -3093,6 +3099,7 @@ sctp_notify_partial_delivery_indication(struct sct |
7216 |
- return; |
7217 |
- SCTP_BUF_LEN(m_notify) = 0; |
7218 |
- pdapi = mtod(m_notify, struct sctp_pdapi_event *); |
7219 |
-+ memset(pdapi, 0, sizeof(struct sctp_pdapi_event)); |
7220 |
- pdapi->pdapi_type = SCTP_PARTIAL_DELIVERY_EVENT; |
7221 |
- pdapi->pdapi_flags = 0; |
7222 |
- pdapi->pdapi_length = sizeof(struct sctp_pdapi_event); |
7223 |
-@@ -3202,6 +3209,7 @@ sctp_notify_shutdown_event(struct sctp_tcb *stcb) |
7224 |
- /* no space left */ |
7225 |
- return; |
7226 |
- sse = mtod(m_notify, struct sctp_shutdown_event *); |
7227 |
-+ memset(sse, 0, sizeof(struct sctp_shutdown_event)); |
7228 |
- sse->sse_type = SCTP_SHUTDOWN_EVENT; |
7229 |
- sse->sse_flags = 0; |
7230 |
- sse->sse_length = sizeof(struct sctp_shutdown_event); |
7231 |
-@@ -3252,6 +3260,7 @@ sctp_notify_sender_dry_event(struct sctp_tcb *stcb |
7232 |
- } |
7233 |
- SCTP_BUF_LEN(m_notify) = 0; |
7234 |
- event = mtod(m_notify, struct sctp_sender_dry_event *); |
7235 |
-+ memset(event, 0, sizeof(struct sctp_sender_dry_event)); |
7236 |
- event->sender_dry_type = SCTP_SENDER_DRY_EVENT; |
7237 |
- event->sender_dry_flags = 0; |
7238 |
- event->sender_dry_length = sizeof(struct sctp_sender_dry_event); |
7239 |
-@@ -3284,7 +3293,6 @@ sctp_notify_stream_reset_add(struct sctp_tcb *stcb |
7240 |
- struct mbuf *m_notify; |
7241 |
- struct sctp_queued_to_read *control; |
7242 |
- struct sctp_stream_change_event *stradd; |
7243 |
-- int len; |
7244 |
- |
7245 |
- if ((stcb == NULL) || |
7246 |
- (sctp_stcb_is_feature_off(stcb->sctp_ep, stcb, SCTP_PCB_FLAGS_STREAM_CHANGEEVNT))) { |
7247 |
-@@ -3297,25 +3305,20 @@ sctp_notify_stream_reset_add(struct sctp_tcb *stcb |
7248 |
- return; |
7249 |
- } |
7250 |
- stcb->asoc.peer_req_out = 0; |
7251 |
-- m_notify = sctp_get_mbuf_for_msg(MCLBYTES, 0, M_NOWAIT, 1, MT_DATA); |
7252 |
-+ m_notify = sctp_get_mbuf_for_msg(sizeof(struct sctp_stream_change_event), 0, M_NOWAIT, 1, MT_DATA); |
7253 |
- if (m_notify == NULL) |
7254 |
- /* no space left */ |
7255 |
- return; |
7256 |
- SCTP_BUF_LEN(m_notify) = 0; |
7257 |
-- len = sizeof(struct sctp_stream_change_event); |
7258 |
-- if (len > M_TRAILINGSPACE(m_notify)) { |
7259 |
-- /* never enough room */ |
7260 |
-- sctp_m_freem(m_notify); |
7261 |
-- return; |
7262 |
-- } |
7263 |
- stradd = mtod(m_notify, struct sctp_stream_change_event *); |
7264 |
-+ memset(stradd, 0, sizeof(struct sctp_stream_change_event)); |
7265 |
- stradd->strchange_type = SCTP_STREAM_CHANGE_EVENT; |
7266 |
- stradd->strchange_flags = flag; |
7267 |
-- stradd->strchange_length = len; |
7268 |
-+ stradd->strchange_length = sizeof(struct sctp_stream_change_event); |
7269 |
- stradd->strchange_assoc_id = sctp_get_associd(stcb); |
7270 |
- stradd->strchange_instrms = numberin; |
7271 |
- stradd->strchange_outstrms = numberout; |
7272 |
-- SCTP_BUF_LEN(m_notify) = len; |
7273 |
-+ SCTP_BUF_LEN(m_notify) = sizeof(struct sctp_stream_change_event); |
7274 |
- SCTP_BUF_NEXT(m_notify) = NULL; |
7275 |
- if (sctp_sbspace(&stcb->asoc, &stcb->sctp_socket->so_rcv) < SCTP_BUF_LEN(m_notify)) { |
7276 |
- /* no space */ |
7277 |
-@@ -3346,7 +3349,6 @@ sctp_notify_stream_reset_tsn(struct sctp_tcb *stcb |
7278 |
- struct mbuf *m_notify; |
7279 |
- struct sctp_queued_to_read *control; |
7280 |
- struct sctp_assoc_reset_event *strasoc; |
7281 |
-- int len; |
7282 |
- |
7283 |
- if ((stcb == NULL) || |
7284 |
- (sctp_stcb_is_feature_off(stcb->sctp_ep, stcb, SCTP_PCB_FLAGS_ASSOC_RESETEVNT))) { |
7285 |
-@@ -3353,25 +3355,20 @@ sctp_notify_stream_reset_tsn(struct sctp_tcb *stcb |
7286 |
- /* event not enabled */ |
7287 |
- return; |
7288 |
- } |
7289 |
-- m_notify = sctp_get_mbuf_for_msg(MCLBYTES, 0, M_NOWAIT, 1, MT_DATA); |
7290 |
-+ m_notify = sctp_get_mbuf_for_msg(sizeof(struct sctp_assoc_reset_event), 0, M_NOWAIT, 1, MT_DATA); |
7291 |
- if (m_notify == NULL) |
7292 |
- /* no space left */ |
7293 |
- return; |
7294 |
- SCTP_BUF_LEN(m_notify) = 0; |
7295 |
-- len = sizeof(struct sctp_assoc_reset_event); |
7296 |
-- if (len > M_TRAILINGSPACE(m_notify)) { |
7297 |
-- /* never enough room */ |
7298 |
-- sctp_m_freem(m_notify); |
7299 |
-- return; |
7300 |
-- } |
7301 |
- strasoc = mtod(m_notify, struct sctp_assoc_reset_event *); |
7302 |
-+ memset(strasoc, 0, sizeof(struct sctp_assoc_reset_event)); |
7303 |
- strasoc->assocreset_type = SCTP_ASSOC_RESET_EVENT; |
7304 |
- strasoc->assocreset_flags = flag; |
7305 |
-- strasoc->assocreset_length = len; |
7306 |
-+ strasoc->assocreset_length = sizeof(struct sctp_assoc_reset_event); |
7307 |
- strasoc->assocreset_assoc_id = sctp_get_associd(stcb); |
7308 |
- strasoc->assocreset_local_tsn = sending_tsn; |
7309 |
- strasoc->assocreset_remote_tsn = recv_tsn; |
7310 |
-- SCTP_BUF_LEN(m_notify) = len; |
7311 |
-+ SCTP_BUF_LEN(m_notify) = sizeof(struct sctp_assoc_reset_event); |
7312 |
- SCTP_BUF_NEXT(m_notify) = NULL; |
7313 |
- if (sctp_sbspace(&stcb->asoc, &stcb->sctp_socket->so_rcv) < SCTP_BUF_LEN(m_notify)) { |
7314 |
- /* no space */ |
7315 |
-@@ -3424,6 +3421,7 @@ sctp_notify_stream_reset(struct sctp_tcb *stcb, |
7316 |
- return; |
7317 |
- } |
7318 |
- strreset = mtod(m_notify, struct sctp_stream_reset_event *); |
7319 |
-+ memset(strreset, 0, len); |
7320 |
- strreset->strreset_type = SCTP_STREAM_RESET_EVENT; |
7321 |
- strreset->strreset_flags = flag; |
7322 |
- strreset->strreset_length = len; |
7323 |
-@@ -6236,9 +6234,12 @@ sctp_soreceive(struct socket *so, |
7324 |
- fromlen = 0; |
7325 |
- } |
7326 |
- |
7327 |
-+ if (filling_sinfo) { |
7328 |
-+ memset(&sinfo, 0, sizeof(struct sctp_extrcvinfo)); |
7329 |
-+ } |
7330 |
- error = sctp_sorecvmsg(so, uio, mp0, from, fromlen, flagsp, |
7331 |
- (struct sctp_sndrcvinfo *)&sinfo, filling_sinfo); |
7332 |
-- if ((controlp) && (filling_sinfo)) { |
7333 |
-+ if (controlp != NULL) { |
7334 |
- /* copy back the sinfo in a CMSG format */ |
7335 |
- if (filling_sinfo) |
7336 |
- *controlp = sctp_build_ctl_nchunk(inp, |
7337 |
|
7338 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.0-clang34.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-10.0-clang34.patch |
7339 |
deleted file mode 100644 |
7340 |
index 271b436..0000000 |
7341 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.0-clang34.patch |
7342 |
+++ /dev/null |
7343 |
@@ -1,26 +0,0 @@ |
7344 |
-http://svnweb.freebsd.org/base/stable/10/sys/modules/drm2/radeonkms/Makefile?r1=260321&r2=256281&view=patch |
7345 |
- |
7346 |
-diff -Nur sys.orig/modules/drm2/radeonkms/Makefile sys/modules/drm2/radeonkms/Makefile |
7347 |
---- sys.orig/modules/drm2/radeonkms/Makefile 2014-01-25 00:19:59.000000000 +0900 |
7348 |
-+++ sys/modules/drm2/radeonkms/Makefile 2014-01-25 00:22:07.000000000 +0900 |
7349 |
-@@ -1,5 +1,7 @@ |
7350 |
- # $FreeBSD: release/10.0.0/sys/modules/drm2/radeonkms/Makefile 254885 2013-08-25 19:37:15Z dumbbell $ |
7351 |
- |
7352 |
-+.include <bsd.own.mk> |
7353 |
-+ |
7354 |
- .PATH: ${.CURDIR}/../../../dev/drm2/radeon |
7355 |
- |
7356 |
- KMOD = radeonkms |
7357 |
-@@ -101,7 +103,10 @@ |
7358 |
- iicbus_if.h \ |
7359 |
- pci_if.h |
7360 |
- |
7361 |
--CFLAGS += -I${.CURDIR}/../../../dev/drm2/radeon \ |
7362 |
-- -fms-extensions |
7363 |
-+ |
7364 |
-+CFLAGS += -I${.CURDIR}/../../../dev/drm2/radeon |
7365 |
-+.if ${COMPILER_TYPE} == "gcc" |
7366 |
-+CFLAGS += -fms-extensions |
7367 |
-+.endif |
7368 |
- |
7369 |
- .include <bsd.kmod.mk> |
7370 |
|
7371 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.0-gentoo.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-10.0-gentoo.patch |
7372 |
deleted file mode 100644 |
7373 |
index c7e12bd..0000000 |
7374 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.0-gentoo.patch |
7375 |
+++ /dev/null |
7376 |
@@ -1,22 +0,0 @@ |
7377 |
-diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk |
7378 |
-index 2939a59..124ef6f 100644 |
7379 |
---- a/sys/conf/kern.mk |
7380 |
-+++ b/sys/conf/kern.mk |
7381 |
-@@ -5,7 +5,7 @@ |
7382 |
- # |
7383 |
- CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ |
7384 |
- -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ |
7385 |
-- -Wundef -Wno-pointer-sign ${FORMAT_EXTENSIONS} \ |
7386 |
-+ -Wundef -Wno-pointer-sign \ |
7387 |
- -Wmissing-include-dirs -fdiagnostics-show-option \ |
7388 |
- ${CWARNEXTRA} |
7389 |
- # |
7390 |
-@@ -61,7 +61,7 @@ FORMAT_EXTENSIONS= -fformat-extensions |
7391 |
- # |
7392 |
- .if ${MACHINE_CPUARCH} == "i386" |
7393 |
- .if ${COMPILER_TYPE} != "clang" |
7394 |
--CFLAGS+= -mno-align-long-strings -mpreferred-stack-boundary=2 |
7395 |
-+CFLAGS+= -mpreferred-stack-boundary=2 |
7396 |
- .else |
7397 |
- CFLAGS+= -mno-aes -mno-avx |
7398 |
- .endif |
7399 |
|
7400 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-cve-2014-8612.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-cve-2014-8612.patch |
7401 |
deleted file mode 100644 |
7402 |
index 7c615d3..0000000 |
7403 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-cve-2014-8612.patch |
7404 |
+++ /dev/null |
7405 |
@@ -1,45 +0,0 @@ |
7406 |
-Index: sys/netinet/sctp_usrreq.c |
7407 |
-=================================================================== |
7408 |
---- sys/netinet/sctp_usrreq.c (revision 277788) |
7409 |
-+++ sys/netinet/sctp_usrreq.c (working copy) |
7410 |
-@@ -1863,8 +1863,9 @@ flags_out: |
7411 |
- SCTP_CHECK_AND_CAST(av, optval, struct sctp_stream_value, *optsize); |
7412 |
- SCTP_FIND_STCB(inp, stcb, av->assoc_id); |
7413 |
- if (stcb) { |
7414 |
-- if (stcb->asoc.ss_functions.sctp_ss_get_value(stcb, &stcb->asoc, &stcb->asoc.strmout[av->stream_id], |
7415 |
-- &av->stream_value) < 0) { |
7416 |
-+ if ((av->stream_id >= stcb->asoc.streamoutcnt) || |
7417 |
-+ (stcb->asoc.ss_functions.sctp_ss_get_value(stcb, &stcb->asoc, &stcb->asoc.strmout[av->stream_id], |
7418 |
-+ &av->stream_value) < 0)) { |
7419 |
- SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_USRREQ, EINVAL); |
7420 |
- error = EINVAL; |
7421 |
- } else { |
7422 |
-@@ -4032,8 +4033,9 @@ sctp_setopt(struct socket *so, int optname, void * |
7423 |
- SCTP_CHECK_AND_CAST(av, optval, struct sctp_stream_value, optsize); |
7424 |
- SCTP_FIND_STCB(inp, stcb, av->assoc_id); |
7425 |
- if (stcb) { |
7426 |
-- if (stcb->asoc.ss_functions.sctp_ss_set_value(stcb, &stcb->asoc, &stcb->asoc.strmout[av->stream_id], |
7427 |
-- av->stream_value) < 0) { |
7428 |
-+ if ((av->stream_id >= stcb->asoc.streamoutcnt) || |
7429 |
-+ (stcb->asoc.ss_functions.sctp_ss_set_value(stcb, &stcb->asoc, &stcb->asoc.strmout[av->stream_id], |
7430 |
-+ av->stream_value) < 0)) { |
7431 |
- SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_USRREQ, EINVAL); |
7432 |
- error = EINVAL; |
7433 |
- } |
7434 |
-@@ -4043,10 +4045,12 @@ sctp_setopt(struct socket *so, int optname, void * |
7435 |
- SCTP_INP_RLOCK(inp); |
7436 |
- LIST_FOREACH(stcb, &inp->sctp_asoc_list, sctp_tcblist) { |
7437 |
- SCTP_TCB_LOCK(stcb); |
7438 |
-- stcb->asoc.ss_functions.sctp_ss_set_value(stcb, |
7439 |
-- &stcb->asoc, |
7440 |
-- &stcb->asoc.strmout[av->stream_id], |
7441 |
-- av->stream_value); |
7442 |
-+ if (av->stream_id < stcb->asoc.streamoutcnt) { |
7443 |
-+ stcb->asoc.ss_functions.sctp_ss_set_value(stcb, |
7444 |
-+ &stcb->asoc, |
7445 |
-+ &stcb->asoc.strmout[av->stream_id], |
7446 |
-+ av->stream_value); |
7447 |
-+ } |
7448 |
- SCTP_TCB_UNLOCK(stcb); |
7449 |
- } |
7450 |
- SCTP_INP_RUNLOCK(inp); |
7451 |
|
7452 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-cve-2014-8613.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-cve-2014-8613.patch |
7453 |
deleted file mode 100644 |
7454 |
index 1e2fe91..0000000 |
7455 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-cve-2014-8613.patch |
7456 |
+++ /dev/null |
7457 |
@@ -1,119 +0,0 @@ |
7458 |
-Index: sys/netinet/sctp_input.c |
7459 |
-=================================================================== |
7460 |
---- sys/netinet/sctp_input.c (revision 277788) |
7461 |
-+++ sys/netinet/sctp_input.c (working copy) |
7462 |
-@@ -3649,6 +3649,9 @@ sctp_handle_stream_reset_response(struct sctp_tcb |
7463 |
- /* huh ? */ |
7464 |
- return (0); |
7465 |
- } |
7466 |
-+ if (ntohs(respin->ph.param_length) < sizeof(struct sctp_stream_reset_response_tsn)) { |
7467 |
-+ return (0); |
7468 |
-+ } |
7469 |
- if (action == SCTP_STREAM_RESET_RESULT_PERFORMED) { |
7470 |
- resp = (struct sctp_stream_reset_response_tsn *)respin; |
7471 |
- asoc->stream_reset_outstanding--; |
7472 |
-@@ -4037,7 +4040,7 @@ __attribute__((noinline)) |
7473 |
- sctp_handle_stream_reset(struct sctp_tcb *stcb, struct mbuf *m, int offset, |
7474 |
- struct sctp_chunkhdr *ch_req) |
7475 |
- { |
7476 |
-- int chk_length, param_len, ptype; |
7477 |
-+ uint16_t remaining_length, param_len, ptype; |
7478 |
- struct sctp_paramhdr pstore; |
7479 |
- uint8_t cstore[SCTP_CHUNK_BUFFER_SIZE]; |
7480 |
- uint32_t seq = 0; |
7481 |
-@@ -4050,7 +4053,7 @@ __attribute__((noinline)) |
7482 |
- int num_param = 0; |
7483 |
- |
7484 |
- /* now it may be a reset or a reset-response */ |
7485 |
-- chk_length = ntohs(ch_req->chunk_length); |
7486 |
-+ remaining_length = ntohs(ch_req->chunk_length) - sizeof(struct sctp_chunkhdr); |
7487 |
- |
7488 |
- /* setup for adding the response */ |
7489 |
- sctp_alloc_a_chunk(stcb, chk); |
7490 |
-@@ -4088,20 +4091,27 @@ strres_nochunk: |
7491 |
- ch->chunk_length = htons(chk->send_size); |
7492 |
- SCTP_BUF_LEN(chk->data) = SCTP_SIZE32(chk->send_size); |
7493 |
- offset += sizeof(struct sctp_chunkhdr); |
7494 |
-- while ((size_t)chk_length >= sizeof(struct sctp_stream_reset_tsn_request)) { |
7495 |
-+ while (remaining_length >= sizeof(struct sctp_paramhdr)) { |
7496 |
- ph = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, sizeof(pstore), (uint8_t *) & pstore); |
7497 |
-- if (ph == NULL) |
7498 |
-+ if (ph == NULL) { |
7499 |
-+ /* TSNH */ |
7500 |
- break; |
7501 |
-+ } |
7502 |
- param_len = ntohs(ph->param_length); |
7503 |
-- if (param_len < (int)sizeof(struct sctp_stream_reset_tsn_request)) { |
7504 |
-- /* bad param */ |
7505 |
-+ if ((param_len > remaining_length) || |
7506 |
-+ (param_len < (sizeof(struct sctp_paramhdr) + sizeof(uint32_t)))) { |
7507 |
-+ /* bad parameter length */ |
7508 |
- break; |
7509 |
- } |
7510 |
-- ph = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, min(param_len, (int)sizeof(cstore)), |
7511 |
-+ ph = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, min(param_len, sizeof(cstore)), |
7512 |
- (uint8_t *) & cstore); |
7513 |
-+ if (ph == NULL) { |
7514 |
-+ /* TSNH */ |
7515 |
-+ break; |
7516 |
-+ } |
7517 |
- ptype = ntohs(ph->param_type); |
7518 |
- num_param++; |
7519 |
-- if (param_len > (int)sizeof(cstore)) { |
7520 |
-+ if (param_len > sizeof(cstore)) { |
7521 |
- trunc = 1; |
7522 |
- } else { |
7523 |
- trunc = 0; |
7524 |
-@@ -4113,6 +4123,9 @@ strres_nochunk: |
7525 |
- if (ptype == SCTP_STR_RESET_OUT_REQUEST) { |
7526 |
- struct sctp_stream_reset_out_request *req_out; |
7527 |
- |
7528 |
-+ if (param_len < sizeof(struct sctp_stream_reset_out_request)) { |
7529 |
-+ break; |
7530 |
-+ } |
7531 |
- req_out = (struct sctp_stream_reset_out_request *)ph; |
7532 |
- num_req++; |
7533 |
- if (stcb->asoc.stream_reset_outstanding) { |
7534 |
-@@ -4126,6 +4139,9 @@ strres_nochunk: |
7535 |
- } else if (ptype == SCTP_STR_RESET_ADD_OUT_STREAMS) { |
7536 |
- struct sctp_stream_reset_add_strm *str_add; |
7537 |
- |
7538 |
-+ if (param_len < sizeof(struct sctp_stream_reset_add_strm)) { |
7539 |
-+ break; |
7540 |
-+ } |
7541 |
- str_add = (struct sctp_stream_reset_add_strm *)ph; |
7542 |
- num_req++; |
7543 |
- sctp_handle_str_reset_add_strm(stcb, chk, str_add); |
7544 |
-@@ -4132,6 +4148,9 @@ strres_nochunk: |
7545 |
- } else if (ptype == SCTP_STR_RESET_ADD_IN_STREAMS) { |
7546 |
- struct sctp_stream_reset_add_strm *str_add; |
7547 |
- |
7548 |
-+ if (param_len < sizeof(struct sctp_stream_reset_add_strm)) { |
7549 |
-+ break; |
7550 |
-+ } |
7551 |
- str_add = (struct sctp_stream_reset_add_strm *)ph; |
7552 |
- num_req++; |
7553 |
- sctp_handle_str_reset_add_out_strm(stcb, chk, str_add); |
7554 |
-@@ -4156,6 +4175,9 @@ strres_nochunk: |
7555 |
- struct sctp_stream_reset_response *resp; |
7556 |
- uint32_t result; |
7557 |
- |
7558 |
-+ if (param_len < sizeof(struct sctp_stream_reset_response)) { |
7559 |
-+ break; |
7560 |
-+ } |
7561 |
- resp = (struct sctp_stream_reset_response *)ph; |
7562 |
- seq = ntohl(resp->response_seq); |
7563 |
- result = ntohl(resp->result); |
7564 |
-@@ -4167,7 +4189,11 @@ strres_nochunk: |
7565 |
- break; |
7566 |
- } |
7567 |
- offset += SCTP_SIZE32(param_len); |
7568 |
-- chk_length -= SCTP_SIZE32(param_len); |
7569 |
-+ if (remaining_length >= SCTP_SIZE32(param_len)) { |
7570 |
-+ remaining_length -= SCTP_SIZE32(param_len); |
7571 |
-+ } else { |
7572 |
-+ remaining_length = 0; |
7573 |
-+ } |
7574 |
- } |
7575 |
- if (num_req == 0) { |
7576 |
- /* we have no response free the stuff */ |
7577 |
|
7578 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-cve-2015-1414.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-cve-2015-1414.patch |
7579 |
deleted file mode 100644 |
7580 |
index eeb65e0..0000000 |
7581 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-10.1-cve-2015-1414.patch |
7582 |
+++ /dev/null |
7583 |
@@ -1,15 +0,0 @@ |
7584 |
-Index: sys/netinet/igmp.c |
7585 |
-=================================================================== |
7586 |
---- sys/netinet/igmp.c (revision 278973) |
7587 |
-+++ sys/netinet/igmp.c (working copy) |
7588 |
-@@ -1533,8 +1533,8 @@ igmp_input(struct mbuf *m, int off) |
7589 |
- case IGMP_VERSION_3: { |
7590 |
- struct igmpv3 *igmpv3; |
7591 |
- uint16_t igmpv3len; |
7592 |
-- uint16_t srclen; |
7593 |
-- int nsrc; |
7594 |
-+ uint16_t nsrc; |
7595 |
-+ int srclen; |
7596 |
- |
7597 |
- IGMPSTAT_INC(igps_rcv_v3_queries); |
7598 |
- igmpv3 = (struct igmpv3 *)igmp; |
7599 |
|
7600 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-6.0-flex-2.5.31.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-6.0-flex-2.5.31.patch |
7601 |
deleted file mode 100644 |
7602 |
index 88710cf..0000000 |
7603 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-6.0-flex-2.5.31.patch |
7604 |
+++ /dev/null |
7605 |
@@ -1,22 +0,0 @@ |
7606 |
-Index: fbsd-6/sys/dev/aic7xxx/aicasm/aicasm_scan.l |
7607 |
-=================================================================== |
7608 |
---- fbsd-6.orig/sys/dev/aic7xxx/aicasm/aicasm_scan.l |
7609 |
-+++ fbsd-6/sys/dev/aic7xxx/aicasm/aicasm_scan.l |
7610 |
-@@ -528,7 +528,7 @@ expand_macro(struct symbol *macro_symbol |
7611 |
- |
7612 |
- /* Put back everything up until the replacement. */ |
7613 |
- while (body_pos > next_match) |
7614 |
-- unput(*--body_pos); |
7615 |
-+ yyunput(*--body_pos, body_head); |
7616 |
- |
7617 |
- /* Perform the replacement. */ |
7618 |
- if (match_marg != NULL) { |
7619 |
-@@ -537,7 +537,7 @@ expand_macro(struct symbol *macro_symbol |
7620 |
- next_match = match_marg->replacement_text; |
7621 |
- strp = next_match + strlen(next_match); |
7622 |
- while (strp > next_match) |
7623 |
-- unput(*--strp); |
7624 |
-+ yyunput(*--strp, next_match); |
7625 |
- |
7626 |
- /* Skip past the unexpanded macro arg. */ |
7627 |
- body_pos -= match.rm_eo - match.rm_so; |
7628 |
|
7629 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-6.1-ntfs.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-6.1-ntfs.patch |
7630 |
deleted file mode 100644 |
7631 |
index e74fcd3..0000000 |
7632 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-6.1-ntfs.patch |
7633 |
+++ /dev/null |
7634 |
@@ -1,32 +0,0 @@ |
7635 |
---- sys/fs/ntfs/ntfs_vnops.c.orig 2006-10-17 17:31:36 -0300 |
7636 |
-+++ sys/fs/ntfs/ntfs_vnops.c 2006-10-17 17:30:24 -0300 |
7637 |
-@@ -507,8 +507,12 @@ |
7638 |
- |
7639 |
- /* Simulate . in every dir except ROOT */ |
7640 |
- if( ip->i_number != NTFS_ROOTINO ) { |
7641 |
-- struct dirent dot = { NTFS_ROOTINO, |
7642 |
-- sizeof(struct dirent), DT_DIR, 1, "." }; |
7643 |
-+ struct dirent dot; |
7644 |
-+ dot.d_fileno = NTFS_ROOTINO; |
7645 |
-+ dot.d_reclen = sizeof(struct dirent); |
7646 |
-+ dot.d_type = DT_DIR; |
7647 |
-+ dot.d_namlen = 1; |
7648 |
-+ bcopy(".", dot.d_name, 1); |
7649 |
- |
7650 |
- if( uio->uio_offset < sizeof(struct dirent) ) { |
7651 |
- dot.d_fileno = ip->i_number; |
7652 |
-@@ -522,8 +526,12 @@ |
7653 |
- |
7654 |
- /* Simulate .. in every dir including ROOT */ |
7655 |
- if( uio->uio_offset < 2 * sizeof(struct dirent) ) { |
7656 |
-- struct dirent dotdot = { NTFS_ROOTINO, |
7657 |
-- sizeof(struct dirent), DT_DIR, 2, ".." }; |
7658 |
-+ struct dirent dotdot; |
7659 |
-+ dotdot.d_fileno = NTFS_ROOTINO; |
7660 |
-+ dotdot.d_reclen = sizeof(struct dirent); |
7661 |
-+ dotdot.d_type = DT_DIR; |
7662 |
-+ dotdot.d_namlen = 2; |
7663 |
-+ bcopy("..", dotdot.d_name, 2); |
7664 |
- |
7665 |
- error = uiomove((char *)&dotdot,sizeof(struct dirent),uio); |
7666 |
- if(error) |
7667 |
|
7668 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-7.0-tmpfs_whiteout_stub.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-7.0-tmpfs_whiteout_stub.patch |
7669 |
deleted file mode 100644 |
7670 |
index 13524ef..0000000 |
7671 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-7.0-tmpfs_whiteout_stub.patch |
7672 |
+++ /dev/null |
7673 |
@@ -1,44 +0,0 @@ |
7674 |
-diff -ur sys/fs/tmpfs.orig/tmpfs_vnops.c sys/fs/tmpfs/tmpfs_vnops.c |
7675 |
---- sys/fs/tmpfs.orig/tmpfs_vnops.c 2008-06-22 12:17:48 -0300 |
7676 |
-+++ sys/fs/tmpfs/tmpfs_vnops.c 2008-06-28 12:05:10 -0300 |
7677 |
-@@ -1459,6 +1459,30 @@ |
7678 |
- return (0); |
7679 |
- } |
7680 |
- |
7681 |
-+ |
7682 |
-+/* --------------------------------------------------------------------- */ |
7683 |
-+/* This does absolutely nothing */ |
7684 |
-+#ifdef GENTOO_LIVECD |
7685 |
-+static int |
7686 |
-+tmpfs_whiteout(struct vop_whiteout_args *ap) |
7687 |
-+{ |
7688 |
-+ switch (ap->a_flags) { |
7689 |
-+ case LOOKUP: |
7690 |
-+ return (0); |
7691 |
-+ break; |
7692 |
-+ case CREATE: |
7693 |
-+ return(EOPNOTSUPP); |
7694 |
-+ break; |
7695 |
-+ case DELETE: |
7696 |
-+ return (0); |
7697 |
-+ break; |
7698 |
-+ default: |
7699 |
-+ return(EOPNOTSUPP); |
7700 |
-+ } |
7701 |
-+ return(0); |
7702 |
-+} |
7703 |
-+#endif |
7704 |
-+ |
7705 |
- /* --------------------------------------------------------------------- */ |
7706 |
- |
7707 |
- /* |
7708 |
-@@ -1484,6 +1508,9 @@ |
7709 |
- .vop_mkdir = tmpfs_mkdir, |
7710 |
- .vop_rmdir = tmpfs_rmdir, |
7711 |
- .vop_symlink = tmpfs_symlink, |
7712 |
-+#ifdef GENTOO_LIVECD |
7713 |
-+ .vop_whiteout = tmpfs_whiteout, |
7714 |
-+#endif |
7715 |
- .vop_readdir = tmpfs_readdir, |
7716 |
- .vop_readlink = tmpfs_readlink, |
7717 |
- .vop_inactive = tmpfs_inactive, |
7718 |
|
7719 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-7.1-includes.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-7.1-includes.patch |
7720 |
deleted file mode 100644 |
7721 |
index 3db46fa..0000000 |
7722 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-7.1-includes.patch |
7723 |
+++ /dev/null |
7724 |
@@ -1,13 +0,0 @@ |
7725 |
-Make headers usable alone, include the headers they need. |
7726 |
-There are probably much more missing. |
7727 |
- |
7728 |
---- sys/net/if.h.old 2009-05-15 10:51:50 +0000 |
7729 |
-+++ sys/net/if.h 2009-05-15 10:52:05 +0000 |
7730 |
-@@ -34,6 +34,7 @@ |
7731 |
- #define _NET_IF_H_ |
7732 |
- |
7733 |
- #include <sys/cdefs.h> |
7734 |
-+#include <sys/socket.h> |
7735 |
- |
7736 |
- #ifdef _KERNEL |
7737 |
- #include <sys/queue.h> |
7738 |
|
7739 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-7.1-types.h-fix.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-7.1-types.h-fix.patch |
7740 |
deleted file mode 100644 |
7741 |
index 8de5df2..0000000 |
7742 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-7.1-types.h-fix.patch |
7743 |
+++ /dev/null |
7744 |
@@ -1,15 +0,0 @@ |
7745 |
-Fixes a compile error if XOPEN_SOURCE 600 is defined. |
7746 |
- |
7747 |
-See: http://www.mailinglistarchive.com/freebsd-current@×××××××.org/msg15011.html |
7748 |
- |
7749 |
---- sys/sys/types.h.orig |
7750 |
-+++ sys/sys/types.h |
7751 |
-@@ -46,7 +46,7 @@ |
7752 |
- |
7753 |
- #include <sys/_pthreadtypes.h> |
7754 |
- |
7755 |
--#if __BSD_VISIBLE |
7756 |
-+#ifndef _POSIX_SOURCE |
7757 |
- typedef unsigned char u_char; |
7758 |
- typedef unsigned short u_short; |
7759 |
- typedef unsigned int u_int; |
7760 |
|
7761 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-8.0-subnet-route-pr40133.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-8.0-subnet-route-pr40133.patch |
7762 |
deleted file mode 100644 |
7763 |
index a7335f6..0000000 |
7764 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-8.0-subnet-route-pr40133.patch |
7765 |
+++ /dev/null |
7766 |
@@ -1,21 +0,0 @@ |
7767 |
-Fixes changing the default subnet route after removing an ip address. |
7768 |
- |
7769 |
-See: http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=40133 |
7770 |
-and http://mail-index.netbsd.org/tech-net/2008/12/03/msg000896.html |
7771 |
- |
7772 |
-Thanks to Roy Marples. |
7773 |
---- sys/netinet/in.c.orig |
7774 |
-+++ sys/netinet/in.c |
7775 |
-@@ -858,6 +858,12 @@ |
7776 |
- error = rtinit(&target->ia_ifa, (int)RTM_ADD, flags); |
7777 |
- if (!error) |
7778 |
- target->ia_flags |= IFA_ROUTE; |
7779 |
-+ else if (error == EEXIST) { |
7780 |
-+ /* |
7781 |
-+ * the fact that the route already exists is not an error. |
7782 |
-+ */ |
7783 |
-+ error = 0; |
7784 |
-+ } |
7785 |
- return (error); |
7786 |
- } |
7787 |
- |
7788 |
|
7789 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-disable-optimization.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-disable-optimization.patch |
7790 |
deleted file mode 100644 |
7791 |
index 4824ff6..0000000 |
7792 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-disable-optimization.patch |
7793 |
+++ /dev/null |
7794 |
@@ -1,32 +0,0 @@ |
7795 |
-Taken from debian GNU/kFreeBSD. |
7796 |
- |
7797 |
-Regretably, with GCC 4.4 or later this is the only flag combination |
7798 |
-I could find that doesn't cause kernel panics CPU triple-faults or |
7799 |
-other kind of severe breakage. This is Gentoo Bug #410945. |
7800 |
- |
7801 |
-Clang can use -O2, so we do not force -O1 on it |
7802 |
- |
7803 |
---- a/sys/conf/kern.pre.mk |
7804 |
-+++ b/sys/conf/kern.pre.mk |
7805 |
-@@ -41,6 +41,9 @@ |
7806 |
- .if !empty(COPTFLAGS:M-O[23s]) && empty(COPTFLAGS:M-fno-strict-aliasing) |
7807 |
- COPTFLAGS+= -fno-strict-aliasing |
7808 |
- .endif |
7809 |
-+.if ${CC:T:Mclang} != "clang" && !empty(COPTFLAGS:M-O[23s]) |
7810 |
-+COPTFLAGS+= -O1 |
7811 |
-+.endif |
7812 |
- .if !defined(NO_CPU_COPTFLAGS) |
7813 |
- COPTFLAGS+= ${_CPUCFLAGS} |
7814 |
- .endif |
7815 |
---- a/sys/conf/kmod.mk |
7816 |
-+++ b/sys/conf/kmod.mk |
7817 |
-@@ -91,6 +91,9 @@ |
7818 |
- .if !empty(CFLAGS:M-O[23s]) && empty(CFLAGS:M-fno-strict-aliasing) |
7819 |
- CFLAGS+= -fno-strict-aliasing |
7820 |
- .endif |
7821 |
-+.if ${CC:T:Mclang} != "clang" && !empty(CFLAGS:M-O[23s]) |
7822 |
-+CFLAGS+= -O1 |
7823 |
-+.endif |
7824 |
- WERROR?= -Werror |
7825 |
- CFLAGS+= ${WERROR} |
7826 |
- CFLAGS+= -D_KERNEL |
7827 |
|
7828 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-gentoo.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-gentoo.patch |
7829 |
deleted file mode 100644 |
7830 |
index 840af81..0000000 |
7831 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-gentoo.patch |
7832 |
+++ /dev/null |
7833 |
@@ -1,33 +0,0 @@ |
7834 |
-diff -uNr sys.old/conf/kern.mk sys/conf/kern.mk |
7835 |
---- sys.old/conf/kern.mk 2011-11-02 13:02:13.000000000 +0000 |
7836 |
-+++ sys/conf/kern.mk 2011-11-02 13:05:53.000000000 +0000 |
7837 |
-@@ -5,7 +5,7 @@ |
7838 |
- # |
7839 |
- CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ |
7840 |
- -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ |
7841 |
-- -Wundef -Wno-pointer-sign -fformat-extensions \ |
7842 |
-+ -Wundef -Wno-pointer-sign \ |
7843 |
- -Wmissing-include-dirs -fdiagnostics-show-option |
7844 |
- # |
7845 |
- # The following flags are next up for working on: |
7846 |
-@@ -32,7 +32,7 @@ |
7847 |
- # |
7848 |
- .if ${MACHINE_CPUARCH} == "i386" |
7849 |
- .if ${CC:T:Mclang} != "clang" |
7850 |
--CFLAGS+= -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse |
7851 |
-+CFLAGS+= -mpreferred-stack-boundary=2 -mno-sse |
7852 |
- .else |
7853 |
- CFLAGS+= -mno-aes -mno-avx |
7854 |
- .endif |
7855 |
-diff -uNr sys.old/dev/aic7xxx/aicasm/Makefile sys/dev/aic7xxx/aicasm/Makefile |
7856 |
---- sys.old/dev/aic7xxx/aicasm/Makefile 2011-11-02 13:02:11.000000000 +0000 |
7857 |
-+++ sys/dev/aic7xxx/aicasm/Makefile 2011-11-02 13:06:24.000000000 +0000 |
7858 |
-@@ -14,7 +14,7 @@ |
7859 |
- SRCS= ${GENHDRS} ${CSRCS} ${YSRCS} ${LSRCS} |
7860 |
- CLEANFILES+= ${GENHDRS} ${YSRCS:R:C/(.*)/\1.output/g} |
7861 |
- DPADD= ${LIBL} |
7862 |
--LDADD= -ll |
7863 |
-+LDADD= -lfl |
7864 |
- WARNS?= 5 |
7865 |
- |
7866 |
- # Correct path for kernel builds |
7867 |
|
7868 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-ipv6refcount.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-ipv6refcount.patch |
7869 |
deleted file mode 100644 |
7870 |
index f0984f6..0000000 |
7871 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-ipv6refcount.patch |
7872 |
+++ /dev/null |
7873 |
@@ -1,128 +0,0 @@ |
7874 |
-Index: sys/netinet6/in6.c |
7875 |
-=================================================================== |
7876 |
---- sys/netinet6/in6.c.orig |
7877 |
-+++ sys/netinet6/in6.c |
7878 |
-@@ -1369,6 +1369,8 @@ in6_purgeaddr(struct ifaddr *ifa) |
7879 |
- } |
7880 |
- |
7881 |
- cleanup: |
7882 |
-+ if (ifa0 != NULL) |
7883 |
-+ ifa_free(ifa0); |
7884 |
- |
7885 |
- plen = in6_mask2len(&ia->ia_prefixmask.sin6_addr, NULL); /* XXX */ |
7886 |
- if ((ia->ia_flags & IFA_ROUTE) && plen == 128) { |
7887 |
-@@ -1393,8 +1395,6 @@ cleanup: |
7888 |
- return; |
7889 |
- ia->ia_flags &= ~IFA_ROUTE; |
7890 |
- } |
7891 |
-- if (ifa0 != NULL) |
7892 |
-- ifa_free(ifa0); |
7893 |
- |
7894 |
- in6_unlink_ifa(ia, ifp); |
7895 |
- } |
7896 |
-@@ -1667,14 +1667,19 @@ in6_lifaddr_ioctl(struct socket *so, u_long cmd, c |
7897 |
- hostid = IFA_IN6(ifa); |
7898 |
- |
7899 |
- /* prefixlen must be <= 64. */ |
7900 |
-- if (64 < iflr->prefixlen) |
7901 |
-+ if (64 < iflr->prefixlen) { |
7902 |
-+ if (ifa != NULL) |
7903 |
-+ ifa_free(ifa); |
7904 |
- return EINVAL; |
7905 |
-+ } |
7906 |
- prefixlen = iflr->prefixlen; |
7907 |
- |
7908 |
- /* hostid part must be zero. */ |
7909 |
- sin6 = (struct sockaddr_in6 *)&iflr->addr; |
7910 |
- if (sin6->sin6_addr.s6_addr32[2] != 0 || |
7911 |
- sin6->sin6_addr.s6_addr32[3] != 0) { |
7912 |
-+ if (ifa != NULL) |
7913 |
-+ ifa_free(ifa); |
7914 |
- return EINVAL; |
7915 |
- } |
7916 |
- } else |
7917 |
-@@ -2265,14 +2265,20 @@ in6_ifawithifp(struct ifnet *ifp, struct in6_addr |
7918 |
- IN6_IFADDR_RUNLOCK(); |
7919 |
- return (struct in6_ifaddr *)ifa; |
7920 |
- } |
7921 |
-- IN6_IFADDR_RUNLOCK(); |
7922 |
- |
7923 |
- /* use the last-resort values, that are, deprecated addresses */ |
7924 |
-- if (dep[0]) |
7925 |
-+ if (dep[0]) { |
7926 |
-+ ifa_ref((struct ifaddr *)dep[0]); |
7927 |
-+ IN6_IFADDR_RUNLOCK(); |
7928 |
- return dep[0]; |
7929 |
-- if (dep[1]) |
7930 |
-+ } |
7931 |
-+ if (dep[1]) { |
7932 |
-+ ifa_ref((struct ifaddr *)dep[1]); |
7933 |
-+ IN6_IFADDR_RUNLOCK(); |
7934 |
- return dep[1]; |
7935 |
-+ } |
7936 |
- |
7937 |
-+ IN6_IFADDR_RUNLOCK(); |
7938 |
- return NULL; |
7939 |
- } |
7940 |
- |
7941 |
-Index: sys/netinet6/ip6_input.c |
7942 |
-=================================================================== |
7943 |
---- sys/netinet6/ip6_input.c.orig |
7944 |
-+++ sys/netinet6/ip6_input.c |
7945 |
-@@ -879,19 +879,23 @@ passin: |
7946 |
- * as our interface address (e.g. multicast addresses, addresses |
7947 |
- * within FAITH prefixes and such). |
7948 |
- */ |
7949 |
-- if (deliverifp && !ip6_getdstifaddr(m)) { |
7950 |
-+ if (deliverifp) { |
7951 |
- struct in6_ifaddr *ia6; |
7952 |
- |
7953 |
-- ia6 = in6_ifawithifp(deliverifp, &ip6->ip6_dst); |
7954 |
-- if (ia6) { |
7955 |
-- if (!ip6_setdstifaddr(m, ia6)) { |
7956 |
-- /* |
7957 |
-- * XXX maybe we should drop the packet here, |
7958 |
-- * as we could not provide enough information |
7959 |
-- * to the upper layers. |
7960 |
-- */ |
7961 |
-+ if ((ia6 = ip6_getdstifaddr(m)) != NULL) { |
7962 |
-+ ifa_free(&ia6->ia_ifa); |
7963 |
-+ } else { |
7964 |
-+ ia6 = in6_ifawithifp(deliverifp, &ip6->ip6_dst); |
7965 |
-+ if (ia6) { |
7966 |
-+ if (!ip6_setdstifaddr(m, ia6)) { |
7967 |
-+ /* |
7968 |
-+ * XXX maybe we should drop the packet here, |
7969 |
-+ * as we could not provide enough information |
7970 |
-+ * to the upper layers. |
7971 |
-+ */ |
7972 |
-+ } |
7973 |
-+ ifa_free(&ia6->ia_ifa); |
7974 |
- } |
7975 |
-- ifa_free(&ia6->ia_ifa); |
7976 |
- } |
7977 |
- } |
7978 |
- |
7979 |
-Index: sys/netinet/tcp_input.c |
7980 |
-=================================================================== |
7981 |
---- sys/netinet/tcp_input.c.orig |
7982 |
-+++ sys/netinet/tcp_input.c |
7983 |
-@@ -512,6 +512,8 @@ tcp6_input(struct mbuf **mp, int *offp, int proto) |
7984 |
- (caddr_t)&ip6->ip6_dst - (caddr_t)ip6); |
7985 |
- return IPPROTO_DONE; |
7986 |
- } |
7987 |
-+ if (ia6) |
7988 |
-+ ifa_free(&ia6->ia_ifa); |
7989 |
- |
7990 |
- tcp_input(m, *offp); |
7991 |
- return IPPROTO_DONE; |
7992 |
-@@ -1240,7 +1242,8 @@ relocked: |
7993 |
- rstreason = BANDLIM_RST_OPENPORT; |
7994 |
- goto dropwithreset; |
7995 |
- } |
7996 |
-- ifa_free(&ia6->ia_ifa); |
7997 |
-+ if (ia6) |
7998 |
-+ ifa_free(&ia6->ia_ifa); |
7999 |
- } |
8000 |
- #endif /* INET6 */ |
8001 |
- /* |
8002 |
|
8003 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-sysctluint.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-sysctluint.patch |
8004 |
deleted file mode 100644 |
8005 |
index 751a77c..0000000 |
8006 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-sysctluint.patch |
8007 |
+++ /dev/null |
8008 |
@@ -1,13 +0,0 @@ |
8009 |
-u_int is defined in sys/types.h |
8010 |
-makes header usable alone. |
8011 |
- |
8012 |
---- sys/sys/sysctl.h.old 2012-05-25 11:08:53.000000000 -0400 |
8013 |
-+++ sys/sys/sysctl.h 2012-05-25 11:09:16.000000000 -0400 |
8014 |
-@@ -788,6 +788,7 @@ |
8015 |
- struct sysctl_req *); |
8016 |
- #else /* !_KERNEL */ |
8017 |
- #include <sys/cdefs.h> |
8018 |
-+#include <sys/types.h> /* for u_int */ |
8019 |
- |
8020 |
- __BEGIN_DECLS |
8021 |
- int sysctl(const int *, u_int, void *, size_t *, const void *, size_t); |
8022 |
|
8023 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-MFC-r239588.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-MFC-r239588.patch |
8024 |
deleted file mode 100644 |
8025 |
index 5390d0e..0000000 |
8026 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-MFC-r239588.patch |
8027 |
+++ /dev/null |
8028 |
@@ -1,122 +0,0 @@ |
8029 |
-https://bugs.gentoo.org/444918 |
8030 |
- |
8031 |
-Taken from |
8032 |
-http://svnweb.freebsd.org/base/stable/9/sys/kern/vfs_subr.c?r1=237839&r2=239755&view=patch |
8033 |
- |
8034 |
-FYI, |
8035 |
-http://svnweb.freebsd.org/base?view=revision&revision=239588 |
8036 |
- |
8037 |
---- stable/9/sys/kern/vfs_subr.c 2012/06/30 14:17:59 237839 |
8038 |
-+++ stable/9/sys/kern/vfs_subr.c 2012/08/27 20:25:26 239755 |
8039 |
-@@ -41,6 +41,7 @@ |
8040 |
- #include <sys/cdefs.h> |
8041 |
- __FBSDID("$FreeBSD$"); |
8042 |
- |
8043 |
-+#include "opt_compat.h" |
8044 |
- #include "opt_ddb.h" |
8045 |
- #include "opt_watchdog.h" |
8046 |
- |
8047 |
-@@ -3110,22 +3111,50 @@ |
8048 |
- /* |
8049 |
- * Fill in a struct xvfsconf based on a struct vfsconf. |
8050 |
- */ |
8051 |
--static void |
8052 |
--vfsconf2x(struct vfsconf *vfsp, struct xvfsconf *xvfsp) |
8053 |
-+static int |
8054 |
-+vfsconf2x(struct sysctl_req *req, struct vfsconf *vfsp) |
8055 |
- { |
8056 |
-+ struct xvfsconf xvfsp; |
8057 |
- |
8058 |
-- strcpy(xvfsp->vfc_name, vfsp->vfc_name); |
8059 |
-- xvfsp->vfc_typenum = vfsp->vfc_typenum; |
8060 |
-- xvfsp->vfc_refcount = vfsp->vfc_refcount; |
8061 |
-- xvfsp->vfc_flags = vfsp->vfc_flags; |
8062 |
-+ bzero(&xvfsp, sizeof(xvfsp)); |
8063 |
-+ strcpy(xvfsp.vfc_name, vfsp->vfc_name); |
8064 |
-+ xvfsp.vfc_typenum = vfsp->vfc_typenum; |
8065 |
-+ xvfsp.vfc_refcount = vfsp->vfc_refcount; |
8066 |
-+ xvfsp.vfc_flags = vfsp->vfc_flags; |
8067 |
- /* |
8068 |
- * These are unused in userland, we keep them |
8069 |
- * to not break binary compatibility. |
8070 |
- */ |
8071 |
-- xvfsp->vfc_vfsops = NULL; |
8072 |
-- xvfsp->vfc_next = NULL; |
8073 |
-+ xvfsp.vfc_vfsops = NULL; |
8074 |
-+ xvfsp.vfc_next = NULL; |
8075 |
-+ return (SYSCTL_OUT(req, &xvfsp, sizeof(xvfsp))); |
8076 |
- } |
8077 |
- |
8078 |
-+#ifdef COMPAT_FREEBSD32 |
8079 |
-+struct xvfsconf32 { |
8080 |
-+ uint32_t vfc_vfsops; |
8081 |
-+ char vfc_name[MFSNAMELEN]; |
8082 |
-+ int32_t vfc_typenum; |
8083 |
-+ int32_t vfc_refcount; |
8084 |
-+ int32_t vfc_flags; |
8085 |
-+ uint32_t vfc_next; |
8086 |
-+}; |
8087 |
-+ |
8088 |
-+static int |
8089 |
-+vfsconf2x32(struct sysctl_req *req, struct vfsconf *vfsp) |
8090 |
-+{ |
8091 |
-+ struct xvfsconf32 xvfsp; |
8092 |
-+ |
8093 |
-+ strcpy(xvfsp.vfc_name, vfsp->vfc_name); |
8094 |
-+ xvfsp.vfc_typenum = vfsp->vfc_typenum; |
8095 |
-+ xvfsp.vfc_refcount = vfsp->vfc_refcount; |
8096 |
-+ xvfsp.vfc_flags = vfsp->vfc_flags; |
8097 |
-+ xvfsp.vfc_vfsops = 0; |
8098 |
-+ xvfsp.vfc_next = 0; |
8099 |
-+ return (SYSCTL_OUT(req, &xvfsp, sizeof(xvfsp))); |
8100 |
-+} |
8101 |
-+#endif |
8102 |
-+ |
8103 |
- /* |
8104 |
- * Top level filesystem related information gathering. |
8105 |
- */ |
8106 |
-@@ -3133,14 +3162,16 @@ |
8107 |
- sysctl_vfs_conflist(SYSCTL_HANDLER_ARGS) |
8108 |
- { |
8109 |
- struct vfsconf *vfsp; |
8110 |
-- struct xvfsconf xvfsp; |
8111 |
- int error; |
8112 |
- |
8113 |
- error = 0; |
8114 |
- TAILQ_FOREACH(vfsp, &vfsconf, vfc_list) { |
8115 |
-- bzero(&xvfsp, sizeof(xvfsp)); |
8116 |
-- vfsconf2x(vfsp, &xvfsp); |
8117 |
-- error = SYSCTL_OUT(req, &xvfsp, sizeof xvfsp); |
8118 |
-+#ifdef COMPAT_FREEBSD32 |
8119 |
-+ if (req->flags & SCTL_MASK32) |
8120 |
-+ error = vfsconf2x32(req, vfsp); |
8121 |
-+ else |
8122 |
-+#endif |
8123 |
-+ error = vfsconf2x(req, vfsp); |
8124 |
- if (error) |
8125 |
- break; |
8126 |
- } |
8127 |
-@@ -3160,7 +3191,6 @@ |
8128 |
- int *name = (int *)arg1 - 1; /* XXX */ |
8129 |
- u_int namelen = arg2 + 1; /* XXX */ |
8130 |
- struct vfsconf *vfsp; |
8131 |
-- struct xvfsconf xvfsp; |
8132 |
- |
8133 |
- printf("WARNING: userland calling deprecated sysctl, " |
8134 |
- "please rebuild world\n"); |
8135 |
-@@ -3184,9 +3214,12 @@ |
8136 |
- break; |
8137 |
- if (vfsp == NULL) |
8138 |
- return (EOPNOTSUPP); |
8139 |
-- bzero(&xvfsp, sizeof(xvfsp)); |
8140 |
-- vfsconf2x(vfsp, &xvfsp); |
8141 |
-- return (SYSCTL_OUT(req, &xvfsp, sizeof(xvfsp))); |
8142 |
-+#ifdef COMPAT_FREEBSD32 |
8143 |
-+ if (req->flags & SCTL_MASK32) |
8144 |
-+ return (vfsconf2x32(req, vfsp)); |
8145 |
-+ else |
8146 |
-+#endif |
8147 |
-+ return (vfsconf2x(req, vfsp)); |
8148 |
- } |
8149 |
- return (EOPNOTSUPP); |
8150 |
- } |
8151 |
|
8152 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-ciss.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-ciss.patch |
8153 |
deleted file mode 100644 |
8154 |
index 697984b..0000000 |
8155 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-ciss.patch |
8156 |
+++ /dev/null |
8157 |
@@ -1,65 +0,0 @@ |
8158 |
-Index: sys/dev/ciss/ciss.c |
8159 |
-=================================================================== |
8160 |
---- sys/dev/ciss/ciss.c (revision 264510) |
8161 |
-+++ sys/dev/ciss/ciss.c (revision 264511) |
8162 |
-@@ -180,8 +180,6 @@ |
8163 |
- static void ciss_cam_poll(struct cam_sim *sim); |
8164 |
- static void ciss_cam_complete(struct ciss_request *cr); |
8165 |
- static void ciss_cam_complete_fixup(struct ciss_softc *sc, struct ccb_scsiio *csio); |
8166 |
--static struct cam_periph *ciss_find_periph(struct ciss_softc *sc, |
8167 |
-- int bus, int target); |
8168 |
- static int ciss_name_device(struct ciss_softc *sc, int bus, int target); |
8169 |
- |
8170 |
- /* periodic status monitoring */ |
8171 |
-@@ -3398,27 +3396,6 @@ |
8172 |
- |
8173 |
- |
8174 |
- /******************************************************************************** |
8175 |
-- * Find a peripheral attached at (target) |
8176 |
-- */ |
8177 |
--static struct cam_periph * |
8178 |
--ciss_find_periph(struct ciss_softc *sc, int bus, int target) |
8179 |
--{ |
8180 |
-- struct cam_periph *periph; |
8181 |
-- struct cam_path *path; |
8182 |
-- int status; |
8183 |
-- |
8184 |
-- status = xpt_create_path(&path, NULL, cam_sim_path(sc->ciss_cam_sim[bus]), |
8185 |
-- target, 0); |
8186 |
-- if (status == CAM_REQ_CMP) { |
8187 |
-- periph = cam_periph_find(path, NULL); |
8188 |
-- xpt_free_path(path); |
8189 |
-- } else { |
8190 |
-- periph = NULL; |
8191 |
-- } |
8192 |
-- return(periph); |
8193 |
--} |
8194 |
-- |
8195 |
--/******************************************************************************** |
8196 |
- * Name the device at (target) |
8197 |
- * |
8198 |
- * XXX is this strictly correct? |
8199 |
-@@ -3427,12 +3404,22 @@ |
8200 |
- ciss_name_device(struct ciss_softc *sc, int bus, int target) |
8201 |
- { |
8202 |
- struct cam_periph *periph; |
8203 |
-+ struct cam_path *path; |
8204 |
-+ int status; |
8205 |
- |
8206 |
- if (CISS_IS_PHYSICAL(bus)) |
8207 |
- return (0); |
8208 |
-- if ((periph = ciss_find_periph(sc, bus, target)) != NULL) { |
8209 |
-+ |
8210 |
-+ status = xpt_create_path(&path, NULL, cam_sim_path(sc->ciss_cam_sim[bus]), |
8211 |
-+ target, 0); |
8212 |
-+ |
8213 |
-+ if (status == CAM_REQ_CMP) { |
8214 |
-+ mtx_lock(&sc->ciss_mtx); |
8215 |
-+ periph = cam_periph_find(path, NULL); |
8216 |
- sprintf(sc->ciss_logical[bus][target].cl_name, "%s%d", |
8217 |
- periph->periph_name, periph->unit_number); |
8218 |
-+ mtx_unlock(&sc->ciss_mtx); |
8219 |
-+ xpt_free_path(path); |
8220 |
- return(0); |
8221 |
- } |
8222 |
- sc->ciss_logical[bus][target].cl_name[0] = 0; |
8223 |
|
8224 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-cve-2014-1453.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-cve-2014-1453.patch |
8225 |
deleted file mode 100644 |
8226 |
index fe9e97e..0000000 |
8227 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-cve-2014-1453.patch |
8228 |
+++ /dev/null |
8229 |
@@ -1,70 +0,0 @@ |
8230 |
-Index: sys/fs/nfsserver/nfs_nfsdserv.c |
8231 |
-=================================================================== |
8232 |
---- sys/fs/nfsserver/nfs_nfsdserv.c (revision 264251) |
8233 |
-+++ sys/fs/nfsserver/nfs_nfsdserv.c (working copy) |
8234 |
-@@ -1457,10 +1457,23 @@ nfsrvd_rename(struct nfsrv_descript *nd, int isdgr |
8235 |
- nfsvno_relpathbuf(&fromnd); |
8236 |
- goto out; |
8237 |
- } |
8238 |
-+ /* |
8239 |
-+ * Unlock dp in this code section, so it is unlocked before |
8240 |
-+ * tdp gets locked. This avoids a potential LOR if tdp is the |
8241 |
-+ * parent directory of dp. |
8242 |
-+ */ |
8243 |
- if (nd->nd_flag & ND_NFSV4) { |
8244 |
- tdp = todp; |
8245 |
- tnes = *toexp; |
8246 |
-- tdirfor_ret = nfsvno_getattr(tdp, &tdirfor, nd->nd_cred, p, 0); |
8247 |
-+ if (dp != tdp) { |
8248 |
-+ NFSVOPUNLOCK(dp, 0); |
8249 |
-+ tdirfor_ret = nfsvno_getattr(tdp, &tdirfor, nd->nd_cred, |
8250 |
-+ p, 0); /* Might lock tdp. */ |
8251 |
-+ } else { |
8252 |
-+ tdirfor_ret = nfsvno_getattr(tdp, &tdirfor, nd->nd_cred, |
8253 |
-+ p, 1); |
8254 |
-+ NFSVOPUNLOCK(dp, 0); |
8255 |
-+ } |
8256 |
- } else { |
8257 |
- tfh.nfsrvfh_len = 0; |
8258 |
- error = nfsrv_mtofh(nd, &tfh); |
8259 |
-@@ -1481,10 +1494,12 @@ nfsrvd_rename(struct nfsrv_descript *nd, int isdgr |
8260 |
- tnes = *exp; |
8261 |
- tdirfor_ret = nfsvno_getattr(tdp, &tdirfor, nd->nd_cred, |
8262 |
- p, 1); |
8263 |
-+ NFSVOPUNLOCK(dp, 0); |
8264 |
- } else { |
8265 |
-+ NFSVOPUNLOCK(dp, 0); |
8266 |
- nd->nd_cred->cr_uid = nd->nd_saveduid; |
8267 |
- nfsd_fhtovp(nd, &tfh, LK_EXCLUSIVE, &tdp, &tnes, NULL, |
8268 |
-- 0, p); |
8269 |
-+ 0, p); /* Locks tdp. */ |
8270 |
- if (tdp) { |
8271 |
- tdirfor_ret = nfsvno_getattr(tdp, &tdirfor, |
8272 |
- nd->nd_cred, p, 1); |
8273 |
-@@ -1499,7 +1514,7 @@ nfsrvd_rename(struct nfsrv_descript *nd, int isdgr |
8274 |
- if (error) { |
8275 |
- if (tdp) |
8276 |
- vrele(tdp); |
8277 |
-- vput(dp); |
8278 |
-+ vrele(dp); |
8279 |
- nfsvno_relpathbuf(&fromnd); |
8280 |
- nfsvno_relpathbuf(&tond); |
8281 |
- goto out; |
8282 |
-@@ -1514,7 +1529,7 @@ nfsrvd_rename(struct nfsrv_descript *nd, int isdgr |
8283 |
- } |
8284 |
- if (tdp) |
8285 |
- vrele(tdp); |
8286 |
-- vput(dp); |
8287 |
-+ vrele(dp); |
8288 |
- nfsvno_relpathbuf(&fromnd); |
8289 |
- nfsvno_relpathbuf(&tond); |
8290 |
- goto out; |
8291 |
-@@ -1523,7 +1538,7 @@ nfsrvd_rename(struct nfsrv_descript *nd, int isdgr |
8292 |
- /* |
8293 |
- * Done parsing, now down to business. |
8294 |
- */ |
8295 |
-- nd->nd_repstat = nfsvno_namei(nd, &fromnd, dp, 1, exp, p, &fdirp); |
8296 |
-+ nd->nd_repstat = nfsvno_namei(nd, &fromnd, dp, 0, exp, p, &fdirp); |
8297 |
- if (nd->nd_repstat) { |
8298 |
- if (nd->nd_flag & ND_NFSV3) { |
8299 |
- nfsrv_wcc(nd, fdirfor_ret, &fdirfor, fdiraft_ret, |
8300 |
|
8301 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-gentoo.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-gentoo.patch |
8302 |
deleted file mode 100644 |
8303 |
index b02d8b6..0000000 |
8304 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-gentoo.patch |
8305 |
+++ /dev/null |
8306 |
@@ -1,21 +0,0 @@ |
8307 |
-diff -Nur sys.orig/conf/kern.mk sys/conf/kern.mk |
8308 |
---- sys.orig/conf/kern.mk 2012-07-12 13:26:37.000000000 +0900 |
8309 |
-+++ sys/conf/kern.mk 2012-07-16 02:32:19.000000000 +0900 |
8310 |
-@@ -5,7 +5,7 @@ |
8311 |
- # |
8312 |
- CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ |
8313 |
- -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ |
8314 |
-- -Wundef -Wno-pointer-sign -fformat-extensions \ |
8315 |
-+ -Wundef -Wno-pointer-sign \ |
8316 |
- -Wmissing-include-dirs -fdiagnostics-show-option \ |
8317 |
- ${CWARNEXTRA} |
8318 |
- # |
8319 |
-@@ -52,7 +52,7 @@ |
8320 |
- # |
8321 |
- .if ${MACHINE_CPUARCH} == "i386" |
8322 |
- .if ${MK_CLANG_IS_CC} == "no" && ${CC:T:Mclang} != "clang" |
8323 |
--CFLAGS+= -mno-align-long-strings -mpreferred-stack-boundary=2 |
8324 |
-+CFLAGS+= -mpreferred-stack-boundary=2 |
8325 |
- .else |
8326 |
- CFLAGS+= -mno-aes -mno-avx |
8327 |
- .endif |
8328 |
|
8329 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-tcp.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-tcp.patch |
8330 |
deleted file mode 100644 |
8331 |
index 2f82a5f..0000000 |
8332 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-tcp.patch |
8333 |
+++ /dev/null |
8334 |
@@ -1,32 +0,0 @@ |
8335 |
-Index: sys/netinet/tcp_reass.c |
8336 |
-=================================================================== |
8337 |
---- sys/netinet/tcp_reass.c (revision 264836) |
8338 |
-+++ sys/netinet/tcp_reass.c (working copy) |
8339 |
-@@ -211,7 +211,7 @@ tcp_reass(struct tcpcb *tp, struct tcphdr *th, int |
8340 |
- * Investigate why and re-evaluate the below limit after the behaviour |
8341 |
- * is understood. |
8342 |
- */ |
8343 |
-- if (th->th_seq != tp->rcv_nxt && |
8344 |
-+ if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) && |
8345 |
- tp->t_segqlen >= (so->so_rcv.sb_hiwat / tp->t_maxseg) + 1) { |
8346 |
- V_tcp_reass_overflows++; |
8347 |
- TCPSTAT_INC(tcps_rcvmemdrop); |
8348 |
-@@ -234,7 +234,7 @@ tcp_reass(struct tcpcb *tp, struct tcphdr *th, int |
8349 |
- */ |
8350 |
- te = uma_zalloc(V_tcp_reass_zone, M_NOWAIT); |
8351 |
- if (te == NULL) { |
8352 |
-- if (th->th_seq != tp->rcv_nxt) { |
8353 |
-+ if (th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) { |
8354 |
- TCPSTAT_INC(tcps_rcvmemdrop); |
8355 |
- m_freem(m); |
8356 |
- *tlenp = 0; |
8357 |
-@@ -282,7 +282,8 @@ tcp_reass(struct tcpcb *tp, struct tcphdr *th, int |
8358 |
- TCPSTAT_INC(tcps_rcvduppack); |
8359 |
- TCPSTAT_ADD(tcps_rcvdupbyte, *tlenp); |
8360 |
- m_freem(m); |
8361 |
-- uma_zfree(V_tcp_reass_zone, te); |
8362 |
-+ if (te != &tqs) |
8363 |
-+ uma_zfree(V_tcp_reass_zone, te); |
8364 |
- tp->t_segqlen--; |
8365 |
- /* |
8366 |
- * Try to present any queued data |
8367 |
|
8368 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.2-gentoo-gcc.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.2-gentoo-gcc.patch |
8369 |
deleted file mode 100644 |
8370 |
index 9076fd2..0000000 |
8371 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.2-gentoo-gcc.patch |
8372 |
+++ /dev/null |
8373 |
@@ -1,13 +0,0 @@ |
8374 |
-diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh |
8375 |
-index e504f75..7aa63df 100644 |
8376 |
---- a/sys/conf/newvers.sh |
8377 |
-+++ b/sys/conf/newvers.sh |
8378 |
-@@ -86,7 +86,7 @@ fi |
8379 |
- touch version |
8380 |
- v=`cat version` u=${USER:-root} d=`pwd` h=${HOSTNAME:-`hostname`} t=`date` |
8381 |
- i=`${MAKE:-make} -V KERN_IDENT` |
8382 |
--compiler_v=$($(${MAKE:-make} -V CC) -v 2>&1 | grep 'version') |
8383 |
-+compiler_v=$($(${MAKE:-make} -V CC) -v 2>&1 | grep 'version' | tail -n 1) |
8384 |
- |
8385 |
- for dir in /bin /usr/bin /usr/local/bin; do |
8386 |
- if [ -x "${dir}/svnversion" ] ; then |
8387 |
|
8388 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.2-gentoo.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-9.2-gentoo.patch |
8389 |
deleted file mode 100644 |
8390 |
index 0aa1d6e..0000000 |
8391 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-9.2-gentoo.patch |
8392 |
+++ /dev/null |
8393 |
@@ -1,21 +0,0 @@ |
8394 |
-diff -Nur sys.orig/conf/kern.mk sys/conf/kern.mk |
8395 |
---- sys.orig/conf/kern.mk 2012-12-31 17:51:27.000000000 +0900 |
8396 |
-+++ sys/conf/kern.mk 2012-12-31 17:55:03.000000000 +0900 |
8397 |
-@@ -5,7 +5,7 @@ |
8398 |
- # |
8399 |
- CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ |
8400 |
- -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ |
8401 |
-- -Wundef -Wno-pointer-sign -fformat-extensions \ |
8402 |
-+ -Wundef -Wno-pointer-sign \ |
8403 |
- -Wmissing-include-dirs -fdiagnostics-show-option \ |
8404 |
- ${CWARNEXTRA} |
8405 |
- # |
8406 |
-@@ -52,7 +52,7 @@ |
8407 |
- # |
8408 |
- .if ${MACHINE_CPUARCH} == "i386" |
8409 |
- .if ${COMPILER_TYPE} != "clang" |
8410 |
--CFLAGS+= -mno-align-long-strings -mpreferred-stack-boundary=2 |
8411 |
-+CFLAGS+= -mpreferred-stack-boundary=2 |
8412 |
- .else |
8413 |
- CFLAGS+= -mno-aes -mno-avx |
8414 |
- .endif |
8415 |
|
8416 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-cve-2012-0217.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-cve-2012-0217.patch |
8417 |
deleted file mode 100644 |
8418 |
index 0bf1b61..0000000 |
8419 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-cve-2012-0217.patch |
8420 |
+++ /dev/null |
8421 |
@@ -1,26 +0,0 @@ |
8422 |
-Index: sys/amd64/amd64/trap.c |
8423 |
-=================================================================== |
8424 |
---- sys/amd64/amd64/trap.c.orig |
8425 |
-+++ sys/amd64/amd64/trap.c (working copy) |
8426 |
-@@ -972,4 +972,21 @@ |
8427 |
- syscallname(td->td_proc, sa.code))); |
8428 |
- |
8429 |
- syscallret(td, error, &sa); |
8430 |
-+ |
8431 |
-+ /* |
8432 |
-+ * If the user-supplied value of %rip is not a canonical |
8433 |
-+ * address, then some CPUs will trigger a ring 0 #GP during |
8434 |
-+ * the sysret instruction. However, the fault handler would |
8435 |
-+ * execute with the user's %gs and %rsp in ring 0 which would |
8436 |
-+ * not be safe. Instead, preemptively kill the thread with a |
8437 |
-+ * SIGBUS. |
8438 |
-+ */ |
8439 |
-+ if (td->td_frame->tf_rip >= VM_MAXUSER_ADDRESS) { |
8440 |
-+ ksiginfo_init_trap(&ksi); |
8441 |
-+ ksi.ksi_signo = SIGBUS; |
8442 |
-+ ksi.ksi_code = BUS_OBJERR; |
8443 |
-+ ksi.ksi_trapno = T_PROTFLT; |
8444 |
-+ ksi.ksi_addr = (void *)td->td_frame->tf_rip; |
8445 |
-+ trapsignal(td, &ksi); |
8446 |
-+ } |
8447 |
- } |
8448 |
|
8449 |
diff --git a/sys-freebsd/freebsd-sources/files/freebsd-sources-cve-2012-4576.patch b/sys-freebsd/freebsd-sources/files/freebsd-sources-cve-2012-4576.patch |
8450 |
deleted file mode 100644 |
8451 |
index 08110d6..0000000 |
8452 |
--- a/sys-freebsd/freebsd-sources/files/freebsd-sources-cve-2012-4576.patch |
8453 |
+++ /dev/null |
8454 |
@@ -1,16 +0,0 @@ |
8455 |
-Index: sys/compat/linux/linux_ioctl.c |
8456 |
-=================================================================== |
8457 |
---- sys/compat/linux/linux_ioctl.c (revision 242578) |
8458 |
-+++ sys/compat/linux/linux_ioctl.c (working copy) |
8459 |
-@@ -2260,8 +2260,9 @@ again: |
8460 |
- |
8461 |
- ifc.ifc_len = valid_len; |
8462 |
- sbuf_finish(sb); |
8463 |
-- memcpy(PTRIN(ifc.ifc_buf), sbuf_data(sb), ifc.ifc_len); |
8464 |
-- error = copyout(&ifc, uifc, sizeof(ifc)); |
8465 |
-+ error = copyout(sbuf_data(sb), PTRIN(ifc.ifc_buf), ifc.ifc_len); |
8466 |
-+ if (error == 0) |
8467 |
-+ error = copyout(&ifc, uifc, sizeof(ifc)); |
8468 |
- sbuf_delete(sb); |
8469 |
- CURVNET_RESTORE(); |
8470 |
- |
8471 |
|
8472 |
diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-10.1.0.9999-r2.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-10.1.0.9999-r2.ebuild |
8473 |
deleted file mode 100644 |
8474 |
index ad398cc..0000000 |
8475 |
--- a/sys-freebsd/freebsd-sources/freebsd-sources-10.1.0.9999-r2.ebuild |
8476 |
+++ /dev/null |
8477 |
@@ -1,139 +0,0 @@ |
8478 |
-# Copyright 1999-2015 Gentoo Foundation |
8479 |
-# Distributed under the terms of the GNU General Public License v2 |
8480 |
-# $Header: $ |
8481 |
- |
8482 |
-EAPI=5 |
8483 |
- |
8484 |
-inherit bsdmk freebsd flag-o-matic toolchain-funcs |
8485 |
- |
8486 |
-DESCRIPTION="FreeBSD kernel sources" |
8487 |
-SLOT="0" |
8488 |
- |
8489 |
-IUSE="+build-kernel debug dtrace profile zfs" |
8490 |
- |
8491 |
-if [[ ${PV} != *9999* ]]; then |
8492 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
8493 |
- SRC_URI="mirror://gentoo/${SYS}.tar.xz |
8494 |
- mirror://gentoo/${UBIN}.tar.xz" |
8495 |
-fi |
8496 |
- |
8497 |
-RDEPEND="dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) |
8498 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
8499 |
- !sys-freebsd/virtio-kmod |
8500 |
- !sys-fs/fuse4bsd |
8501 |
- !<sys-freebsd/freebsd-sources-9.2_beta1" |
8502 |
-DEPEND="build-kernel? ( |
8503 |
- dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) |
8504 |
- !sparc-fbsd? ( sys-devel/clang ) |
8505 |
- >=sys-freebsd/freebsd-usbin-9.1 |
8506 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
8507 |
- )" |
8508 |
- |
8509 |
-RESTRICT="strip binchecks" |
8510 |
- |
8511 |
-S="${WORKDIR}/sys" |
8512 |
- |
8513 |
-KERN_BUILD=GENTOO |
8514 |
- |
8515 |
-PATCHES=( "${FILESDIR}/${PN}-9.0-disable-optimization.patch" |
8516 |
- "${FILESDIR}/${PN}-10.0-gentoo.patch" |
8517 |
- "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" |
8518 |
- "${FILESDIR}/${PN}-7.1-types.h-fix.patch" |
8519 |
- "${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch" |
8520 |
- "${FILESDIR}/${PN}-7.1-includes.patch" |
8521 |
- "${FILESDIR}/${PN}-9.0-sysctluint.patch" |
8522 |
- "${FILESDIR}/${PN}-9.2-gentoo-gcc.patch" |
8523 |
- "${FILESDIR}/${PN}-10.1-cve-2014-8612.patch" |
8524 |
- "${FILESDIR}/${PN}-10.1-cve-2014-8613.patch" |
8525 |
- "${FILESDIR}/${PN}-10.1-cve-2015-1414.patch" ) |
8526 |
- |
8527 |
-pkg_setup() { |
8528 |
- # Force set CC=clang. when using gcc, aesni fails to build. |
8529 |
- use sparc-fbsd || export CC=clang |
8530 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL=" |
8531 |
-} |
8532 |
- |
8533 |
-src_prepare() { |
8534 |
- local conf="${S}/$(tc-arch-kernel)/conf/${KERN_BUILD}" |
8535 |
- |
8536 |
- # This replaces the gentoover patch, it doesn't need reapply every time. |
8537 |
- sed -i -e 's:^REVISION=.*:REVISION="'${PVR}'":' \ |
8538 |
- -e 's:^BRANCH=.*:BRANCH="Gentoo":' \ |
8539 |
- -e 's:^VERSION=.*:VERSION="${TYPE} ${BRANCH} ${REVISION}":' \ |
8540 |
- "${S}/conf/newvers.sh" |
8541 |
- |
8542 |
- # __FreeBSD_cc_version comes from FreeBSD's gcc. |
8543 |
- # on 10.0-RELEASE it's 1000001. |
8544 |
- # FYI, can get it from gnu/usr.bin/cc/cc_tools/freebsd-native.h. |
8545 |
- sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=1000001:g" \ |
8546 |
- -i "${S}/conf/kern.pre.mk" \ |
8547 |
- -i "${S}/conf/kmod.mk" || die "Couldn't set __FreeBSD_cc_version" |
8548 |
- |
8549 |
- # Remove -Werror |
8550 |
- sed -e "s:-Werror:-Wno-error:g" \ |
8551 |
- -i "${S}/conf/kern.pre.mk" \ |
8552 |
- -i "${S}/conf/kmod.mk" || die |
8553 |
- |
8554 |
- # Set the kernel configuration using USE flags. |
8555 |
- cp -f "${FILESDIR}/config-GENTOO" "${conf}" || die |
8556 |
- use debug || echo 'nomakeoptions DEBUG' >> "${conf}" |
8557 |
- use dtrace || echo 'nomakeoptions WITH_CTF' >> "${conf}" |
8558 |
- |
8559 |
- # Only used with USE=build-kernel, let the kernel build with its own flags, its safer. |
8560 |
- unset LDFLAGS CFLAGS CXXFLAGS ASFLAGS KERNEL |
8561 |
-} |
8562 |
- |
8563 |
-src_configure() { |
8564 |
- if use build-kernel ; then |
8565 |
- tc-export CC |
8566 |
- cd "${S}/$(tc-arch-kernel)/conf" || die |
8567 |
- config ${KERN_BUILD} || die |
8568 |
- fi |
8569 |
-} |
8570 |
- |
8571 |
-src_compile() { |
8572 |
- if use build-kernel ; then |
8573 |
- if has_version "<sys-freebsd/freebsd-ubin-10.0"; then |
8574 |
- cd "${WORKDIR}"/usr.bin/bmake || die |
8575 |
- if [[ -e /usr/lib/libgcc.a ]] ; then |
8576 |
- freebsd_src_compile |
8577 |
- else |
8578 |
- local CC_SAVE="${CC}" |
8579 |
- CC=gcc freebsd_src_compile |
8580 |
- export CC="${CC_SAVE}" |
8581 |
- fi |
8582 |
- export BMAKE="${WORKDIR}/usr.bin/bmake/make" |
8583 |
- fi |
8584 |
- cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die |
8585 |
- freebsd_src_compile depend |
8586 |
- freebsd_src_compile |
8587 |
- else |
8588 |
- einfo "Nothing to compile.." |
8589 |
- fi |
8590 |
-} |
8591 |
- |
8592 |
-src_install() { |
8593 |
- if use build-kernel ; then |
8594 |
- cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die |
8595 |
- freebsd_src_install |
8596 |
- rm -rf "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" |
8597 |
- cd "${S}" |
8598 |
- fi |
8599 |
- |
8600 |
- insinto "/usr/src/sys" |
8601 |
- doins -r "${S}/"* |
8602 |
-} |
8603 |
- |
8604 |
-pkg_preinst() { |
8605 |
- if [[ -L "${ROOT}/usr/src/sys" ]]; then |
8606 |
- einfo "/usr/src/sys is a symlink, removing it..." |
8607 |
- rm -f "${ROOT}/usr/src/sys" |
8608 |
- fi |
8609 |
- |
8610 |
- if use sparc-fbsd ; then |
8611 |
- ewarn "WARNING: kldload currently causes kernel panics" |
8612 |
- ewarn "on sparc64. This is probably a gcc-4.1 issue, but" |
8613 |
- ewarn "we need gcc-4.1 to compile the kernel correctly :/" |
8614 |
- ewarn "Please compile all modules you need into the kernel" |
8615 |
- fi |
8616 |
-} |
8617 |
|
8618 |
diff --git a/sys-freebsd/freebsd-sources/metadata.xml b/sys-freebsd/freebsd-sources/metadata.xml |
8619 |
deleted file mode 100644 |
8620 |
index 798b447..0000000 |
8621 |
--- a/sys-freebsd/freebsd-sources/metadata.xml |
8622 |
+++ /dev/null |
8623 |
@@ -1,11 +0,0 @@ |
8624 |
-<?xml version="1.0" encoding="UTF-8"?> |
8625 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
8626 |
-<pkgmetadata> |
8627 |
-<herd>bsd</herd> |
8628 |
- <use> |
8629 |
- <flag name='build-kernel'>Build and install a kernel (recommended).</flag> |
8630 |
- <flag name='dtrace'>Enable DTrace support.</flag> |
8631 |
- <flag name='newcons'>Enable Newcons support.</flag> |
8632 |
- <flag name='zfs'>Enable ZFS support.</flag> |
8633 |
- </use> |
8634 |
-</pkgmetadata> |
8635 |
|
8636 |
diff --git a/sys-freebsd/freebsd-ubin/Manifest b/sys-freebsd/freebsd-ubin/Manifest |
8637 |
deleted file mode 100644 |
8638 |
index d9eee94..0000000 |
8639 |
--- a/sys-freebsd/freebsd-ubin/Manifest |
8640 |
+++ /dev/null |
8641 |
@@ -1,25 +0,0 @@ |
8642 |
-AUX freebsd-ubin-10.0-atf.patch 424 SHA256 31ac8807f4088b75ae4684316f18f3096363ee2d8bb1d5c47d9caab77e6cd5f5 SHA512 b343441f49d3fd41221766c7b54b8f831cf6e19f4400b6a0913e16476e32fd70603c28fc5a8d82eef54afc50c4a999d5151bdd96b243495bca319a0f69a6e860 WHIRLPOOL e4f2ab98d015c7656d3da2364e9dc9c6f675ac95fed05bbb886edf5efc79c843103ba9eaac13376cb9f5c5f02d37fed485a54db508ca350a13d5de2483403045 |
8643 |
-AUX freebsd-ubin-10.0-dtc-gcc46.patch 591 SHA256 0adcc784a7fa6a6d8bd867d39b46149c4b61c3751e1ce5eb0a50d0e07d927b60 SHA512 a47ae1540cf2d7f71b718dad84010f725312bc0308cc61b99ab3560a5a18c67c8a34b54d9b99c0974b0662519c20c43c81843fca10d252178f888a14a6990eae WHIRLPOOL 6ae4e254b78d026e634fc1f26c304fc3026b8ceb7a8f7746a5480f61dbd8676aad07d0571f57b31279df119fbace4e8bb2ef7d246cf5d78566905e056bbf4d77 |
8644 |
-AUX freebsd-ubin-10.0-kdump-ioctl.patch 1027 SHA256 7fe03c7e7cdbffdabf64557fa63eae0243a28be9025fc735393048ed2dca12c1 SHA512 6fda9d9ab4210d952277b112a5c4a2e75fcff3f63debde980ca791c6f6471038fda26d1e3ddf809384d95525e9ec9140f7b5af17dee8c11967e0b4bc9ea2b850 WHIRLPOOL 1ae5e229824a4371940ef7a0c9d8bae78aada8bcd73371a4479ced9013c55137bd4b153e296ee5873c8a9042607e86273754589e6a2a38519ba5ac78ee442740 |
8645 |
-AUX freebsd-ubin-10.0-mandoc.patch 375 SHA256 c4d14aabe0a39bc2c12ca87b6c83628ea1c46640044bbd6946f3e6af343348b6 SHA512 b2789a57ce9afd5b7fe2989f37d246b2034b1578314ac0f6e7c4af26e81f73d043ea3440edee7c30b82fc0ddf5a4592cc3c3c6871ed0eb5fc6932bdf97a88d68 WHIRLPOOL 8e9fa01e662376225c69b41890c1f518c23116ff105ec45c43958d5749b3e265af5dd799e2c2fed5c078e0ca42f8ac988dfe7acb401875c7a769cfe38b14c56a |
8646 |
-AUX freebsd-ubin-6.0-bsdcmp.patch 413 SHA256 a0a99a602538d95ddae2fc4b823150ea58862def87c8196806a379233e3ddb2c SHA512 1516d984e7e17e8a3474ce519c9e5d6fefaee244ad27f1ed21af73335a6a25275e842007e71a60d6b18aa049f84c87b349f3350664cea03885cd55a846a73d50 WHIRLPOOL 7a23988970695ccdeaadfce96a0bf05e986736d0c93079cddf0101c0b17b7e5f3421e5da6c1e2b6e0c96ff025dd8d80effc392064ce9ff1cb2e0bce0e8d90b35 |
8647 |
-AUX freebsd-ubin-6.0-kdump-ioctl.patch 1111 SHA256 71f41de71568dd819e39c871dd5e570141f243dbabb23d855505c38bec4e9de9 SHA512 53f2decb5a695b8daa4db10ac4f72b5a1d4fa58bd151314211f0ce230de5247a64e360855cef10b9e0c195146a704acb7f4cec623501516dfb9dcce09946262e WHIRLPOOL 48d2be90273b6ce1a0b4701a77d5a10e7e26f9f595b54b35cc410d81266c104c67c1fd1d735b659d41e4c3e02261cc79a85f3fe61c45ce79e4dadd1cf17b877a |
8648 |
-AUX freebsd-ubin-8.0-bsdar.patch 556 SHA256 cb81663b4cbb91372b492f2d8c430c166fe4f425fc464a94bb08ea43e23f278d SHA512 46ac4dc366571be48fb6bd131dba49253a3f6e54f68c33bb5b4fede5143c3b96dc107fbd1c3159e15f3816d3b716238c0dc162c958798fbafb5074603c7da430 WHIRLPOOL 32c57b0ccb3b2256e1169da0f7b4d9a3a6300cf703e792ab7286255a12bbaca983bb65ea1c42f6115fc071ee923b5182401e1d14461bf5407269a17361ce003d |
8649 |
-AUX freebsd-ubin-8.0-xinstall.patch 1014 SHA256 124cd30b5f44425d0914c64fd8ae98242c9649e4eb0cb1f786839137532504d6 SHA512 a39843600497876287c13a10ca783041123631ef7a82501df323c6a118eb20d871fa6683b812eeebea220c4cfa1eba81450dc7de7ea08888229f326375ff285d WHIRLPOOL 94e16b120a39e5331fa5db7bcda4ba970c3c92049122e958f4ea378936bd384671955af700053d8ae89d6a0c118abae61751cc2e866f719f882559801c6db359 |
8650 |
-AUX freebsd-ubin-9.0-fixmakefiles.patch 445 SHA256 88c90ea1e20afb56ae1b62c4e7ca9de8da8aa9b3726059a96e85beea13935d1c SHA512 588b0e7f58504ae338b714fb324b1525ed340b56e2e99a1ebaac2606799c9ff15b8c1a05e2ddaa5dfbdc7328684917de8753d99b0c8929c056d6eb6446aa9955 WHIRLPOOL 35445ccd0d4a63c5ac593157d55b0e08106d37cbab0a0b10a699e63872fd2a5e9bd53fe2c4a94dff7b1441fa27c141c171b6938ee51e7c696de95695938985a0 |
8651 |
-AUX freebsd-ubin-9.1-ar-libarchive3.patch 593 SHA256 92a37952790362f73b0c6a1000877e633e7a0055be8397184aa8ad7e15bfecee SHA512 ece840657b425a666af495332a00a57a4c9c353187ee98747651da4ba69227bd0a58dbbdc7af860d49e0d662c9eaca046ec2f087a86c5bf282530bb9cdcf7aaa WHIRLPOOL 4e25ddac55843e725903c28ed009b646ed63eef4b935ee03eb4a60c3fdeb02b158e018ff76adea6ca14a9a40268a1b7347f26f067d407ffb7329fb3c4641da5c |
8652 |
-AUX freebsd-ubin-9.1-bsdar.patch 656 SHA256 86834418e478bc21918d6f310fb422dbfd0aa0df1315bd4fbc0ddd7a8fc62868 SHA512 88fc86fdb0ee6f757cee9b6bd55226517e6b79946f0518904bedd8176230124b40b868dee30049daa7053ea0ebe7d242dc58778e3addae2612ffd53996303bac WHIRLPOOL b66fd0a613cd32f9037c739146e465fd2ddcc56f78a3fdffc67eec9b92b6f2f78d6948906a77c2418e2bae5d782ab70f9c4f473ee8e256f233b237f6a11ae08c |
8653 |
-AUX freebsd-ubin-9.1-grep.patch 549 SHA256 5ab5dafccdc0c64f07742698abe51a24ab0abe10aba7d4bd80afcf4b5a36066f SHA512 2ddec1a02064ee91a177edb78a964d37b5be14c6e92a78ba9ce0a902c40f673eb7a6449042e341dfb3f31be6bef1a19fdf735af0d32526c0891fe6d9cc060101 WHIRLPOOL 3742f0c0612d2158ce2e5afaea7fb15f3f9cbc95f702fd51ea30c0c97a5cccabdffd4b722d1cb1930b362a4d2256bce77d997a69f02304a4d187391c8f8e0734 |
8654 |
-AUX freebsd-ubin-9.1-kdump-ioctl.patch 1001 SHA256 03804b82087884efa28157b36781a746349f41164591b46b73785e0b53088e2a SHA512 aadf3a6d97c5822aa9ff0d1ad8a7bfb2d17fc3193851f864bcb847ef05fe5b7e2b852cb95aaf159194a12b26900697f089113ccb15854c8e3bdb43518de9adf8 WHIRLPOOL 904f1c9dee700cab16a6075216e85768c1a146064da10e865caa319850d400b96255f677df70b2ba1766d4d855b553ad58d74f7e139391bb841f7fc0ef39ebef |
8655 |
-AUX freebsd-ubin-9.1-minigzip.patch 336 SHA256 88ad33268fd33012d37ec3f0f915322a536a4868900aa7c19486226e96125723 SHA512 e25cb6b74b17ee3d999321701fcc5a90ab94abac8ea33a155847f99e7836f16203485618be3426e34a1a5895b7582f5f466f997986486637e52dbc0e6c225dd5 WHIRLPOOL 2fa652c4548eb5b305bafca4b788d9f19f1f52903b0e27cbf402e11bcd7ceb78bdf1dfabf79932b8e78b1bbf898308405ccc19b1ca21198446889c8360db24a7 |
8656 |
-AUX freebsd-ubin-9.3-kdump-workaround.patch 415 SHA256 a2812aaacae36bfab6703f72fde31e705f9ebe952d1d394eb91e4e05d06c4c60 SHA512 9ee3e9a8c508f36326e24463b1bdfc5a511d6c994b8fb0da8bd1a0fa30b9eafe968c228825ad6b25849c47d800f17866e4667dc9ae8c76cff6f8181b37148d70 WHIRLPOOL 5f4f2ab4b72bae236d0c34c65404f351520869ea6a083590239f38ab0fe95f74108a4b7cbd7f84dfc5fb22f2140ded334999c492adb3fddc5dcd81ddeed8b6e5 |
8657 |
-AUX freebsd-ubin-lint-stdarg.patch 792 SHA256 ec86f4c77b7c57f9f1651bb5f38641d198123594e770cc31d77d6775fd851bd6 SHA512 0f06547b0b90c65466c5c032efe6563dfd32ca56175fbad0885228310f6dc5f973d3adffe93bdb35d42b8af045ecdc23d1198fd8bad0c96c46512dbedbab3059 WHIRLPOOL 853d89f6f35c91718a30c8cbd2fed72a01c01dd03b3fab28c931fd80f71394122f4e5fe240df17b524dffb91829bc0148a605e797b88827d4f5e48730790fa57 |
8658 |
-AUX freebsd-ubin-setXid.patch 3723 SHA256 961ac8dcd9efa4f1aab18f56b26c6210d1d5bf441410aae392160e7c0242d16d SHA512 9edaac765405e28b123fa40b708b1ab05af3e151726e6f2b75ab1c0fd17b6c2a428a58726da999f7a63e9550bdd3e0d274ce63517717137872a7e9c77a591501 WHIRLPOOL 36fff3ad1577981b157e4311226540ee9a0eca7f5d623e27b3fbc585bc5585158c21f27c2355ac773ff190817aee2056293d3a1c0306e7743ae72a3a49d1e670 |
8659 |
-AUX locate-updatedb-cron 122 SHA256 63cceb90a3abb02e806af6940542f12d397e7600df37f1b7305104f78694cce9 SHA512 c3127d2ebb837d7fd6edc640604ce31c1639c036703b1e923e84b79f9840e13e28327eb7a5d655546ade8efb9188b041434552bcd0b4b76308c0e66132ad7985 WHIRLPOOL a040f971f7406f2dc022aee9e6b4cbfd4bb37931afabcdb58dcbe82539500bf7ae7fdfdf8651113ae3cea5ffa73771bb57a2a0a0e749701563664ccbf87285ca |
8660 |
-AUX login.1.pamd 145 SHA256 c8b81b422104b58afa8b6bb478b1eda77f97c3037030ac09889b7c3bf3de9fcc SHA512 2308d818de388be2973b59fad5a21ffe5a9c9d302b47ccf1a148182ccaf082421c5a277acf0c85649874fd607a8da20222e7a05c15606ee36f6e74d0968a1397 WHIRLPOOL a562ee1210568bdf2339df413ec69eed066738d0d2929c8965f6bfc2b05d60075b23176ca8f744bee2c6a7cfa8448adf4e08a531d36477f78aac78da47f3209c |
8661 |
-AUX login.pamd 421 SHA256 986aad109b31d055c52b55fd04be1a8f434da4b355e1a84b7d8b666b7a63fcb6 SHA512 ecebbaefb29380263074dc70545c2d3d529a1853c4317d860c51b8176a0afe00768d0d9a82ed05cba8abc6a2ec5cbef4a52f825a5a9de706ac4f7fba71d6fea4 WHIRLPOOL 0706c86180640ae8ebb7f7eca1a1e369aac18353f67301f04cb53c496f7848e5797900a19d32557ed1b9e4af5ee924a148710841426d7800a746e1ac3a1313f0 |
8662 |
-AUX passwd.1.pamd 269 SHA256 a00b23b70388075f20c0e6535b6f4a1bebacb72726dc3c20ed1d468ecc68f334 SHA512 cb2f0fa05057947ac63031853e14c1867f7f330296548d924b8350dee27e00ec4b08daaab2a8c5704e09a70ed823dbe9b074fef07b648bc43cd56a78f7edb790 WHIRLPOOL e4080d8a9ec81a07b37c779dec2e04ad1fe23eecb2d08cfe1f25e00c305fb9aec59424c1e9693d0c31d1f9cc9f6a76b22b31840bf35a059e31f82238fcdb68b9 |
8663 |
-AUX passwd.pamd 360 SHA256 ff964fd309462cac711422be051122f8a60b570da9b13756e9012b18b1864f79 SHA512 f7b4accac065a41d453aacb63222bb9da8183ad5a3ba699530a6cd5fecb5e54ee308fd0a58e00a95cc394402aab7dfd9cded1bae58483d826ced5b20b0d14c27 WHIRLPOOL e46ecd4f2945f6121c89daf8c1640e868508d85fb10c4d9bc3ccc1e04999097f226d5b7d3cb1605ffe2544f4da0127bc9ebce985d086bf96e06a659981e9a4ee |
8664 |
-AUX su.1.pamd 432 SHA256 a231f9cbe5b9e03aa0aaa1520657332771f15d5e5cd69890ce49d02bb34e21c3 SHA512 7d7d8ef2a5b1b52b1b5aa5de86a8767a0aa217fb2658c9bb13bce09e3c68c1a4e15f287d2063a3f18615b9d7dc1eba1ebefb95c1510f9a4c7b7de810a5bcfa40 WHIRLPOOL 635fd8294abf9e8948032ab2b6d50565f2f9f72ea64c18799a6337776bdf2a7859e17bb58e3e1ab3558d74a10611225c31ac4b6cb26f1c5462bf855b02dc9e07 |
8665 |
-AUX su.pamd 420 SHA256 efe3a5efafd7e97e9305f4d24f2b4aacb44f65b261ca54bca1306b918b82cb08 SHA512 25ac749209c05733d0c9978c8ef1712961a3bd863bb2f5615844ed9b44e98dcf7795c02dfc84d58703eca35331701f1fff06a13904792e634256675af5444a48 WHIRLPOOL c97d3314cd58edff9c05b8286e2a377ae928752197dec0d380fa68867a9e8ce5366cc97e8038c21c3f50f527957b6ecc6c723960e28e39a7e8fef1cf7f3caad1 |
8666 |
-EBUILD freebsd-ubin-10.1.0.9999.ebuild 5869 SHA256 e7600ba7d8fea578be80f86d474b5d7d162c138b986a3856e278c7ec68d1894d SHA512 a3abc6c2641c38561251922e75aa11700ac373abed3cf0065808b320b7b73c5fb2f1b709775c3d3a3b89421b1368951ce610a583fc8557c5973926b8ec88794f WHIRLPOOL b7378cfa4813571f5410aac6f81d0e9b90bdbcebcf2006b822cf2cc4e58d2cccbfb3471166573be677a9de4343f29a32ea1cac4a8b2672390ca31be28470cf56 |
8667 |
|
8668 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.0-atf.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.0-atf.patch |
8669 |
deleted file mode 100644 |
8670 |
index d758c48..0000000 |
8671 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.0-atf.patch |
8672 |
+++ /dev/null |
8673 |
@@ -1,15 +0,0 @@ |
8674 |
-diff --git a/usr.bin/atf/atf-sh/Makefile b/usr.bin/atf/atf-sh/Makefile |
8675 |
-index 4ebdc33..37ff8fa 100644 |
8676 |
---- a/usr.bin/atf/atf-sh/Makefile |
8677 |
-+++ b/usr.bin/atf/atf-sh/Makefile |
8678 |
-@@ -33,8 +33,8 @@ PROG_CXX= atf-sh |
8679 |
- SRCS= atf-sh.cpp |
8680 |
- MAN= atf-sh.1 atf-sh-api.3 |
8681 |
- |
8682 |
--CFLAGS+= -DHAVE_CONFIG_H |
8683 |
--CFLAGS+= -I${ATF} |
8684 |
-+CXXFLAGS+= -DHAVE_CONFIG_H |
8685 |
-+CXXFLAGS+= -I${ATF} |
8686 |
- |
8687 |
- DPADD+= ${LIBATF_C} ${LIBATF_CXX} |
8688 |
- LDADD+= -latf-c++ -latf-c |
8689 |
|
8690 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.0-dtc-gcc46.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.0-dtc-gcc46.patch |
8691 |
deleted file mode 100644 |
8692 |
index 1125238..0000000 |
8693 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.0-dtc-gcc46.patch |
8694 |
+++ /dev/null |
8695 |
@@ -1,25 +0,0 @@ |
8696 |
-diff --git a/usr.bin/dtc/string.hh b/usr.bin/dtc/string.hh |
8697 |
-index 45bc4fd..6eaf8e4 100644 |
8698 |
---- a/usr.bin/dtc/string.hh |
8699 |
-+++ b/usr.bin/dtc/string.hh |
8700 |
-@@ -32,6 +32,8 @@ |
8701 |
- |
8702 |
- #ifndef _STRING_HH_ |
8703 |
- #define _STRING_HH_ |
8704 |
-+#include <cstdio> |
8705 |
-+#include <cstring> |
8706 |
- #include "input_buffer.hh" |
8707 |
- |
8708 |
- namespace dtc |
8709 |
-diff --git a/usr.bin/dtc/util.hh b/usr.bin/dtc/util.hh |
8710 |
-index 7f2ec67..8e13b1c 100644 |
8711 |
---- a/usr.bin/dtc/util.hh |
8712 |
-+++ b/usr.bin/dtc/util.hh |
8713 |
-@@ -33,6 +33,7 @@ |
8714 |
- #ifndef _UTIL_HH_ |
8715 |
- #define _UTIL_HH_ |
8716 |
- |
8717 |
-+#include <stdint.h> |
8718 |
- #include <vector> |
8719 |
- |
8720 |
- // If we aren't using C++11, then just ignore static asserts. |
8721 |
|
8722 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.0-kdump-ioctl.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.0-kdump-ioctl.patch |
8723 |
deleted file mode 100644 |
8724 |
index e106852..0000000 |
8725 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.0-kdump-ioctl.patch |
8726 |
+++ /dev/null |
8727 |
@@ -1,26 +0,0 @@ |
8728 |
-diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile |
8729 |
-index 38e9df6..5e831c6 100644 |
8730 |
---- a/usr.bin/kdump/Makefile |
8731 |
-+++ b/usr.bin/kdump/Makefile |
8732 |
-@@ -22,7 +22,7 @@ CLEANFILES= ioctl.c kdump_subr.c kdump_subr.h linux_syscalls.c |
8733 |
- |
8734 |
- ioctl.c: mkioctls |
8735 |
- env MACHINE=${MACHINE} CPP="${CPP}" \ |
8736 |
-- sh ${.CURDIR}/mkioctls print ${DESTDIR}/usr/include > ${.TARGET} |
8737 |
-+ sh ${.CURDIR}/mkioctls print ${.CURDIR}/../../include > ${.TARGET} |
8738 |
- |
8739 |
- kdump_subr.h: mksubr |
8740 |
- sh ${.CURDIR}/mksubr ${DESTDIR}/usr/include | \ |
8741 |
-diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile |
8742 |
-index 7a49497..bc8b61f 100644 |
8743 |
---- a/usr.bin/truss/Makefile |
8744 |
-+++ b/usr.bin/truss/Makefile |
8745 |
-@@ -24,7 +24,7 @@ syscalls.h: syscalls.master |
8746 |
- |
8747 |
- ioctl.c: ${.CURDIR}/../kdump/mkioctls |
8748 |
- env MACHINE=${MACHINE} CPP="${CPP}" \ |
8749 |
-- /bin/sh ${.CURDIR}/../kdump/mkioctls return ${DESTDIR}/usr/include > ${.TARGET} |
8750 |
-+ /bin/sh ${.CURDIR}/../kdump/mkioctls return ${.CURDIR}/../../include > ${.TARGET} |
8751 |
- |
8752 |
- .if ${MACHINE_CPUARCH} == "i386" |
8753 |
- SRCS+= i386-linux.c linux_syscalls.h |
8754 |
|
8755 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.0-mandoc.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.0-mandoc.patch |
8756 |
deleted file mode 100644 |
8757 |
index c5f7706..0000000 |
8758 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-10.0-mandoc.patch |
8759 |
+++ /dev/null |
8760 |
@@ -1,13 +0,0 @@ |
8761 |
-diff --git a/usr.bin/mandoc/Makefile b/usr.bin/mandoc/Makefile |
8762 |
-index 0995534..1bcb3e0 100644 |
8763 |
---- a/usr.bin/mandoc/Makefile |
8764 |
-+++ b/usr.bin/mandoc/Makefile |
8765 |
-@@ -1,7 +1,7 @@ |
8766 |
- # $FreeBSD$ |
8767 |
- |
8768 |
- MDOCMLDIR= ${.CURDIR}/../../contrib/mdocml |
8769 |
--LIBMANDOC= ${.OBJDIR}/../../lib/libmandoc/libmandoc.a |
8770 |
-+LIBMANDOC= ${.CURDIR}/../../lib/libmandoc/libmandoc.a |
8771 |
- .PATH: ${MDOCMLDIR} |
8772 |
- |
8773 |
- PROG= mandoc |
8774 |
|
8775 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.0-bsdcmp.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.0-bsdcmp.patch |
8776 |
deleted file mode 100644 |
8777 |
index 1a85529..0000000 |
8778 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.0-bsdcmp.patch |
8779 |
+++ /dev/null |
8780 |
@@ -1,13 +0,0 @@ |
8781 |
-Index: fbsd-6.0/usr.bin/cmp/Makefile |
8782 |
-=================================================================== |
8783 |
---- fbsd-6.0.orig/usr.bin/cmp/Makefile |
8784 |
-+++ fbsd-6.0/usr.bin/cmp/Makefile |
8785 |
-@@ -1,7 +1,7 @@ |
8786 |
- # @(#)Makefile 8.1 (Berkeley) 6/6/93 |
8787 |
- # $FreeBSD: src/usr.bin/cmp/Makefile,v 1.6.14.1 2005/09/17 11:33:41 brian Exp $ |
8788 |
- |
8789 |
--PROG= cmp |
8790 |
-+PROG= bsdcmp |
8791 |
- SRCS= cmp.c link.c misc.c regular.c special.c |
8792 |
- |
8793 |
- .include <bsd.prog.mk> |
8794 |
|
8795 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.0-kdump-ioctl.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.0-kdump-ioctl.patch |
8796 |
deleted file mode 100644 |
8797 |
index a89cf52..0000000 |
8798 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-6.0-kdump-ioctl.patch |
8799 |
+++ /dev/null |
8800 |
@@ -1,28 +0,0 @@ |
8801 |
-By default the mkioctl program that generates code for kdump does look for |
8802 |
-ioctls in the whole /usr/include tree, but this does break when xorg is merged. |
8803 |
-This patch allows to look for include files only in the source tree. |
8804 |
- |
8805 |
-Index: fbsd-6/usr.bin/kdump/Makefile |
8806 |
-=================================================================== |
8807 |
---- fbsd-6.orig/usr.bin/kdump/Makefile |
8808 |
-+++ fbsd-6/usr.bin/kdump/Makefile |
8809 |
-@@ -10,6 +10,6 @@ CFLAGS+= -I${.CURDIR}/../ktrace -I${.CUR |
8810 |
- CLEANFILES= ioctl.c |
8811 |
- |
8812 |
- ioctl.c: mkioctls |
8813 |
-- sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET} |
8814 |
-+ sh ${.CURDIR}/mkioctls ${.CURDIR}/../../include > ${.TARGET} |
8815 |
- |
8816 |
- .include <bsd.prog.mk> |
8817 |
-Index: fbsd-6/usr.bin/truss/Makefile |
8818 |
-=================================================================== |
8819 |
---- fbsd-6.orig/usr.bin/truss/Makefile |
8820 |
-+++ fbsd-6/usr.bin/truss/Makefile |
8821 |
-@@ -29,6 +29,6 @@ syscalls.h: syscalls.master |
8822 |
- ${.CURDIR}/i386.conf |
8823 |
- |
8824 |
- ioctl.c: ${.CURDIR}/../kdump/mkioctls |
8825 |
-- sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET} |
8826 |
-+ sh ${.CURDIR}/../kdump/mkioctls ${.CURDIR}/../../include > ${.TARGET} |
8827 |
- |
8828 |
- .include <bsd.prog.mk> |
8829 |
|
8830 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-8.0-bsdar.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-8.0-bsdar.patch |
8831 |
deleted file mode 100644 |
8832 |
index c966b9b..0000000 |
8833 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-8.0-bsdar.patch |
8834 |
+++ /dev/null |
8835 |
@@ -1,21 +0,0 @@ |
8836 |
---- usr.bin/ar/Makefile.old 2010-03-12 14:50:30 +0100 |
8837 |
-+++ usr.bin/ar/Makefile 2010-03-12 14:50:53 +0100 |
8838 |
-@@ -1,6 +1,6 @@ |
8839 |
- # $FreeBSD: src/usr.bin/ar/Makefile,v 1.22.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $ |
8840 |
- |
8841 |
--PROG= ar |
8842 |
-+PROG= freebsd-ar |
8843 |
- SRCS= ar.c acplex.l acpyacc.y read.c util.c write.c y.tab.h |
8844 |
- |
8845 |
- WARNS?= 5 |
8846 |
-@@ -10,8 +10,7 @@ |
8847 |
- |
8848 |
- CFLAGS+=-I. -I${.CURDIR} |
8849 |
- |
8850 |
--NO_SHARED?= yes |
8851 |
--LINKS= ${BINDIR}/ar ${BINDIR}/ranlib |
8852 |
--MLINKS= ar.1 ranlib.1 |
8853 |
-+LINKS= ${BINDIR}/freebsd-ar ${BINDIR}/freebsd-ranlib |
8854 |
-+MLINKS= freebsd-ar.1 freebsd-ranlib.1 |
8855 |
- |
8856 |
- .include <bsd.prog.mk> |
8857 |
|
8858 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-8.0-xinstall.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-8.0-xinstall.patch |
8859 |
deleted file mode 100644 |
8860 |
index e8f978a..0000000 |
8861 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-8.0-xinstall.patch |
8862 |
+++ /dev/null |
8863 |
@@ -1,26 +0,0 @@ |
8864 |
-Parallel make installs often cause 2 concurrent install -d to fail |
8865 |
-while they are creating the path to the target dirs. |
8866 |
-This patch changes the failure to a warning so that a make -j6 install doesn't |
8867 |
-fails as often as it does on Gentoo/FreeBSD, if it uses /usr/bin/install. |
8868 |
- |
8869 |
---- usr.bin/xinstall/xinstall.c.orig |
8870 |
-+++ usr.bin/xinstall/xinstall.c |
8871 |
-@@ -748,9 +748,17 @@ |
8872 |
- ch = *p; |
8873 |
- *p = '\0'; |
8874 |
- if (stat(path, &sb)) { |
8875 |
-- if (errno != ENOENT || mkdir(path, 0755) < 0) { |
8876 |
-+ if (errno != ENOENT) { |
8877 |
- err(EX_OSERR, "mkdir %s", path); |
8878 |
- /* NOTREACHED */ |
8879 |
-+ } else if (mkdir(path, 0755) < 0) { |
8880 |
-+ /* Previous errno from stat() says that the directory didn't exist (ENOENT) |
8881 |
-+ * But if errno is now EEXIST, then we just hit a parallel make bug. |
8882 |
-+ */ |
8883 |
-+ if (errno == EEXIST) |
8884 |
-+ warn("mkdir: %s now exists!", path); /* let me know when this happens */ |
8885 |
-+ else |
8886 |
-+ err(EX_OSERR, "mkdir %s", path); |
8887 |
- } else if (verbose) |
8888 |
- (void)printf("install: mkdir %s\n", |
8889 |
- path); |
8890 |
|
8891 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.0-fixmakefiles.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.0-fixmakefiles.patch |
8892 |
deleted file mode 100644 |
8893 |
index d34eb9e..0000000 |
8894 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.0-fixmakefiles.patch |
8895 |
+++ /dev/null |
8896 |
@@ -1,11 +0,0 @@ |
8897 |
-diff -uNr usr.bin.old/calendar/Makefile usr.bin/calendar/Makefile |
8898 |
---- usr.bin.old/calendar/Makefile 2011-11-02 18:22:09.000000000 +0000 |
8899 |
-+++ usr.bin/calendar/Makefile 2011-11-02 18:22:48.000000000 +0000 |
8900 |
-@@ -15,6 +15,7 @@ |
8901 |
- WARNS?= 7 |
8902 |
- |
8903 |
- beforeinstall: |
8904 |
-+ ${INSTALL} -d ${DESTDIR}${SHAREDIR}/calendar |
8905 |
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ |
8906 |
- ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar |
8907 |
- .for lang in ${INTER} |
8908 |
|
8909 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-ar-libarchive3.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-ar-libarchive3.patch |
8910 |
deleted file mode 100644 |
8911 |
index d4d89e1..0000000 |
8912 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-ar-libarchive3.patch |
8913 |
+++ /dev/null |
8914 |
@@ -1,19 +0,0 @@ |
8915 |
-diff -Nur usr.bin.orig/ar/ar.c usr.bin/ar/ar.c |
8916 |
---- usr.bin.orig/ar/ar.c 2012-01-03 12:23:45.000000000 +0900 |
8917 |
-+++ usr.bin/ar/ar.c 2012-12-25 20:50:29.000000000 +0900 |
8918 |
-@@ -386,13 +386,13 @@ |
8919 |
- static void |
8920 |
- bsdar_version(void) |
8921 |
- { |
8922 |
-- (void)printf("BSD ar %s - %s\n", BSDAR_VERSION, archive_version()); |
8923 |
-+ (void)printf("BSD ar %s - %s\n", BSDAR_VERSION, archive_version_string()); |
8924 |
- exit(EX_OK); |
8925 |
- } |
8926 |
- |
8927 |
- static void |
8928 |
- ranlib_version(void) |
8929 |
- { |
8930 |
-- (void)printf("ranlib %s - %s\n", BSDAR_VERSION, archive_version()); |
8931 |
-+ (void)printf("ranlib %s - %s\n", BSDAR_VERSION, archive_version_string()); |
8932 |
- exit(EX_OK); |
8933 |
- } |
8934 |
|
8935 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-bsdar.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-bsdar.patch |
8936 |
deleted file mode 100644 |
8937 |
index a65185f..0000000 |
8938 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-bsdar.patch |
8939 |
+++ /dev/null |
8940 |
@@ -1,25 +0,0 @@ |
8941 |
-diff -Nur work.orig/usr.bin/ar/Makefile work/usr.bin/ar/Makefile |
8942 |
---- work.orig/usr.bin/ar/Makefile 2012-07-16 03:59:48.000000000 +0900 |
8943 |
-+++ work/usr.bin/ar/Makefile 2012-07-16 04:02:38.000000000 +0900 |
8944 |
-@@ -2,7 +2,7 @@ |
8945 |
- |
8946 |
- .include <bsd.own.mk> |
8947 |
- |
8948 |
--PROG= ar |
8949 |
-+PROG= freebsd-ar |
8950 |
- SRCS= ar.c acplex.l acpyacc.y read.c util.c write.c y.tab.h |
8951 |
- |
8952 |
- DPADD= ${LIBARCHIVE} ${LIBELF} |
8953 |
-@@ -10,10 +10,7 @@ |
8954 |
- |
8955 |
- CFLAGS+=-I. -I${.CURDIR} |
8956 |
- |
8957 |
--.if ${MK_SHARED_TOOLCHAIN} == "no" |
8958 |
--NO_SHARED?= yes |
8959 |
--.endif |
8960 |
--LINKS= ${BINDIR}/ar ${BINDIR}/ranlib |
8961 |
--MLINKS= ar.1 ranlib.1 |
8962 |
-+LINKS= ${BINDIR}/freebsd-ar ${BINDIR}/freebsd-ranlib |
8963 |
-+MLINKS= freebsd-ar.1 freebsd-ranlib.1 |
8964 |
- |
8965 |
- .include <bsd.prog.mk> |
8966 |
|
8967 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-grep.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-grep.patch |
8968 |
deleted file mode 100644 |
8969 |
index 06cc5d2..0000000 |
8970 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-grep.patch |
8971 |
+++ /dev/null |
8972 |
@@ -1,17 +0,0 @@ |
8973 |
-diff -Nur work.orig/usr.bin/grep/Makefile work/usr.bin/grep/Makefile |
8974 |
---- work.orig/usr.bin/grep/Makefile 2012-07-16 04:59:01.000000000 +0900 |
8975 |
-+++ work/usr.bin/grep/Makefile 2012-07-16 05:00:15.000000000 +0900 |
8976 |
-@@ -40,13 +40,6 @@ |
8977 |
- grep.1 lzfgrep.1 |
8978 |
- .endif |
8979 |
- |
8980 |
--LINKS+= ${BINDIR}/${PROG} ${BINDIR}/xzgrep \ |
8981 |
-- ${BINDIR}/${PROG} ${BINDIR}/xzegrep \ |
8982 |
-- ${BINDIR}/${PROG} ${BINDIR}/xzfgrep \ |
8983 |
-- ${BINDIR}/${PROG} ${BINDIR}/lzgrep \ |
8984 |
-- ${BINDIR}/${PROG} ${BINDIR}/lzegrep \ |
8985 |
-- ${BINDIR}/${PROG} ${BINDIR}/lzfgrep |
8986 |
-- |
8987 |
- LDADD= -lz -llzma |
8988 |
- DPADD= ${LIBZ} ${LIBLZMA} |
8989 |
- |
8990 |
|
8991 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-kdump-ioctl.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-kdump-ioctl.patch |
8992 |
deleted file mode 100644 |
8993 |
index d98e599..0000000 |
8994 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-kdump-ioctl.patch |
8995 |
+++ /dev/null |
8996 |
@@ -1,24 +0,0 @@ |
8997 |
-diff -Nur work.orig/usr.bin/kdump/Makefile work/usr.bin/kdump/Makefile |
8998 |
---- work.orig/usr.bin/kdump/Makefile 2012-07-12 13:24:01.000000000 +0900 |
8999 |
-+++ work/usr.bin/kdump/Makefile 2012-07-16 03:54:14.000000000 +0900 |
9000 |
-@@ -21,7 +21,7 @@ |
9001 |
- |
9002 |
- ioctl.c: mkioctls |
9003 |
- env CPP="${CPP}" \ |
9004 |
-- sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET} |
9005 |
-+ sh ${.CURDIR}/mkioctls ${.CURDIR}/../../include > ${.TARGET} |
9006 |
- |
9007 |
- kdump_subr.c: mksubr |
9008 |
- sh ${.CURDIR}/mksubr ${DESTDIR}/usr/include > ${.TARGET} |
9009 |
-diff -Nur work.orig/usr.bin/truss/Makefile work/usr.bin/truss/Makefile |
9010 |
---- work.orig/usr.bin/truss/Makefile 2012-07-12 13:24:03.000000000 +0900 |
9011 |
-+++ work/usr.bin/truss/Makefile 2012-07-16 03:54:40.000000000 +0900 |
9012 |
-@@ -24,7 +24,7 @@ |
9013 |
- |
9014 |
- ioctl.c: ${.CURDIR}/../kdump/mkioctls |
9015 |
- env CPP="${CPP}" \ |
9016 |
-- sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET} |
9017 |
-+ sh ${.CURDIR}/../kdump/mkioctls ${.CURDIR}/../../include > ${.TARGET} |
9018 |
- |
9019 |
- .if ${MACHINE_CPUARCH} == "i386" |
9020 |
- SRCS+= i386-linux.c linux_syscalls.h |
9021 |
|
9022 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-minigzip.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-minigzip.patch |
9023 |
deleted file mode 100644 |
9024 |
index a9c0622..0000000 |
9025 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.1-minigzip.patch |
9026 |
+++ /dev/null |
9027 |
@@ -1,10 +0,0 @@ |
9028 |
-diff -Nur work.orig/usr.bin/minigzip/Makefile work/usr.bin/minigzip/Makefile |
9029 |
---- work.orig/usr.bin/minigzip/Makefile 2012-07-16 04:39:31.000000000 +0900 |
9030 |
-+++ work/usr.bin/minigzip/Makefile 2012-07-16 04:45:30.000000000 +0900 |
9031 |
-@@ -10,4 +10,6 @@ |
9032 |
- DPADD= ${LIBZ} |
9033 |
- LDADD= -lz |
9034 |
- |
9035 |
-+CFLAGS+= -I${.CURDIR}/../../lib/libz |
9036 |
-+ |
9037 |
- .include <bsd.prog.mk> |
9038 |
|
9039 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.3-kdump-workaround.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.3-kdump-workaround.patch |
9040 |
deleted file mode 100644 |
9041 |
index 064647c..0000000 |
9042 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-9.3-kdump-workaround.patch |
9043 |
+++ /dev/null |
9044 |
@@ -1,13 +0,0 @@ |
9045 |
-diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile |
9046 |
-index cbf31d0..fa0d04d 100644 |
9047 |
---- a/usr.bin/kdump/Makefile |
9048 |
-+++ b/usr.bin/kdump/Makefile |
9049 |
-@@ -8,7 +8,7 @@ SFX= 32 |
9050 |
- .PATH: ${.CURDIR}/../ktrace |
9051 |
- |
9052 |
- PROG= kdump |
9053 |
--SRCS= kdump_subr.c kdump.c ioctl.c subr.c |
9054 |
-+SRCS= kdump_subr.h kdump_subr.c kdump.c ioctl.c subr.c |
9055 |
- DPSRCS= kdump_subr.h |
9056 |
- CFLAGS+= -I${.CURDIR}/../ktrace -I${.CURDIR} -I${.CURDIR}/../.. -I. |
9057 |
- |
9058 |
|
9059 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-lint-stdarg.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-lint-stdarg.patch |
9060 |
deleted file mode 100644 |
9061 |
index 9774724..0000000 |
9062 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-lint-stdarg.patch |
9063 |
+++ /dev/null |
9064 |
@@ -1,24 +0,0 @@ |
9065 |
-diff -ur usr.bin.orig/xlint/llib/llib-lposix usr.bin/xlint/llib/llib-lposix |
9066 |
---- usr.bin.orig/xlint/llib/llib-lposix 2005-04-29 17:30:03 +0000 |
9067 |
-+++ usr.bin/xlint/llib/llib-lposix 2005-05-03 14:12:26 +0000 |
9068 |
-@@ -42,7 +42,7 @@ |
9069 |
- #include <sys/utsname.h> |
9070 |
- #include <sys/times.h> |
9071 |
- #include <stdio.h> |
9072 |
--#include <stdarg.h> |
9073 |
-+#include <machine/stdarg.h> |
9074 |
- #include <stdlib.h> |
9075 |
- #include <unistd.h> |
9076 |
- #include <math.h> |
9077 |
-diff -ur usr.bin.orig/xlint/llib/llib-lstdc usr.bin/xlint/llib/llib-lstdc |
9078 |
---- usr.bin.orig/xlint/llib/llib-lstdc 2005-04-29 17:30:03 +0000 |
9079 |
-+++ usr.bin/xlint/llib/llib-lstdc 2005-05-03 14:12:35 +0000 |
9080 |
-@@ -44,7 +44,7 @@ |
9081 |
- #include <math.h> |
9082 |
- #include <setjmp.h> |
9083 |
- #include <signal.h> |
9084 |
--#include <stdarg.h> |
9085 |
-+#include <machine/stdarg.h> |
9086 |
- #include <stddef.h> |
9087 |
- #include <stdio.h> |
9088 |
- #include <stdlib.h> |
9089 |
|
9090 |
diff --git a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-setXid.patch b/sys-freebsd/freebsd-ubin/files/freebsd-ubin-setXid.patch |
9091 |
deleted file mode 100644 |
9092 |
index 631ee4f..0000000 |
9093 |
--- a/sys-freebsd/freebsd-ubin/files/freebsd-ubin-setXid.patch |
9094 |
+++ /dev/null |
9095 |
@@ -1,129 +0,0 @@ |
9096 |
-diff -ur usr.bin.orig/at/Makefile usr.bin.setXid/at/Makefile |
9097 |
---- usr.bin.orig/at/Makefile Thu Apr 7 20:52:57 2005 |
9098 |
-+++ usr.bin.setXid/at/Makefile Thu Apr 7 21:21:02 2005 |
9099 |
-@@ -15,6 +15,8 @@ |
9100 |
- BINMODE= 4555 |
9101 |
- CLEANFILES+= at.1 |
9102 |
- |
9103 |
-+LDFLAGS+=-Wl,-z,now |
9104 |
-+ |
9105 |
- at.1: at.man |
9106 |
- @${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \ |
9107 |
- sed -e \ |
9108 |
-diff -ur usr.bin.orig/chpass/Makefile usr.bin.setXid/chpass/Makefile |
9109 |
---- usr.bin.orig/chpass/Makefile Thu Apr 7 20:52:57 2005 |
9110 |
-+++ usr.bin.setXid/chpass/Makefile Thu Apr 7 21:22:40 2005 |
9111 |
-@@ -15,6 +15,8 @@ |
9112 |
- #CFLAGS+=-DRESTRICT_FULLNAME_CHANGE |
9113 |
- CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../lib/libc/gen -I. |
9114 |
- |
9115 |
-+LDFLAGS+=-Wl,-z,now |
9116 |
-+ |
9117 |
- DPADD= ${LIBCRYPT} ${LIBUTIL} |
9118 |
- LDADD= -lcrypt -lutil |
9119 |
- .if !defined(NO_NIS) |
9120 |
-diff -ur usr.bin.orig/fstat/Makefile usr.bin.setXid/fstat/Makefile |
9121 |
---- usr.bin.orig/fstat/Makefile Thu Apr 7 20:52:57 2005 |
9122 |
-+++ usr.bin.setXid/fstat/Makefile Thu Apr 7 21:24:35 2005 |
9123 |
-@@ -9,4 +9,6 @@ |
9124 |
- BINMODE=2555 |
9125 |
- WARNS?= 6 |
9126 |
- |
9127 |
-+LDFLAGS+=-Wl,-z,now |
9128 |
-+ |
9129 |
- .include <bsd.prog.mk> |
9130 |
-diff -ur usr.bin.orig/lock/Makefile usr.bin.setXid/lock/Makefile |
9131 |
---- usr.bin.orig/lock/Makefile Thu Apr 7 20:52:57 2005 |
9132 |
-+++ usr.bin.setXid/lock/Makefile Thu Apr 7 21:24:45 2005 |
9133 |
-@@ -7,4 +7,6 @@ |
9134 |
- DPADD= ${LIBCRYPT} |
9135 |
- LDADD= -lcrypt |
9136 |
- |
9137 |
-+LDFLAGS+=-Wl,-z,now |
9138 |
-+ |
9139 |
- .include <bsd.prog.mk> |
9140 |
-diff -ur usr.bin.orig/login/Makefile usr.bin.setXid/login/Makefile |
9141 |
---- usr.bin.orig/login/Makefile Thu Apr 7 20:52:57 2005 |
9142 |
-+++ usr.bin.setXid/login/Makefile Thu Apr 7 21:24:55 2005 |
9143 |
-@@ -13,4 +13,6 @@ |
9144 |
- INSTALLFLAGS=-fschg |
9145 |
- .endif |
9146 |
- |
9147 |
-+LDFLAGS+=-Wl,-z,now |
9148 |
-+ |
9149 |
- .include <bsd.prog.mk> |
9150 |
-diff -ur usr.bin.orig/netstat/Makefile usr.bin.setXid/netstat/Makefile |
9151 |
---- usr.bin.orig/netstat/Makefile Thu Apr 7 20:52:58 2005 |
9152 |
-+++ usr.bin.setXid/netstat/Makefile Thu Apr 7 21:25:08 2005 |
9153 |
-@@ -14,4 +14,6 @@ |
9154 |
- DPADD= ${LIBKVM} ${LIBIPX} ${LIBNETGRAPH} ${LIBUTIL} |
9155 |
- LDADD= -lkvm -lipx -lnetgraph -lutil |
9156 |
- |
9157 |
-+LDFLAGS+=-Wl,-z,now |
9158 |
-+ |
9159 |
- .include <bsd.prog.mk> |
9160 |
-diff -ur usr.bin.orig/opieinfo/Makefile usr.bin.setXid/opieinfo/Makefile |
9161 |
---- usr.bin.orig/opieinfo/Makefile Thu Apr 7 20:52:58 2005 |
9162 |
-+++ usr.bin.setXid/opieinfo/Makefile Thu Apr 7 21:25:20 2005 |
9163 |
-@@ -11,6 +11,8 @@ |
9164 |
- DPADD= ${LIBOPIE} ${LIBMD} |
9165 |
- LDADD= -lopie -lmd |
9166 |
- |
9167 |
-+LDFLAGS+=-Wl,-z,now |
9168 |
-+ |
9169 |
- BINOWN= root |
9170 |
- BINMODE=4555 |
9171 |
- INSTALLFLAGS=-fschg |
9172 |
-diff -ur usr.bin.orig/opiepasswd/Makefile usr.bin.setXid/opiepasswd/Makefile |
9173 |
---- usr.bin.orig/opiepasswd/Makefile Thu Apr 7 20:52:58 2005 |
9174 |
-+++ usr.bin.setXid/opiepasswd/Makefile Thu Apr 7 21:25:29 2005 |
9175 |
-@@ -11,6 +11,8 @@ |
9176 |
- DPADD= ${LIBOPIE} ${LIBMD} |
9177 |
- LDADD= -lopie -lmd |
9178 |
- |
9179 |
-+LDFLAGS+=-Wl,-z,now |
9180 |
-+ |
9181 |
- BINOWN= root |
9182 |
- BINMODE=4555 |
9183 |
- INSTALLFLAGS=-fschg |
9184 |
-diff -ur usr.bin.orig/passwd/Makefile usr.bin.setXid/passwd/Makefile |
9185 |
---- usr.bin.orig/passwd/Makefile Thu Apr 7 20:52:58 2005 |
9186 |
-+++ usr.bin.setXid/passwd/Makefile Thu Apr 7 21:25:37 2005 |
9187 |
-@@ -10,6 +10,8 @@ |
9188 |
- MLINKS = passwd.1 yppasswd.1 |
9189 |
- WARNS ?= 4 |
9190 |
- |
9191 |
-+LDFLAGS+=-Wl,-z,now |
9192 |
-+ |
9193 |
- beforeinstall: |
9194 |
- .for i in passwd yppasswd |
9195 |
- [ ! -e ${DESTDIR}${BINDIR}/$i ] || \ |
9196 |
---- usr.bin.orig/su/Makefile Thu Apr 7 20:52:58 2005 |
9197 |
-+++ usr.bin.setXid/su/Makefile Thu Apr 7 21:26:00 2005 |
9198 |
-@@ -10,4 +10,6 @@ |
9199 |
- BINMODE=4555 |
9200 |
- INSTALLFLAGS=-fschg |
9201 |
- |
9202 |
-+LDFLAGS+=-Wl,-z,now |
9203 |
-+ |
9204 |
- .include <bsd.prog.mk> |
9205 |
-diff -ur usr.bin.orig/wall/Makefile usr.bin.setXid/wall/Makefile |
9206 |
---- usr.bin.orig/wall/Makefile Thu Apr 7 20:52:59 2005 |
9207 |
-+++ usr.bin.setXid/wall/Makefile Thu Apr 7 21:26:07 2005 |
9208 |
-@@ -5,4 +5,6 @@ |
9209 |
- BINGRP= tty |
9210 |
- BINMODE=2555 |
9211 |
- |
9212 |
-+LDFLAGS+=-Wl,-z,now |
9213 |
-+ |
9214 |
- .include <bsd.prog.mk> |
9215 |
-diff -ur usr.bin.orig/write/Makefile usr.bin.setXid/write/Makefile |
9216 |
---- usr.bin.orig/write/Makefile Thu Apr 7 20:52:59 2005 |
9217 |
-+++ usr.bin.setXid/write/Makefile Thu Apr 7 21:26:13 2005 |
9218 |
-@@ -4,4 +4,6 @@ |
9219 |
- BINMODE=2555 |
9220 |
- BINGRP= tty |
9221 |
- |
9222 |
-+LDFLAGS+=-Wl,-z,now |
9223 |
-+ |
9224 |
- .include <bsd.prog.mk> |
9225 |
|
9226 |
diff --git a/sys-freebsd/freebsd-ubin/files/locate-updatedb-cron b/sys-freebsd/freebsd-ubin/files/locate-updatedb-cron |
9227 |
deleted file mode 100644 |
9228 |
index 323f455..0000000 |
9229 |
--- a/sys-freebsd/freebsd-ubin/files/locate-updatedb-cron |
9230 |
+++ /dev/null |
9231 |
@@ -1,6 +0,0 @@ |
9232 |
-#! /bin/sh |
9233 |
- |
9234 |
-if [ -x /usr/libexec/locate.updatedb ] |
9235 |
-then |
9236 |
- echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody |
9237 |
-fi |
9238 |
|
9239 |
diff --git a/sys-freebsd/freebsd-ubin/files/login.1.pamd b/sys-freebsd/freebsd-ubin/files/login.1.pamd |
9240 |
deleted file mode 100644 |
9241 |
index 2c09584..0000000 |
9242 |
--- a/sys-freebsd/freebsd-ubin/files/login.1.pamd |
9243 |
+++ /dev/null |
9244 |
@@ -1,4 +0,0 @@ |
9245 |
-auth include system-local-login |
9246 |
-account include system-local-login |
9247 |
-session include system-local-login |
9248 |
-password include system-local-login |
9249 |
|
9250 |
diff --git a/sys-freebsd/freebsd-ubin/files/login.pamd b/sys-freebsd/freebsd-ubin/files/login.pamd |
9251 |
deleted file mode 100644 |
9252 |
index 859fb67..0000000 |
9253 |
--- a/sys-freebsd/freebsd-ubin/files/login.pamd |
9254 |
+++ /dev/null |
9255 |
@@ -1,20 +0,0 @@ |
9256 |
-# |
9257 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/files/login.pamd,v 1.1 2006/04/01 16:43:51 flameeyes Exp $ |
9258 |
-# |
9259 |
-# PAM configuration for the "login" service |
9260 |
-# |
9261 |
- |
9262 |
-# auth |
9263 |
-auth required pam_nologin.so no_warn |
9264 |
-auth sufficient pam_self.so no_warn |
9265 |
-auth include system |
9266 |
- |
9267 |
-# account |
9268 |
-account requisite pam_securetty.so |
9269 |
-account include system |
9270 |
- |
9271 |
-# session |
9272 |
-session include system |
9273 |
- |
9274 |
-# password |
9275 |
-password include system |
9276 |
|
9277 |
diff --git a/sys-freebsd/freebsd-ubin/files/passwd.1.pamd b/sys-freebsd/freebsd-ubin/files/passwd.1.pamd |
9278 |
deleted file mode 100644 |
9279 |
index fa1574f..0000000 |
9280 |
--- a/sys-freebsd/freebsd-ubin/files/passwd.1.pamd |
9281 |
+++ /dev/null |
9282 |
@@ -1,9 +0,0 @@ |
9283 |
-# |
9284 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/files/passwd.1.pamd,v 1.1 2008/02/19 12:04:06 flameeyes Exp $ |
9285 |
-# |
9286 |
-# PAM configuration for the "passwd" service |
9287 |
-# |
9288 |
- |
9289 |
-# passwd(1) does not use the auth, account or session services. |
9290 |
- |
9291 |
-password include system-auth |
9292 |
|
9293 |
diff --git a/sys-freebsd/freebsd-ubin/files/passwd.pamd b/sys-freebsd/freebsd-ubin/files/passwd.pamd |
9294 |
deleted file mode 100644 |
9295 |
index 4d3955f..0000000 |
9296 |
--- a/sys-freebsd/freebsd-ubin/files/passwd.pamd |
9297 |
+++ /dev/null |
9298 |
@@ -1,11 +0,0 @@ |
9299 |
-# |
9300 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/files/passwd.pamd,v 1.1 2006/04/01 16:43:51 flameeyes Exp $ |
9301 |
-# |
9302 |
-# PAM configuration for the "passwd" service |
9303 |
-# |
9304 |
- |
9305 |
-# passwd(1) does not use the auth, account or session services. |
9306 |
- |
9307 |
-# password |
9308 |
-#password requisite pam_passwdqc.so enforce=users |
9309 |
-password required pam_unix.so no_warn try_first_pass nullok |
9310 |
|
9311 |
diff --git a/sys-freebsd/freebsd-ubin/files/su.1.pamd b/sys-freebsd/freebsd-ubin/files/su.1.pamd |
9312 |
deleted file mode 100644 |
9313 |
index 72daa49..0000000 |
9314 |
--- a/sys-freebsd/freebsd-ubin/files/su.1.pamd |
9315 |
+++ /dev/null |
9316 |
@@ -1,17 +0,0 @@ |
9317 |
-# |
9318 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/files/su.1.pamd,v 1.1 2008/02/19 12:04:06 flameeyes Exp $ |
9319 |
-# |
9320 |
-# PAM configuration for the "su" service |
9321 |
-# |
9322 |
- |
9323 |
-# auth |
9324 |
-auth sufficient pam_rootok.so no_warn |
9325 |
-auth sufficient pam_self.so no_warn |
9326 |
-auth requisite pam_group.so no_warn group=wheel root_only fail_safe |
9327 |
-auth include system-auth |
9328 |
- |
9329 |
-# account |
9330 |
-account include system-auth |
9331 |
- |
9332 |
-# session |
9333 |
-session required pam_permit.so |
9334 |
|
9335 |
diff --git a/sys-freebsd/freebsd-ubin/files/su.pamd b/sys-freebsd/freebsd-ubin/files/su.pamd |
9336 |
deleted file mode 100644 |
9337 |
index 17feb0d..0000000 |
9338 |
--- a/sys-freebsd/freebsd-ubin/files/su.pamd |
9339 |
+++ /dev/null |
9340 |
@@ -1,17 +0,0 @@ |
9341 |
-# |
9342 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/files/su.pamd,v 1.1 2006/04/01 16:43:51 flameeyes Exp $ |
9343 |
-# |
9344 |
-# PAM configuration for the "su" service |
9345 |
-# |
9346 |
- |
9347 |
-# auth |
9348 |
-auth sufficient pam_rootok.so no_warn |
9349 |
-auth sufficient pam_self.so no_warn |
9350 |
-auth requisite pam_group.so no_warn group=wheel root_only fail_safe |
9351 |
-auth include system |
9352 |
- |
9353 |
-# account |
9354 |
-account include system |
9355 |
- |
9356 |
-# session |
9357 |
-session required pam_permit.so |
9358 |
|
9359 |
diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-10.1.0.9999.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-10.1.0.9999.ebuild |
9360 |
deleted file mode 100644 |
9361 |
index 694d1f5..0000000 |
9362 |
--- a/sys-freebsd/freebsd-ubin/freebsd-ubin-10.1.0.9999.ebuild |
9363 |
+++ /dev/null |
9364 |
@@ -1,197 +0,0 @@ |
9365 |
-# Copyright 1999-2014 Gentoo Foundation |
9366 |
-# Distributed under the terms of the GNU General Public License v2 |
9367 |
-# $Header: $ |
9368 |
- |
9369 |
-EAPI=5 |
9370 |
- |
9371 |
-inherit bsdmk freebsd flag-o-matic pam multilib multibuild multilib-build |
9372 |
- |
9373 |
-DESCRIPTION="FreeBSD's base system source for /usr/bin" |
9374 |
-SLOT="0" |
9375 |
-IUSE="ar atm audit bluetooth ipv6 kerberos netware nis ssl usb build zfs" |
9376 |
-LICENSE="BSD zfs? ( CDDL )" |
9377 |
- |
9378 |
-if [[ ${PV} != *9999* ]]; then |
9379 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
9380 |
- SRC_URI="mirror://gentoo/${UBIN}.tar.xz |
9381 |
- mirror://gentoo/${CONTRIB}.tar.xz |
9382 |
- mirror://gentoo/${LIB}.tar.xz |
9383 |
- mirror://gentoo/${ETC}.tar.xz |
9384 |
- mirror://gentoo/${BIN}.tar.xz |
9385 |
- mirror://gentoo/${INCLUDE}.tar.xz |
9386 |
- zfs? ( mirror://gentoo/${CDDL}.tar.xz ) |
9387 |
- build? ( mirror://gentoo/${SYS}.tar.xz )" |
9388 |
-fi |
9389 |
- |
9390 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,${MULTILIB_USEDEP}] |
9391 |
- ssl? ( dev-libs/openssl ) |
9392 |
- kerberos? ( virtual/krb5 ) |
9393 |
- ar? ( >=app-arch/libarchive-3 ) |
9394 |
- virtual/pam |
9395 |
- sys-libs/zlib |
9396 |
- >=sys-libs/ncurses-5.9 |
9397 |
- !sys-process/fuser-bsd |
9398 |
- !dev-util/csup |
9399 |
- !dev-libs/libiconv |
9400 |
- !sys-freebsd/freebsd-contrib" |
9401 |
- |
9402 |
-DEPEND="${RDEPEND} |
9403 |
- sys-devel/flex |
9404 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
9405 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
9406 |
- |
9407 |
-RDEPEND="${RDEPEND} |
9408 |
- >=sys-auth/pambase-20080219.1 |
9409 |
- sys-process/cronbase" |
9410 |
- |
9411 |
-S="${WORKDIR}/usr.bin" |
9412 |
- |
9413 |
-PATCHES=( "${FILESDIR}/${PN}-6.0-bsdcmp.patch" |
9414 |
- "${FILESDIR}/${PN}-9.0-fixmakefiles.patch" |
9415 |
- "${FILESDIR}/${PN}-setXid.patch" |
9416 |
- "${FILESDIR}/${PN}-lint-stdarg.patch" |
9417 |
- "${FILESDIR}/${PN}-8.0-xinstall.patch" |
9418 |
- "${FILESDIR}/${PN}-9.1-bsdar.patch" |
9419 |
- "${FILESDIR}/${PN}-9.1-minigzip.patch" |
9420 |
- "${FILESDIR}/${PN}-10.0-atf.patch" |
9421 |
- "${FILESDIR}/${PN}-10.0-dtc-gcc46.patch" |
9422 |
- "${FILESDIR}/${PN}-10.0-kdump-ioctl.patch" |
9423 |
- "${FILESDIR}/${PN}-10.0-mandoc.patch" |
9424 |
- "${FILESDIR}/${PN}-9.3-kdump-workaround.patch" ) |
9425 |
- |
9426 |
-# Here we remove some sources we don't need because they are already |
9427 |
-# provided by portage's packages or similar. In order: |
9428 |
-# - Archiving tools, provided by their own ebuilds |
9429 |
-# - ncurses stuff |
9430 |
-# - less stuff |
9431 |
-# - bind utils |
9432 |
-# - rsh stuff |
9433 |
-# - binutils gprof |
9434 |
-# - dc stuff |
9435 |
-# and the rest are misc utils we already provide somewhere else. |
9436 |
-REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio |
9437 |
- gzip gprof |
9438 |
- lzmainfo xz xzdec |
9439 |
- unzip |
9440 |
- tput tset tabs |
9441 |
- less lessecho lesskey |
9442 |
- hesinfo host |
9443 |
- rsh rlogin rusers rwho ruptime |
9444 |
- compile_et lex vi smbutil file vacation nc ftp telnet |
9445 |
- c99 c89 |
9446 |
- bc dc |
9447 |
- whois tftp man" |
9448 |
- |
9449 |
-pkg_setup() { |
9450 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
9451 |
- use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " |
9452 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
9453 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
9454 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " |
9455 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
9456 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
9457 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
9458 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
9459 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
9460 |
- mymakeopts="${mymakeopts} WITHOUT_CLANG= WITHOUT_LZMA_SUPPORT= WITHOUT_SVN= WITHOUT_SVNLITE= WITHOUT_OPENSSH= WITHOUT_LDNS_UTILS= " |
9461 |
-} |
9462 |
- |
9463 |
-pkg_preinst() { |
9464 |
- # bison installs a /usr/bin/yacc symlink ... |
9465 |
- # we need to remove it to avoid triggering |
9466 |
- # collision-protect errors |
9467 |
- if [[ -L ${ROOT}/usr/bin/yacc ]] ; then |
9468 |
- rm -f "${ROOT}"/usr/bin/yacc |
9469 |
- fi |
9470 |
-} |
9471 |
- |
9472 |
-src_prepare() { |
9473 |
- if [[ ! -e "${WORKDIR}/sys" ]]; then |
9474 |
- use build || ln -s "/usr/src/sys" "${WORKDIR}/sys" |
9475 |
- fi |
9476 |
- |
9477 |
- # Rename manpage for renamed cmp |
9478 |
- mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1 || die |
9479 |
- # Rename manpage for renamed ar |
9480 |
- mv "${S}"/ar/ar.1 "${S}"/ar/freebsd-ar.1 || die |
9481 |
- # Fix whereis(1) manpath search. |
9482 |
- sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h" |
9483 |
- |
9484 |
- # Build a dynamic make |
9485 |
- sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/make/Makefile || die |
9486 |
- |
9487 |
- # Disable it here otherwise our patch wont apply |
9488 |
- use ar || dummy_mk ar |
9489 |
- |
9490 |
- # Preparing to build xlint |
9491 |
- export LINT=xlint |
9492 |
-} |
9493 |
- |
9494 |
-setup_multilib_vars() { |
9495 |
- if ! multilib_is_native_abi ; then |
9496 |
- cd "${WORKDIR}/usr.bin/ldd" || die |
9497 |
- export mymakeopts="${mymakeopts} PROG=ldd32 WITHOUT_MAN=" |
9498 |
- else |
9499 |
- cd "${S}" |
9500 |
- fi |
9501 |
- "$@" |
9502 |
-} |
9503 |
- |
9504 |
-src_compile() { |
9505 |
- # Preparing to build mandoc |
9506 |
- cd "${WORKDIR}/lib/libmandoc" |
9507 |
- freebsd_src_compile |
9508 |
- |
9509 |
- cd "${S}" |
9510 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
9511 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile |
9512 |
-} |
9513 |
- |
9514 |
-src_install() { |
9515 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
9516 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install |
9517 |
- |
9518 |
- # baselayout requires these in /bin |
9519 |
- dodir /bin |
9520 |
- for bin in sed printf ; do |
9521 |
- mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed" |
9522 |
- dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed" |
9523 |
- done |
9524 |
- |
9525 |
- for pamdfile in login passwd su; do |
9526 |
- newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile} || die |
9527 |
- done |
9528 |
- |
9529 |
- cd "${WORKDIR}/etc" |
9530 |
- insinto /etc |
9531 |
- doins remote phones opieaccess fbtab || die |
9532 |
- |
9533 |
- exeinto /etc/cron.daily |
9534 |
- newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb || die |
9535 |
- |
9536 |
- # tip requires /var/spool/lock/, bug #200700 |
9537 |
- keepdir /var/spool/lock |
9538 |
- |
9539 |
- # create locate database #472468 |
9540 |
- local f=/var/db/locate.database |
9541 |
- mkdir "${ED}${f%/*}" || die |
9542 |
- touch "${ED}${f}" || die |
9543 |
- fowners nobody:nobody ${f} |
9544 |
-} |
9545 |
- |
9546 |
-pkg_postinst() { |
9547 |
- # We need to ensure that login.conf.db is up-to-date. |
9548 |
- if [[ -e "${ROOT}"etc/login.conf ]] ; then |
9549 |
- einfo "Updating ${ROOT}etc/login.conf.db" |
9550 |
- "${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf |
9551 |
- elog "Remember to run cap_mkdb /etc/login.conf after making changes to it" |
9552 |
- fi |
9553 |
-} |
9554 |
- |
9555 |
-pkg_postrm() { |
9556 |
- # and if we uninstall yacc but keep bison, |
9557 |
- # lets restore the /usr/bin/yacc symlink |
9558 |
- if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then |
9559 |
- ln -s yacc.bison "${ROOT}"/usr/bin/yacc |
9560 |
- fi |
9561 |
-} |
9562 |
|
9563 |
diff --git a/sys-freebsd/freebsd-usbin/Manifest b/sys-freebsd/freebsd-usbin/Manifest |
9564 |
deleted file mode 100644 |
9565 |
index c65bb87..0000000 |
9566 |
--- a/sys-freebsd/freebsd-usbin/Manifest |
9567 |
+++ /dev/null |
9568 |
@@ -1,24 +0,0 @@ |
9569 |
-AUX freebsd-usbin-10.0-bsdxml2expat.patch 835 SHA256 765ab05ef6d5d828d2cc54e78e0676dc2b6caac7193788524a7dd4cc5a983c8c SHA512 23bcfdc1657c1dd7fdb59c3717af5a5560c8f3c10d498aaae539e1779838a0a33cf247ae806c72c09d298fc9be3c02b5c3d1d9f1a879493c0e5d1aeb4dbf3509 WHIRLPOOL 2342438a26ef915f29d487aecedfd0920baa6c2130b3efd6fbd64d7a2bf81f74444e7409ceaceb29d4c5ad210af4cee0a4d98b0935131ff577a6103023f83f44 |
9570 |
-AUX freebsd-usbin-9.0-newsyslog.patch 507 SHA256 d5f910655c66a3e766f227c25837347d11d796655d71480c3cf3526f4136d557 SHA512 5423fc577035c2a272d4cb4305c5ee5e1e910a68af44595524665f7b867bd0a48bab0349b2fa13eabc385b2ec29c8f578d018cd8196f3ad20a13a68d36a335ae WHIRLPOOL 0551fde1581f3642535d1e34f2b111ed1404fc153ed14f4d7d4c75bc96715ed1eb3f218fc55fb2bb038616a929e106b8d8355f2de95447f7a93c09c515cdd511 |
9571 |
-AUX freebsd-usbin-9.1-bsdxml2expat.patch 431 SHA256 43f0ebe5406f6065d7dad45b4270f0645e7dc1d6db1bcdf1443e32aede9d7af6 SHA512 ef1e9be49796b50e8dd818ac1a6f363eaa54d767ac9477e3df09354df78dff887a31a3c793288f321b7976bd98de79821742550ee8e7f9fcf3b1a42cccbc68b0 WHIRLPOOL 17c14ef758cede73619f774710afd38862609da6302e0d2378e7b5124d38dd60c427218f140f67e1ea255a24f7eb6d900df1ad5835d23a135cef7cb5cc94bc73 |
9572 |
-AUX freebsd-usbin-adduser.patch 428 SHA256 2e91737ffefd3b7ce3b55da4ce98eb0425961bba2d4a7c4e7c7ffabc1d38f2af SHA512 51720e3db9bf3728afc0dc370a469746cb1bf61623c44a20c58e27d647e5a5d0360145b1d174382176d803f2558afa2f2a29eca6c85c638529d0e11e2859c0c3 WHIRLPOOL 15a5a7e2c123a3103546134a27baad0a459758ec66bb0a7011684f367c7dd46435688f837d9d5fb5a9a51e95a58d6ce0e672c57a9dc2ef16a1e094a4b6e78931 |
9573 |
-AUX iscsid.initd 428 SHA256 d3755344567711972d2811d59a99b700007f2651872e47a8f82bf89130df914c SHA512 4d95488508fc5c5717b1ea761440ddc2138f3b07ed0f3e81c295937ce3e5cf17d6ad5a539a4e47a76b5233c6840d4dd7d8c857ff27d692eb016cd45d3a5c8bc9 WHIRLPOOL ba31ac472f0013f365d310379c78da30247e39cec4271adee700b8b6cfab5dad146c343102fe295c3b3459cfeca69fc8436bb1ddf439f50c91b67a2e3cd87a06 |
9574 |
-AUX moused.confd 827 SHA256 7c15a534c0b10a553848b13e1fccd27fad1684ddc1b252133269257e864d769e SHA512 88919d638fe67ce8c8a43e470851eafd3ff8185a44e67b175d43107fa030721c91d7ac4e2959326aa3910e6788f59d851598edfda593515e3571ba42df564a4f WHIRLPOOL bf2065b2d39ae534349c4186b1d7e254ed7bbf96bddcaf92453f79265f73de6e09a0f9a55a3eadd31f57e110dbfbe380cf51930136ea3eec6f6b80761ec6d3bb |
9575 |
-AUX moused.initd 1783 SHA256 84f2d221ce16f5ffce43170fdcf86675dae79a776e1f2abf3b1b490b585f6d0e SHA512 eb5465ab4f9fc94bfb70c56ad144fed79cbe604d1970ea1c56f050afc42fe9fb8e605e58c7924e82de1ffc0f32994a94e23a11cdb75db4e855bb7f67dc81b499 WHIRLPOOL 9f37fcef86e2a9797090e2e4d62f0a73f8cf20736b5b798f1f4435734f067b3cb298f25f2d0581b23f5bd6e92c1944dbf566f5828608040691f4ad547a687d36 |
9576 |
-AUX nfs.confd 303 SHA256 5714e0cbcc45a077ab2348ee4fea521ce9f739927094dccb4b91817f1edaccb8 SHA512 4224c7f525e39b105b8d80caa7db0f3e0b07d6c521970b2aacfd707ef524262cbdb9ed8aa5151022d571a759151dd25a280fc765a38e67864b0c446ee9fd6b5a WHIRLPOOL 70bfff7d5288c692ed767c1e09d48db6c8546d90955a1957de87fd67cb42ed5b1efa0101cf2eea71e4702e1170eadeed9cc45937b742e51cee42c9edd00a1ee9 |
9577 |
-AUX nfs.initd 1423 SHA256 304047cc48ab6923b5d492c84417b5fcdae441fe0536830f1c75f6de58bba1ff SHA512 83326ec4cc35beeacfd640f582b6bc3001fd274a46f690cc04b1774db16b22ce74d993c92cd62d37d37eb8c421f5f386f95088a3204d045370d07206d06aa895 WHIRLPOOL ee29e0df0b1792a5368ebf036129b434e3b697c85c5bcee9b8d62d8568feaede64a74bd8efcc1f97aebb63aeb9a0c1e32a372dfacc7f13bfdd8d91e61cafa987 |
9578 |
-AUX nfsmount.initd 1596 SHA256 0cea497d66d41d093792f8bb2590c45b6b8f965cef9c148b835b362f2a172cbe SHA512 741e61dc32728adcb41efa64181cc6b2c768b35f0cbcee1cd0144882373b308c8a592ba7c45f6745fff511b8fd91a38f3a4c970b6224414ba533d2e902fbe656 WHIRLPOOL 5767e45c081146130416c8f46f2db966ef25cb94ee1dcb1db68718e6a41497f7478869af6923d937fd6a5d6d2ae9d8393c683dc1ea0f4657bdd366175932364d |
9579 |
-AUX nfsuserd.confd 153 SHA256 9575adaba684100f78ff1d60ca5e7b6f5be6fcda9e2d8fac2a1ab4aaf8944a59 SHA512 47bf885dc80a61c9f8aab5890a360063fc2e846ce8abefb84e9d504f62c455cd759af753c7a5ab8cdd624842200f6b0ec7d177ddfdc1e7564460764eb4d4d073 WHIRLPOOL 4e4aabc4c936c067d99133620a117d9c1fc539e23acfe9b15b4a7ebb57e3cb55b4ffab34b2af93fcfdf7fe81e4372e3afa38994ee999093aa1ec0a80c3c12175 |
9580 |
-AUX nfsuserd.initd 446 SHA256 20eab89441ea19741338eff1d57ec09f293fb33c4fc66523f1aa66240d7b2561 SHA512 72e5b58151b7e1207cf50772451661255d527afd1c76946bfb2e80e79b137c55de68d44b9c756d6370cf69f787f095a0c73ca06a3dfd9ed1ef8225323e34fda8 WHIRLPOOL 0fd55b5bdd3d84911254b2d08834675dbaef7e2eacd77b462fbaf7f8793da549a2f7fc4b5365f1a994296b0bd33da81bde554827cd5b1d12194b82bf18a513b6 |
9581 |
-AUX powerd.confd 368 SHA256 989e31b98daacb3d6ecddf8788ee496f3c100d549e7a210e387f03d69c3c8e98 SHA512 77cc956ddc806383c465b71b352813c71f001cd908b740d92a12059eb9606133a57d9585e03c514108d81aa17e56245e512e0d741f0c0eb8464568977f4b3e44 WHIRLPOOL 2ae3ec637011befda90c83fa55b532e2b3704e4eccd1f5b78ef871e160ec4e5f8573603f63b863251dbb600ebb15821181391881860259b5b8c877e6c7174e36 |
9582 |
-AUX powerd.initd 774 SHA256 2ee95ad25206716b6043407c6fbb412513fcbd0893d7f2faf2c927c55990fb03 SHA512 13798d2f4c0c002775eb506158b111c3645c19dde86d934c9bd74147d836ac3c1433d426bc54bf257636c75127edc567961c42c994171831cc610395762b3121 WHIRLPOOL 22ce78d84d9b1e9a6f0ab095e0624567d8c6471117f04603d4aa0ebea590025fcacf4472cb09265eaa75a4a3e67613864bd462a751350ec026706b546a1f9236 |
9583 |
-AUX pw.conf 179 SHA256 0aa508e3911a80ccd1dc5005ec6f2e86e7c4fc5c99ca127f4d7e479d133c69ef SHA512 042b7c7805d891f453da58f607edb3174fddc8443d6995ebe833185ab313328c131bae87dbbc9db95bf69a9ee71548d350191b34a8b2bf41a56416aff03c3891 WHIRLPOOL 4edd4ba1aa0c2255fbd38dc9120a673d8e0b5a8fea50d95aa13c08df448c3fc584adfe8330cfce5bb5b06385d5855c2fed9beb210f8fb5f8e4d695bdedb6909c |
9584 |
-AUX rarpd.confd 269 SHA256 aa45f3085267be17d6549e05c5fbe21c4035b41c620023d76e38537fc82594cb SHA512 7ee467bb3430233011364e9dfd5cc24d273c7f81b4feda51b71c221cc8f8fb206df3be024397923084c3ad64d72fd298211b165f594c8012045da6b242077e4b WHIRLPOOL b4e22fec96adae80c1549d6ff140fe6cdc8c0dab52e9ab3011d6442f4ba53275319dfe551938accb7274bd3917616e47357ff9a6b1cfc49b5024b9554fc9793e |
9585 |
-AUX rarpd.initd 866 SHA256 3484f19992ae773a43ffad50477072c3bd288fea5f9a5c22a98c323129df49f7 SHA512 45a6a70f3a68d8fa5c7e72a96e8e33f585e3528fc73668782215033e4c16db563efc48c68aa1bfccc43109012562b721ec3b3c4049670ec3e7ae10e892a56f8a WHIRLPOOL 67c22419fd600ba69bc5aad8770af2b7b6fa1c65424da3bb657a6a394f14d7b2417268238944f53b2d2dd80af71c721b0e48607b46da8399198803517463e5a9 |
9586 |
-AUX rpc.lockd.initd 529 SHA256 cce3495d04cae9141ea4f27ebc853b47c00fdad0a468292e128efad627e2992a SHA512 85301f3e7bb7bbb027654d5c95556ae0994e96cf12050e789c6859cd186fc07af8172f713e251e8db1dc7225545acf2001ee30fe53499f8d7c8a0817493df112 WHIRLPOOL e72e342aad839bcf4b4cabdedc3124da73fc5409fe1c5884575ddca9994348d1d93438354b95b6660d8747e30413d76eace485c463c8b0461499109c394db2f9 |
9587 |
-AUX rpc.statd.initd 519 SHA256 3674fcff99faec3f3d16ac67fc91aee9449f06aac42498ae8c9d26336e103ef2 SHA512 168e58b2ed7ff5047495f3d1efb2d648c1b69b278af9d4c167365db631b5d85e07d7a975459183b42017bf46dc218f78c7a7d3215592acaaef90a7874161774a WHIRLPOOL c08aef9a68e15959eafb2bdb311d8674d2d0318b2d5d2f3d31b46a38194ddc98ae8e86ea3836deba875abacb8f11155de5d79dded1c68fda4d0ff490526a9610 |
9588 |
-AUX rpcbind.initd 716 SHA256 2f14334ba584acd31306060bd134c0eccd3afa24c61531f93f884ad70a9ee96a SHA512 f3af704433ea0c370fa28442e942d9c254662b27d96ce046857bc493b3f04bc5fa99f18cfd0afe40c2759cf9769a00088eef175f7a7ddf83b443a1085f1026b0 WHIRLPOOL 649556408bcc0b72dce47b26e1f6ba7ab471e0ad4e9c5abb0a7a7be29b81e22f46b095d3f237a1b153698db9769be3e242a80ad7bd058d4e58349781fb9d608e |
9589 |
-AUX syscons.confd 464 SHA256 7e566edb81fef49b662ad6b84dd0bf4657d5f05efe9791a515b1013ce02e44ee SHA512 c505aac9328557d344c64a5615f53a3b87faa39daf94169a652cd0a6447b3173b347f90bf87ba3806978dc57eaf46fac2301c10015397e25c070f5a21a760c61 WHIRLPOOL 02fc5189f82aad4e1052831d3d4d394a65161e241fe7714fa7af193f929af08889e43aa2f1088660935da5a14291bd4ed3a566218262ac8bfccb33ee637c2bfa |
9590 |
-AUX syscons.initd 1711 SHA256 16f5ab3ceb67accc10350d21527321c1e559c432f0b52e7b3adf08b67d9f62aa SHA512 41fef393e1fe732de065cb9ac3fdb4bbe73158a86f7c8b6175b496d0a65b9c682d888ce7b34c8a43732909c12626a2f5783457607e4b9bf6b4210589c3397d76 WHIRLPOOL 7a11eed37860db8dce71ad09299bd48427cf2beb349da3799189ef93d4d5c618b4c33b51e60f17cb485989dd3e0480458f5559c61deaa3f542f920df43f89801 |
9591 |
-AUX syslogd.initd 571 SHA256 3f0f242197be7c59f36edffd36918935189d17ca7d8f5c2de6238c7a7f52d005 SHA512 0c67138b2461ba3629a7aa87dca35357ee17f2a1c1c13e1951417f4c05054ad006efb7f98dcf7fa24f0b90e0c0331e6fb7d1e3459c1db17f1bc82baa63b3beeb WHIRLPOOL e8dc6a0f402a474bb98c5d4a9a21b331a2a55726d517411c2b7c7adec28219e5a538ebb448c6c27dd1540affb914e935e91160cb0795ca6eb624f4ee163b0e9d |
9592 |
-EBUILD freebsd-usbin-10.1.0.9999.ebuild 5394 SHA256 809e5c8ff04b70fd30dda8e73e19c01920ebb5cee11239dc4b2951b896672ba0 SHA512 0db2df64096169c470f5f9c6d54091e936b04163d0f1abe745e3e38ba42fcda4fae6d040128ffa6fee3da6fc0ab6be156f1b4ad0ec27e98cc4d017c54951b6ff WHIRLPOOL bfad1b78162fb63a61f4e4709942613197c29218cd1fcc2aeda5fe197b550e518123eefd252f6bd41dcb0966870ecd2d6cc27c50e25f2950b03ec4568a8a402f |
9593 |
|
9594 |
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-10.0-bsdxml2expat.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-10.0-bsdxml2expat.patch |
9595 |
deleted file mode 100644 |
9596 |
index a84f96d..0000000 |
9597 |
--- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-10.0-bsdxml2expat.patch |
9598 |
+++ /dev/null |
9599 |
@@ -1,24 +0,0 @@ |
9600 |
-diff -Nur work.orig/usr.sbin/ctladm/ctladm.c work/usr.sbin/ctladm/ctladm.c |
9601 |
---- work.orig/usr.sbin/ctladm/ctladm.c 2012-07-12 13:25:58.000000000 +0900 |
9602 |
-+++ work/usr.sbin/ctladm/ctladm.c 2012-07-16 05:37:14.000000000 +0900 |
9603 |
-@@ -60,7 +60,7 @@ |
9604 |
- #include <errno.h> |
9605 |
- #include <err.h> |
9606 |
- #include <ctype.h> |
9607 |
--#include <bsdxml.h> |
9608 |
-+#include <expat.h> |
9609 |
- #include <cam/scsi/scsi_all.h> |
9610 |
- #include <cam/scsi/scsi_message.h> |
9611 |
- #include <cam/ctl/ctl.h> |
9612 |
-diff -Nur work.orig/usr.sbin/ctld/kernel.c work/usr.sbin/ctld/kernel.c |
9613 |
---- work.orig/usr.sbin/ctld/kernel.c 2013-09-20 21:55:45.000000000 +0900 |
9614 |
-+++ work/usr.sbin/ctld/kernel.c 2013-09-20 22:01:17.000000000 +0900 |
9615 |
-@@ -45,7 +45,7 @@ |
9616 |
- #include <sys/sbuf.h> |
9617 |
- #include <sys/capability.h> |
9618 |
- #include <assert.h> |
9619 |
--#include <bsdxml.h> |
9620 |
-+#include <expat.h> |
9621 |
- #include <ctype.h> |
9622 |
- #include <errno.h> |
9623 |
- #include <fcntl.h> |
9624 |
|
9625 |
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.0-newsyslog.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.0-newsyslog.patch |
9626 |
deleted file mode 100644 |
9627 |
index 1d83865..0000000 |
9628 |
--- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.0-newsyslog.patch |
9629 |
+++ /dev/null |
9630 |
@@ -1,12 +0,0 @@ |
9631 |
-diff -uNr usr.sbin/newsyslog.old/pathnames.h usr.sbin/newsyslog/pathnames.h |
9632 |
---- usr.sbin/newsyslog.old/pathnames.h 2011-11-02 20:12:37.000000000 +0000 |
9633 |
-+++ usr.sbin/newsyslog/pathnames.h 2011-11-02 20:12:50.000000000 +0000 |
9634 |
-@@ -24,6 +24,6 @@ |
9635 |
- |
9636 |
- #define _PATH_CONF "/etc/newsyslog.conf" |
9637 |
- #define _PATH_SYSLOGPID _PATH_VARRUN "syslog.pid" |
9638 |
--#define _PATH_BZIP2 "/usr/bin/bzip2" |
9639 |
--#define _PATH_GZIP "/usr/bin/gzip" |
9640 |
-+#define _PATH_BZIP2 "/bin/bzip2" |
9641 |
-+#define _PATH_GZIP "/bin/gzip" |
9642 |
- #define _PATH_XZ "/usr/bin/xz" |
9643 |
|
9644 |
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-bsdxml2expat.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-bsdxml2expat.patch |
9645 |
deleted file mode 100644 |
9646 |
index bddc0c7..0000000 |
9647 |
--- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-bsdxml2expat.patch |
9648 |
+++ /dev/null |
9649 |
@@ -1,12 +0,0 @@ |
9650 |
-diff -Nur work.orig/usr.sbin/ctladm/ctladm.c work/usr.sbin/ctladm/ctladm.c |
9651 |
---- work.orig/usr.sbin/ctladm/ctladm.c 2012-07-12 13:25:58.000000000 +0900 |
9652 |
-+++ work/usr.sbin/ctladm/ctladm.c 2012-07-16 05:37:14.000000000 +0900 |
9653 |
-@@ -60,7 +60,7 @@ |
9654 |
- #include <errno.h> |
9655 |
- #include <err.h> |
9656 |
- #include <ctype.h> |
9657 |
--#include <bsdxml.h> |
9658 |
-+#include <expat.h> |
9659 |
- #include <cam/scsi/scsi_all.h> |
9660 |
- #include <cam/scsi/scsi_message.h> |
9661 |
- #include <cam/ctl/ctl.h> |
9662 |
|
9663 |
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-adduser.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-adduser.patch |
9664 |
deleted file mode 100644 |
9665 |
index 39177b4..0000000 |
9666 |
--- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-adduser.patch |
9667 |
+++ /dev/null |
9668 |
@@ -1,20 +0,0 @@ |
9669 |
---- usr.sbin/adduser/adduser.sh.old 2006-10-01 13:41:16 +0000 |
9670 |
-+++ usr.sbin/adduser/adduser.sh 2006-10-01 13:41:38 +0000 |
9671 |
-@@ -809,7 +809,7 @@ |
9672 |
- NOHOME="/nonexistent" |
9673 |
- NOLOGIN="nologin" |
9674 |
- NOLOGIN_PATH="/usr/sbin/nologin" |
9675 |
--GREPCMD="/usr/bin/grep" |
9676 |
-+GREPCMD="/bin/grep" |
9677 |
- DATECMD="/bin/date" |
9678 |
- |
9679 |
- # Set default values |
9680 |
-@@ -823,7 +823,7 @@ |
9681 |
- uhome= |
9682 |
- upass= |
9683 |
- ushell= |
9684 |
--udotdir=/usr/share/skel |
9685 |
-+udotdir=/etc/skel |
9686 |
- ugroups= |
9687 |
- uexpire= |
9688 |
- upwexpire= |
9689 |
|
9690 |
diff --git a/sys-freebsd/freebsd-usbin/files/iscsid.initd b/sys-freebsd/freebsd-usbin/files/iscsid.initd |
9691 |
deleted file mode 100755 |
9692 |
index 60e63da..0000000 |
9693 |
--- a/sys-freebsd/freebsd-usbin/files/iscsid.initd |
9694 |
+++ /dev/null |
9695 |
@@ -1,20 +0,0 @@ |
9696 |
-#!/sbin/runscript |
9697 |
-# Copyright 1999-2013 Gentoo Foundation |
9698 |
-# Distributed under the terms of the GNU General Public License v2 |
9699 |
- |
9700 |
-depend() { |
9701 |
- need net |
9702 |
-} |
9703 |
- |
9704 |
-start() { |
9705 |
- ebegin "Starting iscsid" |
9706 |
- start-stop-daemon --start --quiet --exec \ |
9707 |
- /usr/sbin/iscsid -- $iscsidopts |
9708 |
- eend $? "Error starting iscsid" |
9709 |
-} |
9710 |
- |
9711 |
-stop() { |
9712 |
- ebegin "Stopping iscsid" |
9713 |
- start-stop-daemon --stop --quiet --exec /usr/sbin/iscsid |
9714 |
- eend $? "Error stopping iscsid" |
9715 |
-} |
9716 |
|
9717 |
diff --git a/sys-freebsd/freebsd-usbin/files/moused.confd b/sys-freebsd/freebsd-usbin/files/moused.confd |
9718 |
deleted file mode 100644 |
9719 |
index fea968b..0000000 |
9720 |
--- a/sys-freebsd/freebsd-usbin/files/moused.confd |
9721 |
+++ /dev/null |
9722 |
@@ -1,20 +0,0 @@ |
9723 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/moused.confd,v 1.2 2006/10/03 14:43:39 uberlord Exp $ |
9724 |
- |
9725 |
-# See the moused man page for available settings. |
9726 |
- |
9727 |
-# Set to your mouse device psm[0-9] for PS/2 ports, ums[0-9] for USB ports |
9728 |
-# Leave blank to try to autodetect it |
9729 |
-MOUSED_DEVICE="" |
9730 |
- |
9731 |
-# Any additional flags requires |
9732 |
-MOUSED_FLAGS="" |
9733 |
- |
9734 |
-# If 0xd0-0xd3 default range is occupied in your language code table, specify |
9735 |
-# alternative range start like MOUSECHAR_START="3", see vidcontrol(1) |
9736 |
-MOUSECHAR_START="" |
9737 |
- |
9738 |
-# You can also multiplex the init script for each device like so |
9739 |
-# ln -s moused /etc/init.d/moused.ums0 |
9740 |
-# This enables you to have a config file per mouse (forces MOUSED_DEVICE |
9741 |
-# to ums0 in this case) and control each mouse. |
9742 |
-# devd can also start and stop these mice, which laptop users will find handy. |
9743 |
|
9744 |
diff --git a/sys-freebsd/freebsd-usbin/files/moused.initd b/sys-freebsd/freebsd-usbin/files/moused.initd |
9745 |
deleted file mode 100644 |
9746 |
index 3ac9a34..0000000 |
9747 |
--- a/sys-freebsd/freebsd-usbin/files/moused.initd |
9748 |
+++ /dev/null |
9749 |
@@ -1,66 +0,0 @@ |
9750 |
-#!/sbin/runscript |
9751 |
-# Copyright 1999-2005 Gentoo Foundation |
9752 |
-# Distributed under the terms of the GNU General Public License v2 |
9753 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/moused.initd,v 1.3 2007/02/23 14:03:08 uberlord Exp $ |
9754 |
- |
9755 |
-MOUSED_NAME=${SVCNAME##*.} |
9756 |
-if [ -n "${MOUSED_NAME}" ] && [ ${MOUSED_NAME} != "moused" ] ; then |
9757 |
- MOUSED_DEVICE=/dev/"${MOUSED_NAME}" |
9758 |
- MOUSED_PIDFILE=/var/run/moused-"${MOUSED_NAME}".pid |
9759 |
-else |
9760 |
- MOUSED_NAME= |
9761 |
- MOUSED_PIDFILE=/var/run/moused.pid |
9762 |
-fi |
9763 |
- |
9764 |
-depend() { |
9765 |
- need localmount |
9766 |
-} |
9767 |
- |
9768 |
-start() { |
9769 |
- ebegin "Starting the Console Mouse Daemon" "${MOUSED_NAME}" |
9770 |
- |
9771 |
- if [ -z ${MOUSED_DEVICE} ] ; then |
9772 |
- for x in /dev/psm[0-9]* /dev/ums[0-9]* ; do |
9773 |
- if [ -e "${x}" ] && \ |
9774 |
- [ ! -e /var/run/moused-$(basename "${x}").pid ] ; then |
9775 |
- MOUSED_DEVICE=${x} |
9776 |
- eindent |
9777 |
- einfo "Using mouse on ${MOUSED_DEVICE}" |
9778 |
- eoutdent |
9779 |
- break |
9780 |
- fi |
9781 |
- done |
9782 |
- fi |
9783 |
- |
9784 |
- if [ -z "${MOUSED_DEVICE}" ] ; then |
9785 |
- eend 1 "No device specified in" "/etc/conf.d/${SVCNAME}" \ |
9786 |
- "and no mouse detected" |
9787 |
- return 1 |
9788 |
- fi |
9789 |
- |
9790 |
- local opts="${MOUSED_FLAGS} -p ${MOUSED_DEVICE}" |
9791 |
- start-stop-daemon --start --quiet --exec /usr/sbin/moused \ |
9792 |
- --pidfile "${MOUSED_PIDFILE}" \ |
9793 |
- -- ${opts} -I "${MOUSED_PIDFILE}" |
9794 |
- local retval=$? |
9795 |
- |
9796 |
- [ -n "${MOUSE_CHAR_START}" ] && MOUSE_CHAR_START="-M ${MOUSE_CHAR_START}" |
9797 |
- local ttyv= |
9798 |
- for ttyv in /dev/ttyv* ; do |
9799 |
- vidcontrol < "${ttyv}" ${MOUSE_CHAR_START} -m on || retval=1 |
9800 |
- done |
9801 |
- |
9802 |
- eend ${retval} "Failed to start moused" |
9803 |
-} |
9804 |
- |
9805 |
-stop() { |
9806 |
- ebegin "Stopping the Console Mouse Daemon" "${MOUSED_NAME}" |
9807 |
- # Don't specify the binary as >1 instance of moused may be running |
9808 |
- # which is perfectly valid as we can be multiplexed. |
9809 |
- start-stop-daemon --stop --exec /usr/sbin/moused \ |
9810 |
- --pidfile "${MOUSED_PIDFILE}" |
9811 |
- eend $? "Failed to stop moused" |
9812 |
-} |
9813 |
- |
9814 |
-# vim: set ts=4 : |
9815 |
- |
9816 |
|
9817 |
diff --git a/sys-freebsd/freebsd-usbin/files/nfs.confd b/sys-freebsd/freebsd-usbin/files/nfs.confd |
9818 |
deleted file mode 100644 |
9819 |
index 844252f..0000000 |
9820 |
--- a/sys-freebsd/freebsd-usbin/files/nfs.confd |
9821 |
+++ /dev/null |
9822 |
@@ -1,10 +0,0 @@ |
9823 |
-# Config file for /etc/init.d/nfs |
9824 |
-# Options for nfsd (see man nfsd) |
9825 |
-# Example: 8 nfsd servers started: |
9826 |
-#nfsdopts="-n 8" |
9827 |
- |
9828 |
-# Options for mountd (see man mountd) |
9829 |
-# Example: allow non-root users to mount shares: |
9830 |
-#mountdopts="-n" |
9831 |
-# Specify t he exports file, this is the default: |
9832 |
-#exportsfile="/etc/exports" |
9833 |
|
9834 |
diff --git a/sys-freebsd/freebsd-usbin/files/nfs.initd b/sys-freebsd/freebsd-usbin/files/nfs.initd |
9835 |
deleted file mode 100755 |
9836 |
index fa54bdb..0000000 |
9837 |
--- a/sys-freebsd/freebsd-usbin/files/nfs.initd |
9838 |
+++ /dev/null |
9839 |
@@ -1,54 +0,0 @@ |
9840 |
-#!/sbin/runscript |
9841 |
-# Copyright 1999-2013 Gentoo Foundation |
9842 |
-# Distributed under the terms of the GNU General Public License v2 |
9843 |
- |
9844 |
-#--------------------------------------------------------------------------- |
9845 |
-# This script starts/stops nfsd and mountd |
9846 |
-# Daemons rpc.rquotad, rpc.rstatd, rpc.rusersd, rpc.rwalld and rpc.sprayd |
9847 |
-# should be started from inetd on FreeBSD. |
9848 |
-#--------------------------------------------------------------------------- |
9849 |
- |
9850 |
-extra_started_commands="reload" |
9851 |
- |
9852 |
-# The binary locations |
9853 |
-nfsd=/usr/sbin/nfsd |
9854 |
-mountd=/usr/sbin/mountd |
9855 |
- |
9856 |
-depend() { |
9857 |
- use ypbind net rpc.lockd |
9858 |
- need rpcbind |
9859 |
- after quota |
9860 |
-} |
9861 |
- |
9862 |
-start() { |
9863 |
- ebegin "Starting NFS daemon" |
9864 |
- start-stop-daemon --start --quiet --exec \ |
9865 |
- $nfsd -- ${nfsdopts} |
9866 |
- eend $? "Error starting NFS daemon" |
9867 |
- |
9868 |
- # Start mountd |
9869 |
- ebegin "Starting NFS mountd" |
9870 |
- start-stop-daemon --start --quiet --exec \ |
9871 |
- $mountd -- ${mountdopts} ${exportsfile} |
9872 |
- eend $? "Error starting NFS mountd" |
9873 |
-} |
9874 |
- |
9875 |
-stop() { |
9876 |
- ebegin "Stopping NFS mountd" |
9877 |
- start-stop-daemon --stop --quiet --exec $mountd \ |
9878 |
- --pidfile /var/run/mountd.pid |
9879 |
- eend $? "Error stopping NFS mountd" |
9880 |
- |
9881 |
- ebegin "Stopping NFS daemon" |
9882 |
- start-stop-daemon --stop --signal USR1 --quiet \ |
9883 |
- --name nfsd --user root |
9884 |
- eend $? "Error stopping NFS daemon" |
9885 |
-} |
9886 |
- |
9887 |
-reload() { |
9888 |
- # Hangup signal to mountd reloads /etc/exports. |
9889 |
- ebegin "Reloading /etc/exports" |
9890 |
- start-stop-daemon --signal 1 --quiet --exec $mountd \ |
9891 |
- --pidfile /var/run/mountd.pid |
9892 |
- eend $? |
9893 |
-} |
9894 |
|
9895 |
diff --git a/sys-freebsd/freebsd-usbin/files/nfsmount.initd b/sys-freebsd/freebsd-usbin/files/nfsmount.initd |
9896 |
deleted file mode 100755 |
9897 |
index 9208804..0000000 |
9898 |
--- a/sys-freebsd/freebsd-usbin/files/nfsmount.initd |
9899 |
+++ /dev/null |
9900 |
@@ -1,63 +0,0 @@ |
9901 |
-#!/sbin/runscript |
9902 |
-# Copyright 1999-2004 Gentoo Foundation |
9903 |
-# Distributed under the terms of the GNU General Public License v2 |
9904 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/nfsmount.initd,v 1.3 2007/04/06 14:47:17 uberlord Exp $ |
9905 |
- |
9906 |
-depend() { |
9907 |
- need net rpcbind |
9908 |
- use ypbind |
9909 |
-} |
9910 |
- |
9911 |
-start_statd() { |
9912 |
- # Don't start rpc.statd if already started by init.d/nfs |
9913 |
- killall -0 rpc.statd 2>/dev/null && return 0 |
9914 |
- ebegin "Starting NFS statd" |
9915 |
- rpc.statd |
9916 |
- eend $? "Error starting NFS statd" |
9917 |
-} |
9918 |
- |
9919 |
-stop_statd() { |
9920 |
- # Don't stop rpc.statd if it's in use by init.d/nfs |
9921 |
- killall -0 nfsd 2>/dev/null && return 0 |
9922 |
- # Make sure it's actually running |
9923 |
- killall -0 rpc.statd 2>/dev/null || return 0 |
9924 |
- # Okay, all tests passed, stop rpc.statd |
9925 |
- ebegin "Stopping NFS statd" |
9926 |
- killall rpc.statd |
9927 |
- eend $? "Error stopping NFS statd" |
9928 |
-} |
9929 |
- |
9930 |
-start_lockd() { |
9931 |
- # Don't start rpc.lockd if already started by init.d/nfs |
9932 |
- killall -0 rpc.lockd 2>/dev/null && return 0 |
9933 |
- ebegin "Starting NFS lockd" |
9934 |
- rpc.lockd |
9935 |
- eend $? "Error starting NFS lockd" |
9936 |
-} |
9937 |
- |
9938 |
-stop_lockd() { |
9939 |
- # Don't stop rpc.lockd if it's in use by init.d/nfs |
9940 |
- killall -0 nfsd 2>/dev/null && return 0 |
9941 |
- # Make sure it's actually running |
9942 |
- killall -0 rpc.lockd 2>/dev/null || return 0 |
9943 |
- # Okay, all tests passed, stop rpc.lockd |
9944 |
- ebegin "Stopping NFS lockd" |
9945 |
- killall rpc.lockd |
9946 |
- eend $? "Error stopping NFS lockd" |
9947 |
-} |
9948 |
- |
9949 |
-start() { |
9950 |
- start_statd |
9951 |
- start_lockd |
9952 |
- ebegin "Mounting NFS filesystems" |
9953 |
- mount -a -t nfs |
9954 |
- eend $? "Error mounting NFS filesystems" |
9955 |
-} |
9956 |
- |
9957 |
-stop() { |
9958 |
- ebegin "Unmounting NFS filesystems" |
9959 |
- umount -a -t nfs |
9960 |
- eend $? "Error unmounting NFS filesystems" |
9961 |
- stop_statd |
9962 |
- stop_lockd |
9963 |
-} |
9964 |
|
9965 |
diff --git a/sys-freebsd/freebsd-usbin/files/nfsuserd.confd b/sys-freebsd/freebsd-usbin/files/nfsuserd.confd |
9966 |
deleted file mode 100644 |
9967 |
index f8f3ea1..0000000 |
9968 |
--- a/sys-freebsd/freebsd-usbin/files/nfsuserd.confd |
9969 |
+++ /dev/null |
9970 |
@@ -1,5 +0,0 @@ |
9971 |
-# Config file for /etc/init.d/nfsuserd |
9972 |
-# Options for nfsuserd (see man nfsuserd) |
9973 |
-# Example: set domain example.com: |
9974 |
-#nfsuserdopts="-domain example.com" |
9975 |
- |
9976 |
|
9977 |
diff --git a/sys-freebsd/freebsd-usbin/files/nfsuserd.initd b/sys-freebsd/freebsd-usbin/files/nfsuserd.initd |
9978 |
deleted file mode 100755 |
9979 |
index 88fbda2..0000000 |
9980 |
--- a/sys-freebsd/freebsd-usbin/files/nfsuserd.initd |
9981 |
+++ /dev/null |
9982 |
@@ -1,20 +0,0 @@ |
9983 |
-#!/sbin/runscript |
9984 |
-# Copyright 1999-2013 Gentoo Foundation |
9985 |
-# Distributed under the terms of the GNU General Public License v2 |
9986 |
- |
9987 |
-depend() { |
9988 |
- need net nfs |
9989 |
-} |
9990 |
- |
9991 |
-start() { |
9992 |
- ebegin "Starting nfsuserd" |
9993 |
- start-stop-daemon --start --quiet --exec \ |
9994 |
- /usr/sbin/nfsuserd -- $nfsuserdopts |
9995 |
- eend $? "Error starting nfsuserd" |
9996 |
-} |
9997 |
- |
9998 |
-stop() { |
9999 |
- ebegin "Stopping nfsuserd" |
10000 |
- start-stop-daemon --stop --quiet --exec /usr/sbin/nfsuserd |
10001 |
- eend $? "Error stopping nfsuserd" |
10002 |
-} |
10003 |
|
10004 |
diff --git a/sys-freebsd/freebsd-usbin/files/powerd.confd b/sys-freebsd/freebsd-usbin/files/powerd.confd |
10005 |
deleted file mode 100644 |
10006 |
index 793e68b..0000000 |
10007 |
--- a/sys-freebsd/freebsd-usbin/files/powerd.confd |
10008 |
+++ /dev/null |
10009 |
@@ -1,14 +0,0 @@ |
10010 |
-# Copyright 2006 Gentoo Foundation |
10011 |
-# Distributed under the terms of the GNU General Public License v2 |
10012 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/powerd.confd,v 1.2 2006/10/12 14:59:48 uberlord Exp $ |
10013 |
- |
10014 |
-# Mode allowed: maximum, minimum, adaptive |
10015 |
-# Default unless specified is adaptive |
10016 |
- |
10017 |
-AC_MODE="maximum" |
10018 |
- |
10019 |
-#BATTERY_MODE="minimum" |
10020 |
- |
10021 |
-POWERD_OPTS="" |
10022 |
- |
10023 |
- |
10024 |
|
10025 |
diff --git a/sys-freebsd/freebsd-usbin/files/powerd.initd b/sys-freebsd/freebsd-usbin/files/powerd.initd |
10026 |
deleted file mode 100755 |
10027 |
index c99adf8..0000000 |
10028 |
--- a/sys-freebsd/freebsd-usbin/files/powerd.initd |
10029 |
+++ /dev/null |
10030 |
@@ -1,27 +0,0 @@ |
10031 |
-#!/sbin/runscript |
10032 |
-# Copyright 2006 Gentoo Foundation |
10033 |
-# Distributed under the terms of the GNU General Public License v2 |
10034 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/powerd.initd,v 1.3 2007/02/23 14:03:08 uberlord Exp $ |
10035 |
- |
10036 |
-depend() { |
10037 |
- need localmount |
10038 |
-} |
10039 |
- |
10040 |
-start() { |
10041 |
- local args= |
10042 |
- [ -n "${BATTERY_MODE}" ] && args="${args} -b ${BATTERY_MODE}" |
10043 |
- [ -n "${AC_MODE}" ] && args="${args} -a ${AC_MODE}" |
10044 |
- |
10045 |
- ebegin "Starting Power Control Daemon" |
10046 |
- start-stop-daemon --start --exec /usr/sbin/powerd \ |
10047 |
- --pidfile /var/run/powerd.pid \ |
10048 |
- -- ${args} ${POWERD_OPTS} |
10049 |
- eend $? "Failed to start powerd" |
10050 |
-} |
10051 |
- |
10052 |
-stop() { |
10053 |
- ebegin "Stopping Power Control Daemon" |
10054 |
- start-stop-daemon --stop --exec /usr/sbin/powerd \ |
10055 |
- --pidfile /var/run/powerd.pid |
10056 |
- eend $? "Failed to stop powerd" |
10057 |
-} |
10058 |
|
10059 |
diff --git a/sys-freebsd/freebsd-usbin/files/pw.conf b/sys-freebsd/freebsd-usbin/files/pw.conf |
10060 |
deleted file mode 100644 |
10061 |
index 29a246f..0000000 |
10062 |
--- a/sys-freebsd/freebsd-usbin/files/pw.conf |
10063 |
+++ /dev/null |
10064 |
@@ -1,5 +0,0 @@ |
10065 |
-# Change this to Gentoo's Default, instead of FreeBSD's default of |
10066 |
-# /usr/share/skel, so that bash and other packages installs the files on the |
10067 |
-# right place. |
10068 |
-skeleton /etc/skel |
10069 |
- |
10070 |
|
10071 |
diff --git a/sys-freebsd/freebsd-usbin/files/rarpd.confd b/sys-freebsd/freebsd-usbin/files/rarpd.confd |
10072 |
deleted file mode 100644 |
10073 |
index 63c7fac..0000000 |
10074 |
--- a/sys-freebsd/freebsd-usbin/files/rarpd.confd |
10075 |
+++ /dev/null |
10076 |
@@ -1,7 +0,0 @@ |
10077 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/rarpd.confd,v 1.1 2006/11/19 17:02:29 flameeyes Exp $ |
10078 |
- |
10079 |
-# Configuration file for /etc/init.d/rarpd |
10080 |
- |
10081 |
-# To start rarpd only for a given interface, set the |
10082 |
-# following variable |
10083 |
-# RARPD_ONLY_INTERFACE="rl0" |
10084 |
|
10085 |
diff --git a/sys-freebsd/freebsd-usbin/files/rarpd.initd b/sys-freebsd/freebsd-usbin/files/rarpd.initd |
10086 |
deleted file mode 100644 |
10087 |
index f5b21c8..0000000 |
10088 |
--- a/sys-freebsd/freebsd-usbin/files/rarpd.initd |
10089 |
+++ /dev/null |
10090 |
@@ -1,35 +0,0 @@ |
10091 |
-#!/sbin/runscript |
10092 |
-# Copyright 2006 Gentoo Foundation |
10093 |
-# Distributed under the terms of the GNU General Public License v2 |
10094 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/rarpd.initd,v 1.3 2007/02/23 14:03:08 uberlord Exp $ |
10095 |
- |
10096 |
-depend() { |
10097 |
- if [ -z "${RARPD_ONLY_INTERFACE}" ]; then |
10098 |
- need net |
10099 |
- else |
10100 |
- need net."${RARPD_ONLY_INTERFACE}" |
10101 |
- fi |
10102 |
-} |
10103 |
- |
10104 |
-start() { |
10105 |
- local rarpd_opts |
10106 |
- |
10107 |
- if [ -z "${RARPD_ONLY_INTERFACE}" ]; then |
10108 |
- rarpd_opts="${rarpd_opts} -a" |
10109 |
- else |
10110 |
- rarpd_opts="${rarpd_opts} ${RARPD_ONLY_INTERFACE}" |
10111 |
- fi |
10112 |
- |
10113 |
- ebegin "Starting reverse ARP daemon" |
10114 |
- start-stop-daemon --start --background \ |
10115 |
- --pidfile /var/run/rarpd.pid --make-pidfile \ |
10116 |
- --exec /usr/sbin/rarpd -- -f ${rarpd_opts} |
10117 |
- eend $? |
10118 |
-} |
10119 |
- |
10120 |
-stop() { |
10121 |
- ebegin "Stopping reverse ARP daemon" |
10122 |
- start-stop-daemon --stop --pidfile /var/run/rarpd.pid \ |
10123 |
- --exec /usr/sbin/rarpd -- ${rarpd_opts} |
10124 |
- eend $? |
10125 |
-} |
10126 |
|
10127 |
diff --git a/sys-freebsd/freebsd-usbin/files/rpc.lockd.initd b/sys-freebsd/freebsd-usbin/files/rpc.lockd.initd |
10128 |
deleted file mode 100755 |
10129 |
index 0c74b9f..0000000 |
10130 |
--- a/sys-freebsd/freebsd-usbin/files/rpc.lockd.initd |
10131 |
+++ /dev/null |
10132 |
@@ -1,20 +0,0 @@ |
10133 |
-#!/sbin/runscript |
10134 |
-# Copyright 1999-2008 Gentoo Foundation |
10135 |
-# Distributed under the terms of the GNU General Public License v2 |
10136 |
- |
10137 |
-depend() { |
10138 |
- need net rpcbind rpc.statd |
10139 |
-} |
10140 |
- |
10141 |
-start() { |
10142 |
- ebegin "Starting NFS lockd" |
10143 |
- start-stop-daemon --start --quiet --exec \ |
10144 |
- /usr/sbin/rpc.lockd -- $rpclockdopts |
10145 |
- eend $? "Error starting NFS lockd" |
10146 |
-} |
10147 |
- |
10148 |
-stop() { |
10149 |
- ebegin "Stopping NFS lockd" |
10150 |
- start-stop-daemon --stop --quiet --exec /usr/sbin/rpc.lockd |
10151 |
- eend $? "Error stopping NFS lockd" |
10152 |
-} |
10153 |
|
10154 |
diff --git a/sys-freebsd/freebsd-usbin/files/rpc.statd.initd b/sys-freebsd/freebsd-usbin/files/rpc.statd.initd |
10155 |
deleted file mode 100755 |
10156 |
index 5c3cf30..0000000 |
10157 |
--- a/sys-freebsd/freebsd-usbin/files/rpc.statd.initd |
10158 |
+++ /dev/null |
10159 |
@@ -1,20 +0,0 @@ |
10160 |
-#!/sbin/runscript |
10161 |
-# Copyright 1999-2008 Gentoo Foundation |
10162 |
-# Distributed under the terms of the GNU General Public License v2 |
10163 |
- |
10164 |
-depend() { |
10165 |
- need net rpcbind |
10166 |
-} |
10167 |
- |
10168 |
-start() { |
10169 |
- ebegin "Starting NFS statd" |
10170 |
- start-stop-daemon --start --quiet --exec \ |
10171 |
- /usr/sbin/rpc.statd -- $rpcstatdopts |
10172 |
- eend $? "Error starting NFS statd" |
10173 |
-} |
10174 |
- |
10175 |
-stop() { |
10176 |
- ebegin "Stopping NFS statd" |
10177 |
- start-stop-daemon --stop --quiet --exec /usr/sbin/rpc.statd |
10178 |
- eend $? "Error stopping NFS statd" |
10179 |
-} |
10180 |
|
10181 |
diff --git a/sys-freebsd/freebsd-usbin/files/rpcbind.initd b/sys-freebsd/freebsd-usbin/files/rpcbind.initd |
10182 |
deleted file mode 100755 |
10183 |
index 69451f1..0000000 |
10184 |
--- a/sys-freebsd/freebsd-usbin/files/rpcbind.initd |
10185 |
+++ /dev/null |
10186 |
@@ -1,30 +0,0 @@ |
10187 |
-#!/sbin/runscript |
10188 |
-# Copyright 1999-2005 Gentoo Foundation |
10189 |
-# Distributed under the terms of the GNU General Public License v2 |
10190 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/rpcbind.initd,v 1.3 2006/12/07 18:00:15 uberlord Exp $ |
10191 |
- |
10192 |
-depend() { |
10193 |
- need localmount |
10194 |
- use net |
10195 |
- before inetd |
10196 |
- before xinetd |
10197 |
-} |
10198 |
- |
10199 |
-start() { |
10200 |
- ebegin "Starting rpcbind" |
10201 |
- start-stop-daemon --start --exec /usr/sbin/rpcbind |
10202 |
- local ret=$? |
10203 |
- eend ${ret} |
10204 |
- |
10205 |
- # without, if a service depending on portmap is started too fast, |
10206 |
- # connecting to portmap will fail -- azarah |
10207 |
- # doing that for rpcbind, too -- flameeyes |
10208 |
- sleep 1 |
10209 |
- return ${ret} |
10210 |
-} |
10211 |
- |
10212 |
-stop() { |
10213 |
- ebegin "Stopping rpcbind" |
10214 |
- start-stop-daemon --stop --exec /usr/sbin/rpcbind |
10215 |
- eend $? |
10216 |
-} |
10217 |
|
10218 |
diff --git a/sys-freebsd/freebsd-usbin/files/syscons.confd b/sys-freebsd/freebsd-usbin/files/syscons.confd |
10219 |
deleted file mode 100644 |
10220 |
index a6d7cd4..0000000 |
10221 |
--- a/sys-freebsd/freebsd-usbin/files/syscons.confd |
10222 |
+++ /dev/null |
10223 |
@@ -1,14 +0,0 @@ |
10224 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/syscons.confd,v 1.1 2006/09/14 17:03:27 flameeyes Exp $ |
10225 |
-# Example syscons config file. This is the place to set things like keymap, etc. |
10226 |
- |
10227 |
-# Set the keymap to "uk.iso". |
10228 |
-#KEYMAP="uk.iso" |
10229 |
- |
10230 |
-# Set the keyboard rate to 250ms delay, and 34 repeat rate. |
10231 |
-#KEYRATE="250.34" |
10232 |
- |
10233 |
-# Change the behaviour of F-unction keys (see kbdcontrol(1)). |
10234 |
-#KEYCHANGE="10 'ssh myhost'" |
10235 |
- |
10236 |
-# See vidcontrol(1) -t |
10237 |
-#BLANKTIME="off" |
10238 |
|
10239 |
diff --git a/sys-freebsd/freebsd-usbin/files/syscons.initd b/sys-freebsd/freebsd-usbin/files/syscons.initd |
10240 |
deleted file mode 100755 |
10241 |
index f84b9ed..0000000 |
10242 |
--- a/sys-freebsd/freebsd-usbin/files/syscons.initd |
10243 |
+++ /dev/null |
10244 |
@@ -1,78 +0,0 @@ |
10245 |
-#!/sbin/runscript |
10246 |
-# Copyright 1999-2006 Gentoo Foundation |
10247 |
-# Distributed under the terms of the GNU General Public License v2 |
10248 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/syscons.initd,v 1.4 2009/02/24 17:43:07 drizzt Exp $ |
10249 |
- |
10250 |
-depend() { |
10251 |
- need localmount |
10252 |
-} |
10253 |
- |
10254 |
-start() { |
10255 |
- ebegin "Configuring system console" |
10256 |
- |
10257 |
- if [ -n "${MODE}" ] ; then |
10258 |
- einfo "Setting mode to ${MODE}" |
10259 |
- vidcontrol "${MODE}" |
10260 |
- eend $? |
10261 |
- fi |
10262 |
- |
10263 |
- # XXX: This should handle serial consoles. |
10264 |
- |
10265 |
- # Set the keymap. |
10266 |
- if [ -n "${KEYMAP}" ]; then |
10267 |
- einfo "Setting keymap to" "${KEYMAP}" |
10268 |
- kbdcontrol -l ${KEYMAP} < /dev/console |
10269 |
- fi |
10270 |
- |
10271 |
- if [ -n "${KEYRATE}" ]; then |
10272 |
- einfo "Setting keyrate to" "${KEYRATE}" |
10273 |
- kbdcontrol -r ${KEYRATE} < /dev/console |
10274 |
- fi |
10275 |
- |
10276 |
- if [ -n "${KEYCHANGE}" ]; then |
10277 |
- einfo "Changing function keys..." |
10278 |
- eval set -- "${KEYCHANGE}" |
10279 |
- eindent |
10280 |
- while [ $# -gt 0 ] ; do |
10281 |
- veinfo "F$1 -> \`$2'" |
10282 |
- kbdcontrol -f "$1" "$2" < /dev/console |
10283 |
- shift ; shift |
10284 |
- done |
10285 |
- eoutdent |
10286 |
- fi |
10287 |
- |
10288 |
- if [ -n "${CURSOR}" ]; then |
10289 |
- einfo "Setting cursor" |
10290 |
- vidcontrol -c ${CURSOR} |
10291 |
- fi |
10292 |
- |
10293 |
- einfo "Setting custom fonts..." |
10294 |
- # Nothing to see here, move along... |
10295 |
- for v in FONT8x16 FONT8x14 FONT8x8; do |
10296 |
- f=$(eval \$"${v}") |
10297 |
- if [ -n "${f}" ]; then |
10298 |
- vidcontrol -f ${v##FONT} ${f} |
10299 |
- fi |
10300 |
- done |
10301 |
- |
10302 |
- if [ -n "${BLANKTIME}" ]; then |
10303 |
- einfo "Setting blanktime" |
10304 |
- vidcontrol -t ${BLANKTIME} |
10305 |
- fi |
10306 |
- |
10307 |
- if [ -n "${SAVER}" ]; then |
10308 |
- for i in `kldstat | awk '$5 ~ "^splash_.*$" { print $5 }'`; do |
10309 |
- kldunload ${i} |
10310 |
- done |
10311 |
- kldstat -v | grep -q _saver || kldload ${SAVER}_saver |
10312 |
- fi |
10313 |
- |
10314 |
- if [ -n "${KBDFLAGS}" ]; then |
10315 |
- einfo "Setting keyboard flags for all screens" |
10316 |
- for ttyv in /dev/ttyv*; do |
10317 |
- kbdcontrol ${KBDFLAGS} <${ttyv} >${ttyv} 2>&1 |
10318 |
- done |
10319 |
- fi |
10320 |
- |
10321 |
- eend 0 |
10322 |
-} |
10323 |
|
10324 |
diff --git a/sys-freebsd/freebsd-usbin/files/syslogd.initd b/sys-freebsd/freebsd-usbin/files/syslogd.initd |
10325 |
deleted file mode 100755 |
10326 |
index 0cb314e..0000000 |
10327 |
--- a/sys-freebsd/freebsd-usbin/files/syslogd.initd |
10328 |
+++ /dev/null |
10329 |
@@ -1,25 +0,0 @@ |
10330 |
-#!/sbin/runscript |
10331 |
-# Copyright 1999-2005 Gentoo Foundation |
10332 |
-# Distributed under the terms of the GNU General Public License v2 |
10333 |
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/syslogd.initd,v 1.3 2007/02/23 14:03:08 uberlord Exp $ |
10334 |
- |
10335 |
-depend() { |
10336 |
- provide logger |
10337 |
- need localmount |
10338 |
-} |
10339 |
- |
10340 |
-start() { |
10341 |
- ebegin "Starting System Logger" |
10342 |
- start-stop-daemon --start --quiet --exec /usr/sbin/syslogd \ |
10343 |
- -- ${SYSLOGD_OPTS} |
10344 |
- eend $? |
10345 |
-} |
10346 |
- |
10347 |
-stop() { |
10348 |
- ebegin "Stopping System Logger" |
10349 |
- start-stop-daemon --stop --quiet --pidfile /var/run/syslog.pid |
10350 |
- eend $? |
10351 |
-} |
10352 |
- |
10353 |
- |
10354 |
- |
10355 |
|
10356 |
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-10.1.0.9999.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-10.1.0.9999.ebuild |
10357 |
deleted file mode 100644 |
10358 |
index c6a38ac..0000000 |
10359 |
--- a/sys-freebsd/freebsd-usbin/freebsd-usbin-10.1.0.9999.ebuild |
10360 |
+++ /dev/null |
10361 |
@@ -1,176 +0,0 @@ |
10362 |
-# Copyright 1999-2014 Gentoo Foundation |
10363 |
-# Distributed under the terms of the GNU General Public License v2 |
10364 |
-# $Header: $ |
10365 |
- |
10366 |
-EAPI=3 |
10367 |
- |
10368 |
-inherit bsdmk freebsd flag-o-matic eutils |
10369 |
- |
10370 |
-DESCRIPTION="FreeBSD /usr/sbin tools" |
10371 |
-SLOT="0" |
10372 |
- |
10373 |
-if [[ ${PV} != *9999* ]]; then |
10374 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
10375 |
- SRC_URI="mirror://gentoo/${P}.tar.xz |
10376 |
- mirror://gentoo/${CONTRIB}.tar.xz |
10377 |
- mirror://gentoo/${UBIN}.tar.xz |
10378 |
- mirror://gentoo/${LIB}.tar.xz |
10379 |
- mirror://gentoo/${SBIN}.tar.xz |
10380 |
- mirror://gentoo/${ETC}.tar.xz |
10381 |
- mirror://gentoo/${GNU}.tar.xz |
10382 |
- nis? ( mirror://gentoo/${LIBEXEC}.tar.xz ) |
10383 |
- build? ( mirror://gentoo/${SYS}.tar.xz |
10384 |
- mirror://gentoo/${INCLUDE}.tar.xz )" |
10385 |
-fi |
10386 |
- |
10387 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,netware?] |
10388 |
- =sys-freebsd/freebsd-libexec-${RV}* |
10389 |
- build? ( sys-apps/baselayout ) |
10390 |
- ssl? ( dev-libs/openssl ) |
10391 |
- >=app-arch/libarchive-3 |
10392 |
- sys-apps/tcp-wrappers |
10393 |
- dev-util/dialog |
10394 |
- >=dev-libs/libedit-20120311.3.0-r1 |
10395 |
- net-libs/libpcap |
10396 |
- kerberos? ( app-crypt/heimdal )" |
10397 |
-DEPEND="${RDEPEND} |
10398 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
10399 |
- =sys-freebsd/freebsd-ubin-${RV}* |
10400 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
10401 |
- sys-apps/texinfo |
10402 |
- sys-devel/flex" |
10403 |
- |
10404 |
-S="${WORKDIR}/usr.sbin" |
10405 |
- |
10406 |
-IUSE="acpi atm audit bluetooth floppy ipv6 kerberos minimal netware nis pam ssl usb build" |
10407 |
- |
10408 |
-pkg_setup() { |
10409 |
- # Release crunch is something like minimal. It seems to remove everything |
10410 |
- # which is not needed to work. |
10411 |
- use minimal && mymakeopts="${mymakeopts} RELEASE_CRUNCH= " |
10412 |
- |
10413 |
- use acpi || mymakeopts="${mymakeopts} WITHOUT_ACPI= " |
10414 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
10415 |
- use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " |
10416 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
10417 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
10418 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
10419 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
10420 |
- use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " |
10421 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
10422 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
10423 |
- use floppy || mymakeopts="${mymakeopts} WITHOUT_FLOPPY= " |
10424 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_GSSAPI= " |
10425 |
- |
10426 |
- mymakeopts="${mymakeopts} WITHOUT_PF= WITHOUT_LPR= WITHOUT_SENDMAIL= WITHOUT_AUTHPF= WITHOUT_MAILWRAPPER= WITHOUT_UNBOUND= " |
10427 |
- |
10428 |
- append-flags $(test-flags -fno-strict-aliasing) |
10429 |
-} |
10430 |
- |
10431 |
-PATCHES=( |
10432 |
- "${FILESDIR}/${PN}-adduser.patch" |
10433 |
- "${FILESDIR}/${PN}-9.0-newsyslog.patch" |
10434 |
- "${FILESDIR}/${PN}-10.0-bsdxml2expat.patch" |
10435 |
- ) |
10436 |
- |
10437 |
-REMOVE_SUBDIRS=" |
10438 |
- tcpdchk tcpdmatch |
10439 |
- sendmail praliases editmap mailstats makemap |
10440 |
- pc-sysinstall cron mailwrapper ntp bsnmpd |
10441 |
- tcpdump ndp inetd |
10442 |
- wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli wpa/wpa_passphrase |
10443 |
- zic amd |
10444 |
- pkg pkg_install freebsd-update service sysrc" |
10445 |
- |
10446 |
-src_prepare() { |
10447 |
- if ! use build; then |
10448 |
- [[ ! -e "${WORKDIR}/sys" ]] && ln -s "/usr/src/sys" "${WORKDIR}/sys" |
10449 |
- [[ ! -e "${WORKDIR}/include" ]] && ln -s "/usr/include" "${WORKDIR}/include" |
10450 |
- else |
10451 |
- dummy_mk mount_smbfs |
10452 |
- fi |
10453 |
- # Don't install mtree format manpage |
10454 |
- # it's installed by libarchive. |
10455 |
- sed -e "s: mtree.5::g" -i "${S}"/mtree/Makefile |
10456 |
-} |
10457 |
- |
10458 |
-src_compile() { |
10459 |
- # Preparing to build nmtree |
10460 |
- cd "${WORKDIR}/lib/libnetbsd" |
10461 |
- freebsd_src_compile |
10462 |
- |
10463 |
- cd "${S}" |
10464 |
- freebsd_src_compile |
10465 |
-} |
10466 |
- |
10467 |
-src_install() { |
10468 |
- # By creating these directories we avoid having to do a |
10469 |
- # more complex hack |
10470 |
- dodir /usr/share/doc |
10471 |
- dodir /sbin |
10472 |
- dodir /usr/libexec |
10473 |
- dodir /usr/bin |
10474 |
- |
10475 |
- # FILESDIR is used by some makefiles which will install files |
10476 |
- # in the wrong place, just put it in the doc directory. |
10477 |
- mkinstall DOCDIR=/usr/share/doc/${PF} || die "Install failed" |
10478 |
- |
10479 |
- # Most of these now come from openrc. |
10480 |
- for util in iscsid nfs nfsuserd rpc.statd rpc.lockd; do |
10481 |
- newinitd "${FILESDIR}/"${util}.initd ${util} || die |
10482 |
- if [[ -e "${FILESDIR}"/${util}.confd ]]; then \ |
10483 |
- newconfd "${FILESDIR}"/${util}.confd ${util} || die |
10484 |
- fi |
10485 |
- done |
10486 |
- |
10487 |
- for class in daily monthly weekly; do |
10488 |
- cat - > "${T}/periodic.${class}" <<EOS |
10489 |
-#!/bin/sh |
10490 |
-/usr/sbin/periodic ${class} |
10491 |
-EOS |
10492 |
- exeinto /etc/cron.${class} |
10493 |
- newexe "${T}/periodic.${class}" periodic |
10494 |
- done |
10495 |
- |
10496 |
- # Install the pw.conf file to let pw use Gentoo's skel location |
10497 |
- insinto /etc |
10498 |
- doins "${FILESDIR}/pw.conf" || die |
10499 |
- |
10500 |
- cd "${WORKDIR}/etc" |
10501 |
- doins apmd.conf syslog.conf newsyslog.conf nscd.conf || die |
10502 |
- |
10503 |
- insinto /etc/ppp |
10504 |
- doins ppp/ppp.conf || die |
10505 |
- |
10506 |
- if use bluetooth; then |
10507 |
- insinto /etc/bluetooth |
10508 |
- doins bluetooth/* || die |
10509 |
- rm -f "${D}"/etc/bluetooth/Makefile |
10510 |
- fi |
10511 |
- |
10512 |
- # Install the periodic stuff (needs probably to be ported in a more |
10513 |
- # gentooish way) |
10514 |
- cd "${WORKDIR}/etc/periodic" |
10515 |
- |
10516 |
- doperiodic daily daily/*.accounting |
10517 |
- doperiodic monthly monthly/*.accounting |
10518 |
-} |
10519 |
- |
10520 |
-pkg_postinst() { |
10521 |
- # We need to run pwd_mkdb if key files are not present |
10522 |
- # If they are, then there is no need to run pwd_mkdb |
10523 |
- if [[ ! -e "${ROOT}etc/passwd" || ! -e "${ROOT}etc/pwd.db" || ! -e "${ROOT}etc/spwd.db" ]] ; then |
10524 |
- if [[ -e "${ROOT}etc/master.passwd" ]] ; then |
10525 |
- einfo "Generating passwd files from ${ROOT}etc/master.passwd" |
10526 |
- "${ROOT}"usr/sbin/pwd_mkdb -p -d "${ROOT}etc" "${ROOT}etc/master.passwd" |
10527 |
- else |
10528 |
- eerror "${ROOT}etc/master.passwd does not exist!" |
10529 |
- eerror "You will no be able to log into your system!" |
10530 |
- fi |
10531 |
- fi |
10532 |
- |
10533 |
- for logfile in messages security auth.log maillog lpd-errs xferlog cron \ |
10534 |
- debug.log slip.log ppp.log; do |
10535 |
- [[ -f "${ROOT}/var/log/${logfile}" ]] || touch "${ROOT}/var/log/${logfile}" |
10536 |
- done |
10537 |
-} |