1 |
"Mike Frysinger (vapier)" <vapier@g.o>: |
2 |
|
3 |
> Modified: ChangeLog |
4 |
> Added: baselayout-1.12.10-r5.ebuild |
5 |
> Log: |
6 |
> Add workaround for net.eth0 going AFK during upgrade to |
7 |
> baselayout-2. (Portage version: 2.1.3.9) |
8 |
|
9 |
> # Use correct path to filefuncs.so on multilib systems |
10 |
> sed -i -e "s:/lib/rcscripts:/$(get_libdir)/rcscripts:" \ |
11 |
> ${S}/src/awk/{cachedepends,genenviron}.awk || die |
12 |
> } |
13 |
> |
14 |
> src_compile() { |
15 |
[...] |
16 |
> make -C "${S}"/src \ |
17 |
> CC="$(tc-getCC)" \ |
18 |
> LD="$(tc-getCC) ${LDFLAGS}" \ |
19 |
> CFLAGS="${CFLAGS}" \ |
20 |
> LIBDIR="${libdir}" || die |
21 |
> } |
22 |
|
23 |
Could use a die message...no emake here? |
24 |
|
25 |
[...] |
26 |
> kdir ${PORTDIR} |
27 |
|
28 |
Could use quotes. |
29 |
|
30 |
> remap_dns_vars() { |
31 |
[...] |
32 |
> sed -e 's/\<domain_/dns_domain_/g' \ |
33 |
> -e 's/\<mac_domain_/mac_dns_domain_/g' \ |
34 |
> -e 's/\<nameservers_/dns_servers_/g' \ |
35 |
> -e 's/\<mac_nameservers_/mac_dns_servers_/g' \ |
36 |
> -e 's/\<searchdomains_/dns_search_domains_/g' |
37 |
> \ -e 's/\<mac_searchdomains_/mac_dns_search_domains_/g' \ |
38 |
> ${ROOT}/etc/conf.d/${f} > ${D}/etc/conf.d/${f} |
39 |
|
40 |
Could use quotes. |
41 |
|
42 |
> pkg_preinst() { |
43 |
[...] |
44 |
> rm -f ${ROOT}/etc/modules.conf |
45 |
[...] |
46 |
> rm -f ${ROOT}/etc/._cfg????_gentoo-release |
47 |
> echo "Gentoo Base System release ${PV}" > |
48 |
> ${ROOT}/etc/gentoo-release |
49 |
[...] |
50 |
> for f in ${ROOT}etc/init.d/net.* ; do |
51 |
[...] |
52 |
> if sed -e 's/#.*//' ${ROOT}/etc/conf.d/{net,wireless} |
53 |
> 2>/dev/null \ | egrep -q '\<(domain|nameservers|searchdomains)_' ; |
54 |
> 2>then |
55 |
[...] |
56 |
> if sed -e 's/#.*//' ${ROOT}/etc/conf.d/net 2>/dev/null \ |
57 |
|
58 |
|
59 |
Could use quotes. |
60 |
|
61 |
V-Li |
62 |
|
63 |
-- |
64 |
Christian Faulhammer, Gentoo Lisp project |
65 |
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode |
66 |
|
67 |
<URL:http://www.faulhammer.org/> |