Gentoo Archives: gentoo-dev

From: Krzysiek Pawlik <nelchael@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in www-servers/resin: ChangeLog resin-3.0.25.ebuild resin-3.1.4.ebuild
Date: Mon, 17 Dec 2007 07:27:57
Message-Id: 47662446.8000705@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in www-servers/resin: ChangeLog resin-3.0.25.ebuild resin-3.1.4.ebuild by Donnie Berkholz
1 Donnie Berkholz wrote:
2 >> 1.1 www-servers/resin/resin-3.1.4.ebuild
3 >> src_unpack() {
4 >>
5 >> unpack ${A}
6 >> for i in "${WORKDIR}"/${PV}/resin-${PV}-*; do
7 >> epatch "${i}"
8 >> done;
9 >
10 > How about:
11 >
12 > epatch "${WORKDIR}"/${PV}/resin-${PV}-*
13
14 Leftover from tests, will be fixed with next bump.
15
16 >> src_compile() {
17 >>
18 >> append-flags -fPIC -DPIC
19 >
20 > Somehow it seems wrong to append this for a whole package...
21
22 It builds only one .so library - the rest is in Java, so I don't see a problem
23 with using append-flags.
24
25 >> src_install() {
26 >>
27 >> make DESTDIR="${D}" install || die
28 >
29 > Does emake work? If not, please add a comment to that effect.
30
31 Didn't test, but I will with next bump.
32
33 >> einfo "Fixing permissions..."
34 >> chown -R resin:resin "${D}${RESIN_HOME}"
35 >> chown -R resin:resin "${D}/etc/resin"
36 >> chown -R resin:resin "${D}/var/log/resin"
37 >> chown -R resin:resin "${D}/var/lib/resin"
38 >> chown -R resin:resin "${D}/var/run/resin"
39 >>
40 >> chmod 644 "${D}/etc/conf.d/resin"
41 >> chmod 755 "${D}/etc/init.d/resin"
42 >> chmod 750 "${D}/var/lib/resin"
43 >> chmod 750 "${D}/var/run/resin"
44 >> chmod 750 "${D}/etc/resin"
45 >
46 > Again, fowners/fperms can make this a bit easier to read.
47
48 I'll fix it with next bump.
49
50 --
51 Krzysiek Pawlik <nelchael at gentoo.org> key id: 0xBC555551
52 desktop-misc, java, apache, ppc, vim, kernel...

Attachments

File name MIME type
signature.asc application/pgp-signature