summaryrefslogtreecommitdiff
path: root/mk/plist
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-03-11 14:07:04 +0000
committerjperkin <jperkin@pkgsrc.org>2014-03-11 14:07:04 +0000
commit6bcea5495c4b03080e1f7cff4f0d1898590b2317 (patch)
tree6464ad66f5d7dfca0c818bc70f388001084df9fd /mk/plist
parent071ea796c1307e737cc3101448aa934353fe247c (diff)
downloadpkgsrc-6bcea5495c4b03080e1f7cff4f0d1898590b2317.tar.gz
Introduce infrastructure support for SMF.
SMF is the Service Management Facility, the default init system in Solaris and derivatives since version 10. This adds "smf" to the list of supported INIT_SYSTEM types, and makes it the default init system on platforms where it is available. Packages can introduce SMF support by providing a manifest file, by default located in ${FILESDIR}/smf/manifest.xml but manifests under ${WRKSRC} can be used too if the package source includes one. SMF method scripts are supported too if required, using SMF_METHODS in a similar manner to RCD_SCRIPTS. Many parts of the SMF infrastructure are configurable, see mk/smf.mk for the full details.
Diffstat (limited to 'mk/plist')
-rw-r--r--mk/plist/plist-smf.awk8
1 files changed, 8 insertions, 0 deletions
diff --git a/mk/plist/plist-smf.awk b/mk/plist/plist-smf.awk
new file mode 100644
index 00000000000..944b27ca320
--- /dev/null
+++ b/mk/plist/plist-smf.awk
@@ -0,0 +1,8 @@
+# $NetBSD: plist-smf.awk,v 1.1 2014/03/11 14:07:04 jperkin Exp $
+#
+# Handle legacy entries, e.g. in pkgsrc-wip.
+#
+
+/^share\/examples\/rc\.d/ {
+ next;
+}