diff options
Diffstat (limited to 'sysutils/cfengine22/files')
-rw-r--r-- | sysutils/cfengine22/files/cfexecd.in | 29 | ||||
-rw-r--r-- | sysutils/cfengine22/files/cfservd.in | 29 | ||||
-rw-r--r-- | sysutils/cfengine22/files/patch-Makefile.in | 40 | ||||
-rw-r--r-- | sysutils/cfengine22/files/patch-contrib_Makefile.in | 18 | ||||
-rw-r--r-- | sysutils/cfengine22/files/patch-doc_Makefile.in | 75 | ||||
-rw-r--r-- | sysutils/cfengine22/files/patch-inputs_Makefile.in | 18 |
6 files changed, 209 insertions, 0 deletions
diff --git a/sysutils/cfengine22/files/cfexecd.in b/sysutils/cfengine22/files/cfexecd.in new file mode 100644 index 000000000000..0edae9657b98 --- /dev/null +++ b/sysutils/cfengine22/files/cfexecd.in @@ -0,0 +1,29 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: cfexecd +# REQUIRE: SERVERS +# BEFORE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf[.local] to enable cfexecd(8) +# +# cfexecd_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable cfexecd. +# cfexecd_flags (str): Custom additional arguments to be passed +# to cfexecd (default empty). +# + +. /etc/rc.subr + +name="cfexecd" +rcvar=cfexecd_enable + +command="%%PREFIX%%/sbin/${name}" + +load_rc_config $name + +: ${cfexecd_enable="NO"} + +run_rc_command "$1" diff --git a/sysutils/cfengine22/files/cfservd.in b/sysutils/cfengine22/files/cfservd.in new file mode 100644 index 000000000000..068c43a32437 --- /dev/null +++ b/sysutils/cfengine22/files/cfservd.in @@ -0,0 +1,29 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: cfservd +# REQUIRE: SERVERS +# BEFORE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf[.local] to enable cfservd(8) +# +# cfservd_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable cfservd. +# cfservd_flags (str): Custom additional arguments to be passed +# to cfservd (default empty). +# + +. /etc/rc.subr + +name="cfservd" +rcvar=cfservd_enable + +command="%%PREFIX%%/sbin/${name}" + +load_rc_config $name + +: ${cfservd_enable="NO"} + +run_rc_command "$1" diff --git a/sysutils/cfengine22/files/patch-Makefile.in b/sysutils/cfengine22/files/patch-Makefile.in new file mode 100644 index 000000000000..558288e16305 --- /dev/null +++ b/sysutils/cfengine22/files/patch-Makefile.in @@ -0,0 +1,40 @@ +--- Makefile.in.orig Mon Aug 4 10:55:48 2008 ++++ Makefile.in Tue Aug 12 23:03:09 2008 +@@ -187,7 +187,7 @@ + builddir = @builddir@ + datadir = @datadir@ + datarootdir = @datarootdir@ +-docdir = $(pkgdatadir) ++docdir = $(prefix)/share/doc/cfengine + dvidir = @dvidir@ + exec_prefix = @exec_prefix@ + host = @host@ +@@ -225,7 +225,11 @@ + @BUILD_DOC_TRUE@DOC_DIR = doc + SUBDIRS = pub src contrib inputs $(DOC_DIR) + EXTRA_DIST = acconfig.h doc/cfengine.8 COPYING ChangeLog INSTALL NEWS README LICENSE +-doc_DATA = README ChangeLog INSTALL NEWS ++.if defined(NOPORTDOCS) ++doc_DATA = ++.else ++doc_DATA = README ChangeLog INSTALL NEWS AUTHORS TODO ++.endif + + # + # Some basic clean ups +@@ -300,6 +304,7 @@ + -rm -f libtool + install-docDATA: $(doc_DATA) + @$(NORMAL_INSTALL) ++.if !defined(NOPORTDOCS) + test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" + @list='$(doc_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +@@ -307,6 +312,7 @@ + echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ + $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ + done ++.endif + + uninstall-docDATA: + @$(NORMAL_UNINSTALL) diff --git a/sysutils/cfengine22/files/patch-contrib_Makefile.in b/sysutils/cfengine22/files/patch-contrib_Makefile.in new file mode 100644 index 000000000000..5dac09930b39 --- /dev/null +++ b/sysutils/cfengine22/files/patch-contrib_Makefile.in @@ -0,0 +1,18 @@ +--- contrib/Makefile.in.orig 2008-07-01 22:50:46.000000000 -0400 ++++ contrib/Makefile.in 2008-07-01 22:51:08.000000000 -0400 +@@ -251,6 +251,7 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS) + @$(NORMAL_INSTALL) ++.if !defined(NOPORTEXAMPLES) + test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" + @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +@@ -260,6 +261,7 @@ + $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ + else :; fi; \ + done ++.endif + + uninstall-pkgdataSCRIPTS: + @$(NORMAL_UNINSTALL) diff --git a/sysutils/cfengine22/files/patch-doc_Makefile.in b/sysutils/cfengine22/files/patch-doc_Makefile.in new file mode 100644 index 000000000000..ccb1cd36d3f5 --- /dev/null +++ b/sysutils/cfengine22/files/patch-doc_Makefile.in @@ -0,0 +1,75 @@ +--- doc/Makefile.in.orig 2008-12-24 06:42:47.000000000 -0800 ++++ doc/Makefile.in 2009-02-02 14:27:17.000000000 -0800 +@@ -220,7 +220,7 @@ + man_MANS = cfengine.8 cfagent.8 cfenvd.8 cfenvgraph.8 cfexecd.8 cfkey.8 cfrun.8 cfservd.8 cfshow.8 cfetoolcheck.8 cfetooldump.8 cfetoolimport.8 cfetoolupdate.8 cfetoolcreate.8 cfetoolgraph.8 cfetoolinfo.8 + + # Info used in building the Info files +-info_TEXINFOS = cfengine-Reference.texinfo cfengine-Tutorial.texinfo ++info_TEXINFOS = + infofiles = $(info_TEXINFOS:.texinfo=.info) + MAKEINFOHTML = $(MAKEINFO) --html --no-split --css-include=cfcomdoc.css + +@@ -543,6 +543,7 @@ + done + + dist-info: $(INFO_DEPS) ++.if !defined(NOPORTDOCS) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + list='$(INFO_DEPS)'; \ + for base in $$list; do \ +@@ -559,6 +560,7 @@ + else :; fi; \ + done; \ + done ++.endif + + mostlyclean-aminfo: + -rm -rf cfengine-Reference.aux cfengine-Reference.cp cfengine-Reference.cps \ +@@ -648,6 +650,7 @@ + done + install-docDATA: $(doc_DATA) + @$(NORMAL_INSTALL) ++.if !defined(NOPORTDOCS) + test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" + @list='$(doc_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +@@ -655,6 +658,7 @@ + echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ + $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ + done ++.endif + + uninstall-docDATA: + @$(NORMAL_UNINSTALL) +@@ -665,6 +669,7 @@ + done + install-htmlDATA: $(html_DATA) + @$(NORMAL_INSTALL) ++.if !defined(NOPORTDOCS) + test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)" + @list='$(html_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +@@ -672,6 +677,7 @@ + echo " $(htmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \ + $(htmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \ + done ++.endif + + uninstall-htmlDATA: + @$(NORMAL_UNINSTALL) +@@ -808,6 +814,7 @@ + install-info: install-info-am + + install-info-am: $(INFO_DEPS) ++.if !defined(NOPORTDOCS) + @$(NORMAL_INSTALL) + test -z "$(infodir)" || $(MKDIR_P) "$(DESTDIR)$(infodir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ +@@ -837,6 +844,7 @@ + install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\ + done; \ + else : ; fi ++.endif + install-man: install-man8 + + install-pdf: install-pdf-am diff --git a/sysutils/cfengine22/files/patch-inputs_Makefile.in b/sysutils/cfengine22/files/patch-inputs_Makefile.in new file mode 100644 index 000000000000..bac3996a6dc6 --- /dev/null +++ b/sysutils/cfengine22/files/patch-inputs_Makefile.in @@ -0,0 +1,18 @@ +--- inputs/Makefile.in.orig 2008-07-01 22:51:16.000000000 -0400 ++++ inputs/Makefile.in 2008-07-01 22:51:37.000000000 -0400 +@@ -267,6 +267,7 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS) + @$(NORMAL_INSTALL) ++.if !defined(NOPORTEXAMPLES) + test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" + @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +@@ -276,6 +277,7 @@ + $(pkgdataSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ + else :; fi; \ + done ++.endif + + uninstall-pkgdataSCRIPTS: + @$(NORMAL_UNINSTALL) |