/[gentoo-x86]/net-misc/stargazer/files/patches/stg-2.408-makefile.patch
Gentoo

Contents of /net-misc/stargazer/files/patches/stg-2.408-makefile.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat Feb 23 20:13:30 2013 UTC (6 years, 11 months ago) by tomwij
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
New ebuild for stargazer. Contributed by SpiderX. Fixes bug #452916.

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)

1 --- projects/sgauth/Makefile.org 2013-01-05 23:47:38.000000000 +0200
2 +++ projects/sgauth/Makefile 2013-01-05 23:48:34.000000000 +0200
3 @@ -67,8 +67,8 @@
4
5 install-data:
6 # Install etc
7 - mkdir -m $(DIR_MODE) -p $(PREFIX)/etc
8 - install -m $(DATA_MODE) -o $(OWNER) ./sgauth.conf $(PREFIX)/etc/sgauth.conf
9 + mkdir -m $(DIR_MODE) -p $(PREFIX)/etc/stargazer
10 + install -m $(DATA_MODE) -o $(OWNER) ./sgauth.conf $(PREFIX)/etc/stargazer/sgauth.conf
11
12 uninstall: uninstall-bin uninstall-data
13
14 --- projects/stargazer/Makefile.org 2013-01-05 22:53:26.000000000 +0200
15 +++ projects/stargazer/Makefile 2013-01-05 22:54:52.000000000 +0200
16 @@ -92,30 +92,8 @@
17 mkdir -m $(DIR_MODE) -p $(PREFIX)/etc/stargazer/conf-available.d
18 mkdir -m $(DIR_MODE) -p $(PREFIX)/etc/stargazer/conf-enabled.d
19 install -m $(DATA_MODE) -o $(OWNER) $(ETC_DIR)/stargazer.conf $(PREFIX)/etc/stargazer/stargazer.conf
20 - install -m $(DATA_MODE) -o $(OWNER) $(ETC_DIR)/conf-available.d/*.conf $(PREFIX)/etc/stargazer/conf-available.d
21 - ln -sf ../conf-available.d/mod_ao.conf $(PREFIX)/etc/stargazer/conf-enabled.d/mod_ao.conf
22 - ln -sf ../conf-available.d/mod_ia.conf $(PREFIX)/etc/stargazer/conf-enabled.d/mod_ia.conf
23 - ln -sf ../conf-available.d/mod_ping.conf $(PREFIX)/etc/stargazer/conf-enabled.d/mod_ping.conf
24 - ln -sf ../conf-available.d/mod_sg.conf $(PREFIX)/etc/stargazer/conf-enabled.d/mod_sg.conf
25 - ln -sf ../conf-available.d/store_files.conf $(PREFIX)/etc/stargazer/conf-enabled.d/store_files.conf
26 -
27 -ifeq ($(OS),linux)
28 - ln -sf ../conf-available.d/mod_cap_ether.conf $(PREFIX)/etc/stargazer/conf-enabled.d/mod_cap_ether.conf
29 -else
30 - ln -sf ../conf-available.d/mod_cap_bpf.conf $(PREFIX)/etc/stargazer/conf-enabled.d/mod_cap_bpf.conf
31 -endif
32 -
33 install -m $(DATA_MODE) -o $(OWNER) $(ETC_DIR)/rules $(PREFIX)/etc/stargazer/rules
34 install -m $(BIN_MODE) -o $(OWNER) $(ETC_DIR)/On* $(PREFIX)/etc/stargazer/
35 -
36 - # Install file db
37 - mkdir -m $(DIR_MODE) -p $(PREFIX)/var/stargazer/admins
38 - mkdir -m $(DIR_MODE) -p $(PREFIX)/var/stargazer/tariffs
39 - mkdir -m $(DIR_MODE) -p $(PREFIX)/var/stargazer/users/test
40 - install -m $(DATA_MODE) -o $(OWNER) $(VAR_DIR)/admins/admin.adm $(PREFIX)/var/stargazer/admins/admin.adm
41 - install -m $(DATA_MODE) -o $(OWNER) $(VAR_DIR)/tariffs/tariff.tf $(PREFIX)/var/stargazer/tariffs/tariff.tf
42 - install -m $(DATA_MODE) -o $(OWNER) $(VAR_DIR)/users/test/conf $(PREFIX)/var/stargazer/users/test/conf
43 - install -m $(DATA_MODE) -o $(OWNER) $(VAR_DIR)/users/test/stat $(PREFIX)/var/stargazer/users/test/stat
44
45 uninstall: uninstall-bin uninstall-data
46
47 --- projects/rscriptd/Makefile.org 2013-01-19 17:03:42.000000000 +0200
48 +++ projects/rscriptd/Makefile 2013-01-19 17:04:25.000000000 +0200
49 @@ -65,15 +65,13 @@
50 $(MAKE) -C $(DIR_LIBSRC) install
51
52 install-data:
53 - # Install etc
54 - mkdir -m $(DIR_MODE) -p $(PREFIX)/etc/rscriptd
55 - install -m $(DATA_MODE) -o $(OWNER) ./rscriptd.conf $(PREFIX)/etc/rscriptd/rscriptd.conf
56 + install -D -m $(DATA_MODE) -o $(OWNER) ./rscriptd.conf $(PREFIX)/etc/stargazer/rscriptd.conf
57 ifeq ($(OS), linux)
58 - install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/linux/etc/stargazer/OnConnect $(PREFIX)/etc/rscriptd/
59 - install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/linux/etc/stargazer/OnDisconnect $(PREFIX)/etc/rscriptd/
60 + install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/linux/etc/stargazer/OnConnect $(PREFIX)/etc/stargazer/
61 + install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/linux/etc/stargazer/OnDisconnect $(PREFIX)/etc/stargazer/
62 else
63 - install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/freebsd/etc/stargazer/OnConnect $(PREFIX)/etc/rscriptd/
64 - install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/freebsd/etc/stargazer/OnDisconnect $(PREFIX)/etc/rscriptd/
65 + install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/freebsd/etc/stargazer/OnConnect $(PREFIX)/etc/stargazer/
66 + install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/freebsd/etc/stargazer/OnDisconnect $(PREFIX)/etc/stargazer/
67 endif
68
69 uninstall: uninstall-bin uninstall-data
70 --- projects/rlm_stg/Makefile.org 2013-02-03 14:02:58.000000000 +0200
71 +++ projects/rlm_stg/Makefile 2013-02-03 14:05:43.000000000 +0200
72 @@ -56,19 +56,11 @@
73 install: install-bin
74
75 install-bin:
76 -ifeq ($(DEBUG), yes)
77 ifeq ($(OS), linux)
78 install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/freeradius/$(PROG)
79 else
80 install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/$(PROG)
81 endif
82 -else
83 -ifeq ($(OS), linux)
84 - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/freeradius/$(PROG)
85 -else
86 - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/$(PROG)
87 -endif
88 -endif
89 $(MAKE) -C $(DIR_LIBSRC) install
90
91 uninstall: uninstall-bin
92 --- projects/rscriptd/Makefile.org 2013-02-03 14:17:01.000000000 +0200
93 +++ projects/rscriptd/Makefile 2013-02-03 14:17:32.000000000 +0200
94 @@ -57,11 +57,7 @@
95 install: install-bin install-data
96
97 install-bin:
98 -ifeq ($(DEBUG), yes)
99 install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/sbin/$(PROG)
100 -else
101 - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG)
102 -endif
103 $(MAKE) -C $(DIR_LIBSRC) install
104
105 install-data:
106 --- projects/sgauth/Makefile.org 2013-02-03 14:18:37.000000000 +0200
107 +++ projects/sgauth/Makefile 2013-02-03 14:18:48.000000000 +0200
108 @@ -58,11 +58,7 @@
109 install: install-bin install-data
110
111 install-bin:
112 -ifeq ($(DEBUG), yes)
113 install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/sbin/$(PROG)
114 -else
115 - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG)
116 -endif
117 $(MAKE) -C $(DIR_LIBSRC) install
118
119 install-data:
120 --- projects/sgconf/Makefile.org 2013-02-03 14:19:18.000000000 +0200
121 +++ projects/sgconf/Makefile 2013-02-03 14:19:28.000000000 +0200
122 @@ -66,11 +66,7 @@
123 install: install-bin
124
125 install-bin:
126 -ifeq ($(DEBUG), yes)
127 install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/bin/$(PROG)
128 -else
129 - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/bin/$(PROG)
130 -endif
131 $(MAKE) -C $(DIR_LIBSRC) install
132
133 uninstall: uninstall-bin
134 --- projects/sgconf_xml/Makefile.org 2013-02-03 14:19:53.000000000 +0200
135 +++ projects/sgconf_xml/Makefile 2013-02-03 14:19:59.000000000 +0200
136 @@ -66,11 +66,7 @@
137 install: install-bin install-data
138
139 install-bin:
140 -ifeq ($(DEBUG), yes)
141 install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/bin/$(PROG)
142 -else
143 - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/bin/$(PROG)
144 -endif
145 $(MAKE) -C $(DIR_LIBSRC) install
146
147 uninstall: uninstall-bin uninstall-data
148 --- projects/sgconv/Makefile.org 2013-02-03 14:20:24.000000000 +0200
149 +++ projects/sgconv/Makefile 2013-02-03 14:20:33.000000000 +0200
150 @@ -61,11 +61,7 @@
151 install: install-bin
152
153 install-bin:
154 -ifeq ($(DEBUG), yes)
155 install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/bin/$(PROG)
156 -else
157 - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/bin/$(PROG)
158 -endif
159 $(MAKE) -C $(DIR_PLUGINS) install
160
161 uninstall: uninstall-bin
162 --- projects/stargazer/Makefile.org 2013-02-03 14:20:56.000000000 +0200
163 +++ projects/stargazer/Makefile 2013-02-03 14:21:30.000000000 +0200
164 @@ -77,11 +77,7 @@
165 install: install-bin install-data
166
167 install-bin: $(PROG)
168 -ifeq ($(DEBUG), yes)
169 install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/sbin/$(PROG)
170 -else
171 - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG)
172 -endif
173 $(MAKE) -C $(DIR_INCLUDE) install
174 $(MAKE) -C $(DIR_LIBSRC) install
175 $(MAKE) -C $(DIR_PLUGINS) install
176 --- stglibs/Makefile.in.org 2013-02-03 14:53:02.000000000 +0200
177 +++ stglibs/Makefile.in 2013-02-03 14:53:11.000000000 +0200
178 @@ -35,11 +35,7 @@
179 rm -f deps $(PROG) *.o *.a *.so tags *.*~
180
181 install: $(PROG)
182 -ifeq ($(DEBUG), yes)
183 install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/stg/$(PROG)
184 -else
185 - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG)
186 -endif
187 mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/include/stg
188 install -m $(DATA_MODE) -o $(OWNER) $(addprefix include/stg/,$(INCS)) $(PREFIX)/usr/include/stg/
189
190 --- projects/stargazer/plugins/Makefile.in.org 2013-02-03 15:38:41.000000000 +0200
191 +++ projects/stargazer/plugins/Makefile.in 2013-02-03 15:38:51.000000000 +0200
192 @@ -28,11 +28,7 @@
193
194 install: $(PROG)
195 mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg
196 -ifeq ($(DEBUG), yes)
197 install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/stg/$(PROG)
198 -else
199 - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG)
200 -endif
201
202 uninstall:
203 rm -f $(PREFIX)/usr/lib/stg/$(PROG)

  ViewVC Help
Powered by ViewVC 1.1.20