UltraMonkey-L7 V3(multi-thread implementation)
修訂 | 83b9055f9b8bdf4423bb88d671d4b9d356330c45 (tree) |
---|---|
時間 | 2015-10-18 16:50:06 |
作者 | Michiro Hibari <l05102@shib...> |
Commiter | Michiro Hibari |
Modify CHANGES and spec file for v3.1.3-rc1
Add systemd unit file.
@@ -1,3 +1,6 @@ | ||
1 | +[Oct. 18 2015] 3.1.3-rc1 HIBARI Michiro | |
2 | + - Add systemd unit file. | |
3 | + | |
1 | 4 | [Sep. 11 2014] 3.1.2-1 HIBARI Michiro, Hiroaki Nakano |
2 | 5 | - Fixed degraded bug: re-patch for fixed #30300. |
3 | 6 |
@@ -1,7 +1,7 @@ | ||
1 | 1 | AC_PREREQ(2.59) |
2 | -AC_INIT(l7vsd, 3.1.1, ultramonkey-l7-develop@lists.sourceforge.jp) | |
2 | +AC_INIT(l7vsd, 3.1.3, ultramonkey-l7-develop@lists.sourceforge.jp) | |
3 | 3 | PACKAGENAME=l7vsd |
4 | -VERSION=3.1.2 | |
4 | +VERSION=3.1.3 | |
5 | 5 | |
6 | 6 | AM_INIT_AUTOMAKE |
7 | 7 | AC_CONFIG_SRCDIR([config.h.in]) |
@@ -117,6 +117,7 @@ AC_CONFIG_FILES([doc/Makefile] | ||
117 | 117 | [l7directord/Makefile] |
118 | 118 | [l7vsd/Makefile] |
119 | 119 | [l7vsd/init.d/Makefile] |
120 | + [l7vsd/systemd/Makefile] | |
120 | 121 | [l7vsd/module/Makefile] |
121 | 122 | [l7vsd/module/protocol/Makefile] |
122 | 123 | [l7vsd/module/schedule/Makefile] |
@@ -5,7 +5,7 @@ SBINDIR = @sbindir@ | ||
5 | 5 | install: |
6 | 6 | $(INSTALL) -m 755 -D ./l7directord $(SBINDIR)/l7directord |
7 | 7 | if CHECK_SYSTEMD |
8 | - $(INSTALL) -m 644 -D ./init.d/l7directord.service ${prefix}/lib/systemd/system/l7directord.service | |
8 | + $(INSTALL) -m 644 -D ./systemd/l7directord.service ${prefix}/lib/systemd/system/l7directord.service | |
9 | 9 | else |
10 | 10 | $(INSTALL) -m 755 -D ./init.d/l7directord ${sysconfdir}/rc.d/init.d/l7directord |
11 | 11 | endif |
@@ -0,0 +1,14 @@ | ||
1 | +[Unit] | |
2 | +Description=UltraMonkey-L7 healthcheck daemon | |
3 | +After=syslog.target network.target nss-lookup.service | |
4 | + | |
5 | +[Service] | |
6 | +Type=forking | |
7 | +EnvironmentFile=/etc/ha.d/conf/l7directord.cf | |
8 | +ExecStart=/usr/sbin/l7directord start | |
9 | +ExecReload=/usr/sbin/l7directord reload | |
10 | +ExecStop=/usr/sbin/l7directord stop | |
11 | +PIDFile=/var/run/l7directord.l7directord.pid | |
12 | + | |
13 | +[Install] | |
14 | +WantedBy=multi-user.target |
@@ -1,2 +1,2 @@ | ||
1 | 1 | AUTOMAKE_OPTIONS = foreign |
2 | -SUBDIRS = init.d src module include | |
2 | +SUBDIRS = init.d systemd src module include |
@@ -1,8 +1,6 @@ | ||
1 | 1 | AUTOMAKE_OPTIONS = foreign |
2 | 2 | |
3 | 3 | install: |
4 | -if CHECK_SYSTEMD | |
5 | - $(INSTALL) -m 644 -D ./l7vsd.service ${prefix}/lib/systemd/system/l7vsd.service | |
6 | -else | |
4 | +if !CHECK_SYSTEMD | |
7 | 5 | $(INSTALL) -m 755 -D ./l7vsd ${sysconfdir}/rc.d/init.d/l7vsd |
8 | 6 | endif |
@@ -0,0 +1,435 @@ | ||
1 | +# Makefile.in generated by automake 1.13.4 from Makefile.am. | |
2 | +# l7vsd/systemd/Makefile. Generated from Makefile.in by configure. | |
3 | + | |
4 | +# Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
5 | + | |
6 | +# This Makefile.in is free software; the Free Software Foundation | |
7 | +# gives unlimited permission to copy and/or distribute it, | |
8 | +# with or without modifications, as long as this notice is preserved. | |
9 | + | |
10 | +# This program is distributed in the hope that it will be useful, | |
11 | +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
12 | +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
13 | +# PARTICULAR PURPOSE. | |
14 | + | |
15 | + | |
16 | + | |
17 | +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | +am__make_running_with_option = \ | |
19 | + case $${target_option-} in \ | |
20 | + ?) ;; \ | |
21 | + *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | + "target option '$${target_option-}' specified" >&2; \ | |
23 | + exit 1;; \ | |
24 | + esac; \ | |
25 | + has_opt=no; \ | |
26 | + sane_makeflags=$$MAKEFLAGS; \ | |
27 | + if $(am__is_gnu_make); then \ | |
28 | + sane_makeflags=$$MFLAGS; \ | |
29 | + else \ | |
30 | + case $$MAKEFLAGS in \ | |
31 | + *\\[\ \ ]*) \ | |
32 | + bs=\\; \ | |
33 | + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
35 | + esac; \ | |
36 | + fi; \ | |
37 | + skip_next=no; \ | |
38 | + strip_trailopt () \ | |
39 | + { \ | |
40 | + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | + }; \ | |
42 | + for flg in $$sane_makeflags; do \ | |
43 | + test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | + case $$flg in \ | |
45 | + *=*|--*) continue;; \ | |
46 | + -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | + -*I?*) strip_trailopt 'I';; \ | |
48 | + -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | + -*O?*) strip_trailopt 'O';; \ | |
50 | + -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | + -*l?*) strip_trailopt 'l';; \ | |
52 | + -[dEDm]) skip_next=yes;; \ | |
53 | + -[JT]) skip_next=yes;; \ | |
54 | + esac; \ | |
55 | + case $$flg in \ | |
56 | + *$$target_option*) has_opt=yes; break;; \ | |
57 | + esac; \ | |
58 | + done; \ | |
59 | + test $$has_opt = yes | |
60 | +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
62 | +pkgdatadir = $(datadir)/l7vsd | |
63 | +pkgincludedir = $(includedir)/l7vsd | |
64 | +pkglibdir = $(libdir)/l7vsd | |
65 | +pkglibexecdir = $(libexecdir)/l7vsd | |
66 | +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
67 | +install_sh_DATA = $(install_sh) -c -m 644 | |
68 | +install_sh_PROGRAM = $(install_sh) -c | |
69 | +install_sh_SCRIPT = $(install_sh) -c | |
70 | +INSTALL_HEADER = $(INSTALL_DATA) | |
71 | +transform = $(program_transform_name) | |
72 | +NORMAL_INSTALL = : | |
73 | +PRE_INSTALL = : | |
74 | +POST_INSTALL = : | |
75 | +NORMAL_UNINSTALL = : | |
76 | +PRE_UNINSTALL = : | |
77 | +POST_UNINSTALL = : | |
78 | +build_triplet = x86_64-unknown-linux-gnu | |
79 | +host_triplet = x86_64-unknown-linux-gnu | |
80 | +subdir = l7vsd/systemd | |
81 | +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am | |
82 | +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
83 | +am__aclocal_m4_deps = $(top_srcdir)/configure.ac | |
84 | +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
85 | + $(ACLOCAL_M4) | |
86 | +mkinstalldirs = $(install_sh) -d | |
87 | +CONFIG_HEADER = $(top_builddir)/config.h | |
88 | +CONFIG_CLEAN_FILES = | |
89 | +CONFIG_CLEAN_VPATH_FILES = | |
90 | +AM_V_P = $(am__v_P_$(V)) | |
91 | +am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) | |
92 | +am__v_P_0 = false | |
93 | +am__v_P_1 = : | |
94 | +AM_V_GEN = $(am__v_GEN_$(V)) | |
95 | +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | |
96 | +am__v_GEN_0 = @echo " GEN " $@; | |
97 | +am__v_GEN_1 = | |
98 | +AM_V_at = $(am__v_at_$(V)) | |
99 | +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | |
100 | +am__v_at_0 = @ | |
101 | +am__v_at_1 = | |
102 | +SOURCES = | |
103 | +DIST_SOURCES = | |
104 | +am__can_run_installinfo = \ | |
105 | + case $$AM_UPDATE_INFO_DIR in \ | |
106 | + n|no|NO) false;; \ | |
107 | + *) (install-info --version) >/dev/null 2>&1;; \ | |
108 | + esac | |
109 | +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
110 | +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
111 | +ACLOCAL = ${SHELL} /tmp/ultramonkeyl7-3.1.3/missing aclocal-1.13 | |
112 | +AMTAR = $${TAR-tar} | |
113 | +AM_DEFAULT_VERBOSITY = 1 | |
114 | +AR = ar | |
115 | +AUTOCONF = ${SHELL} /tmp/ultramonkeyl7-3.1.3/missing autoconf | |
116 | +AUTOHEADER = ${SHELL} /tmp/ultramonkeyl7-3.1.3/missing autoheader | |
117 | +AUTOMAKE = ${SHELL} /tmp/ultramonkeyl7-3.1.3/missing automake-1.13 | |
118 | +AWK = gawk | |
119 | +CC = g++ | |
120 | +CCDEPMODE = depmode=gcc3 | |
121 | +CFLAGS = -g -O2 | |
122 | +CPP = gcc -E | |
123 | +CPPFLAGS = | |
124 | +CXX = g++ | |
125 | +CXXCPP = g++ -E | |
126 | +CXXDEPMODE = depmode=gcc3 | |
127 | +CXXFLAGS = -g -O2 | |
128 | +CYGPATH_W = echo | |
129 | +DEFS = -DHAVE_CONFIG_H | |
130 | +DEPDIR = .deps | |
131 | +DLLTOOL = false | |
132 | +DSYMUTIL = | |
133 | +DUMPBIN = | |
134 | +ECHO_C = | |
135 | +ECHO_N = -n | |
136 | +ECHO_T = | |
137 | +EGREP = /usr/bin/grep -E | |
138 | +EXEEXT = | |
139 | +FGREP = /usr/bin/grep -F | |
140 | +GREP = /usr/bin/grep | |
141 | +INSTALL = /usr/bin/install -c | |
142 | +INSTALL_DATA = ${INSTALL} -m 644 | |
143 | +INSTALL_PROGRAM = ${INSTALL} | |
144 | +INSTALL_SCRIPT = ${INSTALL} | |
145 | +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s | |
146 | +LD = /usr/bin/ld -m elf_x86_64 | |
147 | +LDFLAGS = | |
148 | +LIBOBJS = | |
149 | +LIBS = -ldl | |
150 | +LIBTOOL = $(SHELL) $(top_builddir)/libtool | |
151 | +LIPO = | |
152 | +LN_S = ln -s | |
153 | +LTLIBOBJS = | |
154 | +MAKEINFO = ${SHELL} /tmp/ultramonkeyl7-3.1.3/missing makeinfo | |
155 | +MANDIR = | |
156 | +MANIFEST_TOOL = : | |
157 | +MKDIR_P = /usr/bin/mkdir -p | |
158 | +NM = /usr/bin/nm -B | |
159 | +NMEDIT = | |
160 | +OBJDUMP = objdump | |
161 | +OBJEXT = o | |
162 | +OTOOL = | |
163 | +OTOOL64 = | |
164 | +PACKAGE = l7vsd | |
165 | +PACKAGE_BUGREPORT = ultramonkey-l7-develop@lists.sourceforge.jp | |
166 | +PACKAGE_NAME = l7vsd | |
167 | +PACKAGE_STRING = l7vsd 3.1.3 | |
168 | +PACKAGE_TARNAME = l7vsd | |
169 | +PACKAGE_URL = | |
170 | +PACKAGE_VERSION = 3.1.3 | |
171 | +PATH_SEPARATOR = : | |
172 | +RANLIB = ranlib | |
173 | +SED = /usr/bin/sed | |
174 | +SET_MAKE = | |
175 | +SHELL = /bin/sh | |
176 | +STRIP = strip | |
177 | +VERSION = 3.1.3 | |
178 | +abs_builddir = /tmp/ultramonkeyl7-3.1.3/l7vsd/systemd | |
179 | +abs_srcdir = /tmp/ultramonkeyl7-3.1.3/l7vsd/systemd | |
180 | +abs_top_builddir = /tmp/ultramonkeyl7-3.1.3 | |
181 | +abs_top_srcdir = /tmp/ultramonkeyl7-3.1.3 | |
182 | +ac_ct_AR = ar | |
183 | +ac_ct_CC = gcc | |
184 | +ac_ct_CXX = g++ | |
185 | +ac_ct_DUMPBIN = | |
186 | +am__include = include | |
187 | +am__leading_dot = . | |
188 | +am__quote = | |
189 | +am__tar = $${TAR-tar} chof - "$$tardir" | |
190 | +am__untar = $${TAR-tar} xf - | |
191 | +bindir = ${exec_prefix}/bin | |
192 | +build = x86_64-unknown-linux-gnu | |
193 | +build_alias = | |
194 | +build_cpu = x86_64 | |
195 | +build_os = linux-gnu | |
196 | +build_vendor = unknown | |
197 | +builddir = . | |
198 | +check_systemd = 1 | |
199 | +datadir = ${datarootdir} | |
200 | +datarootdir = ${prefix}/share | |
201 | +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} | |
202 | +dvidir = ${docdir} | |
203 | +exec_prefix = ${prefix} | |
204 | +external_agent_libs = -Wl,-z,relro -Wl,-z,now -lsensors -ldl -lrpm -lrpmio -lwrap -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -lssl -lssl -lcrypto -lm | |
205 | +host = x86_64-unknown-linux-gnu | |
206 | +host_alias = | |
207 | +host_cpu = x86_64 | |
208 | +host_os = linux-gnu | |
209 | +host_vendor = unknown | |
210 | +htmldir = ${docdir} | |
211 | +includedir = ${prefix}/include | |
212 | +infodir = ${datarootdir}/info | |
213 | +install_sh = ${SHELL} /tmp/ultramonkeyl7-3.1.3/install-sh | |
214 | +l7vs_config = ${prefix}/etc/l7vs | |
215 | +l7vs_includedir = ${prefix}/include/l7vs | |
216 | +l7vs_max_buffer_size = 4096 | |
217 | +l7vs_moddir = ${exec_prefix}/lib/l7vs | |
218 | +l7vsadm_sockdir = ${prefix}/var/run/l7vs | |
219 | +libdir = ${exec_prefix}/lib | |
220 | +libexecdir = ${exec_prefix}/libexec | |
221 | +localedir = ${datarootdir}/locale | |
222 | +localstatedir = ${prefix}/var | |
223 | +mandir = ${datarootdir}/man | |
224 | +mkdir_p = $(MKDIR_P) | |
225 | +oldincludedir = /usr/include | |
226 | +pdfdir = ${docdir} | |
227 | +prefix = /usr/local | |
228 | +program_transform_name = s,x,x, | |
229 | +psdir = ${docdir} | |
230 | +sbindir = ${exec_prefix}/sbin | |
231 | +sharedstatedir = ${prefix}/com | |
232 | +srcdir = . | |
233 | +sysconfdir = ${prefix}/etc | |
234 | +target_alias = | |
235 | +top_build_prefix = ../../ | |
236 | +top_builddir = ../.. | |
237 | +top_srcdir = ../.. | |
238 | +ultramonkeyl7_version = ultramonkeyl7-3.1.3 | |
239 | +AUTOMAKE_OPTIONS = foreign | |
240 | +all: all-am | |
241 | + | |
242 | +.SUFFIXES: | |
243 | +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
244 | + @for dep in $?; do \ | |
245 | + case '$(am__configure_deps)' in \ | |
246 | + *$$dep*) \ | |
247 | + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
248 | + && { if test -f $@; then exit 0; else break; fi; }; \ | |
249 | + exit 1;; \ | |
250 | + esac; \ | |
251 | + done; \ | |
252 | + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign l7vsd/systemd/Makefile'; \ | |
253 | + $(am__cd) $(top_srcdir) && \ | |
254 | + $(AUTOMAKE) --foreign l7vsd/systemd/Makefile | |
255 | +.PRECIOUS: Makefile | |
256 | +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
257 | + @case '$?' in \ | |
258 | + *config.status*) \ | |
259 | + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
260 | + *) \ | |
261 | + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
262 | + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
263 | + esac; | |
264 | + | |
265 | +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
266 | + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
267 | + | |
268 | +$(top_srcdir)/configure: $(am__configure_deps) | |
269 | + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
270 | +$(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
271 | + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
272 | +$(am__aclocal_m4_deps): | |
273 | + | |
274 | +mostlyclean-libtool: | |
275 | + -rm -f *.lo | |
276 | + | |
277 | +clean-libtool: | |
278 | + -rm -rf .libs _libs | |
279 | +tags TAGS: | |
280 | + | |
281 | +ctags CTAGS: | |
282 | + | |
283 | +cscope cscopelist: | |
284 | + | |
285 | + | |
286 | +distdir: $(DISTFILES) | |
287 | + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
288 | + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
289 | + list='$(DISTFILES)'; \ | |
290 | + dist_files=`for file in $$list; do echo $$file; done | \ | |
291 | + sed -e "s|^$$srcdirstrip/||;t" \ | |
292 | + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
293 | + case $$dist_files in \ | |
294 | + */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
295 | + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
296 | + sort -u` ;; \ | |
297 | + esac; \ | |
298 | + for file in $$dist_files; do \ | |
299 | + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
300 | + if test -d $$d/$$file; then \ | |
301 | + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
302 | + if test -d "$(distdir)/$$file"; then \ | |
303 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
304 | + fi; \ | |
305 | + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
306 | + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
307 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
308 | + fi; \ | |
309 | + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
310 | + else \ | |
311 | + test -f "$(distdir)/$$file" \ | |
312 | + || cp -p $$d/$$file "$(distdir)/$$file" \ | |
313 | + || exit 1; \ | |
314 | + fi; \ | |
315 | + done | |
316 | +check-am: all-am | |
317 | +check: check-am | |
318 | +all-am: Makefile | |
319 | +installdirs: | |
320 | +install-exec: install-exec-am | |
321 | +install-data: install-data-am | |
322 | +uninstall: uninstall-am | |
323 | + | |
324 | +install-am: all-am | |
325 | + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
326 | + | |
327 | +installcheck: installcheck-am | |
328 | +install-strip: | |
329 | + if test -z '$(STRIP)'; then \ | |
330 | + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
331 | + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
332 | + install; \ | |
333 | + else \ | |
334 | + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
335 | + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
336 | + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
337 | + fi | |
338 | +mostlyclean-generic: | |
339 | + | |
340 | +clean-generic: | |
341 | + | |
342 | +distclean-generic: | |
343 | + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
344 | + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
345 | + | |
346 | +maintainer-clean-generic: | |
347 | + @echo "This command is intended for maintainers to use" | |
348 | + @echo "it deletes files that may require special tools to rebuild." | |
349 | +clean: clean-am | |
350 | + | |
351 | +clean-am: clean-generic clean-libtool mostlyclean-am | |
352 | + | |
353 | +distclean: distclean-am | |
354 | + -rm -f Makefile | |
355 | +distclean-am: clean-am distclean-generic | |
356 | + | |
357 | +dvi: dvi-am | |
358 | + | |
359 | +dvi-am: | |
360 | + | |
361 | +html: html-am | |
362 | + | |
363 | +html-am: | |
364 | + | |
365 | +info: info-am | |
366 | + | |
367 | +info-am: | |
368 | + | |
369 | +install-data-am: | |
370 | + | |
371 | +install-dvi: install-dvi-am | |
372 | + | |
373 | +install-dvi-am: | |
374 | + | |
375 | +install-exec-am: | |
376 | + | |
377 | +install-html: install-html-am | |
378 | + | |
379 | +install-html-am: | |
380 | + | |
381 | +install-info: install-info-am | |
382 | + | |
383 | +install-info-am: | |
384 | + | |
385 | +install-man: | |
386 | + | |
387 | +install-pdf: install-pdf-am | |
388 | + | |
389 | +install-pdf-am: | |
390 | + | |
391 | +install-ps: install-ps-am | |
392 | + | |
393 | +install-ps-am: | |
394 | + | |
395 | +installcheck-am: | |
396 | + | |
397 | +maintainer-clean: maintainer-clean-am | |
398 | + -rm -f Makefile | |
399 | +maintainer-clean-am: distclean-am maintainer-clean-generic | |
400 | + | |
401 | +mostlyclean: mostlyclean-am | |
402 | + | |
403 | +mostlyclean-am: mostlyclean-generic mostlyclean-libtool | |
404 | + | |
405 | +pdf: pdf-am | |
406 | + | |
407 | +pdf-am: | |
408 | + | |
409 | +ps: ps-am | |
410 | + | |
411 | +ps-am: | |
412 | + | |
413 | +uninstall-am: | |
414 | + | |
415 | +.MAKE: install-am install-strip | |
416 | + | |
417 | +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ | |
418 | + cscopelist-am ctags-am distclean distclean-generic \ | |
419 | + distclean-libtool distdir dvi dvi-am html html-am info info-am \ | |
420 | + install install-am install-data install-data-am install-dvi \ | |
421 | + install-dvi-am install-exec install-exec-am install-html \ | |
422 | + install-html-am install-info install-info-am install-man \ | |
423 | + install-pdf install-pdf-am install-ps install-ps-am \ | |
424 | + install-strip installcheck installcheck-am installdirs \ | |
425 | + maintainer-clean maintainer-clean-generic mostlyclean \ | |
426 | + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | |
427 | + tags-am uninstall uninstall-am | |
428 | + | |
429 | + | |
430 | +install: | |
431 | + $(INSTALL) -m 644 -D ./l7vsd.service ${prefix}/lib/systemd/system/l7vsd.service | |
432 | + | |
433 | +# Tell versions [3.59,3.63) of GNU make to not export all variables. | |
434 | +# Otherwise a system limit (for SysV at least) may be exceeded. | |
435 | +.NOEXPORT: |
@@ -0,0 +1,6 @@ | ||
1 | +AUTOMAKE_OPTIONS = foreign | |
2 | + | |
3 | +install: | |
4 | +if CHECK_SYSTEMD | |
5 | + $(INSTALL) -m 644 -D ./l7vsd.service ${prefix}/lib/systemd/system/l7vsd.service | |
6 | +endif |
@@ -0,0 +1,435 @@ | ||
1 | +# Makefile.in generated by automake 1.13.4 from Makefile.am. | |
2 | +# @configure_input@ | |
3 | + | |
4 | +# Copyright (C) 1994-2013 Free Software Foundation, Inc. | |
5 | + | |
6 | +# This Makefile.in is free software; the Free Software Foundation | |
7 | +# gives unlimited permission to copy and/or distribute it, | |
8 | +# with or without modifications, as long as this notice is preserved. | |
9 | + | |
10 | +# This program is distributed in the hope that it will be useful, | |
11 | +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
12 | +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
13 | +# PARTICULAR PURPOSE. | |
14 | + | |
15 | +@SET_MAKE@ | |
16 | +VPATH = @srcdir@ | |
17 | +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | |
18 | +am__make_running_with_option = \ | |
19 | + case $${target_option-} in \ | |
20 | + ?) ;; \ | |
21 | + *) echo "am__make_running_with_option: internal error: invalid" \ | |
22 | + "target option '$${target_option-}' specified" >&2; \ | |
23 | + exit 1;; \ | |
24 | + esac; \ | |
25 | + has_opt=no; \ | |
26 | + sane_makeflags=$$MAKEFLAGS; \ | |
27 | + if $(am__is_gnu_make); then \ | |
28 | + sane_makeflags=$$MFLAGS; \ | |
29 | + else \ | |
30 | + case $$MAKEFLAGS in \ | |
31 | + *\\[\ \ ]*) \ | |
32 | + bs=\\; \ | |
33 | + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
34 | + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
35 | + esac; \ | |
36 | + fi; \ | |
37 | + skip_next=no; \ | |
38 | + strip_trailopt () \ | |
39 | + { \ | |
40 | + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
41 | + }; \ | |
42 | + for flg in $$sane_makeflags; do \ | |
43 | + test $$skip_next = yes && { skip_next=no; continue; }; \ | |
44 | + case $$flg in \ | |
45 | + *=*|--*) continue;; \ | |
46 | + -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
47 | + -*I?*) strip_trailopt 'I';; \ | |
48 | + -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
49 | + -*O?*) strip_trailopt 'O';; \ | |
50 | + -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
51 | + -*l?*) strip_trailopt 'l';; \ | |
52 | + -[dEDm]) skip_next=yes;; \ | |
53 | + -[JT]) skip_next=yes;; \ | |
54 | + esac; \ | |
55 | + case $$flg in \ | |
56 | + *$$target_option*) has_opt=yes; break;; \ | |
57 | + esac; \ | |
58 | + done; \ | |
59 | + test $$has_opt = yes | |
60 | +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
61 | +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
62 | +pkgdatadir = $(datadir)/@PACKAGE@ | |
63 | +pkgincludedir = $(includedir)/@PACKAGE@ | |
64 | +pkglibdir = $(libdir)/@PACKAGE@ | |
65 | +pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
66 | +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
67 | +install_sh_DATA = $(install_sh) -c -m 644 | |
68 | +install_sh_PROGRAM = $(install_sh) -c | |
69 | +install_sh_SCRIPT = $(install_sh) -c | |
70 | +INSTALL_HEADER = $(INSTALL_DATA) | |
71 | +transform = $(program_transform_name) | |
72 | +NORMAL_INSTALL = : | |
73 | +PRE_INSTALL = : | |
74 | +POST_INSTALL = : | |
75 | +NORMAL_UNINSTALL = : | |
76 | +PRE_UNINSTALL = : | |
77 | +POST_UNINSTALL = : | |
78 | +build_triplet = @build@ | |
79 | +host_triplet = @host@ | |
80 | +subdir = l7vsd/systemd | |
81 | +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am | |
82 | +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
83 | +am__aclocal_m4_deps = $(top_srcdir)/configure.ac | |
84 | +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
85 | + $(ACLOCAL_M4) | |
86 | +mkinstalldirs = $(install_sh) -d | |
87 | +CONFIG_HEADER = $(top_builddir)/config.h | |
88 | +CONFIG_CLEAN_FILES = | |
89 | +CONFIG_CLEAN_VPATH_FILES = | |
90 | +AM_V_P = $(am__v_P_@AM_V@) | |
91 | +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
92 | +am__v_P_0 = false | |
93 | +am__v_P_1 = : | |
94 | +AM_V_GEN = $(am__v_GEN_@AM_V@) | |
95 | +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
96 | +am__v_GEN_0 = @echo " GEN " $@; | |
97 | +am__v_GEN_1 = | |
98 | +AM_V_at = $(am__v_at_@AM_V@) | |
99 | +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
100 | +am__v_at_0 = @ | |
101 | +am__v_at_1 = | |
102 | +SOURCES = | |
103 | +DIST_SOURCES = | |
104 | +am__can_run_installinfo = \ | |
105 | + case $$AM_UPDATE_INFO_DIR in \ | |
106 | + n|no|NO) false;; \ | |
107 | + *) (install-info --version) >/dev/null 2>&1;; \ | |
108 | + esac | |
109 | +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
110 | +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
111 | +ACLOCAL = @ACLOCAL@ | |
112 | +AMTAR = @AMTAR@ | |
113 | +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
114 | +AR = @AR@ | |
115 | +AUTOCONF = @AUTOCONF@ | |
116 | +AUTOHEADER = @AUTOHEADER@ | |
117 | +AUTOMAKE = @AUTOMAKE@ | |
118 | +AWK = @AWK@ | |
119 | +CC = @CC@ | |
120 | +CCDEPMODE = @CCDEPMODE@ | |
121 | +CFLAGS = @CFLAGS@ | |
122 | +CPP = @CPP@ | |
123 | +CPPFLAGS = @CPPFLAGS@ | |
124 | +CXX = @CXX@ | |
125 | +CXXCPP = @CXXCPP@ | |
126 | +CXXDEPMODE = @CXXDEPMODE@ | |
127 | +CXXFLAGS = @CXXFLAGS@ | |
128 | +CYGPATH_W = @CYGPATH_W@ | |
129 | +DEFS = @DEFS@ | |
130 | +DEPDIR = @DEPDIR@ | |
131 | +DLLTOOL = @DLLTOOL@ | |
132 | +DSYMUTIL = @DSYMUTIL@ | |
133 | +DUMPBIN = @DUMPBIN@ | |
134 | +ECHO_C = @ECHO_C@ | |
135 | +ECHO_N = @ECHO_N@ | |
136 | +ECHO_T = @ECHO_T@ | |
137 | +EGREP = @EGREP@ | |
138 | +EXEEXT = @EXEEXT@ | |
139 | +FGREP = @FGREP@ | |
140 | +GREP = @GREP@ | |
141 | +INSTALL = @INSTALL@ | |
142 | +INSTALL_DATA = @INSTALL_DATA@ | |
143 | +INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
144 | +INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
145 | +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
146 | +LD = @LD@ | |
147 | +LDFLAGS = @LDFLAGS@ | |
148 | +LIBOBJS = @LIBOBJS@ | |
149 | +LIBS = @LIBS@ | |
150 | +LIBTOOL = @LIBTOOL@ | |
151 | +LIPO = @LIPO@ | |
152 | +LN_S = @LN_S@ | |
153 | +LTLIBOBJS = @LTLIBOBJS@ | |
154 | +MAKEINFO = @MAKEINFO@ | |
155 | +MANDIR = @MANDIR@ | |
156 | +MANIFEST_TOOL = @MANIFEST_TOOL@ | |
157 | +MKDIR_P = @MKDIR_P@ | |
158 | +NM = @NM@ | |
159 | +NMEDIT = @NMEDIT@ | |
160 | +OBJDUMP = @OBJDUMP@ | |
161 | +OBJEXT = @OBJEXT@ | |
162 | +OTOOL = @OTOOL@ | |
163 | +OTOOL64 = @OTOOL64@ | |
164 | +PACKAGE = @PACKAGE@ | |
165 | +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
166 | +PACKAGE_NAME = @PACKAGE_NAME@ | |
167 | +PACKAGE_STRING = @PACKAGE_STRING@ | |
168 | +PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
169 | +PACKAGE_URL = @PACKAGE_URL@ | |
170 | +PACKAGE_VERSION = @PACKAGE_VERSION@ | |
171 | +PATH_SEPARATOR = @PATH_SEPARATOR@ | |
172 | +RANLIB = @RANLIB@ | |
173 | +SED = @SED@ | |
174 | +SET_MAKE = @SET_MAKE@ | |
175 | +SHELL = @SHELL@ | |
176 | +STRIP = @STRIP@ | |
177 | +VERSION = @VERSION@ | |
178 | +abs_builddir = @abs_builddir@ | |
179 | +abs_srcdir = @abs_srcdir@ | |
180 | +abs_top_builddir = @abs_top_builddir@ | |
181 | +abs_top_srcdir = @abs_top_srcdir@ | |
182 | +ac_ct_AR = @ac_ct_AR@ | |
183 | +ac_ct_CC = @ac_ct_CC@ | |
184 | +ac_ct_CXX = @ac_ct_CXX@ | |
185 | +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | |
186 | +am__include = @am__include@ | |
187 | +am__leading_dot = @am__leading_dot@ | |
188 | +am__quote = @am__quote@ | |
189 | +am__tar = @am__tar@ | |
190 | +am__untar = @am__untar@ | |
191 | +bindir = @bindir@ | |
192 | +build = @build@ | |
193 | +build_alias = @build_alias@ | |
194 | +build_cpu = @build_cpu@ | |
195 | +build_os = @build_os@ | |
196 | +build_vendor = @build_vendor@ | |
197 | +builddir = @builddir@ | |
198 | +check_systemd = @check_systemd@ | |
199 | +datadir = @datadir@ | |
200 | +datarootdir = @datarootdir@ | |
201 | +docdir = @docdir@ | |
202 | +dvidir = @dvidir@ | |
203 | +exec_prefix = @exec_prefix@ | |
204 | +external_agent_libs = @external_agent_libs@ | |
205 | +host = @host@ | |
206 | +host_alias = @host_alias@ | |
207 | +host_cpu = @host_cpu@ | |
208 | +host_os = @host_os@ | |
209 | +host_vendor = @host_vendor@ | |
210 | +htmldir = @htmldir@ | |
211 | +includedir = @includedir@ | |
212 | +infodir = @infodir@ | |
213 | +install_sh = @install_sh@ | |
214 | +l7vs_config = @l7vs_config@ | |
215 | +l7vs_includedir = @l7vs_includedir@ | |
216 | +l7vs_max_buffer_size = @l7vs_max_buffer_size@ | |
217 | +l7vs_moddir = @l7vs_moddir@ | |
218 | +l7vsadm_sockdir = @l7vsadm_sockdir@ | |
219 | +libdir = @libdir@ | |
220 | +libexecdir = @libexecdir@ | |
221 | +localedir = @localedir@ | |
222 | +localstatedir = @localstatedir@ | |
223 | +mandir = @mandir@ | |
224 | +mkdir_p = @mkdir_p@ | |
225 | +oldincludedir = @oldincludedir@ | |
226 | +pdfdir = @pdfdir@ | |
227 | +prefix = @prefix@ | |
228 | +program_transform_name = @program_transform_name@ | |
229 | +psdir = @psdir@ | |
230 | +sbindir = @sbindir@ | |
231 | +sharedstatedir = @sharedstatedir@ | |
232 | +srcdir = @srcdir@ | |
233 | +sysconfdir = @sysconfdir@ | |
234 | +target_alias = @target_alias@ | |
235 | +top_build_prefix = @top_build_prefix@ | |
236 | +top_builddir = @top_builddir@ | |
237 | +top_srcdir = @top_srcdir@ | |
238 | +ultramonkeyl7_version = @ultramonkeyl7_version@ | |
239 | +AUTOMAKE_OPTIONS = foreign | |
240 | +all: all-am | |
241 | + | |
242 | +.SUFFIXES: | |
243 | +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
244 | + @for dep in $?; do \ | |
245 | + case '$(am__configure_deps)' in \ | |
246 | + *$$dep*) \ | |
247 | + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
248 | + && { if test -f $@; then exit 0; else break; fi; }; \ | |
249 | + exit 1;; \ | |
250 | + esac; \ | |
251 | + done; \ | |
252 | + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign l7vsd/systemd/Makefile'; \ | |
253 | + $(am__cd) $(top_srcdir) && \ | |
254 | + $(AUTOMAKE) --foreign l7vsd/systemd/Makefile | |
255 | +.PRECIOUS: Makefile | |
256 | +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
257 | + @case '$?' in \ | |
258 | + *config.status*) \ | |
259 | + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
260 | + *) \ | |
261 | + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
262 | + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
263 | + esac; | |
264 | + | |
265 | +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
266 | + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
267 | + | |
268 | +$(top_srcdir)/configure: $(am__configure_deps) | |
269 | + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
270 | +$(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
271 | + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
272 | +$(am__aclocal_m4_deps): | |
273 | + | |
274 | +mostlyclean-libtool: | |
275 | + -rm -f *.lo | |
276 | + | |
277 | +clean-libtool: | |
278 | + -rm -rf .libs _libs | |
279 | +tags TAGS: | |
280 | + | |
281 | +ctags CTAGS: | |
282 | + | |
283 | +cscope cscopelist: | |
284 | + | |
285 | + | |
286 | +distdir: $(DISTFILES) | |
287 | + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
288 | + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
289 | + list='$(DISTFILES)'; \ | |
290 | + dist_files=`for file in $$list; do echo $$file; done | \ | |
291 | + sed -e "s|^$$srcdirstrip/||;t" \ | |
292 | + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
293 | + case $$dist_files in \ | |
294 | + */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
295 | + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
296 | + sort -u` ;; \ | |
297 | + esac; \ | |
298 | + for file in $$dist_files; do \ | |
299 | + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
300 | + if test -d $$d/$$file; then \ | |
301 | + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
302 | + if test -d "$(distdir)/$$file"; then \ | |
303 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
304 | + fi; \ | |
305 | + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
306 | + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
307 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
308 | + fi; \ | |
309 | + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
310 | + else \ | |
311 | + test -f "$(distdir)/$$file" \ | |
312 | + || cp -p $$d/$$file "$(distdir)/$$file" \ | |
313 | + || exit 1; \ | |
314 | + fi; \ | |
315 | + done | |
316 | +check-am: all-am | |
317 | +check: check-am | |
318 | +all-am: Makefile | |
319 | +installdirs: | |
320 | +install-exec: install-exec-am | |
321 | +install-data: install-data-am | |
322 | +uninstall: uninstall-am | |
323 | + | |
324 | +install-am: all-am | |
325 | + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
326 | + | |
327 | +installcheck: installcheck-am | |
328 | +install-strip: | |
329 | + if test -z '$(STRIP)'; then \ | |
330 | + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
331 | + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
332 | + install; \ | |
333 | + else \ | |
334 | + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
335 | + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
336 | + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
337 | + fi | |
338 | +mostlyclean-generic: | |
339 | + | |
340 | +clean-generic: | |
341 | + | |
342 | +distclean-generic: | |
343 | + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
344 | + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
345 | + | |
346 | +maintainer-clean-generic: | |
347 | + @echo "This command is intended for maintainers to use" | |
348 | + @echo "it deletes files that may require special tools to rebuild." | |
349 | +clean: clean-am | |
350 | + | |
351 | +clean-am: clean-generic clean-libtool mostlyclean-am | |
352 | + | |
353 | +distclean: distclean-am | |
354 | + -rm -f Makefile | |
355 | +distclean-am: clean-am distclean-generic | |
356 | + | |
357 | +dvi: dvi-am | |
358 | + | |
359 | +dvi-am: | |
360 | + | |
361 | +html: html-am | |
362 | + | |
363 | +html-am: | |
364 | + | |
365 | +info: info-am | |
366 | + | |
367 | +info-am: | |
368 | + | |
369 | +install-data-am: | |
370 | + | |
371 | +install-dvi: install-dvi-am | |
372 | + | |
373 | +install-dvi-am: | |
374 | + | |
375 | +install-exec-am: | |
376 | + | |
377 | +install-html: install-html-am | |
378 | + | |
379 | +install-html-am: | |
380 | + | |
381 | +install-info: install-info-am | |
382 | + | |
383 | +install-info-am: | |
384 | + | |
385 | +install-man: | |
386 | + | |
387 | +install-pdf: install-pdf-am | |
388 | + | |
389 | +install-pdf-am: | |
390 | + | |
391 | +install-ps: install-ps-am | |
392 | + | |
393 | +install-ps-am: | |
394 | + | |
395 | +installcheck-am: | |
396 | + | |
397 | +maintainer-clean: maintainer-clean-am | |
398 | + -rm -f Makefile | |
399 | +maintainer-clean-am: distclean-am maintainer-clean-generic | |
400 | + | |
401 | +mostlyclean: mostlyclean-am | |
402 | + | |
403 | +mostlyclean-am: mostlyclean-generic mostlyclean-libtool | |
404 | + | |
405 | +pdf: pdf-am | |
406 | + | |
407 | +pdf-am: | |
408 | + | |
409 | +ps: ps-am | |
410 | + | |
411 | +ps-am: | |
412 | + | |
413 | +uninstall-am: | |
414 | + | |
415 | +.MAKE: install-am install-strip | |
416 | + | |
417 | +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ | |
418 | + cscopelist-am ctags-am distclean distclean-generic \ | |
419 | + distclean-libtool distdir dvi dvi-am html html-am info info-am \ | |
420 | + install install-am install-data install-data-am install-dvi \ | |
421 | + install-dvi-am install-exec install-exec-am install-html \ | |
422 | + install-html-am install-info install-info-am install-man \ | |
423 | + install-pdf install-pdf-am install-ps install-ps-am \ | |
424 | + install-strip installcheck installcheck-am installdirs \ | |
425 | + maintainer-clean maintainer-clean-generic mostlyclean \ | |
426 | + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | |
427 | + tags-am uninstall uninstall-am | |
428 | + | |
429 | + | |
430 | +install: | |
431 | +@CHECK_SYSTEMD_TRUE@ $(INSTALL) -m 644 -D ./l7vsd.service ${prefix}/lib/systemd/system/l7vsd.service | |
432 | + | |
433 | +# Tell versions [3.59,3.63) of GNU make to not export all variables. | |
434 | +# Otherwise a system limit (for SysV at least) may be exceeded. | |
435 | +.NOEXPORT: |
@@ -0,0 +1,14 @@ | ||
1 | +[Unit] | |
2 | +Description=UltraMonkey-L7 loadbalancing daemon | |
3 | +After=syslog.target network.target nss-lookup.service | |
4 | + | |
5 | +[Service] | |
6 | +Type=oneshot | |
7 | +# LimitNOFILE=65536 | |
8 | +EnvironmentFile=/etc/l7vs/l7vs.cf | |
9 | +ExecStart=/usr/sbin/l7vsd | |
10 | +ExecStop=/bin/kill $MAINPID | |
11 | +RemainAfterExit=yes | |
12 | + | |
13 | +[Install] | |
14 | +WantedBy=multi-user.target |
@@ -1,177 +0,0 @@ | ||
1 | -%define l7vs_moddir %{_libdir}/l7vs | |
2 | -%define l7vs_logdir %{_localstatedir}/log/l7vs | |
3 | -%define l7vs_includedir %{_includedir}/l7vs | |
4 | -%define l7vsadm_sockdir %{_localstatedir}/run/l7vs | |
5 | -%define l7vs_buffer_size 4096 | |
6 | - | |
7 | -Summary: The Layer-7 Virtual Server | |
8 | -Name: ultramonkeyl7 | |
9 | -Version: 3.1.1 | |
10 | -Release: 1%{?dist} | |
11 | -License: LGPLv2.1 | |
12 | -Group: System Environment/Daemons | |
13 | -URL: http://sourceforge.jp/projects/ultramonkey-l7/ | |
14 | -Source0: %{name}-%{version}.tar.gz | |
15 | -BuildRoot: %{_tmppath}/%{name}-%{version}-root | |
16 | -BuildRequires: glib2-devel | |
17 | -AutoReqProv: no | |
18 | -Requires: boost >= 1.41.0 | |
19 | -Requires: log4cxx >= 0.10.0 | |
20 | -Requires: apr | |
21 | -Requires: apr-util | |
22 | -Requires: openssl | |
23 | -Requires: net-snmp | |
24 | -Requires: perl | |
25 | -Requires: perl-libwww-perl | |
26 | -Requires: perl-Crypt-SSLeay | |
27 | -Requires: perl-Net-SSLeay | |
28 | -Requires: perl-IO-Socket-SSL | |
29 | -Requires: perl-IO-Socket-INET6 | |
30 | -Requires: perl-Sys-Syslog | |
31 | -Requires: perl-autodie | |
32 | -Requires: perl-Time-HiRes | |
33 | -Requires: systemd | |
34 | - | |
35 | -%define hb2_tempdir /usr/share/doc/%{name}-%{version}/heartbeat-ra | |
36 | -%define mibs_tempdir /usr/share/doc/%{name}-%{version}/mibs | |
37 | -%define moduledevel_tempdir /usr/share/doc/%{name}-%{version}/moduledevel | |
38 | - | |
39 | -%description | |
40 | -Layer-7 load balancing daemon | |
41 | - | |
42 | -%package devel | |
43 | -Summary: Header files for UltraMonkeyl7's module | |
44 | -Group: Development/Libraries | |
45 | -Requires: %{name} = %{version}-%{release} | |
46 | - | |
47 | -%description devel | |
48 | -This is the development package that provides header files | |
49 | -for UltraMonkeyl7's module. | |
50 | - | |
51 | -%prep | |
52 | -%setup -q | |
53 | - | |
54 | -%build | |
55 | -./configure \ | |
56 | - --prefix=%{_prefix} \ | |
57 | - --sysconfdir=%{_sysconfdir} \ | |
58 | - --localstatedir=%{_localstatedir} \ | |
59 | - --libdir=%{_libdir} | |
60 | - | |
61 | -make %{?_smp_mflags} | |
62 | - | |
63 | -%install | |
64 | -rm -rf ${RPM_BUILD_ROOT} | |
65 | - | |
66 | -mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} | |
67 | -mkdir -p -m 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/l7vs | |
68 | -mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/l7vs/sslproxy | |
69 | -mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/ha.d/conf | |
70 | -mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/lib/systemd/system | |
71 | -mkdir -p -m 755 ${RPM_BUILD_ROOT}%{l7vs_moddir} | |
72 | -mkdir -p ${RPM_BUILD_ROOT}%{l7vs_logdir} | |
73 | -mkdir -p ${RPM_BUILD_ROOT}%{l7vsadm_sockdir} | |
74 | -mkdir -p ${RPM_BUILD_ROOT}%{hb2_tempdir} | |
75 | -mkdir -p ${RPM_BUILD_ROOT}%{mibs_tempdir} | |
76 | -mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8 | |
77 | -mkdir -p ${RPM_BUILD_ROOT}%{moduledevel_tempdir} | |
78 | -mkdir -p ${RPM_BUILD_ROOT}%{_includedir} | |
79 | - | |
80 | -%makeinstall \ | |
81 | - L7VS_CONF_DIR=${RPM_BUILD_ROOT}%{_sysconfdir}/l7vs \ | |
82 | - L7VS_MODDIR=${RPM_BUILD_ROOT}%{l7vs_moddir} | |
83 | - | |
84 | -%clean | |
85 | -rm -rf $RPM_BUILD_ROOT | |
86 | - | |
87 | -%post | |
88 | -systemctl daemon-reload | |
89 | - | |
90 | -%preun | |
91 | -if [ $1 = 0 ]; then | |
92 | - systemctl stop l7directord > /dev/null 2>&1 | |
93 | - systemctl stop l7vsd > /dev/null 2>&1 | |
94 | -fi | |
95 | - | |
96 | -%files | |
97 | -%defattr(-, root, root, 0755) | |
98 | -%{_sbindir}/* | |
99 | -%{l7vs_moddir}/* | |
100 | -%{_prefix}/lib/systemd/system/* | |
101 | -%dir %{l7vs_moddir} | |
102 | -%dir %{l7vs_logdir} | |
103 | -%dir %{_sysconfdir}/l7vs | |
104 | -%dir %{_sysconfdir}/ha.d | |
105 | -%config(noreplace) %{_sysconfdir}/l7vs/* | |
106 | -%config(noreplace) %{_sysconfdir}/ha.d/* | |
107 | -%dir %{l7vsadm_sockdir} | |
108 | -%dir %{_docdir}/%{name}-%{version} | |
109 | -%dir %{hb2_tempdir} | |
110 | -%doc %{hb2_tempdir}/* | |
111 | -%dir %{mibs_tempdir} | |
112 | -%doc %{mibs_tempdir}/* | |
113 | -%{_mandir}/man8/* | |
114 | -%config(noreplace) %{_sysconfdir}/logrotate.d/l7directord | |
115 | - | |
116 | -%files devel | |
117 | -%defattr(-, root, root, 0755) | |
118 | -%dir %{_includedir}/l7vs | |
119 | -%{_includedir}/l7vs/protocol_module_base.h | |
120 | -%{_includedir}/l7vs/schedule_module_base.h | |
121 | -%{_includedir}/l7vs/module_base.h | |
122 | -%{_includedir}/l7vs/utility.h | |
123 | -%{_includedir}/l7vs/logger.h | |
124 | -%{_includedir}/l7vs/logger_enum.h | |
125 | -%{_includedir}/l7vs/trapmessage.h | |
126 | -%{_includedir}/l7vs/error_code.h | |
127 | -%{_includedir}/l7vs/atomic.h | |
128 | -%{_includedir}/l7vs/wrlock.h | |
129 | -%{_includedir}/l7vs/replication.h | |
130 | -%{_includedir}/l7vs/realserver.h | |
131 | -%{_includedir}/l7vs/realserver_element.h | |
132 | -%{_includedir}/l7vs/endpoint.h | |
133 | -%dir %{moduledevel_tempdir} | |
134 | -%{moduledevel_tempdir}/* | |
135 | - | |
136 | -%changelog | |
137 | -* Thu Jun 26 2014 Hiroaki Nakano <nakano.hiroaki@nttcom.co.jp> 3.1.1-1 | |
138 | -- Create RHEL7 rpm package. | |
139 | - | |
140 | -* Fri Mar 7 2014 Hiroaki Nakano <nakano.hiroaki@nttcom.co.jp> 3.1.1-1 | |
141 | -- Update for 3.1.1-1 | |
142 | -- Marge from 3.1.1-devel to master. And modefy version. | |
143 | - | |
144 | -* Fri Feb 7 2014 Hiroaki Nakano <nakano.hiroaki@nttcom.co.jp> 3.1.1-devel | |
145 | -- Update for 3.1.1-devel | |
146 | -- Bugfix | |
147 | - | |
148 | -* Sat Sep 8 2012 HIBARI Michiro <l05102@shibaura-it.ac.jp> 3.1.0-devel | |
149 | -- Update for 3.1.0-devel | |
150 | -- Change spec file for generate devel package. | |
151 | - | |
152 | -* Fri Aug 31 2012 Hiroaki Nakano <nakano.hiroaki@nttcom.co.jp> 3.0.4-2 | |
153 | -- Update for 3.0.4-2 | |
154 | - | |
155 | -* Mon Aug 6 2012 Takeda Kenji <takeda.kenji@nttcom.co.jp> 3.0.4-1 | |
156 | -- Update for 3.0.4-1 | |
157 | - | |
158 | -* Wed Aug 1 2012 Hiroaki Nakano <nakano.hiroaki@nttcom.co.jp> 3.0.4-rc1 | |
159 | -- Update for 3.0.4-rc1 | |
160 | - | |
161 | -* Thu Dec 20 2011 HIBARI Michiro <hibari.michirou@nttcom.co.jp> 3.0.3-1 | |
162 | -- Update for 3.0.3-1 | |
163 | - | |
164 | -* Thu Feb 10 2011 HIBARI Michiro <hibari.michirou@nttcom.co.jp> 3.0.2-1 | |
165 | -- Update for 3.0.2-1 | |
166 | - | |
167 | -* Mon Jan 24 2011 HIBARI Michiro <hibari.michirou@nttcom.co.jp> 3.0.1-1 | |
168 | -- Update for 3.0.1-1 | |
169 | - | |
170 | -* Thu Jan 14 2010 TATEISHI Katsuyuki <kt@wheel.jp> 3.0.0-1 | |
171 | -- Update for 3.0.0-1 | |
172 | - | |
173 | -* Sat Aug 22 2009 TATEISHI Katsuyuki <kt@wheel.jp> 2.1.3-0 | |
174 | -- Update for 2.1.3-0 | |
175 | - | |
176 | -* Thu Aug 6 2009 TATEISHI Katsuyuki <kt@wheel.jp> 2.1.2-2atfix | |
177 | -- rpmlint free |
@@ -6,8 +6,8 @@ | ||
6 | 6 | |
7 | 7 | Summary: The Layer-7 Virtual Server |
8 | 8 | Name: ultramonkeyl7 |
9 | -Version: 3.1.2 | |
10 | -Release: 1%{?dist} | |
9 | +Version: 3.1.3 | |
10 | +Release: rc1%{?dist} | |
11 | 11 | License: LGPLv2.1 |
12 | 12 | Group: System Environment/Daemons |
13 | 13 | URL: http://sourceforge.jp/projects/ultramonkey-l7/ |
@@ -51,6 +51,9 @@ for UltraMonkeyl7's module. | ||
51 | 51 | ./configure \ |
52 | 52 | --prefix=%{_prefix} \ |
53 | 53 | --sysconfdir=%{_sysconfdir} \ |
54 | +%if %{defined _unitdir} | |
55 | + --with-systemdsystemunitdir=%{_unitdir} \ | |
56 | +%endif | |
54 | 57 | --localstatedir=%{_localstatedir} \ |
55 | 58 | --libdir=%{_libdir} |
56 | 59 |
@@ -63,7 +66,11 @@ mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} | ||
63 | 66 | mkdir -p -m 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/l7vs |
64 | 67 | mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/l7vs/sslproxy |
65 | 68 | mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/ha.d/conf |
69 | +%if %{defined _unitdir} | |
70 | +mkdir -p ${RPM_BUILD_ROOT}%{_unitdir} | |
71 | +%else | |
66 | 72 | mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d |
73 | +%endif | |
67 | 74 | mkdir -p -m 755 ${RPM_BUILD_ROOT}%{l7vs_moddir} |
68 | 75 | mkdir -p ${RPM_BUILD_ROOT}%{l7vs_logdir} |
69 | 76 | mkdir -p ${RPM_BUILD_ROOT}%{l7vsadm_sockdir} |
@@ -81,22 +88,37 @@ mkdir -p ${RPM_BUILD_ROOT}%{_includedir} | ||
81 | 88 | rm -rf $RPM_BUILD_ROOT |
82 | 89 | |
83 | 90 | %post |
84 | -chkconfig --add l7vsd | |
85 | -chkconfig --add l7directord | |
91 | +%if %{defined _unitdir} | |
92 | + systemctl daemon-reload | |
93 | +%else | |
94 | + chkconfig --add l7vsd | |
95 | + chkconfig --add l7directord | |
96 | +%endif | |
86 | 97 | |
87 | 98 | %preun |
88 | 99 | if [ $1 = 0 ]; then |
100 | +%if %{defined _unitdir} | |
101 | + systemctl disable l7directord > /dev/null 2>&1 | |
102 | + systemctl disable l7vsd > /dev/null 2>&1 | |
103 | + systemctl stop l7directord > /dev/null 2>&1 | |
104 | + systemctl stop l7vsd > /dev/null 2>&1 | |
105 | +%else | |
89 | 106 | /sbin/service l7directord stop > /dev/null 2>&1 |
90 | 107 | /sbin/service l7vsd stop > /dev/null 2>&1 |
91 | 108 | chkconfig --del l7vsd |
92 | 109 | chkconfig --del l7directord |
110 | +%endif | |
93 | 111 | fi |
94 | 112 | |
95 | 113 | %files |
96 | 114 | %defattr(-, root, root, 0755) |
97 | 115 | %{_sbindir}/* |
98 | 116 | %{l7vs_moddir}/* |
117 | +%if %{defined _unitdir} | |
118 | +%{_unitdir}/* | |
119 | +%else | |
99 | 120 | %{_sysconfdir}/rc.d/init.d/* |
121 | +%endif | |
100 | 122 | %dir %{l7vs_moddir} |
101 | 123 | %dir %{l7vs_logdir} |
102 | 124 | %dir %{_sysconfdir}/l7vs |
@@ -133,7 +155,11 @@ fi | ||
133 | 155 | %{moduledevel_tempdir}/* |
134 | 156 | |
135 | 157 | %changelog |
136 | -* Wed Sep 11 2014 Hiroaki Nakano <nakano.hiroaki@nttcom.co.jp> 3.1.2-1 | |
158 | +* Sun Oct 18 2015 HIBARI Michiro <l05102@shibaura-it.ac.jp> 3.1.3-rc1 | |
159 | +- Update for 3.1.3-rc1 | |
160 | +- Add systemd Unit file. | |
161 | + | |
162 | +* Wed Sep 10 2014 Hiroaki Nakano <nakano.hiroaki@nttcom.co.jp> 3.1.2-1 | |
137 | 163 | - Update for 3.1.2-1 |
138 | 164 | - Marge from 3.1.2-devel to master. And modefy version. |
139 | 165 | - Fixed degraded bug: re-patch for fixed ticket 30300. |
@@ -159,7 +185,7 @@ fi | ||
159 | 185 | * Wed Aug 1 2012 Hiroaki Nakano <nakano.hiroaki@nttcom.co.jp> 3.0.4-rc1 |
160 | 186 | - Update for 3.0.4-rc1 |
161 | 187 | |
162 | -* Thu Dec 20 2011 HIBARI Michiro <hibari.michirou@nttcom.co.jp> 3.0.3-1 | |
188 | +* Tue Dec 20 2011 HIBARI Michiro <hibari.michirou@nttcom.co.jp> 3.0.3-1 | |
163 | 189 | - Update for 3.0.3-1 |
164 | 190 | |
165 | 191 | * Thu Feb 10 2011 HIBARI Michiro <hibari.michirou@nttcom.co.jp> 3.0.2-1 |