|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../keepalived/locations.patch
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
|
# Copyright (C) 1998 - 2004 Clifford Wolf
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
init.d dir is inside rc.d/, and we don't want samples on $sysconfdir
|
|
|
|
Alejandro
|
|
|
|
|
|
|
|
--- ./keepalived/Makefile.in.orig 2005-02-14 11:02:39.000000000 -0300
|
|
|
|
+++ ./keepalived/Makefile.in 2005-02-15 09:35:06.445206336 -0300
|
|
|
|
@@ -96,11 +96,10 @@
|
|
|
|
install:
|
|
|
|
install -d $(DESTDIR)$(sbindir)
|
|
|
|
install -m 700 $(BIN)/$(EXEC) $(DESTDIR)$(sbindir)/
|
|
|
|
- install -d $(DESTDIR)$(sysconfdir)/init.d
|
|
|
|
- install -m 755 $(init_script) $(DESTDIR)$(sysconfdir)/init.d/keepalived
|
|
|
|
- install -d $(DESTDIR)$(sysconfdir)/keepalived/samples
|
|
|
|
+ install -d $(DESTDIR)$(sysconfdir)/rc.d/init.d
|
|
|
|
+ install -m 755 $(init_script) $(DESTDIR)$(sysconfdir)/rc.d/init.d/keepalived
|
|
|
|
+ install -d $(DESTDIR)$(sysconfdir)/keepalived
|
|
|
|
install -m 644 $(conf_file) $(DESTDIR)$(sysconfdir)/keepalived/
|
|
|
|
- install -m 644 ../doc/samples/* $(DESTDIR)$(sysconfdir)/keepalived/samples/
|
|
|
|
install -d $(DESTDIR)@mandir@/man/man5
|
|
|
|
install -d $(DESTDIR)@mandir@/man/man8
|
|
|
|
install -m 644 ../doc/man/man5/keepalived.conf.5 $(DESTDIR)@mandir@/man/man5
|