1 |
commit: 7fd0e28d5aa9fa8051b2b8b5ace3f03f21c30e55 |
2 |
Author: Yuta SATOH <nigoro <AT> gentoo <DOT> gr <DOT> jp> |
3 |
AuthorDate: Fri Dec 27 14:43:40 2013 +0000 |
4 |
Commit: Yuta SATOH <nigoro.gentoo <AT> 0x100 <DOT> com> |
5 |
CommitDate: Fri Dec 27 14:43:40 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=commit;h=7fd0e28d |
7 |
|
8 |
removed -9.9999 ebuild. |
9 |
|
10 |
--- |
11 |
sys-freebsd/boot0/Manifest | 1 - |
12 |
sys-freebsd/boot0/boot0-9.9999.ebuild | 72 --- |
13 |
sys-freebsd/freebsd-bin/Manifest | 1 - |
14 |
sys-freebsd/freebsd-bin/freebsd-bin-9.9999.ebuild | 37 -- |
15 |
sys-freebsd/freebsd-cddl/Manifest | 1 - |
16 |
.../freebsd-cddl/freebsd-cddl-9.9999.ebuild | 63 --- |
17 |
sys-freebsd/freebsd-contrib/Manifest | 1 - |
18 |
.../freebsd-contrib/freebsd-contrib-9.9999.ebuild | 46 -- |
19 |
sys-freebsd/freebsd-lib/Manifest | 1 - |
20 |
sys-freebsd/freebsd-lib/freebsd-lib-9.9999.ebuild | 603 --------------------- |
21 |
sys-freebsd/freebsd-libexec/Manifest | 1 - |
22 |
.../freebsd-libexec/freebsd-libexec-9.9999.ebuild | 85 --- |
23 |
sys-freebsd/freebsd-mk-defs/Manifest | 1 - |
24 |
.../freebsd-mk-defs/freebsd-mk-defs-9.9999.ebuild | 40 -- |
25 |
sys-freebsd/freebsd-pam-modules/Manifest | 1 - |
26 |
.../freebsd-pam-modules-9.9999.ebuild | 47 -- |
27 |
sys-freebsd/freebsd-pf/Manifest | 1 - |
28 |
sys-freebsd/freebsd-pf/freebsd-pf-9.9999.ebuild | 69 --- |
29 |
sys-freebsd/freebsd-rescue/Manifest | 1 - |
30 |
.../freebsd-rescue/freebsd-rescue-9.9999.ebuild | 76 --- |
31 |
sys-freebsd/freebsd-sbin/Manifest | 1 - |
32 |
.../freebsd-sbin/freebsd-sbin-9.9999.ebuild | 96 ---- |
33 |
sys-freebsd/freebsd-share/Manifest | 1 - |
34 |
.../freebsd-share/freebsd-share-9.9999.ebuild | 93 ---- |
35 |
sys-freebsd/freebsd-sources/Manifest | 1 - |
36 |
.../freebsd-sources/freebsd-sources-9.9999.ebuild | 112 ---- |
37 |
sys-freebsd/freebsd-ubin/Manifest | 1 - |
38 |
.../freebsd-ubin/freebsd-ubin-9.9999.ebuild | 179 ------ |
39 |
sys-freebsd/freebsd-usbin/Manifest | 1 - |
40 |
.../freebsd-usbin/freebsd-usbin-9.9999.ebuild | 179 ------ |
41 |
30 files changed, 1812 deletions(-) |
42 |
|
43 |
diff --git a/sys-freebsd/boot0/Manifest b/sys-freebsd/boot0/Manifest |
44 |
index ab67af5..1f3f9bb 100644 |
45 |
--- a/sys-freebsd/boot0/Manifest |
46 |
+++ b/sys-freebsd/boot0/Manifest |
47 |
@@ -1,3 +1,2 @@ |
48 |
AUX boot0-9.2-gcc46.patch 2119 SHA256 745245270e8ac2e8a1084f1785bb31ce7a5d2c7242f762260ad9a97fa02970f5 SHA512 ee834269bdc4a79da6854f59fe896b8e13efd1f60d97aefc8829cd1137f8f84810bba4344aac79424a4f31503a1a8579caf468e83a60d127d81f5d10fcbc4ae9 WHIRLPOOL 0c057ffe2baa7cb1b74912cebed5ec5f31adee7780a77993b40bad256e89baf3ed4dc18567c263bfed9a76e63e274072945e37dd729ac62c8538ab7678e4dfe1 |
49 |
EBUILD boot0-10.0.9999_p259404.ebuild 1775 SHA256 731ea26aad840358f7be287da20fc4fa8ba1e8d2f2789fed62960a8af50b6572 SHA512 1812608537c393fe44a083efad0fe618c5c7399b91d5590b9c8746fb381ae454b244a9f00a605272ebbd9eea3616c66ca35dc449c10c3b5f141e4aefddd70553 WHIRLPOOL 6bbb705e02db5a669958b9c23d98b0b6043929d30e8ec8da49b9a4405c0c60dbb8c82e361058f8d00daed4b11870f16b03932f59a3415655c0326abf1d4cb82a |
50 |
-EBUILD boot0-9.9999.ebuild 1687 SHA256 2a73c57b1c55dd3e4a15e47dd44f547eb0904c1f4c86ca9eb36a939d342fe3ef SHA512 9dbae9de217bcf0e9eb5ea4ee5af58f90efbbb1a6964f4e71e7376dc57c739f3e4d2600ed8ff5fa6152c836260ee8e8c4870aee0b59df34fc9ac4d33bd872dbf WHIRLPOOL d119fca0d37eed97395062f2ecad38fcf05b33327179c9460b4a6505ec71d439bf3d1bcc7138e9392654cea3aac281fb484490f6b59c88ac25704cb280542d55 |
51 |
|
52 |
diff --git a/sys-freebsd/boot0/boot0-9.9999.ebuild b/sys-freebsd/boot0/boot0-9.9999.ebuild |
53 |
deleted file mode 100644 |
54 |
index c592c57..0000000 |
55 |
--- a/sys-freebsd/boot0/boot0-9.9999.ebuild |
56 |
+++ /dev/null |
57 |
@@ -1,72 +0,0 @@ |
58 |
-# Copyright 1999-2013 Gentoo Foundation |
59 |
-# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: $ |
61 |
- |
62 |
-EAPI=2 |
63 |
- |
64 |
-inherit bsdmk freebsd flag-o-matic toolchain-funcs |
65 |
- |
66 |
-DESCRIPTION="FreeBSD's bootloader" |
67 |
-SLOT="0" |
68 |
- |
69 |
-IUSE="bzip2 ieee1394 tftp zfs" |
70 |
- |
71 |
-if [[ ${PV} != *9999* ]]; then |
72 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
73 |
- SRC_URI="mirror://gentoo/${SYS}.tar.bz2 |
74 |
- mirror://gentoo/${LIB}.tar.bz2 |
75 |
- mirror://gentoo/${CONTRIB}.tar.bz2" |
76 |
-fi |
77 |
- |
78 |
-RDEPEND="" |
79 |
-DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* |
80 |
- =sys-freebsd/freebsd-lib-${RV}*" |
81 |
- |
82 |
-S="${WORKDIR}/sys/boot" |
83 |
- |
84 |
-PATCHES=( "${FILESDIR}/${PN}-9.2-gcc46.patch" ) |
85 |
- |
86 |
-boot0_use_enable() { |
87 |
- use ${1} && mymakeopts="${mymakeopts} LOADER_${2}_SUPPORT=\"yes\"" |
88 |
-} |
89 |
- |
90 |
-pkg_setup() { |
91 |
- boot0_use_enable ieee1394 FIREWIRE |
92 |
- boot0_use_enable zfs ZFS |
93 |
- boot0_use_enable tftp TFTP |
94 |
- boot0_use_enable bzip2 BZIP2 |
95 |
-} |
96 |
- |
97 |
-src_prepare() { |
98 |
- sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \ |
99 |
- -i "${S}"/i386/boot2/Makefile \ |
100 |
- -i "${S}"/i386/gptboot/Makefile \ |
101 |
- -i "${S}"/i386/gptzfsboot/Makefile \ |
102 |
- -i "${S}"/i386/zfsboot/Makefile || die |
103 |
-} |
104 |
- |
105 |
-src_compile() { |
106 |
- strip-flags |
107 |
- append-flags "-fno-strict-aliasing" |
108 |
- |
109 |
- cd "${WORKDIR}/lib/libstand" || die |
110 |
- freebsd_src_compile |
111 |
- |
112 |
- cd "${S}" |
113 |
- CFLAGS="${CFLAGS} -I${WORKDIR}/lib/libstand" |
114 |
- LDFLAGS="${LDFLAGS} -L${WORKDIR}/lib/libstand" |
115 |
- export LIBSTAND="${WORKDIR}/lib/libstand/libstand.a" |
116 |
- NOFLAGSTRIP="yes" freebsd_src_compile |
117 |
-} |
118 |
- |
119 |
-src_install() { |
120 |
- dodir /boot/defaults |
121 |
- mkinstall FILESDIR=/boot || die "mkinstall failed" |
122 |
- |
123 |
- cd "${WORKDIR}/sys/$(tc-arch-kernel)/conf" || die |
124 |
- insinto /boot |
125 |
- newins GENERIC.hints device.hints |
126 |
- |
127 |
- echo 'CONFIG_PROTECT="/boot/device.hints"' > "${T}"/50boot0 |
128 |
- doenvd "${T}"/50boot0 |
129 |
-} |
130 |
|
131 |
diff --git a/sys-freebsd/freebsd-bin/Manifest b/sys-freebsd/freebsd-bin/Manifest |
132 |
index 68d6da9..3bc252e 100644 |
133 |
--- a/sys-freebsd/freebsd-bin/Manifest |
134 |
+++ b/sys-freebsd/freebsd-bin/Manifest |
135 |
@@ -1,2 +1 @@ |
136 |
EBUILD freebsd-bin-10.0.9999_p259404.ebuild 895 SHA256 4771e22d7061cc7e477dd40b1f88236f755fb48de584801d23900714a9a1e196 SHA512 cadec145a6fa2b5c903cb7c35f660ed08ada95d350a6ccce58e4b9281c01c7794c4867636ae5558e3a9523ee6c7554cd7a6c6a4f55b51286d48d8e9b615f60e4 WHIRLPOOL 4f88ad6b62826319f75894b7c1d713fd4a05ae46dc161241b06dcc46b0fecdf6be39439e47faa212df763f0060d2be4de87e3c2698330be7f3228e8d6fffc953 |
137 |
-EBUILD freebsd-bin-9.9999.ebuild 879 SHA256 a3bc995ee0a9ca06d56e68a9096912065956a4974b18a8e04b19cc0ca17dacef SHA512 9ccb036fa7d24557007eb855cbbc073da30abb5a9d2cfda384ad2afd9e12a6afd17d2693830ab469406c799a9685988f0bdb695a9b985770075dbe5c3e216e43 WHIRLPOOL 51f96789f4445cfaa15980cd9d12750b7d84264ca171e5af1a0a8825d380af8a7fa84b78efa814caedcd19856f00509711d002fac150c14b0cd28f8714ff91d8 |
138 |
|
139 |
diff --git a/sys-freebsd/freebsd-bin/freebsd-bin-9.9999.ebuild b/sys-freebsd/freebsd-bin/freebsd-bin-9.9999.ebuild |
140 |
deleted file mode 100644 |
141 |
index 30c5910..0000000 |
142 |
--- a/sys-freebsd/freebsd-bin/freebsd-bin-9.9999.ebuild |
143 |
+++ /dev/null |
144 |
@@ -1,37 +0,0 @@ |
145 |
-# Copyright 1999-2013 Gentoo Foundation |
146 |
-# Distributed under the terms of the GNU General Public License v2 |
147 |
-# $Header: $ |
148 |
- |
149 |
-inherit bsdmk freebsd |
150 |
- |
151 |
-DESCRIPTION="FreeBSD /bin tools" |
152 |
-SLOT="0" |
153 |
- |
154 |
-IUSE="" |
155 |
- |
156 |
-if [[ ${PV} != *9999* ]]; then |
157 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
158 |
- SRC_URI="mirror://gentoo/${BIN}.tar.bz2 |
159 |
- mirror://gentoo/${UBIN}.tar.bz2 |
160 |
- mirror://gentoo/${SBIN}.tar.bz2 |
161 |
- mirror://gentoo/${LIB}.tar.bz2" |
162 |
-fi |
163 |
- |
164 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
165 |
- >=dev-libs/libedit-20120311.3.0-r1 |
166 |
- sys-libs/ncurses |
167 |
- sys-apps/ed |
168 |
- !app-misc/realpath |
169 |
- !<sys-freebsd/freebsd-ubin-8" |
170 |
-DEPEND="${RDEPEND} |
171 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
172 |
- >=sys-devel/flex-2.5.31-r2" |
173 |
- |
174 |
-S=${WORKDIR}/bin |
175 |
- |
176 |
-# csh and tcsh are provided by tcsh package, rmail is sendmail stuff. |
177 |
-REMOVE_SUBDIRS="csh rmail ed" |
178 |
- |
179 |
-pkg_setup() { |
180 |
- mymakeopts="${mymakeopts} WITHOUT_TCSH= WITHOUT_SENDMAIL= WITHOUT_RCMDS= " |
181 |
-} |
182 |
|
183 |
diff --git a/sys-freebsd/freebsd-cddl/Manifest b/sys-freebsd/freebsd-cddl/Manifest |
184 |
index 5653740..ec05ed0 100644 |
185 |
--- a/sys-freebsd/freebsd-cddl/Manifest |
186 |
+++ b/sys-freebsd/freebsd-cddl/Manifest |
187 |
@@ -6,4 +6,3 @@ AUX freebsd-cddl-9.2-underlink.patch 967 SHA256 43ede354a9e0e3db0496eeccaf64a974 |
188 |
AUX zfs.initd 481 SHA256 8078bfd9241d694ca97364044ce5386015669a5102ef3702be0b1b1d70fdab61 SHA512 9734a3faeb2c5d555a311fd71821c249bb110c221f973f7efe9c3d2bb150286ec68e60e3fcb7639b7b62804484d4d2fce34465ef89568aa946243f729bb9a843 WHIRLPOOL 766477f8743f0b1c898860a2904d31a2b725cbdfa4aacc8a3ae8790361f693d0cbe74ed932eb3e8e993e5fd5b9de3d15fcf175528f7e060dee311ccc77336e5c |
189 |
AUX zvol.initd-9.0 930 SHA256 5b3aed77ab896f1d522d36c697718afe69cf5799a753c704c4beae7ec1c6b44a SHA512 998864b0a7b6f8765311e604b3f1e22d59ccf329bd6d0b9e8649f6da49e42832babee26a837516de99e6a949d6f933b9952cfe98687b274c031f6d07375372f3 WHIRLPOOL 361f8bcb86c9274757f1a087bc935bfe708ba2ac3b6ae945e62fb59080322b4ded2dfc8d2a6862529b9e661aeeb8ffe0782aedcf535f784761f0c26dfc7f7d87 |
190 |
EBUILD freebsd-cddl-10.0.9999_p259404.ebuild 1536 SHA256 e4e9ab9bb8dfe7cd55edd1fc4bb61ea53fd7a8fcc111ca4141aa4a84eec57fed SHA512 23b99b06092889d8b1ec6083ba93f259de70b452b5eef52510982f68a679c9390751c64c28994a9f24969d34649047b922037d33a1a91eedb3677b00dd6e23c9 WHIRLPOOL 5cec1a005d22821f1baecf6707f29714c6914dfdcd876a23ac83b78ab4c4395fea0c689d81dcbf817ef75657ae9ee10d7fa01f0d3721f83e32fc011d097f6a56 |
191 |
-EBUILD freebsd-cddl-9.9999.ebuild 1488 SHA256 492cdc15fef9e873347cd200c0394b0ffe0826f2074b014f34f372982bb368b7 SHA512 19d4ace1b3b755a2b283498fe1f2264e757cd67611dc0f8fc847e9175aaa5152ed6cf0ac27a8e1abaa26c2d7a1ea42b386d240356b88f3ec8d03831b13bf1abe WHIRLPOOL 6aa2289d3176b5e185f3fc262edc18820c0ca8ee2d1dc703c9ee5847414b6457c8c4a1ee560e4793dd8aa492054ba39e540c5c3fb38b94d03c7bccb4e8c75fa1 |
192 |
|
193 |
diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.9999.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.9999.ebuild |
194 |
deleted file mode 100644 |
195 |
index d4f39df..0000000 |
196 |
--- a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.9999.ebuild |
197 |
+++ /dev/null |
198 |
@@ -1,63 +0,0 @@ |
199 |
-# Copyright 1999-2013 Gentoo Foundation |
200 |
-# Distributed under the terms of the GNU General Public License v2 |
201 |
-# $Header: $ |
202 |
- |
203 |
-EAPI=4 |
204 |
- |
205 |
-inherit bsdmk freebsd toolchain-funcs multilib |
206 |
- |
207 |
-DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software" |
208 |
-SLOT="0" |
209 |
- |
210 |
-IUSE="build" |
211 |
-LICENSE="CDDL GPL-2" |
212 |
- |
213 |
-if [[ ${PV} != *9999* ]]; then |
214 |
- KEYWORDS="~amd64-fbsd ~x86-fbsd" |
215 |
- SRC_URI="mirror://gentoo/${P}.tar.bz2 |
216 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
217 |
- mirror://gentoo/${UBIN}.tar.bz2 |
218 |
- mirror://gentoo/${LIB}.tar.bz2 |
219 |
- mirror://gentoo/${SBIN}.tar.bz2 |
220 |
- mirror://gentoo/${SYS}.tar.bz2 |
221 |
- build? ( mirror://gentoo/${INCLUDE}.tar.bz2 )" |
222 |
-fi |
223 |
- |
224 |
-# sys is required. |
225 |
- |
226 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
227 |
- =sys-freebsd/freebsd-libexec-${RV}* |
228 |
- build? ( sys-apps/baselayout )" |
229 |
- |
230 |
-DEPEND="${RDEPEND} |
231 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
232 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* )" |
233 |
- |
234 |
-S="${WORKDIR}/cddl" |
235 |
- |
236 |
-PATCHES=( |
237 |
- "${FILESDIR}/${PN}-9.2-libpaths.patch" |
238 |
- "${FILESDIR}/${PN}-9.2-underlink.patch" |
239 |
- ) |
240 |
- |
241 |
-src_unpack() { |
242 |
- freebsd_src_unpack |
243 |
- # Link in include headers. |
244 |
- ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.." |
245 |
-} |
246 |
- |
247 |
-src_install() { |
248 |
- # Install libraries proper place |
249 |
- local mylibdir=$(get_libdir) |
250 |
- mkinstall SHLIBDIR="/usr/${mylibdir}" LIBDIR="/usr/${mylibdir}" || die |
251 |
- |
252 |
- gen_usr_ldscript -a avl nvpair umem uutil zfs zpool zfs_core |
253 |
- |
254 |
- # Install zfs volinit script. |
255 |
- newinitd "${FILESDIR}"/zvol.initd-9.0 zvol |
256 |
- |
257 |
- # Install zfs script |
258 |
- newinitd "${FILESDIR}"/zfs.initd zfs |
259 |
- |
260 |
- keepdir /etc/zfs |
261 |
-} |
262 |
|
263 |
diff --git a/sys-freebsd/freebsd-contrib/Manifest b/sys-freebsd/freebsd-contrib/Manifest |
264 |
deleted file mode 100644 |
265 |
index 8eca430..0000000 |
266 |
--- a/sys-freebsd/freebsd-contrib/Manifest |
267 |
+++ /dev/null |
268 |
@@ -1 +0,0 @@ |
269 |
-EBUILD freebsd-contrib-9.9999.ebuild 1092 SHA256 90a4e905a49f318d4be556e9671d6e535d941acfd116b9dfdedab16cd9cdef6b SHA512 d3b5e836fc4ec43938480256f011f74b44ee55f995ef0ebfd10be5c67c81b2bea365c1a1a8899cca387b19c4c847a80f5877200d41c02dc7274a4f4d386d57c7 WHIRLPOOL 358b2e4fcffee717801135da32e48bd58595a439b78de69739b7c696e46bc207a52e998a7f34cbedd41297bdc33f80ba3ff0100deaa0d8cb1133d8ea28685346 |
270 |
|
271 |
diff --git a/sys-freebsd/freebsd-contrib/freebsd-contrib-9.9999.ebuild b/sys-freebsd/freebsd-contrib/freebsd-contrib-9.9999.ebuild |
272 |
deleted file mode 100644 |
273 |
index aefd6e2..0000000 |
274 |
--- a/sys-freebsd/freebsd-contrib/freebsd-contrib-9.9999.ebuild |
275 |
+++ /dev/null |
276 |
@@ -1,46 +0,0 @@ |
277 |
-# Copyright 1999-2013 Gentoo Foundation |
278 |
-# Distributed under the terms of the GNU General Public License v2 |
279 |
-# $Header: $ |
280 |
- |
281 |
-inherit bsdmk freebsd flag-o-matic multilib |
282 |
- |
283 |
-DESCRIPTION="Contributed sources for FreeBSD." |
284 |
-if [[ ${PV} != *9999* ]]; then |
285 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
286 |
- SRC_URI="mirror://gentoo/${GNU}.tar.bz2 |
287 |
- mirror://gentoo/${P}.tar.bz2" |
288 |
-fi |
289 |
-LICENSE="BSD GPL-2+ libodialog" |
290 |
-SLOT="0" |
291 |
-IUSE="" |
292 |
- |
293 |
-RDEPEND="" |
294 |
-DEPEND="=sys-freebsd/freebsd-sources-${RV}* |
295 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
296 |
- |
297 |
-S="${WORKDIR}/gnu" |
298 |
- |
299 |
-src_compile() { |
300 |
- cd "${S}/lib/libodialog" |
301 |
- freebsd_src_compile |
302 |
- |
303 |
- cd "${S}/usr.bin/sort" |
304 |
- freebsd_src_compile |
305 |
- |
306 |
- cd "${S}/usr.bin/patch" |
307 |
- freebsd_src_compile |
308 |
-} |
309 |
- |
310 |
-src_install() { |
311 |
- use profile || mymakeopts="${mymakeopts} NO_PROFILE= " |
312 |
- mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " |
313 |
- |
314 |
- cd "${S}/lib/libodialog" |
315 |
- mkinstall LIBDIR="/usr/$(get_libdir)" || die "libodialog install failed" |
316 |
- |
317 |
- cd "${S}/usr.bin/sort" |
318 |
- mkinstall BINDIR="/bin/" || die "sort install failed" |
319 |
- |
320 |
- cd "${S}/usr.bin/patch" |
321 |
- mkinstall BINDIR="/usr/bin/" || die "patch install failed" |
322 |
-} |
323 |
|
324 |
diff --git a/sys-freebsd/freebsd-lib/Manifest b/sys-freebsd/freebsd-lib/Manifest |
325 |
index ed23627..61d1187 100644 |
326 |
--- a/sys-freebsd/freebsd-lib/Manifest |
327 |
+++ b/sys-freebsd/freebsd-lib/Manifest |
328 |
@@ -25,4 +25,3 @@ AUX libmap.conf 201 SHA256 36a1bd56965f171cbb058f6e1762801e3b92c083fe36f6fe046bd |
329 |
AUX libusb-1.0.pc.in 207 SHA256 edf35e887cbfed2df288825434c467e0a946eeb21e0d631f55940bb177c2ba15 SHA512 93289cecfc298a31fd4fd0848bf25a63048a7549bd81792d7bd158731246221c24ec9f469a918430da56873a0936fb2b372cedaaa32a38ccd5323de0f9a89b93 WHIRLPOOL 7c81b0df4548a9391b4e1420186f1e970aa9e2e73a89e817adbff9de52b8797cbd8a4d8b3ca01f782f86e4b1e48fad72a08b5bff49d5ee6ffaa5135c015ca5ae |
330 |
AUX libusb.pc.in 208 SHA256 9bfe398a335f8b9b1c3dd167ab0c9206fe3bdd4e1da318ece977e20f3c2d7c56 SHA512 e9c6d5f04057cf8c13f69a3d8e07bdd517fdb01d572a69a1beb397766311b3c53894b108caaaea740bfc27b227a9620621dac5846bff1a367fbf9954f38bb40c WHIRLPOOL e80e76a8a564655d924a7148a841c7c7cf0be0ea3bdbd76e95e5004124543826e5d925dfe791f4b040e042a10923865bb517499d9f5be39611fedbcceebe32d8 |
331 |
EBUILD freebsd-lib-10.0.9999_p259404.ebuild 19094 SHA256 5e5107ca38a6face33009101f14a0d23d045b7522a7d4dc96fede607f290565e SHA512 1b220bb360604dff2023776cb6c0c6cae4bb6b0993f209b36fc800a7cc26780653bd49695a419db237aaf3143115cd53af795bf08f8f4b609b90a4f8b5852ccc WHIRLPOOL a2cfba2517708922eaa40f8af179b76d3aed0e6b6f8d127515010458b7f974842495360e86ce065593674029f00ce2e38568c0a5e904efa4703230cd367b1feb |
332 |
-EBUILD freebsd-lib-9.9999.ebuild 18187 SHA256 4194f47078997d306111c39d7b5aa64991e8f3cad8124b42ab6927053597646f SHA512 d16df71160fc8ed5aa23c0894baa3b1cce734feae8f2eea837e9ea04b2a6eb0836314d05c925630db2d3be32a52b8da4c2cc79c64083cef2fe829d25fccb99ef WHIRLPOOL 5797e57eb7b1b67921426d7cfa4a8ead67b5223213cde5cffa57ce5002f34da81e9e05b5d1950681aada430ec6f3299294ab223c418ebd39854d63471a8a475a |
333 |
|
334 |
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-9.9999.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-9.9999.ebuild |
335 |
deleted file mode 100644 |
336 |
index 5e26c33..0000000 |
337 |
--- a/sys-freebsd/freebsd-lib/freebsd-lib-9.9999.ebuild |
338 |
+++ /dev/null |
339 |
@@ -1,603 +0,0 @@ |
340 |
-# Copyright 1999-2013 Gentoo Foundation |
341 |
-# Distributed under the terms of the GNU General Public License v2 |
342 |
-# $Header: $ |
343 |
- |
344 |
-EAPI=5 |
345 |
- |
346 |
-inherit bsdmk freebsd flag-o-matic multilib toolchain-funcs eutils multibuild multilib-build |
347 |
- |
348 |
-DESCRIPTION="FreeBSD's base system libraries" |
349 |
-SLOT="0" |
350 |
- |
351 |
-# Crypto is needed to have an internal OpenSSL header |
352 |
-# sys is needed for libalias, probably we can just extract that instead of |
353 |
-# extracting the whole tarball |
354 |
-if [[ ${PV} != *9999* ]]; then |
355 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
356 |
- SRC_URI="mirror://gentoo/${LIB}.tar.bz2 |
357 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
358 |
- mirror://gentoo/${CRYPTO}.tar.bz2 |
359 |
- mirror://gentoo/${LIBEXEC}.tar.bz2 |
360 |
- mirror://gentoo/${ETC}.tar.bz2 |
361 |
- mirror://gentoo/${INCLUDE}.tar.bz2 |
362 |
- mirror://gentoo/${USBIN}.tar.bz2 |
363 |
- mirror://gentoo/${GNU}.tar.bz2 |
364 |
- mirror://gentoo/${SECURE}.tar.bz2 |
365 |
- build? ( mirror://gentoo/${SYS}.tar.bz2 ) |
366 |
- zfs? ( mirror://gentoo/${CDDL}.tar.bz2 )" |
367 |
-fi |
368 |
- |
369 |
-if [ "${CATEGORY#*cross-}" = "${CATEGORY}" ]; then |
370 |
- RDEPEND="ssl? ( dev-libs/openssl ) |
371 |
- hesiod? ( net-dns/hesiod ) |
372 |
- kerberos? ( app-crypt/heimdal ) |
373 |
- usb? ( !dev-libs/libusb !dev-libs/libusbx ) |
374 |
- zfs? ( =sys-freebsd/freebsd-cddl-${RV}* ) |
375 |
- >=dev-libs/expat-2.0.1 |
376 |
- !sys-libs/libutempter |
377 |
- !dev-libs/libelf |
378 |
- !sys-freebsd/freebsd-headers" |
379 |
- DEPEND="${RDEPEND} |
380 |
- >=sys-devel/flex-2.5.31-r2 |
381 |
- =sys-freebsd/freebsd-sources-${RV}*" |
382 |
-else |
383 |
- SRC_URI="${SRC_URI} |
384 |
- mirror://gentoo/${SYS}.tar.bz2" |
385 |
-fi |
386 |
- |
387 |
-DEPEND="${DEPEND} |
388 |
- userland_GNU? ( sys-apps/mtree ) |
389 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
390 |
- |
391 |
-S="${WORKDIR}/lib" |
392 |
- |
393 |
-export CTARGET=${CTARGET:-${CHOST}} |
394 |
-if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then |
395 |
- export CTARGET=${CATEGORY/cross-} |
396 |
-fi |
397 |
- |
398 |
-IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware |
399 |
- build crosscompile_opts_headers-only zfs |
400 |
- userland_GNU userland_BSD" |
401 |
- |
402 |
-pkg_setup() { |
403 |
- [ -c /dev/zero ] || \ |
404 |
- die "You forgot to mount /dev; the compiled libc would break." |
405 |
- |
406 |
- if ! use ssl && use kerberos; then |
407 |
- eerror "If you want kerberos support you need to enable ssl support, too." |
408 |
- fi |
409 |
- |
410 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
411 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
412 |
- use hesiod || mymakeopts="${mymakeopts} WITHOUT_HESIOD= " |
413 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6_SUPPORT= " |
414 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= WITHOUT_GSSAPI= " |
415 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
416 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
417 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
418 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
419 |
- |
420 |
- mymakeopts="${mymakeopts} WITHOUT_BIND= WITHOUT_BIND_LIBS= WITHOUT_SENDMAIL= WITHOUT_CLANG= WITHOUT_LIBCPLUSPLUS= " |
421 |
- |
422 |
- if [ "${CTARGET}" != "${CHOST}" ]; then |
423 |
- mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})" |
424 |
- mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})" |
425 |
- fi |
426 |
-} |
427 |
- |
428 |
-PATCHES=( |
429 |
- "${FILESDIR}/${PN}-6.0-pmc.patch" |
430 |
- "${FILESDIR}/${PN}-6.1-csu.patch" |
431 |
- "${FILESDIR}/${PN}-9.2-liblink.patch" |
432 |
- "${FILESDIR}/${PN}-bsdxml2expat.patch" |
433 |
- "${FILESDIR}/${PN}-9.0-netware.patch" |
434 |
- "${FILESDIR}/${PN}-9.0-bluetooth.patch" |
435 |
- "${FILESDIR}/${PN}-9.1-.eh_frame_hdr-fix.patch" |
436 |
- ) |
437 |
- |
438 |
-# Here we disable and remove source which we don't need or want |
439 |
-# In order: |
440 |
-# - ncurses stuff |
441 |
-# - libexpat creates a bsdxml library which is the same as expat |
442 |
-# - archiving libraries (have their own ebuild) |
443 |
-# - sendmail libraries (they are installed by sendmail) |
444 |
-# - SNMP library and dependency (have their own ebuilds) |
445 |
-# - libstand: static library, 32bits on amd64 used for boot0, we build it from |
446 |
-# boot0 instead. |
447 |
-# |
448 |
-# The rest are libraries we already have somewhere else because |
449 |
-# they are contribution. |
450 |
-REMOVE_SUBDIRS="ncurses \ |
451 |
- libexpat \ |
452 |
- libz libbz2 libarchive liblzma \ |
453 |
- libsm libsmdb libsmutil \ |
454 |
- libbegemot libbsnmp \ |
455 |
- libpam libpcap bind libwrap libmagic \ |
456 |
- libcom_err |
457 |
- libedit |
458 |
- libstand |
459 |
- libgssapi" |
460 |
- |
461 |
-# Are we building a cross-compiler? |
462 |
-is_crosscompile() { |
463 |
- [ "${CATEGORY#*cross-}" != "${CATEGORY}" ] |
464 |
-} |
465 |
- |
466 |
-src_prepare() { |
467 |
- sed -i.bak -e 's:-o/dev/stdout:-t:' "${S}/libc/net/Makefile.inc" |
468 |
- |
469 |
- # Upstream Display Managers default to using VT7 |
470 |
- # We should make FreeBSD allow this by default |
471 |
- local x= |
472 |
- for x in "${WORKDIR}"/etc/etc.*/ttys ; do |
473 |
- sed -i.bak \ |
474 |
- -e '/ttyv5[[:space:]]/ a\ |
475 |
-# Display Managers default to VT7.\ |
476 |
-# If you use the xdm init script, keep ttyv6 commented out\ |
477 |
-# unless you force a different VT for the DM being used.' \ |
478 |
- -e '/^ttyv[678][[:space:]]/ s/^/# /' "${x}" \ |
479 |
- || die "Failed to sed ${x}" |
480 |
- rm "${x}".bak |
481 |
- done |
482 |
- |
483 |
- # This one is here because it also |
484 |
- # patches "${WORKDIR}/include" |
485 |
- cd "${WORKDIR}" |
486 |
- epatch "${FILESDIR}/${PN}-includes.patch" |
487 |
- epatch "${FILESDIR}/${PN}-8.0-gcc45.patch" |
488 |
- epatch "${FILESDIR}/${PN}-9.0-opieincludes.patch" |
489 |
- epatch "${FILESDIR}/${PN}-9.1-rmgssapi.patch" |
490 |
- |
491 |
- # Don't install the hesiod man page or header |
492 |
- rm "${WORKDIR}"/include/hesiod.h || die |
493 |
- sed -i.bak -e 's:hesiod.h::' "${WORKDIR}"/include/Makefile || die |
494 |
- sed -i.bak -e 's:hesiod.c::' -e 's:hesiod.3::' \ |
495 |
- "${WORKDIR}"/lib/libc/net/Makefile.inc || die |
496 |
- |
497 |
- # Fix the Makefiles of these few libraries that will overwrite our LDADD. |
498 |
- cd "${S}" |
499 |
- for dir in libradius libtacplus libcam libdevstat libfetch libgeom libmemstat libopie \ |
500 |
- libsmb libprocstat libulog; do sed -i.bak -e 's:LDADD=:LDADD+=:g' "${dir}/Makefile" || \ |
501 |
- die "Problem fixing \"${dir}/Makefile" |
502 |
- done |
503 |
- # Call LD with LDFLAGS, rename them to RAW_LDFLAGS |
504 |
- sed -e 's/LDFLAGS/RAW_LDFLAGS/g' \ |
505 |
- -i "${S}/csu/i386-elf/Makefile" \ |
506 |
- -i "${S}/csu/ia64/Makefile" || die |
507 |
- if use build; then |
508 |
- cd "${WORKDIR}" |
509 |
- # This patch has to be applied on ${WORKDIR}/sys, so we do it here since it |
510 |
- # shouldn't be a symlink to /usr/src/sys (which should be already patched) |
511 |
- epatch "${FILESDIR}"/${PN}-7.1-types.h-fix.patch |
512 |
- epatch "${FILESDIR}"/freebsd-sources-9.0-sysctluint.patch |
513 |
- return 0 |
514 |
- fi |
515 |
- |
516 |
- if ! is_crosscompile ; then |
517 |
- if [[ ${PV} != *9999* ]]; then |
518 |
- ln -s "/usr/src/sys" "${WORKDIR}/sys" || die "Couldn't make sys symlink!" |
519 |
- fi |
520 |
- else |
521 |
- sed -i.bak -e "s:/usr/include:/usr/${CTARGET}/usr/include:g" \ |
522 |
- "${S}/libc/rpc/Makefile.inc" \ |
523 |
- "${S}/libc/yp/Makefile.inc" |
524 |
- fi |
525 |
- |
526 |
- if install --version 2> /dev/null | grep -q GNU; then |
527 |
- sed -i.bak -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile" |
528 |
- fi |
529 |
- |
530 |
- # Try to fix sed calls for GNU sed. Do it only with GNU userland and force |
531 |
- # BSD's sed on BSD. |
532 |
- cd "${S}" |
533 |
- if use userland_GNU; then |
534 |
- find . -name Makefile -exec sed -ibak 's/sed -i /sed -i/' {} \; |
535 |
- fi |
536 |
-} |
537 |
- |
538 |
-bootstrap_lib() { |
539 |
- for i ; do |
540 |
- cd "${WORKDIR}/${i}" || die "missing ${i}" |
541 |
- freebsd_src_compile |
542 |
- append-ldflags "-L${MAKEOBJDIRPREFIX}/${WORKDIR}/${i}" |
543 |
- done |
544 |
-} |
545 |
- |
546 |
-get_csudir() { |
547 |
- if [ -d "${WORKDIR}/lib/csu/$1-elf" ]; then |
548 |
- echo "lib/csu/$1-elf" |
549 |
- else |
550 |
- echo "lib/csu/$1" |
551 |
- fi |
552 |
-} |
553 |
- |
554 |
-bootstrap_csu() { |
555 |
- local csudir="$(get_csudir $(tc-arch-kernel ${CTARGET}))" |
556 |
- export RAW_LDFLAGS=$(raw-ldflags) |
557 |
- bootstrap_lib "${csudir}" |
558 |
- |
559 |
- CFLAGS="${CFLAGS} -B ${MAKEOBJDIRPREFIX}/${WORKDIR}/${csudir}" |
560 |
- append-ldflags "-B ${MAKEOBJDIRPREFIX}/${WORKDIR}/${csudir}" |
561 |
- |
562 |
- bootstrap_lib "gnu/lib/csu" |
563 |
- |
564 |
- cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu" |
565 |
- for i in *.So ; do |
566 |
- ln -s $i ${i%.So}S.o |
567 |
- done |
568 |
- CFLAGS="${CFLAGS} -B ${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu" |
569 |
- append-ldflags "-B ${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu" |
570 |
-} |
571 |
- |
572 |
-# Compile libssp_nonshared.a and add it's path to LDFLAGS. |
573 |
-bootstrap_libssp_nonshared() { |
574 |
- bootstrap_lib "gnu/lib/libssp/libssp_nonshared" |
575 |
- export LDADD="-lssp_nonshared" |
576 |
-} |
577 |
- |
578 |
-bootstrap_libgcc() { |
579 |
- bootstrap_lib "lib/libcompiler_rt" |
580 |
- cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/lib/libcompiler_rt" || die |
581 |
- ln -s libcompiler_rt.a libgcc.a || die |
582 |
- |
583 |
- bootstrap_lib "lib/libc" "gnu/lib/libgcc" |
584 |
-} |
585 |
- |
586 |
-bootstrap_libthr() { |
587 |
- bootstrap_lib "lib/libthr" |
588 |
- cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/lib/libthr" || die |
589 |
- ln -s libthr.so libpthread.so |
590 |
-} |
591 |
- |
592 |
-# What to build for a cross-compiler. |
593 |
-# We also need the csu but this has to be handled separately. |
594 |
-CROSS_SUBDIRS="lib/libc lib/msun gnu/lib/libssp/libssp_nonshared lib/libthr lib/libutil lib/librt" |
595 |
- |
596 |
-# What to build for non-default ABIs. |
597 |
-NON_NATIVE_SUBDIRS="${CROSS_SUBDIRS} gnu/lib/csu lib/libcompiler_rt gnu/lib/libgcc lib/libmd lib/libcrypt lib/libsbuf lib/libcam lib/libelf" |
598 |
- |
599 |
-# Subdirs for a native build: |
600 |
-NATIVE_SUBDIRS="lib gnu/lib/libssp/libssp_nonshared gnu/lib/libregex gnu/lib/csu gnu/lib/libgcc" |
601 |
- |
602 |
-# Is my $ABI native ? |
603 |
-is_native_abi() { |
604 |
- is_crosscompile && return 1 |
605 |
- multilib_is_native_abi |
606 |
-} |
607 |
- |
608 |
-# Do we need to bootstrap the csu and libssp_nonshared? |
609 |
-need_bootstrap() { |
610 |
- 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}" |
611 |
-} |
612 |
- |
613 |
-# Get the subdirs we are building. |
614 |
-get_subdirs() { |
615 |
- local ret="" |
616 |
- if is_native_abi ; then |
617 |
- # If we are building for the native ABI, build everything |
618 |
- ret="${NATIVE_SUBDIRS}" |
619 |
- elif is_crosscompile ; then |
620 |
- # With a cross-compiler we only build the very core parts. |
621 |
- ret="${CROSS_SUBDIRS}" |
622 |
- if [ "${EBUILD_PHASE}" = "install" ]; then |
623 |
- # Add the csu dir first when installing. We treat it separately for |
624 |
- # compiling. |
625 |
- ret="$(get_csudir $(tc-arch-kernel ${CTARGET})) ${ret}" |
626 |
- fi |
627 |
- else |
628 |
- # For the non-native ABIs we only build the csu parts and very core |
629 |
- # libraries for now. |
630 |
- ret="${NON_NATIVE_SUBDIRS} $(get_csudir $(tc-arch-kernel ${CHOST}))" |
631 |
- fi |
632 |
- echo "${ret}" |
633 |
-} |
634 |
- |
635 |
-# Bootstrap the core libraries and setup the flags so that the other parts can |
636 |
-# build against it. |
637 |
-do_bootstrap() { |
638 |
- einfo "Bootstrapping on ${CHOST} for ${CTARGET}" |
639 |
- if ! is_crosscompile ; then |
640 |
- # Pre-install headers, but not when building a cross-compiler since we |
641 |
- # assume they have been installed in the previous pass. |
642 |
- einfo "Pre-installing includes in include_proper_${ABI}" |
643 |
- mkdir "${WORKDIR}/include_proper_${ABI}" || die |
644 |
- CTARGET="${CHOST}" install_includes "/include_proper_${ABI}" |
645 |
- CFLAGS="${CFLAGS} -isystem ${WORKDIR}/include_proper_${ABI}" |
646 |
- fi |
647 |
- bootstrap_csu |
648 |
- bootstrap_libssp_nonshared |
649 |
- is_crosscompile && bootstrap_lib "lib/libc" |
650 |
- is_crosscompile || is_native_abi || bootstrap_libgcc |
651 |
- is_native_abi || bootstrap_libthr |
652 |
-} |
653 |
- |
654 |
-# Compile it. Assume we have the toolchain setup correctly. |
655 |
-do_compile() { |
656 |
- # Bootstrap if needed, otherwise assume the system headers are in |
657 |
- # /usr/include. |
658 |
- if need_bootstrap ; then |
659 |
- do_bootstrap |
660 |
- else |
661 |
- CFLAGS="${CFLAGS} -isystem /usr/include" |
662 |
- fi |
663 |
- |
664 |
- export RAW_LDFLAGS=$(raw-ldflags) |
665 |
- |
666 |
- # Everything is now setup, build it! |
667 |
- for i in $(get_subdirs) ; do |
668 |
- einfo "Building in ${i}... with CC=${CC} and CFLAGS=${CFLAGS}" |
669 |
- cd "${WORKDIR}/${i}/" || die "missing ${i}." |
670 |
- freebsd_src_compile || die "make ${i} failed" |
671 |
- done |
672 |
-} |
673 |
- |
674 |
-src_compile() { |
675 |
- # Does not work with GNU sed |
676 |
- # Force BSD's sed on BSD. |
677 |
- if use userland_BSD ; then |
678 |
- export ESED=/usr/bin/sed |
679 |
- unalias sed |
680 |
- fi |
681 |
- |
682 |
- use usb && export NON_NATIVE_SUBDIRS="${NON_NATIVE_SUBDIRS} lib/libusb lib/libusbhid" |
683 |
- |
684 |
- cd "${WORKDIR}/include" |
685 |
- $(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed" |
686 |
- |
687 |
- use crosscompile_opts_headers-only && return 0 |
688 |
- |
689 |
- # Bug #270098 |
690 |
- append-flags $(test-flags -fno-strict-aliasing) |
691 |
- |
692 |
- # Bug #324445 |
693 |
- append-flags $(test-flags -fno-strict-overflow) |
694 |
- |
695 |
- # strip flags and do not do it later, we only add safe, and in fact |
696 |
- # needed flags after all |
697 |
- strip-flags |
698 |
- export NOFLAGSTRIP=yes |
699 |
- if is_crosscompile ; then |
700 |
- export YACC='yacc -by' |
701 |
- CHOST=${CTARGET} tc-export CC LD CXX RANLIB |
702 |
- mymakeopts="${mymakeopts} NLS=" |
703 |
- CFLAGS="${CFLAGS} -isystem /usr/${CTARGET}/usr/include" |
704 |
- append-ldflags "-L${WORKDIR}/${CHOST}/${WORKDIR}/lib/libc" |
705 |
- fi |
706 |
- |
707 |
- if is_crosscompile ; then |
708 |
- do_compile |
709 |
- else |
710 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
711 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper do_compile |
712 |
- fi |
713 |
-} |
714 |
- |
715 |
-gen_libc_ldscript() { |
716 |
- # Parameters: |
717 |
- # $1 = target libdir |
718 |
- # $2 = source libc dir |
719 |
- # $3 = source libssp_nonshared dir |
720 |
- |
721 |
- # Clear the symlink. |
722 |
- rm -f "${D}/$2/libc.so" || die |
723 |
- |
724 |
- # Move the library if needed |
725 |
- if [ "$1" != "$2" ] ; then |
726 |
- mv "${D}/$2/libc.so.7" "${D}/$1/" || die |
727 |
- fi |
728 |
- |
729 |
- # Generate libc.so ldscript for inclusion of libssp_nonshared.a when linking |
730 |
- # this is done to avoid having to touch gcc spec file as it is currently |
731 |
- # done on FreeBSD upstream, mostly because their binutils aren't able to |
732 |
- # cope with linker scripts yet. |
733 |
- # Taken from toolchain-funcs.eclass: |
734 |
- local output_format |
735 |
- output_format=$($(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p') |
736 |
- [[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )" |
737 |
- |
738 |
- cat > "${D}/$2/libc.so" <<-END_LDSCRIPT |
739 |
-/* GNU ld script |
740 |
- SSP (-fstack-protector) requires __stack_chk_fail_local to be local. |
741 |
- GCC invokes this symbol in a non-PIC way, which results in TEXTRELs if |
742 |
- this symbol was provided by a shared libc. So we link in |
743 |
- libssp_nonshared.a from here. |
744 |
- */ |
745 |
-${output_format} |
746 |
-GROUP ( /$1/libc.so.7 /$3/libssp_nonshared.a ) |
747 |
-END_LDSCRIPT |
748 |
-} |
749 |
- |
750 |
-header_list="" |
751 |
- |
752 |
-move_header() { |
753 |
- local dirname=$(dirname ${1}) |
754 |
- local filename=$(basename ${1}) |
755 |
- |
756 |
- if [ ! -d "${dirname}/${ABI}" ] ; then |
757 |
- mkdir "${dirname}/${ABI}" || die |
758 |
- fi |
759 |
- |
760 |
- mv "${1}" "${dirname}/${ABI}/" || die |
761 |
- |
762 |
- export header_list="${header_list} ${1}" |
763 |
-} |
764 |
- |
765 |
-make_header_template() { |
766 |
- cat <<-END_HEADER |
767 |
-/* |
768 |
- * Wrapped header for multilib support. |
769 |
- * See the real headers included below. |
770 |
- */ |
771 |
- |
772 |
-#if defined(__x86_64__) |
773 |
- @ABI_amd64_fbsd@ |
774 |
-#elif defined(__i386__) |
775 |
- @ABI_x86_fbsd@ |
776 |
-#else |
777 |
- @ABI_${DEFAULT_ABI}@ |
778 |
-#endif |
779 |
-END_HEADER |
780 |
-} |
781 |
- |
782 |
-wrap_header() { |
783 |
- local dirname=$(dirname ${1}) |
784 |
- local filename=$(basename ${1}) |
785 |
- |
786 |
- if [ -n "${dirname#.}" ] ; then |
787 |
- dirname="${dirname}/${2}" |
788 |
- else |
789 |
- dirname="${2}" |
790 |
- fi |
791 |
- |
792 |
- if [ -f "${dirname}/${filename}" ] ; then |
793 |
- sed -e "s:@ABI_${2}@:#include <${dirname}/${filename}>:" ${1} |
794 |
- else |
795 |
- cat ${1} |
796 |
- fi |
797 |
-} |
798 |
- |
799 |
-wrap_header_end() { |
800 |
- sed -e "s:@ABI_.*@:#error \"Sorry, no support for your ABI.\":" ${1} |
801 |
-} |
802 |
- |
803 |
-do_install() { |
804 |
- if is_crosscompile ; then |
805 |
- INCLUDEDIR="/usr/${CTARGET}/usr/include" |
806 |
- else |
807 |
- INCLUDEDIR="/usr/include" |
808 |
- fi |
809 |
- |
810 |
- dodir ${INCLUDEDIR} |
811 |
- CTARGET="${CHOST}" \ |
812 |
- install_includes ${INCLUDEDIR} |
813 |
- |
814 |
- is_crosscompile && use crosscompile_opts_headers-only && return 0 |
815 |
- |
816 |
- for i in $(get_subdirs) ; do |
817 |
- einfo "Installing in ${i}..." |
818 |
- cd "${WORKDIR}/${i}/" || die "missing ${i}." |
819 |
- freebsd_src_install || die "Install ${i} failed" |
820 |
- done |
821 |
- |
822 |
- if ! is_crosscompile ; then |
823 |
- if ! multilib_is_native_abi ; then |
824 |
- gen_libc_ldscript "usr/$(get_libdir)" "usr/$(get_libdir)" "usr/$(get_libdir)" |
825 |
- else |
826 |
- dodir "$(get_libdir)" |
827 |
- gen_libc_ldscript "$(get_libdir)" "usr/$(get_libdir)" "usr/$(get_libdir)" |
828 |
- fi |
829 |
- else |
830 |
- CHOST=${CTARGET} gen_libc_ldscript "usr/${CTARGET}/usr/lib" "usr/${CTARGET}/usr/lib" "usr/${CTARGET}/usr/lib" |
831 |
- # We're done for the cross libc here. |
832 |
- return 0 |
833 |
- fi |
834 |
- |
835 |
- # Install a libusb.pc for better compat with Linux's libusb |
836 |
- if use usb ; then |
837 |
- dodir /usr/$(get_libdir)/pkgconfig |
838 |
- sed -e "s:@LIBDIR@:/usr/$(get_libdir):" "${FILESDIR}/libusb.pc.in" > "${D}/usr/$(get_libdir)/pkgconfig/libusb.pc" || die |
839 |
- sed -e "s:@LIBDIR@:/usr/$(get_libdir):" "${FILESDIR}/libusb-1.0.pc.in" > "${D}/usr/$(get_libdir)/pkgconfig/libusb-1.0.pc" || die |
840 |
- fi |
841 |
- |
842 |
- # Generate ldscripts for core libraries that will go in / |
843 |
- multilib_is_native_abi && \ |
844 |
- gen_usr_ldscript -a alias cam geom ipsec jail kiconv \ |
845 |
- kvm m md procstat sbuf thr ufs util elf |
846 |
- |
847 |
- if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]] ; then |
848 |
- cd "${D}/usr/include" |
849 |
- for i in machine/*.h fenv.h ; do |
850 |
- move_header ${i} |
851 |
- done |
852 |
- if multilib_is_native_abi ; then |
853 |
- # Supposedly the last one! |
854 |
- local uniq_headers="$(echo ${header_list} | tr ' ' '\n' | sort | uniq | tr '\n' ' ')" |
855 |
- for j in ${uniq_headers} ; do |
856 |
- make_header_template > ${j} |
857 |
- for i in $(get_all_abis) ; do |
858 |
- wrap_header ${j} ${i} > ${j}.new |
859 |
- cp ${j}.new ${j} |
860 |
- rm -f ${j}.new |
861 |
- done |
862 |
- wrap_header_end ${j} > ${j}.new |
863 |
- cp ${j}.new ${j} |
864 |
- rm -f ${j}.new |
865 |
- done |
866 |
- fi |
867 |
- fi |
868 |
-} |
869 |
- |
870 |
-src_install() { |
871 |
- if is_crosscompile ; then |
872 |
- einfo "Installing for ${CTARGET} in ${CHOST}.." |
873 |
- # From this point we need to force: get stripped with the correct tools, |
874 |
- # get tc-arch-kernel to return the right value, etc. |
875 |
- export CHOST=${CTARGET} |
876 |
- |
877 |
- mymakeopts="${mymakeopts} NO_MAN= \ |
878 |
- INCLUDEDIR=/usr/${CTARGET}/usr/include \ |
879 |
- SHLIBDIR=/usr/${CTARGET}/usr/lib \ |
880 |
- LIBDIR=/usr/${CTARGET}/usr/lib" |
881 |
- |
882 |
- dosym "usr/include" "/usr/${CTARGET}/sys-include" |
883 |
- do_install |
884 |
- |
885 |
- return 0 |
886 |
- else |
887 |
- export STRIP_MASK="*/usr/lib*/*crt*.o" |
888 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
889 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper do_install |
890 |
- fi |
891 |
- |
892 |
- cd "${WORKDIR}/etc/" |
893 |
- insinto /etc |
894 |
- doins nls.alias mac.conf netconfig |
895 |
- |
896 |
- # Install ttys file |
897 |
- local MACHINE="$(tc-arch-kernel)" |
898 |
- doins "etc.${MACHINE}"/* |
899 |
-} |
900 |
- |
901 |
-install_includes() |
902 |
-{ |
903 |
- local INCLUDEDIR="$1" |
904 |
- |
905 |
- # The idea is to be called from either install or unpack. |
906 |
- # During unpack it's required to install them as portage's user. |
907 |
- if [[ "${EBUILD_PHASE}" == "install" ]]; then |
908 |
- local DESTDIR="${D}" |
909 |
- BINOWN="root" |
910 |
- BINGRP="wheel" |
911 |
- else |
912 |
- local DESTDIR="${WORKDIR}" |
913 |
- [[ -z "${USER}" ]] && USER="portage" |
914 |
- BINOWN="${USER}" |
915 |
- [[ -z "${GROUPS}" ]] && GROUPS="portage" |
916 |
- BINGRP="${GROUPS}" |
917 |
- fi |
918 |
- |
919 |
- # Must exist before we use it. |
920 |
- [[ -d "${DESTDIR}${INCLUDEDIR}" ]] || die "dodir or mkdir ${INCLUDEDIR} before using install_includes." |
921 |
- cd "${WORKDIR}/include" |
922 |
- |
923 |
- local MACHINE="$(tc-arch-kernel)" |
924 |
- |
925 |
- einfo "Installing includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." |
926 |
- $(freebsd_get_bmake) installincludes \ |
927 |
- MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE} \ |
928 |
- DESTDIR="${DESTDIR}" \ |
929 |
- INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ |
930 |
- BINGRP="${BINGRP}" || die "install_includes() failed" |
931 |
- einfo "includes installed ok." |
932 |
- EXTRA_INCLUDES="lib/librtld_db lib/libutil lib/msun gnu/lib/libregex" |
933 |
- for i in $EXTRA_INCLUDES; do |
934 |
- einfo "Installing $i includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." |
935 |
- cd "${WORKDIR}/$i" || die |
936 |
- $(freebsd_get_bmake) installincludes DESTDIR="${DESTDIR}" \ |
937 |
- MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE} \ |
938 |
- INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ |
939 |
- BINGRP="${BINGRP}" || die "problem installing $i includes." |
940 |
- einfo "$i includes installed ok." |
941 |
- done |
942 |
-} |
943 |
|
944 |
diff --git a/sys-freebsd/freebsd-libexec/Manifest b/sys-freebsd/freebsd-libexec/Manifest |
945 |
index 722c1fe..6c2bbdb 100644 |
946 |
--- a/sys-freebsd/freebsd-libexec/Manifest |
947 |
+++ b/sys-freebsd/freebsd-libexec/Manifest |
948 |
@@ -8,4 +8,3 @@ AUX rusersd.xinetd 220 SHA256 271de1cad33a65a2a0e81e8983cbb1b7ab6e2e75bbf4c6e991 |
949 |
AUX sprayd.xinetd 216 SHA256 5b2c0e14c40c3d14f16f6fbe7b1f00d133bbae8ea27e548273a16d104afea24e SHA512 a49824ab0421560699901f54d9faf3f38fb6f8d8f63f05e33eb11da053278838e80eaabf5963b1c2a7292ba2d2118e1efd90954b2f3b2dc01b945fbadc6ce101 WHIRLPOOL 3869a0e4a9f03aa3654729e611a020421ec0beef2686ca8857b5ac3d50f8db26d7c1a5eb16e90aaf5b2b33e992915f7e9e504ce6bca9fd5862c2051a7172495f |
950 |
AUX walld.xinetd 215 SHA256 b7d8cb4b69809a2ea2f479f942c3d7752c5cb1e4b3b4b7b7b590f15616a774f0 SHA512 ab78d32e48d660649d3415a4432a5f3e98f8a6a8854791d1d828b0dc678f58e9f24532c264c5f5b039ccd706e0bb70c369ba9fb55fc9af9d3ed9b28e10b9e830 WHIRLPOOL 013b60056a8f5fe46eb4e00182fe0f391a2dc915312fe7e47eb372697526ed05a53e156159fd5dd3dcbf3db44a6591461c789af31ca0e1dd967537b785462802 |
951 |
EBUILD freebsd-libexec-10.0.9999_p259404.ebuild 2526 SHA256 a4fdad7ba10af1454a3eede71a93ce671a711631d4ba2a282c9573944ea94e68 SHA512 4e6c2479e875c2b1ff54c167a0b3f666c899f5e6fd117fd7e06d61e4b0f0811dba0160639bae8e86f2d3215a623e50ead63d7c66d896b23f318e9d4747aaaf8f WHIRLPOOL 8a9af3114036b1a85893cb1699cdee0bb07ab136efb79bf1fd4a9c61caa44b17385bdf8fc2aebc3c8a02209384388215f0261a9828f945b99e86326a73fb0093 |
952 |
-EBUILD freebsd-libexec-9.9999.ebuild 2402 SHA256 3c933e226df954a41b9276c158965b17dfba3f9cb1bff441194985bd6753adbc SHA512 74657e5d26e36c925dc78c0cfc93d51780a2727118eece924c29bf650aeeadd81d2ce812900fadf3947e9f551a0c08f8957b333648e4e58baf14f4d0a025eb65 WHIRLPOOL 658999924de529d573731d26df50944f7f593efc697091bb563fa50b58a2b162a701ec8fc269171fc24dee724b770f9752cbc536290bdb1f5bf74356bc401e87 |
953 |
|
954 |
diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-9.9999.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-9.9999.ebuild |
955 |
deleted file mode 100644 |
956 |
index 3f65b53..0000000 |
957 |
--- a/sys-freebsd/freebsd-libexec/freebsd-libexec-9.9999.ebuild |
958 |
+++ /dev/null |
959 |
@@ -1,85 +0,0 @@ |
960 |
-# Copyright 1999-2013 Gentoo Foundation |
961 |
-# Distributed under the terms of the GNU General Public License v2 |
962 |
-# $Header: $ |
963 |
- |
964 |
-EAPI=5 |
965 |
- |
966 |
-inherit bsdmk freebsd pam multilib multibuild multilib-build |
967 |
- |
968 |
-DESCRIPTION="FreeBSD libexec things" |
969 |
-SLOT="0" |
970 |
- |
971 |
-if [[ ${PV} != *9999* ]]; then |
972 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
973 |
- SRC_URI="mirror://gentoo/${LIBEXEC}.tar.bz2 |
974 |
- mirror://gentoo/${UBIN}.tar.bz2 |
975 |
- mirror://gentoo/${BIN}.tar.bz2 |
976 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
977 |
- mirror://gentoo/${LIB}.tar.bz2 |
978 |
- mirror://gentoo/${ETC}.tar.bz2 |
979 |
- mirror://gentoo/${USBIN}.tar.bz2" |
980 |
-fi |
981 |
- |
982 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}* |
983 |
- >=sys-freebsd/freebsd-lib-9.1-r11[${MULTILIB_USEDEP}] |
984 |
- pam? ( virtual/pam )" |
985 |
-DEPEND="${RDEPEND} |
986 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
987 |
- =sys-freebsd/freebsd-sources-${RV}*" |
988 |
-RDEPEND="${RDEPEND} |
989 |
- xinetd? ( sys-apps/xinetd )" |
990 |
- |
991 |
-S="${WORKDIR}/libexec" |
992 |
- |
993 |
-# Remove sendmail, tcp_wrapper and other useless stuff |
994 |
-REMOVE_SUBDIRS="smrsh mail.local tcpd telnetd rshd rlogind lukemftpd ftpd" |
995 |
- |
996 |
-IUSE="pam ssl kerberos ipv6 nis xinetd" |
997 |
- |
998 |
-PATCHES=( "${FILESDIR}/${PN}-9.2-no_ld32.patch" ) |
999 |
- |
1000 |
-pkg_setup() { |
1001 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
1002 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " |
1003 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
1004 |
- use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " |
1005 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
1006 |
- |
1007 |
- mymakeopts="${mymakeopts} WITHOUT_SENDMAIL= WITHOUT_PF= WITHOUT_RCMDS= " |
1008 |
-} |
1009 |
- |
1010 |
-src_prepare() { |
1011 |
- ln -s /usr/include "${WORKDIR}/include" |
1012 |
-} |
1013 |
- |
1014 |
-setup_multilib_vars() { |
1015 |
- if ! multilib_is_native_abi ; then |
1016 |
- cd "${WORKDIR}/libexec/rtld-elf" || die |
1017 |
- export mymakeopts="${mymakeopts} PROG=ld-elf32.so.1" |
1018 |
- else |
1019 |
- cd "${S}" |
1020 |
- fi |
1021 |
- "$@" |
1022 |
-} |
1023 |
- |
1024 |
-src_compile() { |
1025 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
1026 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile |
1027 |
-} |
1028 |
- |
1029 |
-src_install() { |
1030 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
1031 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install |
1032 |
- |
1033 |
- insinto /etc |
1034 |
- doins "${WORKDIR}/etc/gettytab" |
1035 |
- newinitd "${FILESDIR}/bootpd.initd" bootpd |
1036 |
- newconfd "${FILESDIR}/bootpd.confd" bootpd |
1037 |
- |
1038 |
- if use xinetd; then |
1039 |
- for rpcd in rstatd rusersd walld rquotad sprayd; do |
1040 |
- insinto /etc/xinetd.d |
1041 |
- newins "${FILESDIR}/${rpcd}.xinetd" ${rpcd} |
1042 |
- done |
1043 |
- fi |
1044 |
-} |
1045 |
|
1046 |
diff --git a/sys-freebsd/freebsd-mk-defs/Manifest b/sys-freebsd/freebsd-mk-defs/Manifest |
1047 |
index 15f0196..884c8f4 100644 |
1048 |
--- a/sys-freebsd/freebsd-mk-defs/Manifest |
1049 |
+++ b/sys-freebsd/freebsd-mk-defs/Manifest |
1050 |
@@ -7,4 +7,3 @@ AUX freebsd-mk-defs-9.1-gnu.patch 2273 SHA256 6b8ebbfd2ff724099d593a00dc226ca7f2 |
1051 |
AUX freebsd-mk-defs-9.2-gentoo.patch 12160 SHA256 a1f6fbf7815130790726022ea5c4b41ac6b01925c8f9641c4c3ceee9f9d7013f SHA512 7c7cd5d8baecda1188441bcca90ee2852e7c6d2434f4da5e72f08cca13102cac22c777a03d51dacc3a9b2f4cabd722d0f53878f88aff108aaab4719b878ff81a WHIRLPOOL 2163f6fca01490244cb813cd11373434bcec6cb825284e2c7deed98b0c4baea45eb0cf71da629908322dff2f2a093d8e61b9a96f4b724ec8d8e4998b2e7512cd |
1052 |
AUX freebsd-mk-defs-9.2-gnu.patch 2242 SHA256 95305f335a360549703c73056898e778640c30a60c9f6b104709e7fc0cf75926 SHA512 a5b5c341972bee204d2a5b1f59cefda03aa48fdb7c7c713ceb9d4477e266aecfd137c2101988c48c73c527652ff0828e0a60b8c474904b146238c640c25d7416 WHIRLPOOL 7f7a45ad858a0b1c0cb099cedef05772fb90a752567ec778ec6f379f04e2cc86a8d4756c5c70d18685d42346fe43088622977eced076cf2c5bdbfb90fbb53362 |
1053 |
EBUILD freebsd-mk-defs-10.0.9999_p259404.ebuild 772 SHA256 5302bdb93608cc7c4c8edc6267879ce9944c1f7a0653d08bfa25bb590c0449d6 SHA512 327f30cd748165d7d932ab744c4183df601c57cdb46af39af76d3187dd6fc0adccce5d824e83d915133535330ca93de16398d9ad24f98b2af5f1cc40a8fe0ce1 WHIRLPOOL 4e0b4ad721f594b73d51e46e566050abcd621e700f03bf095f4449656809b45486f2e3dd8b9811b595e765e48f010a8fc5480ed90455f3e9aaebec9d1a868447 |
1054 |
-EBUILD freebsd-mk-defs-9.9999.ebuild 770 SHA256 b4fe90bb30dbb83d4d91b873851a7ee33d91268119bcbc9db097aa9b590e9f4c SHA512 1bee20b5d49ecefafc8403161b78bb53bcbd093445752a6583d42f784b012faeb49a2ec909b611904f85e3f57be7f3289dac3726cf3c8b469ce0adfe2607e9cc WHIRLPOOL 2540a7f00794a99f7b2deeab6954f21cbca69d372854c7c9998da460f90cf363f5246235391a245897d9e58c816989ce320573d444ff153f9b3f99153aa86cc3 |
1055 |
|
1056 |
diff --git a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.9999.ebuild b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.9999.ebuild |
1057 |
deleted file mode 100644 |
1058 |
index 2535487..0000000 |
1059 |
--- a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.9999.ebuild |
1060 |
+++ /dev/null |
1061 |
@@ -1,40 +0,0 @@ |
1062 |
-# Copyright 1999-2013 Gentoo Foundation |
1063 |
-# Distributed under the terms of the GNU General Public License v2 |
1064 |
-# $Header: $ |
1065 |
- |
1066 |
-EAPI=3 |
1067 |
- |
1068 |
-inherit bsdmk freebsd |
1069 |
- |
1070 |
-DESCRIPTION="Makefiles definitions used for building and installing libraries and system files" |
1071 |
-SLOT="0" |
1072 |
- |
1073 |
-IUSE="userland_GNU" |
1074 |
- |
1075 |
-if [[ ${PV} != *9999* ]]; then |
1076 |
- KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1077 |
- SRC_URI="mirror://gentoo/${SHARE}.tar.bz2" |
1078 |
-fi |
1079 |
- |
1080 |
-RDEPEND="" |
1081 |
-DEPEND="" |
1082 |
- |
1083 |
-RESTRICT="strip" |
1084 |
- |
1085 |
-S="${WORKDIR}/share/mk" |
1086 |
- |
1087 |
-src_prepare() { |
1088 |
- epatch "${FILESDIR}/${PN}-9.2-gentoo.patch" |
1089 |
- use userland_GNU && epatch "${FILESDIR}/${PN}-9.2-gnu.patch" |
1090 |
-} |
1091 |
- |
1092 |
-src_compile() { :; } |
1093 |
- |
1094 |
-src_install() { |
1095 |
- if [[ ${CHOST} != *-freebsd* ]]; then |
1096 |
- insinto /usr/share/mk/freebsd |
1097 |
- else |
1098 |
- insinto /usr/share/mk |
1099 |
- fi |
1100 |
- doins *.mk *.awk |
1101 |
-} |
1102 |
|
1103 |
diff --git a/sys-freebsd/freebsd-pam-modules/Manifest b/sys-freebsd/freebsd-pam-modules/Manifest |
1104 |
index 9ceda63..3f53a60 100644 |
1105 |
--- a/sys-freebsd/freebsd-pam-modules/Manifest |
1106 |
+++ b/sys-freebsd/freebsd-pam-modules/Manifest |
1107 |
@@ -1,4 +1,3 @@ |
1108 |
AUX README.pamd 2965 SHA256 2d3cea2b59ddee2ca6639ca7d14068e1499acee4194181c255bdfea81964d5ac SHA512 e278fd0a5056ae8c1de2f6104bfb4766adc89c7c357a4b965cb08ee555a071b326462c937fd63cd8fc7bd7e2a880f939cecdf2997a3d2c33c1b962afee12d38e WHIRLPOOL 8ee79582595a2b79f3936863bd5fdb144930380a4073a74ec81967b3a11d61a40ca0becaf36dfa760c0c6110efa2041a4acd6041615e0d006f032e1d9c819aff |
1109 |
AUX freebsd-pam-modules-9.0-gentoo.patch 622 SHA256 b397d5d646712c4a63606d94c45d25551344872d77d7b6b5f646403a2b09f7fb SHA512 752b593a8bea623110683a181deefd7126eaded7bf94973bcd994b2415db5739cd69a125ee9bd0c960fd5a3e30e3a2eaf8c711893f94966a9cc5a9b0c3191af0 WHIRLPOOL 168b0ba47e9a326ff1db9cfe46724c83a45d744df0fa737599894ef1574b0e199c46e7626b16f5cc83cd4886fd79320c5f92e4c2b37801ef3604ffd4ec1b2de7 |
1110 |
EBUILD freebsd-pam-modules-10.0.9999_p259404.ebuild 1136 SHA256 6debf1b20d0510d2f47145506ff4588ab7b0d0ce09017eb2b079843216c2f1b7 SHA512 c11ffdb95b7f1de26b2b69b0b23d4b3a6b8def12f532992cc534b512a66b4d600e41b870842c823e4e18cb3e4f60eeac369a6ed92a3dab1da5e25d7217599178 WHIRLPOOL 0229934bfe003082f1adb9ce7717bcfd3e5b7e323f9f24ffd33f332fa86faab9ece84d3dd9c7914dac0339e31981480c62e4131433f9e75ddd41dd6e12930cc5 |
1111 |
-EBUILD freebsd-pam-modules-9.9999.ebuild 1121 SHA256 342ee8740aeff932961270c4ac571da1cc80c687ad894907b828cbd16317df97 SHA512 d73437cb20e20ad658cadfc371d28305160371243e190b053fe0732964e504991e78b77c88e3a9f98332034cb4e8d0b18ad64b9f0a9a28bc7f7d20e9ee1360ad WHIRLPOOL 66a06e999cab8874398753262d0fee0d4afc01fe010d8655a1e96bf7949c889452ef73dab46c605532d16f95165158f74a93a8be840284bdd7df1076752d9432 |
1112 |
|
1113 |
diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.9999.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.9999.ebuild |
1114 |
deleted file mode 100644 |
1115 |
index 2b75d68..0000000 |
1116 |
--- a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.9999.ebuild |
1117 |
+++ /dev/null |
1118 |
@@ -1,47 +0,0 @@ |
1119 |
-# Copyright 1999-2013 Gentoo Foundation |
1120 |
-# Distributed under the terms of the GNU General Public License v2 |
1121 |
-# $Header: $ |
1122 |
- |
1123 |
-inherit bsdmk freebsd multilib pam |
1124 |
- |
1125 |
-DESCRIPTION="FreeBSD's PAM authentication modules" |
1126 |
-SLOT="0" |
1127 |
- |
1128 |
-IUSE="kerberos nis" |
1129 |
- |
1130 |
-if [[ ${PV} != *9999* ]]; then |
1131 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1132 |
- SRC_URI="mirror://gentoo/${LIB}.tar.bz2" |
1133 |
-fi |
1134 |
- |
1135 |
-RDEPEND=">=sys-auth/openpam-20050201-r1 |
1136 |
- kerberos? ( dev-libs/openssl |
1137 |
- virtual/krb5 )" |
1138 |
-DEPEND="${RDEPEND} |
1139 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
1140 |
- =sys-freebsd/freebsd-sources-${RV}*" |
1141 |
- |
1142 |
-S=${WORKDIR}/lib/libpam/modules |
1143 |
- |
1144 |
-PATCHES=( "${FILESDIR}"/${PN}-9.0-gentoo.patch ) |
1145 |
- |
1146 |
-pkg_setup() { |
1147 |
- # Avoid installing pam_ssh as that has its own ebuild. |
1148 |
- mymakeopts="${mymakeopts} NO_OPENSSH= " |
1149 |
- use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " |
1150 |
- use nis || mymakeopts="${mymakeopts} NO_NIS= " |
1151 |
-} |
1152 |
- |
1153 |
-src_unpack() { |
1154 |
- freebsd_src_unpack |
1155 |
- |
1156 |
- for module in pam_deny pam_passwdqc pam_permit pam_krb5; do |
1157 |
- sed -i -e "s:${module}::" "${S}"/modules.inc |
1158 |
- done |
1159 |
-} |
1160 |
- |
1161 |
-src_install() { |
1162 |
- mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed" |
1163 |
- |
1164 |
- dodoc "${FILESDIR}/README.pamd" |
1165 |
-} |
1166 |
|
1167 |
diff --git a/sys-freebsd/freebsd-pf/Manifest b/sys-freebsd/freebsd-pf/Manifest |
1168 |
index 1719ab9..2c3de97 100644 |
1169 |
--- a/sys-freebsd/freebsd-pf/Manifest |
1170 |
+++ b/sys-freebsd/freebsd-pf/Manifest |
1171 |
@@ -8,4 +8,3 @@ AUX freebsd-pf-9.0-pflogd.patch 332 SHA256 fc832fdfa406603a2cb185b8f0f746b13f767 |
1172 |
AUX pf.confd 274 SHA256 dba0e34d34ef583b3a06499eae5f5dd9a73cacdb238915060735e24bd6c2c8eb SHA512 bf476bf7dc796307f2bf916e73780a6c70a2defd75f4dcbce664a99fdbb5aa69ce7004483073036a0c52fadcf9e7e7c8bcc902e9eacb7ac1963714740bdfc5e5 WHIRLPOOL fa87094a2339af4fc117840741e6460331c8de1d7ff656394701d58d0f362243788b1d6e650ee2cea34e9e4ad9c19f97996de8d01927808875384af2925a8adc |
1173 |
AUX pf.initd 916 SHA256 b0cf7dadb825a1133fb52069e63eda10042aa62e3fa702bfbee53cd455837ac9 SHA512 cd55eccc9735f5a9e41297049a12c23b3fb4ef0987236b25bbfeeb01e7e0be697ff60fe8c9827dbb6a3da93211d6534e018a9693a6d1d48d60723738a21e7485 WHIRLPOOL babaa4fdcb885262ec9e89b9bd076aa4fec0c82764025d3192dda6986366b2f0169235c4c771510ea742444deb0c7bccf56f4ab23fb592351decae445b9cc158 |
1174 |
EBUILD freebsd-pf-10.0.9999_p259404.ebuild 1693 SHA256 74923b036309c62659b5a65e652022cd87207860fa5dab5f96de7447817e6a3a SHA512 a3332e90846387f100e5c1334b82dae13d2b5bd1b501e263d6bb89df6c8f7ac74ced598d9e099ea3de9772b6ad7d8a3f10eab09141def41da13526f3098de4ff WHIRLPOOL 50ba54bd98614684fc3a1d1fee25c9650974033bcd9f4b4cc55a50673eb60d825fe81d10af84a591131f439fbdba1c6789bbf8e2b979e9a620c791b401eb5cc9 |
1175 |
-EBUILD freebsd-pf-9.9999.ebuild 1685 SHA256 b739670e6fadd541f2958a5fb079b93dc3149d6404d1d7052074d11b8cf0c947 SHA512 1b13bf3d371bcd585293ab2989f53b84a63982026a5cae0a013fd23a4ca0b48abb3a15f93fb66bd5b84334026530dc7b7fef2e0d47b04ec48d0d8fc02fc51f4e WHIRLPOOL 963dd480b5250bb76645881e6b6aad404bd6d72c9a408485c3506652345d2f637ce07067dfd14016d0439df246c48107c991631b48dd6525a56eb5d4aa00f550 |
1176 |
|
1177 |
diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-9.9999.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-9.9999.ebuild |
1178 |
deleted file mode 100644 |
1179 |
index d0a8563..0000000 |
1180 |
--- a/sys-freebsd/freebsd-pf/freebsd-pf-9.9999.ebuild |
1181 |
+++ /dev/null |
1182 |
@@ -1,69 +0,0 @@ |
1183 |
-# Copyright 1999-2013 Gentoo Foundation |
1184 |
-# Distributed under the terms of the GNU General Public License v2 |
1185 |
-# $Header: $ |
1186 |
- |
1187 |
-inherit bsdmk freebsd user |
1188 |
- |
1189 |
-DESCRIPTION="FreeBSD's base system libraries" |
1190 |
-SLOT="0" |
1191 |
- |
1192 |
-IUSE="" |
1193 |
- |
1194 |
-# Crypto is needed to have an internal OpenSSL header |
1195 |
-if [[ ${PV} != *9999* ]]; then |
1196 |
- KEYWORDS="~amd64-fbsd ~x86-fbsd" |
1197 |
- SRC_URI="mirror://gentoo/${USBIN}.tar.bz2 |
1198 |
- mirror://gentoo/${SBIN}.tar.bz2 |
1199 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
1200 |
- mirror://gentoo/${ETC}.tar.bz2" |
1201 |
-fi |
1202 |
- |
1203 |
-RDEPEND="net-libs/libpcap" |
1204 |
-DEPEND="${RDEPEND} |
1205 |
- dev-libs/libevent |
1206 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
1207 |
- =sys-freebsd/freebsd-sources-${RV}*" |
1208 |
- |
1209 |
-S="${WORKDIR}" |
1210 |
- |
1211 |
-SUBDIRS="usr.sbin/authpf sbin/pfctl sbin/pflogd usr.sbin/ftp-proxy/ftp-proxy" |
1212 |
- |
1213 |
-pkg_setup() { |
1214 |
- enewgroup authpf 63 |
1215 |
- mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " |
1216 |
-} |
1217 |
- |
1218 |
-src_unpack() { |
1219 |
- freebsd_src_unpack |
1220 |
- # pcap-int.h redefines snprintf as pcap_snprintf |
1221 |
- epatch "${FILESDIR}/${PN}-9.0-pcap_pollution.patch" |
1222 |
- # Use system's libevent |
1223 |
- epatch "${FILESDIR}/${PN}-9.0-libevent.patch" |
1224 |
- epatch "${FILESDIR}/${PN}-9.0-pflogd.patch" |
1225 |
- epatch "${FILESDIR}/${PN}-9.0-bpf.patch" |
1226 |
- epatch "${FILESDIR}/${PN}-9.0-getline.patch" |
1227 |
- # Link in kernel sources |
1228 |
- [[ ${PV} != *9999* ]] && ln -s "/usr/src/sys" "${WORKDIR}/sys" |
1229 |
-} |
1230 |
- |
1231 |
-src_compile() { |
1232 |
- for dir in ${SUBDIRS}; do |
1233 |
- einfo "Starting make in ${dir}" |
1234 |
- cd "${S}/${dir}" |
1235 |
- mkmake || die "Make ${dir} failed" |
1236 |
- done |
1237 |
-} |
1238 |
- |
1239 |
-src_install() { |
1240 |
- for dir in ${SUBDIRS}; do |
1241 |
- einfo "Starting install in ${dir}" |
1242 |
- cd "${S}/${dir}" |
1243 |
- mkinstall || die "Install ${dir} failed" |
1244 |
- done |
1245 |
- |
1246 |
- cd "${WORKDIR}"/etc |
1247 |
- insinto /etc |
1248 |
- doins pf.os |
1249 |
- # pf.initd provided by openrc, but no pf.confd |
1250 |
- newconfd "${FILESDIR}/pf.confd" pf |
1251 |
-} |
1252 |
|
1253 |
diff --git a/sys-freebsd/freebsd-rescue/Manifest b/sys-freebsd/freebsd-rescue/Manifest |
1254 |
index 37de2f1..4e6bf76 100644 |
1255 |
--- a/sys-freebsd/freebsd-rescue/Manifest |
1256 |
+++ b/sys-freebsd/freebsd-rescue/Manifest |
1257 |
@@ -6,4 +6,3 @@ AUX freebsd-rescue-9.1-bsdtar.patch 404 SHA256 0e71e3e370b33318bbb167e82d6507589 |
1258 |
AUX freebsd-rescue-9.1-libcleverlink.patch 801 SHA256 53794263aabaf55cd570adbbfdb68e86a9e9b17557e8ca223d424a5c2f4f6831 SHA512 556bb68f3307dc7fb10096080db2d336ba4096ba6bebc6a1fe9449ab5298ce2c66fb53f11f0702ee75c2208b45a6e2cb366a3d774bedb65bcdb2a49f51c08fa3 WHIRLPOOL 88125b9143113b1f7049bf63a20a0c6d82fbe2c722198405830092b0a183f4bf7744420e6a82b601c8fb25911556c8f3a9088949798c7f66caf7843a5f9b2347 |
1259 |
AUX freebsd-sbin-bsdxml2expat.patch 424 SHA256 f40f55bec52d0e3e0205c363ad624a1139a74d5de36f99ca2ff9e53583bc2287 SHA512 f455db40e528c9bf19a68a639d2c0b304371d66741ee852c279246647f43620fd33911787aa9721547e086cbaa7dafa85b1ee6571094593c74de15e2ccc2f522 WHIRLPOOL 9409fa6d31a1a9b7dad59a6bdd820319c8a895b27c130af7d29e0db969be6760c4ab7df952420fb4fca9445fe0433b3aca5377f509852261d0f6b4e5a2fbd72b |
1260 |
EBUILD freebsd-rescue-10.0.9999_p259404.ebuild 2008 SHA256 bdacaf9d0814a84176b20ae9ab3fe6dac8b2c22bbe3459a2b48224d8d0154f58 SHA512 e366db11465d8aa5f726d09ec496a2c91eaa5e5b3b8bde3f6681fdb5e422134293b37580fa6dc9da41164adb48b5b65ca3c6d6f8c21460d4b0e5a41faea9bbbf WHIRLPOOL 0edb1bc110030ada4de52b7aaefe1c5f1932d6ce9b638676d360a6218f22d50cef58ec8079ab13f93b388802436ca47e76b20a9aa5117e22f1d2a9b017a1d4e6 |
1261 |
-EBUILD freebsd-rescue-9.9999.ebuild 2007 SHA256 49832427041ca0c26cdc71bdda85acac7c6f94486511bd29ce51807c28d4529c SHA512 5638b5a64e9a710cdc051a243db2ef7d03895f2c11dfb68b09eab5506a3d2112d51f99f96f2c47ea287afb8fedcaea36b22d3b373a1b6ce6f979d2dd2fe1a0d1 WHIRLPOOL 89225e2bf70cbf8f65248cad5f69f4682d707448177e777253014d748ebe11a38f37294775a6006f85b671395b59020f0b169a7f46038bf37dd0df466e6d0786 |
1262 |
|
1263 |
diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-9.9999.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-9.9999.ebuild |
1264 |
deleted file mode 100644 |
1265 |
index a01fb54..0000000 |
1266 |
--- a/sys-freebsd/freebsd-rescue/freebsd-rescue-9.9999.ebuild |
1267 |
+++ /dev/null |
1268 |
@@ -1,76 +0,0 @@ |
1269 |
-# Copyright 1999-2013 Gentoo Foundation |
1270 |
-# Distributed under the terms of the GNU General Public License v2 |
1271 |
-# $Header: $ |
1272 |
- |
1273 |
-EAPI=5 |
1274 |
- |
1275 |
-inherit bsdmk freebsd toolchain-funcs |
1276 |
- |
1277 |
-DESCRIPTION="FreeBSD's rescue binaries" |
1278 |
-SLOT="0" |
1279 |
-LICENSE="BSD zfs? ( CDDL )" |
1280 |
- |
1281 |
-IUSE="atm netware nis zfs" |
1282 |
- |
1283 |
-if [[ ${PV} != *9999* ]]; then |
1284 |
- KEYWORDS="~amd64-fbsd ~x86-fbsd" |
1285 |
- SRC_URI="mirror://gentoo/${UBIN}.tar.bz2 |
1286 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
1287 |
- mirror://gentoo/${LIB}.tar.bz2 |
1288 |
- mirror://gentoo/${BIN}.tar.bz2 |
1289 |
- mirror://gentoo/${SBIN}.tar.bz2 |
1290 |
- mirror://gentoo/${USBIN}.tar.bz2 |
1291 |
- mirror://gentoo/${GNU}.tar.bz2 |
1292 |
- mirror://gentoo/${SYS}.tar.bz2 |
1293 |
- mirror://gentoo/${LIBEXEC}.tar.bz2 |
1294 |
- mirror://gentoo/${RESCUE}.tar.bz2 |
1295 |
- zfs? ( mirror://gentoo/${CDDL}.tar.bz2 )" |
1296 |
-fi |
1297 |
- |
1298 |
-RDEPEND="" |
1299 |
-DEPEND="sys-devel/flex |
1300 |
- app-arch/xz-utils[static-libs] |
1301 |
- sys-libs/ncurses[static-libs] |
1302 |
- dev-libs/expat[static-libs] |
1303 |
- app-arch/bzip2[static-libs] |
1304 |
- dev-libs/libedit[static-libs] |
1305 |
- dev-libs/libxml2:2[static-libs] |
1306 |
- dev-libs/openssl[static-libs] |
1307 |
- sys-libs/zlib[static-libs] |
1308 |
- sys-libs/readline[static-libs] |
1309 |
- =sys-freebsd/freebsd-lib-${RV}*[atm?,netware?] |
1310 |
- =sys-freebsd/freebsd-sources-${RV}* |
1311 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
1312 |
- zfs? ( =sys-freebsd/freebsd-cddl-${RV}* )" |
1313 |
- |
1314 |
-S="${WORKDIR}/rescue" |
1315 |
- |
1316 |
-pkg_setup() { |
1317 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
1318 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= " |
1319 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
1320 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
1321 |
- mymakeopts="${mymakeopts} NO_PIC= " |
1322 |
-} |
1323 |
- |
1324 |
-src_prepare() { |
1325 |
- # As they are patches from ${WORKDIR} apply them by hand |
1326 |
- cd "${WORKDIR}" |
1327 |
- epatch "${FILESDIR}/${PN}"-7.1-zlib.patch |
1328 |
- epatch "${FILESDIR}/freebsd-sbin-bsdxml2expat.patch" |
1329 |
-} |
1330 |
- |
1331 |
-src_compile() { |
1332 |
- tc-export CC |
1333 |
- # crunchgen is now checks env MAKE. |
1334 |
- # Use to force BSD's make |
1335 |
- export MAKE=/usr/bin/make |
1336 |
- |
1337 |
- cd "${WORKDIR}/lib/libarchive" |
1338 |
- echo "#include <expat.h>" > bsdxml.h |
1339 |
- freebsd_src_compile |
1340 |
- export CC="${CC} -L${WORKDIR}/lib/libarchive" |
1341 |
- |
1342 |
- cd "${S}" |
1343 |
- freebsd_src_compile |
1344 |
-} |
1345 |
|
1346 |
diff --git a/sys-freebsd/freebsd-sbin/Manifest b/sys-freebsd/freebsd-sbin/Manifest |
1347 |
index d7d6f05..fe4b65d 100644 |
1348 |
--- a/sys-freebsd/freebsd-sbin/Manifest |
1349 |
+++ b/sys-freebsd/freebsd-sbin/Manifest |
1350 |
@@ -7,4 +7,3 @@ AUX freebsd-sbin-bsdxml2expat.patch 424 SHA256 f40f55bec52d0e3e0205c363ad624a113 |
1351 |
AUX freebsd-sbin-setXid.patch 541 SHA256 2d8158df7af52f9ce15f1513d16ed08ea6244f310aea3f271b12184a6a4c4267 SHA512 e6f1aefab22eca6941a5b62f6f9d9c82e0efc2b308ec636ecab40d9a678e87f2f6ccfefac99f5367ad8a16d18ddadf9a877a2f93697248b3f38a09edac75ec6e WHIRLPOOL a2d578ff3b54ad25875f65d6724d0762c0fc3a400aa8e14c93ab94dc789910fbc6ab70528cbd0074fd0d7a4957a2d2d51bf10f615cbfd751aa4e95edc88d4e7d |
1352 |
AUX idmapd.initd 440 SHA256 e89050097731f658825b4a7215023e1c5070f0e31cfdf79eaf299ede9c9f9e39 SHA512 d76f1ed5b6cb0624359f0e1018b1decee80fec6e201393500656a2001034b042dde4299c2768ea8bfd1aa65813c86a5f9c06b5dd2e41ab74f954b8310d55259a WHIRLPOOL eeb04173b61c7e60883bd51e07be5f69aa67d6f4e506c3b3e07604e86cb43d81b5722e23e21ec189d83f2549a8827256216f45025ea5fd427b4874f2723c7a16 |
1353 |
EBUILD freebsd-sbin-10.0.9999_p259404.ebuild 2730 SHA256 f1e15a262b94150c5ac01a4736719694e8477100e65772dcb2f0be72fe1f593d SHA512 b637e2e839e4984800a6b77e00675364b161904904e8d13957031c2c2a8629e78d3abe477a5e5824418a6f226673f8a97f92fd26621e264ac153630ae50456e7 WHIRLPOOL 9898d4ee8d2142d2211bbd25612d33439aa6ab8fcddfdad08e90145d9ab2b4c60bef93d650dc1aadba43e75477f792c4ca6a8bb1a207c73e598afd315a5a490f |
1354 |
-EBUILD freebsd-sbin-9.9999.ebuild 2723 SHA256 6ddb314a923905a467034cf7983cc79e3a5449fdb7550443006135c61e6b81cd SHA512 a352e6ca8c8a4fec0e0e13a13feb3e607a40f83d5ae26c1a6c768cb334d6300063bc6467df34d865ff543461b0e4b61b903ae3897d2037ba653c96a1f9f3a9dd WHIRLPOOL daa749aef55a2f558ebda067cd4f57dd6be5f37c6e71eaf1cce4a5b1d2564a53fa940e6e41f974251696d0efee866a63ff1b9a60ba476f8c4d19115a7e4ccbfa |
1355 |
|
1356 |
diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-9.9999.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-9.9999.ebuild |
1357 |
deleted file mode 100644 |
1358 |
index 76d4624..0000000 |
1359 |
--- a/sys-freebsd/freebsd-sbin/freebsd-sbin-9.9999.ebuild |
1360 |
+++ /dev/null |
1361 |
@@ -1,96 +0,0 @@ |
1362 |
-# Copyright 1999-2013 Gentoo Foundation |
1363 |
-# Distributed under the terms of the GNU General Public License v2 |
1364 |
-# $Header: $ |
1365 |
- |
1366 |
-EAPI=2 |
1367 |
- |
1368 |
-inherit bsdmk freebsd multilib |
1369 |
- |
1370 |
-DESCRIPTION="FreeBSD sbin utils" |
1371 |
-SLOT="0" |
1372 |
- |
1373 |
-if [[ ${PV} != *9999* ]]; then |
1374 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1375 |
- SRC_URI="mirror://gentoo/${SBIN}.tar.bz2 |
1376 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
1377 |
- mirror://gentoo/${LIB}.tar.bz2 |
1378 |
- mirror://gentoo/${LIBEXEC}.tar.bz2 |
1379 |
- mirror://gentoo/${USBIN}.tar.bz2 |
1380 |
- mirror://gentoo/${ETC}.tar.bz2 |
1381 |
- build? ( mirror://gentoo/${SYS}.tar.bz2 )" |
1382 |
-fi |
1383 |
- |
1384 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?] |
1385 |
- =sys-freebsd/freebsd-libexec-${RV}* |
1386 |
- >=dev-libs/expat-2.0.1 |
1387 |
- ssl? ( dev-libs/openssl ) |
1388 |
- >=dev-libs/libedit-20120311.3.0-r1 |
1389 |
- sys-libs/readline |
1390 |
- sys-process/vixie-cron |
1391 |
- atm? ( net-analyzer/bsnmp )" |
1392 |
-DEPEND="${RDEPEND} |
1393 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
1394 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
1395 |
- |
1396 |
-S="${WORKDIR}/sbin" |
1397 |
- |
1398 |
-IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware" |
1399 |
- |
1400 |
-pkg_setup() { |
1401 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
1402 |
- use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX=" |
1403 |
- use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= " |
1404 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT=" |
1405 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
1406 |
- use pf || mymakeopts="${mymakeopts} WITHOUT_PF= " |
1407 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL=" |
1408 |
-} |
1409 |
- |
1410 |
-REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder resolvconf" |
1411 |
- |
1412 |
-PATCHES=( "${FILESDIR}/${PN}-setXid.patch" |
1413 |
- "${FILESDIR}/${PN}-7.1-zlib.patch" |
1414 |
- "${FILESDIR}/${PN}-6.2-ldconfig.patch" |
1415 |
- "${FILESDIR}/${PN}-6.1-pr102701.patch" |
1416 |
- "${FILESDIR}/${PN}-bsdxml2expat.patch" ) |
1417 |
- |
1418 |
-src_prepare() { |
1419 |
- if [[ ${PV} != *9999* ]]; then |
1420 |
- use build || ln -s "/usr/src/sys" "${WORKDIR}/sys" |
1421 |
- fi |
1422 |
-} |
1423 |
- |
1424 |
-src_install() { |
1425 |
- mymakeopts="${mymakeopts} GEOM_CLASS_DIR=/$(get_libdir)/geom " |
1426 |
- freebsd_src_install |
1427 |
- keepdir /var/log |
1428 |
- # Needed by ldconfig: |
1429 |
- keepdir /var/run |
1430 |
- |
1431 |
- # Maybe ship our own sysctl.conf so things like radvd work out of the box. |
1432 |
- # New wireless config method requires regdomain.xml in /etc |
1433 |
- cd "${WORKDIR}/etc/" |
1434 |
- insinto /etc |
1435 |
- doins minfree sysctl.conf regdomain.xml || die |
1436 |
- |
1437 |
- # initd script for idmapd |
1438 |
- newinitd "${FILESDIR}/idmapd.initd" idmapd |
1439 |
- |
1440 |
- # Install a crontab for adjkerntz |
1441 |
- insinto /etc/cron.d |
1442 |
- newins "${FILESDIR}/adjkerntz-crontab" adjkerntz |
1443 |
- |
1444 |
- # Install the periodic stuff (needs probably to be ported in a more |
1445 |
- # gentooish way) |
1446 |
- cd "${WORKDIR}/etc/periodic" |
1447 |
- |
1448 |
- doperiodic security \ |
1449 |
- security/*.ipfwlimit \ |
1450 |
- security/*.ipfwdenied || die |
1451 |
- |
1452 |
- use ipfilter && { doperiodic security \ |
1453 |
- security/*.ipfdenied || die ; } |
1454 |
- |
1455 |
- use pf && { doperiodic security \ |
1456 |
- security/*.pfdenied || die ; } |
1457 |
-} |
1458 |
|
1459 |
diff --git a/sys-freebsd/freebsd-share/Manifest b/sys-freebsd/freebsd-share/Manifest |
1460 |
index bae8296..fdc3da0 100644 |
1461 |
--- a/sys-freebsd/freebsd-share/Manifest |
1462 |
+++ b/sys-freebsd/freebsd-share/Manifest |
1463 |
@@ -4,5 +4,4 @@ AUX freebsd-share-8.0-gnu-miscfiles.patch 858 SHA256 20b3761bd18d4ff8e7257ab006f |
1464 |
AUX freebsd-share-9.0-gentoowaydir.patch 314 SHA256 68ddc9d6d95c95fc295f3ed3f7d7562de01ff6894b002bd7455d2da72cf4e2f2 SHA512 ef325e79806d78ede26567268829949de3aab02db1b7ea5f1dd834d4deeeddee8338679f7196fee6dc1a5682ccd79c1a0bdd73c96349961a8e1c2153fcf84afd WHIRLPOOL 10448b2cd090068b698d2d9037f2a217cdc20cebcfce4a13f98111ae4e4a2073ce4cb274ec3a7011c2e89acc1b2ab1b5e8e3d141817c065fdb35d1879ae31c37 |
1465 |
AUX freebsd-share-9.2-gnu-miscfiles.patch 1022 SHA256 0484a9ea6d05eb8d26c33efac61928c399230d8bf71a374fa2ae5c22a1acf3d2 SHA512 b220c884a6e3bb9037a1817b3bb1bcf181b1493836dafbef98bf0973e9781d2e2e982d9e17eef78b24056038e985969ed08c471c9ba374557097086bfcff8f3e WHIRLPOOL ffa0400172e0834f31897738d426dd53df40e67612e51045cd899cd84cef018db6a14c8600233fe2e23699a708e73f1b6df7654089356bdaa62274f5fc11931b |
1466 |
EBUILD freebsd-share-10.0.9999_p259404.ebuild 3020 SHA256 dcc0f000f347446195e3b64c50304968ddf78779a8817c9fa2cf510745fa7b32 SHA512 86d58c08f7d596e75a0f3a6f4c95f8001a7b1b1dfed36163a4cd486e327d7a3920e74950146f6739f298e14b58929986f7fad63da7159733b580a265767088fc WHIRLPOOL 3fe0b6dbf0a50069f4deed09d605ef776c09a8e20de7a839ca1675f98220f57ba02b9337d88f78b910ceadce85f0f293cee45b271c1973603b9de5476800ca0a |
1467 |
-EBUILD freebsd-share-9.9999.ebuild 2776 SHA256 a955118c7e80be5c8b26c0aa8de30cbc5ede3cba010723a1d87b03a93907e2d6 SHA512 5f840abeaa2da4e6dbec011aa90b4a4852d8579bb6eef30f1be68f232b487619206d9f8dd3e68e30c60c37dcd595d4385a35cda39a4bf7753e51ddbb6f9b2559 WHIRLPOOL befd4a6bc7ab269a9fe73eb616bd99b322c854ceb476ca416d10451264a50d0d97c699699f2f5243b6bc888bd4856cf2d758fabef5ec7da9569a7fb1e8ab9619 |
1468 |
MISC metadata.xml 223 SHA256 5c9860c4ce81b51fef51a6c5e87081bfd13e74ba452c27191a1abc0ca5ff0aa0 SHA512 3dc7fea8c9f850d63d4f9f24af639fb41d406c2e87439eb960c401412b37e7dc7ab6822d446ec113eb079aba30967391e95cd71dceb889753ed969bc51f6064e WHIRLPOOL 577570d1260a6ef86155c1647e3d90c18aa9b83a89027dcea28b70d22df60e413cee353083d7e915d81129f447772dc7dc4ea766e478a9cf363dabce5d9042de |
1469 |
|
1470 |
diff --git a/sys-freebsd/freebsd-share/freebsd-share-9.9999.ebuild b/sys-freebsd/freebsd-share/freebsd-share-9.9999.ebuild |
1471 |
deleted file mode 100644 |
1472 |
index efa3af0..0000000 |
1473 |
--- a/sys-freebsd/freebsd-share/freebsd-share-9.9999.ebuild |
1474 |
+++ /dev/null |
1475 |
@@ -1,93 +0,0 @@ |
1476 |
-# Copyright 1999-2013 Gentoo Foundation |
1477 |
-# Distributed under the terms of the GNU General Public License v2 |
1478 |
-# $Header: $ |
1479 |
- |
1480 |
-inherit bsdmk freebsd |
1481 |
- |
1482 |
-DESCRIPTION="FreeBSD shared tools/files" |
1483 |
-SLOT="0" |
1484 |
- |
1485 |
-IUSE="doc zfs" |
1486 |
- |
1487 |
-if [[ ${PV} != *9999* ]]; then |
1488 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1489 |
- SRC_URI="mirror://gentoo/${SHARE}.tar.bz2 |
1490 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
1491 |
- mirror://gentoo/${GNU}.tar.bz2 |
1492 |
- mirror://gentoo/${UBIN}.tar.bz2 |
1493 |
- mirror://gentoo/${USBIN}.tar.bz2 |
1494 |
- mirror://gentoo/${SBIN}.tar.bz2 |
1495 |
- mirror://gentoo/${BIN}.tar.bz2 |
1496 |
- mirror://gentoo/${LIB}.tar.bz2 |
1497 |
- mirror://gentoo/${ETC}.tar.bz2 |
1498 |
- zfs? ( mirror://gentoo/${CDDL}.tar.bz2 )" |
1499 |
-fi |
1500 |
- |
1501 |
-DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* |
1502 |
- =sys-freebsd/freebsd-sources-${RV}*" |
1503 |
-RDEPEND="sys-apps/miscfiles" |
1504 |
- |
1505 |
-RESTRICT="strip" |
1506 |
- |
1507 |
-S="${WORKDIR}/share" |
1508 |
- |
1509 |
-pkg_setup() { |
1510 |
- use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= " |
1511 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
1512 |
- |
1513 |
- mymakeopts="${mymakeopts} NO_SENDMAIL= NO_MANCOMPRESS= NO_INFOCOMPRESS= " |
1514 |
-} |
1515 |
- |
1516 |
-REMOVE_SUBDIRS="mk termcap zoneinfo tabset" |
1517 |
- |
1518 |
-PATCHES=( "${FILESDIR}/${PN}-5.3-doc-locations.patch" |
1519 |
- "${FILESDIR}/${PN}-5.4-gentoo-skel.patch" |
1520 |
- "${FILESDIR}/${PN}-9.2-gnu-miscfiles.patch" ) |
1521 |
- |
1522 |
-src_unpack() { |
1523 |
- freebsd_src_unpack |
1524 |
- |
1525 |
- # Remove make.conf manpage as it describes bsdmk's make.conf. |
1526 |
- sed -i -e 's:make.conf.5::' "${S}/man/man5/Makefile" |
1527 |
- # Remove rc.conf manpage as it describes bsd's rc.conf. |
1528 |
- sed -i -e 's:\brc.conf.5::' "${S}/man/man5/Makefile" |
1529 |
- sed -i -e 's:\brc.conf.local.5::' "${S}/man/man5/Makefile" |
1530 |
- # Remove mailer.conf manpage |
1531 |
- sed -i -e 's:mailer.conf.5::' "${S}/man/man5/Makefile" |
1532 |
- # Remove pbm and moduli(ssh) manpages |
1533 |
- sed -i -e 's:pbm.5::' -e 's:moduli.5::' "${S}/man/man5/Makefile" |
1534 |
- # Remove builtins manpage |
1535 |
- sed -i -e '/builtins\.1/d' "${S}/man/man1/Makefile" |
1536 |
- # Remove rc manpages |
1537 |
- sed -i -e '/rc.8/d' "${S}/man/man8/Makefile" |
1538 |
- |
1539 |
- # Don't install the arch-specific directories in subdirectories |
1540 |
- sed -i -e '/MANSUBDIR/d' "${S}"/man/man4/man4.{i386,sparc64}/Makefile |
1541 |
- |
1542 |
- # Remove them so that they can't be included by error |
1543 |
- rm -rf "${S}"/mk/*.mk |
1544 |
- |
1545 |
- # Make proper symlinks by defining the full target. |
1546 |
- local sdir |
1547 |
- for sdir in colldef mklocale monetdef msgdef numericdef timedef |
1548 |
- do |
1549 |
- sed -e 's:\${enc2}$:\${enc2}/\${FILESNAME}:g' -i \ |
1550 |
- "${S}/${sdir}/Makefile" || \ |
1551 |
- die "Error fixing ${sdir}/Makefile" |
1552 |
- done |
1553 |
- if [[ ${PV} != *9999* ]]; then |
1554 |
- ln -s "/usr/src/sys" "${WORKDIR}/sys" || die "failed to set sys symlink" |
1555 |
- fi |
1556 |
-} |
1557 |
- |
1558 |
-src_compile() { |
1559 |
- export ESED="/usr/bin/sed" |
1560 |
- |
1561 |
- # This is a groff problem and not a -shared problem. |
1562 |
- export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.19.1/tmac/" |
1563 |
- freebsd_src_compile || die "emake failed" |
1564 |
-} |
1565 |
- |
1566 |
-src_install() { |
1567 |
- mkmake -j1 DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install || die "Install failed" |
1568 |
-} |
1569 |
|
1570 |
diff --git a/sys-freebsd/freebsd-sources/Manifest b/sys-freebsd/freebsd-sources/Manifest |
1571 |
index a2c179e..d3c0ca4 100644 |
1572 |
--- a/sys-freebsd/freebsd-sources/Manifest |
1573 |
+++ b/sys-freebsd/freebsd-sources/Manifest |
1574 |
@@ -17,4 +17,3 @@ AUX freebsd-sources-9.2-gentoo.patch 716 SHA256 9a196adef145f57bf960b936f69065f6 |
1575 |
AUX freebsd-sources-cve-2012-0217.patch 856 SHA256 9b752e65a29b2b9a4a1412765d69d00310c05508af1cfa6d8d3c16d545bb3ffe SHA512 b1ac18cae23b81fd5ab2fcb44bb9f9808d6eb80f52b8572b81296fdd0b18edee62460520bc753848283d67e13367bf99775a2a5c6cf0272def9cdff6ec6fa4d9 WHIRLPOOL 27e4d0647c5275b77123bef6b866ac841af4b1b547fc663f776da82a7889995eba21b930adeabf2a71b3fbe053d2af5583cbdb6e8fd16a0379d10214d24b9121 |
1576 |
AUX freebsd-sources-cve-2012-4576.patch 561 SHA256 c3ad42e10164eaa3d928fd11a68b5ab490981b5d4684315e7e78c582e680d6c2 SHA512 451fb9be983672fa8d85d34bf13b67e70ac4bbda44da0c16ee484349bcf4e9ad795f66c36b5216bbcf022f709727dc19760e9f23b001a5768d9fa15dbad8122a WHIRLPOOL 2f261add2b2d9014782198b564a807f1a61917e0fbe91354ce5b1a685b27e312e699b7dc799f1653c952864633be84dda110e37f74378a3c5f1c5aacacb6811d |
1577 |
EBUILD freebsd-sources-10.0.9999_p259404.ebuild 3528 SHA256 47012df2e48ec3e6ffd7ea84b3757ce74fdb516ad151bc37fdbd6eda92897bbd SHA512 7334ea3211aa57d64b29d56c71ffd33ab42706566e49f580b462396f179b95084a8c7ef093f147d15aec360a7c98ce8c1e15f1cec6a7df61caad1d8c176abd61 WHIRLPOOL 5d56d767406b2713691210a49cb520f1de50cf2dea7d365847ab8d48e943767d687e17c9010fca81821ed58b048cd0d7719ebba3e74baf2ba69b02ec38de03ed |
1578 |
-EBUILD freebsd-sources-9.9999.ebuild 3024 SHA256 c378a97b38a0aa17bd5999db9597622026967b5656f0c994df9d2701fe8c766f SHA512 72a1bac8e7d6171982ff3837fe336e51ae4bb355bb25fc9a72cf46b81b11b69d84d2d84099fb8e5bcb6ad13abe4eaba38e94b5cc57eddb85c873b291cea3a06f WHIRLPOOL 3d41a2874fa61fe78dbd3b9f8612ec3d1f51a53c756c3037450b5be0d2900e160ad8f251720ac1f99e477bde0cb1f1b1fcbd968ef71da172501a53a59142de05 |
1579 |
|
1580 |
diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-9.9999.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-9.9999.ebuild |
1581 |
deleted file mode 100644 |
1582 |
index ad79ce4..0000000 |
1583 |
--- a/sys-freebsd/freebsd-sources/freebsd-sources-9.9999.ebuild |
1584 |
+++ /dev/null |
1585 |
@@ -1,112 +0,0 @@ |
1586 |
-# Copyright 1999-2013 Gentoo Foundation |
1587 |
-# Distributed under the terms of the GNU General Public License v2 |
1588 |
-# $Header: $ |
1589 |
- |
1590 |
-EAPI=5 |
1591 |
- |
1592 |
-inherit bsdmk freebsd flag-o-matic toolchain-funcs |
1593 |
- |
1594 |
-DESCRIPTION="FreeBSD kernel sources" |
1595 |
-SLOT="0" |
1596 |
- |
1597 |
-IUSE="+build-generic dtrace profile" |
1598 |
- |
1599 |
-if [[ ${PV} != *9999* ]]; then |
1600 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1601 |
- SRC_URI="mirror://gentoo/${SYS}.tar.bz2" |
1602 |
-fi |
1603 |
- |
1604 |
-RDEPEND="dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) |
1605 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
1606 |
- !sys-freebsd/virtio-kmod" |
1607 |
-DEPEND="build-generic? ( |
1608 |
- dtrace? ( >=sys-freebsd/freebsd-cddl-9.2_rc1 ) |
1609 |
- >=sys-freebsd/freebsd-usbin-9.1 |
1610 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
1611 |
- )" |
1612 |
- |
1613 |
-RESTRICT="strip binchecks" |
1614 |
- |
1615 |
-S="${WORKDIR}/sys" |
1616 |
- |
1617 |
-KERN_BUILD=GENERIC |
1618 |
- |
1619 |
-PATCHES=( "${FILESDIR}/${PN}-9.0-disable-optimization.patch" |
1620 |
- "${FILESDIR}/${PN}-9.2-gentoo.patch" |
1621 |
- "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" |
1622 |
- "${FILESDIR}/${PN}-6.1-ntfs.patch" |
1623 |
- "${FILESDIR}/${PN}-7.1-types.h-fix.patch" |
1624 |
- "${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch" |
1625 |
- "${FILESDIR}/${PN}-7.1-includes.patch" |
1626 |
- "${FILESDIR}/${PN}-9.0-sysctluint.patch" |
1627 |
- "${FILESDIR}/${PN}-9.2-gentoo-gcc.patch" |
1628 |
- "${FILESDIR}/${PN}-7.0-tmpfs_whiteout_stub.patch" ) |
1629 |
- |
1630 |
-src_prepare() { |
1631 |
- # This replaces the gentoover patch, it doesn't need reapply every time. |
1632 |
- sed -i -e 's:^REVISION=.*:REVISION="'${PVR}'":' \ |
1633 |
- -e 's:^BRANCH=.*:BRANCH="Gentoo":' \ |
1634 |
- -e 's:^VERSION=.*:VERSION="${TYPE} ${BRANCH} ${REVISION}":' \ |
1635 |
- "${S}/conf/newvers.sh" |
1636 |
- |
1637 |
- # __FreeBSD_cc_version comes from FreeBSD's gcc. |
1638 |
- # on 9.0-RELEASE it's 900001. |
1639 |
- sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=900001:g" \ |
1640 |
- -i "${S}/conf/kern.pre.mk" \ |
1641 |
- -i "${S}/conf/kmod.mk" || die "Couldn't set __FreeBSD_cc_version" |
1642 |
- |
1643 |
- # Remove -Werror |
1644 |
- sed -e "s:-Werror:-Wno-error:g" \ |
1645 |
- -i "${S}/conf/kern.pre.mk" \ |
1646 |
- -i "${S}/conf/kmod.mk" || die |
1647 |
- |
1648 |
- # Only used with USE=build-generic, let the kernel build with its own flags, its safer. |
1649 |
- unset LDFLAGS CFLAGS CXXFLAGS ASFLAGS KERNEL |
1650 |
-} |
1651 |
- |
1652 |
-src_configure() { |
1653 |
- if use build-generic ; then |
1654 |
- tc-export CC |
1655 |
- cd "${S}/$(tc-arch-kernel)/conf" || die |
1656 |
- config ${KERN_BUILD} || die |
1657 |
- fi |
1658 |
-} |
1659 |
- |
1660 |
-src_compile() { |
1661 |
- if use build-generic ; then |
1662 |
- local myconf |
1663 |
- use dtrace || myconf="-DNO_CTF " |
1664 |
- |
1665 |
- cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die |
1666 |
- freebsd_src_compile depend ${myconf} |
1667 |
- freebsd_src_compile ${myconf} |
1668 |
- else |
1669 |
- einfo "Nothing to compile.." |
1670 |
- fi |
1671 |
-} |
1672 |
- |
1673 |
-src_install() { |
1674 |
- if use build-generic ; then |
1675 |
- cd "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" || die |
1676 |
- freebsd_src_install |
1677 |
- rm -rf "${S}/$(tc-arch-kernel)/compile/${KERN_BUILD}" |
1678 |
- cd "${S}" |
1679 |
- fi |
1680 |
- |
1681 |
- insinto "/usr/src/sys" |
1682 |
- doins -r "${S}/"* |
1683 |
-} |
1684 |
- |
1685 |
-pkg_preinst() { |
1686 |
- if [[ -L "${ROOT}/usr/src/sys" ]]; then |
1687 |
- einfo "/usr/src/sys is a symlink, removing it..." |
1688 |
- rm -f "${ROOT}/usr/src/sys" |
1689 |
- fi |
1690 |
- |
1691 |
- if use sparc-fbsd ; then |
1692 |
- ewarn "WARNING: kldload currently causes kernel panics" |
1693 |
- ewarn "on sparc64. This is probably a gcc-4.1 issue, but" |
1694 |
- ewarn "we need gcc-4.1 to compile the kernel correctly :/" |
1695 |
- ewarn "Please compile all modules you need into the kernel" |
1696 |
- fi |
1697 |
-} |
1698 |
|
1699 |
diff --git a/sys-freebsd/freebsd-ubin/Manifest b/sys-freebsd/freebsd-ubin/Manifest |
1700 |
index cabdaba..d284a9a 100644 |
1701 |
--- a/sys-freebsd/freebsd-ubin/Manifest |
1702 |
+++ b/sys-freebsd/freebsd-ubin/Manifest |
1703 |
@@ -22,4 +22,3 @@ AUX passwd.pamd 360 SHA256 ff964fd309462cac711422be051122f8a60b570da9b13756e9012 |
1704 |
AUX su.1.pamd 432 SHA256 a231f9cbe5b9e03aa0aaa1520657332771f15d5e5cd69890ce49d02bb34e21c3 SHA512 7d7d8ef2a5b1b52b1b5aa5de86a8767a0aa217fb2658c9bb13bce09e3c68c1a4e15f287d2063a3f18615b9d7dc1eba1ebefb95c1510f9a4c7b7de810a5bcfa40 WHIRLPOOL 635fd8294abf9e8948032ab2b6d50565f2f9f72ea64c18799a6337776bdf2a7859e17bb58e3e1ab3558d74a10611225c31ac4b6cb26f1c5462bf855b02dc9e07 |
1705 |
AUX su.pamd 420 SHA256 efe3a5efafd7e97e9305f4d24f2b4aacb44f65b261ca54bca1306b918b82cb08 SHA512 25ac749209c05733d0c9978c8ef1712961a3bd863bb2f5615844ed9b44e98dcf7795c02dfc84d58703eca35331701f1fff06a13904792e634256675af5444a48 WHIRLPOOL c97d3314cd58edff9c05b8286e2a377ae928752197dec0d380fa68867a9e8ce5366cc97e8038c21c3f50f527957b6ecc6c723960e28e39a7e8fef1cf7f3caad1 |
1706 |
EBUILD freebsd-ubin-10.0.9999_p259404.ebuild 5678 SHA256 f626115ba6226c783bbff5478ecc964644280a4aa77945e1bbb71e7fc6d233cf SHA512 fe298794eb9214a1a8746cccae1099bf66de3548f0ecca6490e7033c4b03f53e7a20fc28afe54bd04f3a3fd8dbedf7c4e7521d4ade48e61d070f24e196ae10c6 WHIRLPOOL a3635d9eb237bed3614ca2d7430ffc133777a2c54bd4310cdf6e156bc43159e37c23eb672703f047d686f8782053ce82425dfd2fe5df35b5525d0fdfc8204727 |
1707 |
-EBUILD freebsd-ubin-9.9999.ebuild 5378 SHA256 7e4b3b1bc146de7ee8954073f3d02f640dedd0dbd44a2d293bfe6167c5204653 SHA512 125d96904dbc564e21b10bb697a2dcb456b03a1826ee0bf3247059b4d098b5c0c9b1001be45c3db244d8e7bd8ccf56b36a0bbd8d01297fb8c675ce9b0a5347a0 WHIRLPOOL 3614cf23a6a01625af5e097b2ae29a30d7ad755c1292b9c01914b5064d54c0d292db3332c1b251611d19d0dede5f374627d471ecd89a5e1ba29f7bdf09daadb7 |
1708 |
|
1709 |
diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.9999.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-9.9999.ebuild |
1710 |
deleted file mode 100644 |
1711 |
index 348fdab..0000000 |
1712 |
--- a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.9999.ebuild |
1713 |
+++ /dev/null |
1714 |
@@ -1,179 +0,0 @@ |
1715 |
-# Copyright 1999-2013 Gentoo Foundation |
1716 |
-# Distributed under the terms of the GNU General Public License v2 |
1717 |
-# $Header: $ |
1718 |
- |
1719 |
-EAPI=5 |
1720 |
- |
1721 |
-inherit bsdmk freebsd flag-o-matic pam multilib multibuild multilib-build |
1722 |
- |
1723 |
-DESCRIPTION="FreeBSD's base system source for /usr/bin" |
1724 |
-SLOT="0" |
1725 |
-IUSE="ar atm audit bluetooth ipv6 kerberos netware nis ssl usb build zfs" |
1726 |
-LICENSE="BSD zfs? ( CDDL )" |
1727 |
- |
1728 |
-if [[ ${PV} != *9999* ]]; then |
1729 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1730 |
- SRC_URI="mirror://gentoo/${UBIN}.tar.bz2 |
1731 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
1732 |
- mirror://gentoo/${LIB}.tar.bz2 |
1733 |
- mirror://gentoo/${ETC}.tar.bz2 |
1734 |
- mirror://gentoo/${BIN}.tar.bz2 |
1735 |
- mirror://gentoo/${INCLUDE}.tar.bz2 |
1736 |
- zfs? ( mirror://gentoo/${CDDL}.tar.bz2 ) |
1737 |
- build? ( mirror://gentoo/${SYS}.tar.bz2 )" |
1738 |
-fi |
1739 |
- |
1740 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,${MULTILIB_USEDEP}] |
1741 |
- ssl? ( dev-libs/openssl ) |
1742 |
- kerberos? ( virtual/krb5 ) |
1743 |
- ar? ( >=app-arch/libarchive-3 ) |
1744 |
- virtual/pam |
1745 |
- sys-libs/zlib |
1746 |
- >=sys-libs/ncurses-5.9 |
1747 |
- !sys-process/fuser-bsd |
1748 |
- !dev-util/csup" |
1749 |
- |
1750 |
-DEPEND="${RDEPEND} |
1751 |
- sys-devel/flex |
1752 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
1753 |
- =sys-freebsd/freebsd-mk-defs-${RV}*" |
1754 |
- |
1755 |
-RDEPEND="${RDEPEND} |
1756 |
- >=sys-auth/pambase-20080219.1 |
1757 |
- sys-process/cronbase" |
1758 |
- |
1759 |
-S="${WORKDIR}/usr.bin" |
1760 |
- |
1761 |
-PATCHES=( "${FILESDIR}/${PN}-6.0-bsdcmp.patch" |
1762 |
- "${FILESDIR}/${PN}-9.0-fixmakefiles.patch" |
1763 |
- "${FILESDIR}/${PN}-setXid.patch" |
1764 |
- "${FILESDIR}/${PN}-lint-stdarg.patch" |
1765 |
- "${FILESDIR}/${PN}-9.1-kdump-ioctl.patch" |
1766 |
- "${FILESDIR}/${PN}-8.0-xinstall.patch" |
1767 |
- "${FILESDIR}/${PN}-9.1-bsdar.patch" |
1768 |
- "${FILESDIR}/${PN}-9.1-minigzip.patch" |
1769 |
- "${FILESDIR}/${PN}-9.1-grep.patch" |
1770 |
- "${FILESDIR}/${PN}-9.1-ar-libarchive3.patch" ) |
1771 |
- |
1772 |
-# Here we remove some sources we don't need because they are already |
1773 |
-# provided by portage's packages or similar. In order: |
1774 |
-# - Archiving tools, provided by their own ebuilds |
1775 |
-# - ncurses stuff |
1776 |
-# - less stuff |
1777 |
-# - bind utils |
1778 |
-# - rsh stuff |
1779 |
-# - binutils gprof |
1780 |
-# - dc stuff |
1781 |
-# and the rest are misc utils we already provide somewhere else. |
1782 |
-REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio |
1783 |
- gzip gprof |
1784 |
- lzmainfo xz xzdec |
1785 |
- unzip |
1786 |
- tput tset tabs |
1787 |
- less lessecho lesskey |
1788 |
- dig hesinfo nslookup nsupdate host |
1789 |
- rsh rlogin rusers rwho ruptime |
1790 |
- compile_et lex vi smbutil file vacation nc ftp telnet |
1791 |
- c99 c89 |
1792 |
- bc dc |
1793 |
- whois tftp man" |
1794 |
- |
1795 |
-pkg_setup() { |
1796 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
1797 |
- use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " |
1798 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
1799 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
1800 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " |
1801 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
1802 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
1803 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
1804 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
1805 |
- use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " |
1806 |
- mymakeopts="${mymakeopts} WITHOUT_CLANG= " |
1807 |
-} |
1808 |
- |
1809 |
-pkg_preinst() { |
1810 |
- # bison installs a /usr/bin/yacc symlink ... |
1811 |
- # we need to remove it to avoid triggering |
1812 |
- # collision-protect errors |
1813 |
- if [[ -L ${ROOT}/usr/bin/yacc ]] ; then |
1814 |
- rm -f "${ROOT}"/usr/bin/yacc |
1815 |
- fi |
1816 |
-} |
1817 |
- |
1818 |
-src_prepare() { |
1819 |
- if [[ ${PV} != *9999* ]]; then |
1820 |
- use build || ln -s "/usr/src/sys" "${WORKDIR}/sys" |
1821 |
- fi |
1822 |
- |
1823 |
- # Rename manpage for renamed cmp |
1824 |
- mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1 || die |
1825 |
- # Rename manpage for renamed ar |
1826 |
- mv "${S}"/ar/ar.1 "${S}"/ar/freebsd-ar.1 || die |
1827 |
- # Fix whereis(1) manpath search. |
1828 |
- sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h" |
1829 |
- |
1830 |
- # Build a dynamic make |
1831 |
- sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/make/Makefile || die |
1832 |
- |
1833 |
- # Disable it here otherwise our patch wont apply |
1834 |
- use ar || dummy_mk ar |
1835 |
-} |
1836 |
- |
1837 |
-setup_multilib_vars() { |
1838 |
- if ! multilib_is_native_abi ; then |
1839 |
- cd "${WORKDIR}/usr.bin/ldd" || die |
1840 |
- export mymakeopts="${mymakeopts} PROG=ldd32 WITHOUT_MAN=" |
1841 |
- else |
1842 |
- cd "${S}" |
1843 |
- fi |
1844 |
- "$@" |
1845 |
-} |
1846 |
- |
1847 |
-src_compile() { |
1848 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
1849 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_compile |
1850 |
-} |
1851 |
- |
1852 |
-src_install() { |
1853 |
- local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) ) |
1854 |
- multibuild_foreach_variant freebsd_multilib_multibuild_wrapper setup_multilib_vars freebsd_src_install |
1855 |
- |
1856 |
- # baselayout requires these in /bin |
1857 |
- dodir /bin |
1858 |
- for bin in sed printf ; do |
1859 |
- mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed" |
1860 |
- dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed" |
1861 |
- done |
1862 |
- |
1863 |
- for pamdfile in login passwd su; do |
1864 |
- newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile} || die |
1865 |
- done |
1866 |
- |
1867 |
- cd "${WORKDIR}/etc" |
1868 |
- insinto /etc |
1869 |
- doins remote phones opieaccess fbtab || die |
1870 |
- |
1871 |
- exeinto /etc/cron.daily |
1872 |
- newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb || die |
1873 |
- |
1874 |
- # tip requires /var/spool/lock/, bug #200700 |
1875 |
- keepdir /var/spool/lock |
1876 |
-} |
1877 |
- |
1878 |
-pkg_postinst() { |
1879 |
- # We need to ensure that login.conf.db is up-to-date. |
1880 |
- if [[ -e "${ROOT}"etc/login.conf ]] ; then |
1881 |
- einfo "Updating ${ROOT}etc/login.conf.db" |
1882 |
- "${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf |
1883 |
- elog "Remember to run cap_mkdb /etc/login.conf after making changes to it" |
1884 |
- fi |
1885 |
-} |
1886 |
- |
1887 |
-pkg_postrm() { |
1888 |
- # and if we uninstall yacc but keep bison, |
1889 |
- # lets restore the /usr/bin/yacc symlink |
1890 |
- if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then |
1891 |
- ln -s yacc.bison "${ROOT}"/usr/bin/yacc |
1892 |
- fi |
1893 |
-} |
1894 |
|
1895 |
diff --git a/sys-freebsd/freebsd-usbin/Manifest b/sys-freebsd/freebsd-usbin/Manifest |
1896 |
index ddbaf90..b2d1781 100644 |
1897 |
--- a/sys-freebsd/freebsd-usbin/Manifest |
1898 |
+++ b/sys-freebsd/freebsd-usbin/Manifest |
1899 |
@@ -22,4 +22,3 @@ AUX syscons.confd 464 SHA256 7e566edb81fef49b662ad6b84dd0bf4657d5f05efe9791a515b |
1900 |
AUX syscons.initd 1711 SHA256 16f5ab3ceb67accc10350d21527321c1e559c432f0b52e7b3adf08b67d9f62aa SHA512 41fef393e1fe732de065cb9ac3fdb4bbe73158a86f7c8b6175b496d0a65b9c682d888ce7b34c8a43732909c12626a2f5783457607e4b9bf6b4210589c3397d76 WHIRLPOOL 7a11eed37860db8dce71ad09299bd48427cf2beb349da3799189ef93d4d5c618b4c33b51e60f17cb485989dd3e0480458f5559c61deaa3f542f920df43f89801 |
1901 |
AUX syslogd.initd 571 SHA256 3f0f242197be7c59f36edffd36918935189d17ca7d8f5c2de6238c7a7f52d005 SHA512 0c67138b2461ba3629a7aa87dca35357ee17f2a1c1c13e1951417f4c05054ad006efb7f98dcf7fa24f0b90e0c0331e6fb7d1e3459c1db17f1bc82baa63b3beeb WHIRLPOOL e8dc6a0f402a474bb98c5d4a9a21b331a2a55726d517411c2b7c7adec28219e5a538ebb448c6c27dd1540affb914e935e91160cb0795ca6eb624f4ee163b0e9d |
1902 |
EBUILD freebsd-usbin-10.0.9999_p259404.ebuild 5404 SHA256 19e7cffa700fa9f409e0e6714a19ed737ce096dc01303df9076b8e2c85f30f9c SHA512 03c0a791ca6e2fc88f16818544f89d8e94e3542beb5fb03161859aa71a0350573f11db877aa4c7c6745d60e771eab737f2754d526f8e59d12a3d3b0d0404894c WHIRLPOOL bab296450adabdb890abd6139e7c1d8cfbf4cf6e2cd9f41959e5bc06895a74a6c16d5260de405960f5c2f2b9a0f0dc2bff46282c356a6998cb983c41d03794b3 |
1903 |
-EBUILD freebsd-usbin-9.9999.ebuild 5492 SHA256 2b9a464f14211c948286939b4ad3c262847cbc3a4f0c00160c7bcf58bf3f7e01 SHA512 3803166af8a0fb30647c739902ac3a5658cd98411d79e369068564b1ee90c2185d1ef7e07a14553977f8ffb0025b58dea5b8ecc275170a54399d3a0b1ae4bb92 WHIRLPOOL bf16a610b7463ee7ba692736d74c7085ffa0ff9ddd7cfed137bf5754ff016761664a8cf3c41336e50c1d6b00403f7215da5a136b236a672f4b8e20e12f856c72 |
1904 |
|
1905 |
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-9.9999.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-9.9999.ebuild |
1906 |
deleted file mode 100644 |
1907 |
index 1c54d45..0000000 |
1908 |
--- a/sys-freebsd/freebsd-usbin/freebsd-usbin-9.9999.ebuild |
1909 |
+++ /dev/null |
1910 |
@@ -1,179 +0,0 @@ |
1911 |
-# Copyright 1999-2013 Gentoo Foundation |
1912 |
-# Distributed under the terms of the GNU General Public License v2 |
1913 |
-# $Header: $ |
1914 |
- |
1915 |
-EAPI=2 |
1916 |
- |
1917 |
-inherit bsdmk freebsd flag-o-matic eutils |
1918 |
- |
1919 |
-DESCRIPTION="FreeBSD /usr/sbin tools" |
1920 |
-SLOT="0" |
1921 |
- |
1922 |
-if [[ ${PV} != *9999* ]]; then |
1923 |
- KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1924 |
- SRC_URI="mirror://gentoo/${P}.tar.bz2 |
1925 |
- mirror://gentoo/${CONTRIB}.tar.bz2 |
1926 |
- mirror://gentoo/${UBIN}.tar.bz2 |
1927 |
- mirror://gentoo/${LIB}.tar.bz2 |
1928 |
- mirror://gentoo/${SBIN}.tar.bz2 |
1929 |
- mirror://gentoo/${ETC}.tar.bz2 |
1930 |
- mirror://gentoo/${GNU}.tar.bz2 |
1931 |
- nis? ( mirror://gentoo/${LIBEXEC}.tar.bz2 ) |
1932 |
- build? ( mirror://gentoo/${SYS}.tar.bz2 |
1933 |
- mirror://gentoo/${INCLUDE}.tar.bz2 )" |
1934 |
-fi |
1935 |
- |
1936 |
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,netware?] |
1937 |
- =sys-freebsd/freebsd-libexec-${RV}* |
1938 |
- =sys-freebsd/freebsd-contrib-${RV}* |
1939 |
- build? ( sys-apps/baselayout ) |
1940 |
- ssl? ( dev-libs/openssl ) |
1941 |
- >=app-arch/libarchive-3 |
1942 |
- sys-apps/tcp-wrappers |
1943 |
- dev-util/dialog |
1944 |
- >=dev-libs/libedit-20120311.3.0-r1 |
1945 |
- net-libs/libpcap |
1946 |
- kerberos? ( app-crypt/heimdal )" |
1947 |
-DEPEND="${RDEPEND} |
1948 |
- =sys-freebsd/freebsd-mk-defs-${RV}* |
1949 |
- =sys-freebsd/freebsd-ubin-${RV}* |
1950 |
- !build? ( =sys-freebsd/freebsd-sources-${RV}* ) |
1951 |
- sys-apps/texinfo |
1952 |
- sys-devel/flex" |
1953 |
- |
1954 |
-S="${WORKDIR}/usr.sbin" |
1955 |
- |
1956 |
-IUSE="acpi atm audit bluetooth floppy ipv6 kerberos minimal netware nis pam ssl usb build" |
1957 |
- |
1958 |
-pkg_setup() { |
1959 |
- # Release crunch is something like minimal. It seems to remove everything |
1960 |
- # which is not needed to work. |
1961 |
- use minimal && mymakeopts="${mymakeopts} RELEASE_CRUNCH= " |
1962 |
- |
1963 |
- use acpi || mymakeopts="${mymakeopts} WITHOUT_ACPI= " |
1964 |
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " |
1965 |
- use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " |
1966 |
- use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " |
1967 |
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " |
1968 |
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " |
1969 |
- use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " |
1970 |
- use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " |
1971 |
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " |
1972 |
- use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " |
1973 |
- use floppy || mymakeopts="${mymakeopts} WITHOUT_FLOPPY= " |
1974 |
- use kerberos || mymakeopts="${mymakeopts} WITHOUT_GSSAPI= " |
1975 |
- |
1976 |
- mymakeopts="${mymakeopts} WITHOUT_BIND_NAMED= WITHOUT_BIND_DNSSEC= WITHOUT_PF= WITHOUT_LPR= WITHOUT_SENDMAIL= WITHOUT_AUTHPF= WITHOUT_MAILWRAPPER= " |
1977 |
- |
1978 |
- append-flags $(test-flags -fno-strict-aliasing) |
1979 |
-} |
1980 |
- |
1981 |
-PATCHES=( |
1982 |
- "${FILESDIR}/${PN}-adduser.patch" |
1983 |
- "${FILESDIR}/${PN}-9.0-newsyslog.patch" |
1984 |
- "${FILESDIR}/${PN}-9.1-bsdxml2expat.patch" |
1985 |
- ) |
1986 |
- |
1987 |
-REMOVE_SUBDIRS=" |
1988 |
- named named-checkzone named-checkconf rndc rndc-confgen |
1989 |
- dnssec-keygen dnssec-signzone |
1990 |
- tcpdchk tcpdmatch |
1991 |
- sendmail praliases editmap mailstats makemap |
1992 |
- sysinstall cron mailwrapper ntp bsnmpd |
1993 |
- tcpdump ndp inetd |
1994 |
- wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli wpa/wpa_passphrase |
1995 |
- zic amd |
1996 |
- pkg pkg_install freebsd-update service sysrc" |
1997 |
- |
1998 |
-src_prepare() { |
1999 |
- if [[ ${PV} != *9999* ]] && ! use build; then |
2000 |
- ln -s "/usr/src/sys" "${WORKDIR}/sys" |
2001 |
- ln -s "/usr/include" "${WORKDIR}/include" |
2002 |
- else |
2003 |
- dummy_mk mount_smbfs |
2004 |
- fi |
2005 |
- # Don't install mtree format manpage |
2006 |
- # it's installed by libarchive. |
2007 |
- sed -e "s: mtree.5::g" -i "${S}"/mtree/Makefile |
2008 |
-} |
2009 |
- |
2010 |
-src_compile() { |
2011 |
- # Preparing to build nmtree |
2012 |
- cd "${WORKDIR}/lib/libnetbsd" |
2013 |
- freebsd_src_compile |
2014 |
- |
2015 |
- cd "${S}" |
2016 |
- freebsd_src_compile |
2017 |
-} |
2018 |
- |
2019 |
-src_install() { |
2020 |
- # By creating these directories we avoid having to do a |
2021 |
- # more complex hack |
2022 |
- dodir /usr/share/doc |
2023 |
- dodir /sbin |
2024 |
- dodir /usr/libexec |
2025 |
- dodir /usr/bin |
2026 |
- |
2027 |
- # FILESDIR is used by some makefiles which will install files |
2028 |
- # in the wrong place, just put it in the doc directory. |
2029 |
- mkinstall DOCDIR=/usr/share/doc/${PF} || die "Install failed" |
2030 |
- |
2031 |
- # Most of these now come from openrc. |
2032 |
- for util in nfs rpc.statd rpc.lockd; do |
2033 |
- newinitd "${FILESDIR}/"${util}.initd ${util} || die |
2034 |
- if [[ -e "${FILESDIR}"/${util}.confd ]]; then \ |
2035 |
- newconfd "${FILESDIR}"/${util}.confd ${util} || die |
2036 |
- fi |
2037 |
- done |
2038 |
- |
2039 |
- for class in daily monthly weekly; do |
2040 |
- cat - > "${T}/periodic.${class}" <<EOS |
2041 |
-#!/bin/sh |
2042 |
-/usr/sbin/periodic ${class} |
2043 |
-EOS |
2044 |
- exeinto /etc/cron.${class} |
2045 |
- newexe "${T}/periodic.${class}" periodic |
2046 |
- done |
2047 |
- |
2048 |
- # Install the pw.conf file to let pw use Gentoo's skel location |
2049 |
- insinto /etc |
2050 |
- doins "${FILESDIR}/pw.conf" || die |
2051 |
- |
2052 |
- cd "${WORKDIR}/etc" |
2053 |
- doins apmd.conf syslog.conf newsyslog.conf nscd.conf || die |
2054 |
- |
2055 |
- insinto /etc/ppp |
2056 |
- doins ppp/ppp.conf || die |
2057 |
- |
2058 |
- if use bluetooth; then |
2059 |
- insinto /etc/bluetooth |
2060 |
- doins bluetooth/* || die |
2061 |
- rm -f "${D}"/etc/bluetooth/Makefile |
2062 |
- fi |
2063 |
- |
2064 |
- # Install the periodic stuff (needs probably to be ported in a more |
2065 |
- # gentooish way) |
2066 |
- cd "${WORKDIR}/etc/periodic" |
2067 |
- |
2068 |
- doperiodic daily daily/*.accounting |
2069 |
- doperiodic monthly monthly/*.accounting |
2070 |
-} |
2071 |
- |
2072 |
-pkg_postinst() { |
2073 |
- # We need to run pwd_mkdb if key files are not present |
2074 |
- # If they are, then there is no need to run pwd_mkdb |
2075 |
- if [[ ! -e "${ROOT}etc/passwd" || ! -e "${ROOT}etc/pwd.db" || ! -e "${ROOT}etc/spwd.db" ]] ; then |
2076 |
- if [[ -e "${ROOT}etc/master.passwd" ]] ; then |
2077 |
- einfo "Generating passwd files from ${ROOT}etc/master.passwd" |
2078 |
- "${ROOT}"usr/sbin/pwd_mkdb -p -d "${ROOT}etc" "${ROOT}etc/master.passwd" |
2079 |
- else |
2080 |
- eerror "${ROOT}etc/master.passwd does not exist!" |
2081 |
- eerror "You will no be able to log into your system!" |
2082 |
- fi |
2083 |
- fi |
2084 |
- |
2085 |
- for logfile in messages security auth.log maillog lpd-errs xferlog cron \ |
2086 |
- debug.log slip.log ppp.log; do |
2087 |
- [[ -f "${ROOT}/var/log/${logfile}" ]] || touch "${ROOT}/var/log/${logfile}" |
2088 |
- done |
2089 |
-} |