From: | "Michael Palimaka (kensington)" <kensington@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-nntp/inn/files: innd-r1 inn-2.5.3-ar.patch |
Date: | Mon, 03 Jun 2013 11:12:03 |
Message-Id: | 20130603111156.A8F8E2171E@flycatcher.gentoo.org |
1 | kensington 13/06/03 11:11:56 |
2 | |
3 | Added: innd-r1 inn-2.5.3-ar.patch |
4 | Log: |
5 | Add missing PYTHON_REQUIRED_USE. Add elog to recommend using emerge --config. Respect AR wrt bug #461254. Use correct run dir and fix init script to avoid reporting its status as 'crashed', wrt bug #468010. |
6 | |
7 | (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-nntp/inn/files/innd-r1 |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/inn/files/innd-r1?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/inn/files/innd-r1?rev=1.1&content-type=text/plain |
14 | |
15 | Index: innd-r1 |
16 | =================================================================== |
17 | #!/sbin/runscript |
18 | # Copyright 1999-2013 Gentoo Foundation |
19 | # Distributed under the terms of the GNU General Public License v2 |
20 | # $Header: /var/cvsroot/gentoo-x86/net-nntp/inn/files/innd-r1,v 1.1 2013/06/03 11:11:56 kensington Exp $ |
21 | |
22 | depend() { |
23 | need net |
24 | } |
25 | |
26 | start() { |
27 | ebegin "Starting ${SVCNAME}" |
28 | checkpath -d -m 0755 -o news:news /run/news |
29 | start-stop-daemon --start --user news --pidfile /run/news/${SVCNAME}.pid \ |
30 | --exec /usr/lib/news/bin/rc.news |
31 | eend $? |
32 | } |
33 | |
34 | stop() { |
35 | ebegin "Stopping ${SVCNAME}" |
36 | start-stop-daemon --start --user news --exec /usr/lib/news/bin/rc.news -- stop |
37 | sleep 2 |
38 | eend $? |
39 | } |
40 | |
41 | |
42 | |
43 | 1.1 net-nntp/inn/files/inn-2.5.3-ar.patch |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/inn/files/inn-2.5.3-ar.patch?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/inn/files/inn-2.5.3-ar.patch?rev=1.1&content-type=text/plain |
47 | |
48 | Index: inn-2.5.3-ar.patch |
49 | =================================================================== |
50 | Use system AR. |
51 | |
52 | Gentoo bug #461254. |
53 | |
54 | --- lib/Makefile |
55 | +++ lib/Makefile |
56 | @@ -53,7 +53,7 @@ |
57 | -rpath $(PATHLIB) -version-info 2:0:0 |
58 | |
59 | libinn.a: $(OBJECTS) |
60 | - ar r $@ $(OBJECTS) |
61 | + $(AR) r $@ $(OBJECTS) |
62 | $(RANLIB) libinn.a |
63 | |
64 | .c.o .c.lo: |
65 | --- storage/Makefile |
66 | +++ storage/Makefile |
67 | @@ -55,7 +55,7 @@ |
68 | -rpath $(PATHLIB) -version-info 2:0:0 |
69 | |
70 | libstorage.a: $(OBJECTS) |
71 | - ar r $@ $(OBJECTS) |
72 | + $(AR) r $@ $(OBJECTS) |
73 | $(RANLIB) libstorage.a |
74 | |
75 | # Make.methods is included in the distribution tarball since some non-GNU |
76 | --- history/Makefile |
77 | +++ history/Makefile |
78 | @@ -51,7 +51,7 @@ |
79 | -rpath $(PATHLIB) -version-info 2:0:0 |
80 | |
81 | libinnhist.a: $(OBJECTS) |
82 | - ar r $@ $(OBJECTS) |
83 | + $(AR) r $@ $(OBJECTS) |
84 | $(RANLIB) libinnhist.a |
85 | |
86 | # Try to set up these rules so that buildconfig is only run once. |