Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apache/anyterm/files: anyterm.conf.d anyterm-1.1.28-respect-LDFLAGS.patch anyterm.init.d
Date: Sat, 24 Jan 2009 14:22:41
Message-Id: E1LQjPC-0003G7-V1@stork.gentoo.org
1 pva 09/01/24 14:22:38
2
3 Added: anyterm.conf.d anyterm-1.1.28-respect-LDFLAGS.patch
4 anyterm.init.d
5 Log:
6 Version bump, #237655, thank Arfrever Frehtes Taifersar Arahesis and Moshe Kamensky.
7 (Portage version: 2.2_rc23/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 www-apache/anyterm/files/anyterm.conf.d
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/files/anyterm.conf.d?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/files/anyterm.conf.d?rev=1.1&content-type=text/plain
14
15 Index: anyterm.conf.d
16 ===================================================================
17 # run anytermd as this user
18 USER='nobody'
19 # run anyterm on this port
20 PORT='7676'
21
22 # Other options you wish to pass to anyterm
23 ANYTERM_OPTIONS="--local-only"
24
25
26
27 1.1 www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch
28
29 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch?rev=1.1&view=markup
30 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch?rev=1.1&content-type=text/plain
31
32 Index: anyterm-1.1.28-respect-LDFLAGS.patch
33 ===================================================================
34 === modified file 'common.mk'
35 --- common.mk 2009-01-24 12:40:55 +0000
36 +++ common.mk 2009-01-24 14:02:19 +0000
37 @@ -71,7 +71,7 @@
38 OBJS=$(addsuffix .o,$(notdir $(basename $(CC_SRCS))))
39
40 %.o: %.cc
41 - $(CXX) $(CC_COMPILE_FLAGS) -c $<
42 + $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(CC_COMPILE_FLAGS) -c $<
43
44 ifdef HAVE_GNU_LD
45 %.blob.o: ../browser/%
46 @@ -87,10 +87,10 @@
47
48
49 anytermd: $(OBJS) $(BLOBS) $(LIBPBE_LIB)
50 - $(CXX) -o $@ $(OBJS) $(BLOBS) $(LINK_FLAGS)
51 + $(CXX) -o $@ $(LDFLAGS) $(OBJS) $(BLOBS) $(LINK_FLAGS)
52
53 %.d: %.cc
54 - $(CXX) -MM -MG -MT $@ -MT $(<:%.cc=%.o) $(CPP_FLAGS) $(GCC_FLAGS) -o $@ $<
55 + $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MM -MG -MT $@ -MT $(<:%.cc=%.o) $(CPP_FLAGS) $(GCC_FLAGS) -o $@ $<
56
57 DEPENDS=$(addsuffix .d,$(basename $(OBJS)))
58
59
60
61
62
63 1.1 www-apache/anyterm/files/anyterm.init.d
64
65 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/files/anyterm.init.d?rev=1.1&view=markup
66 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/files/anyterm.init.d?rev=1.1&content-type=text/plain
67
68 Index: anyterm.init.d
69 ===================================================================
70 #!/sbin/runscript
71 # Copyright 1999-2009 Gentoo Foundation
72 # Distributed under the terms of the GNU General Public License, v2 or later
73 # $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/files/anyterm.init.d,v 1.1 2009/01/24 14:22:38 pva Exp $
74
75 depend() {
76 need net
77 }
78
79 start() {
80 ebegin "Starting ${SVCNAME}"
81 start-stop-daemon --start --exec /usr/sbin/anytermd -- \
82 --user "${USER}" --port ${PORT} ${ANYTERM_OPTIONS}
83 eend $?
84 }
85
86 stop() {
87 ebegin "Stopping ${SVCNAME}"
88 start-stop-daemon --stop --exec /usr/sbin/anytermd
89 eend $?
90 }