[csw-devel] SF.net SVN: gar:[17341] csw/mgar/pkg/pidentd/trunk/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Fri Mar 9 15:03:26 CET 2012
Revision: 17341
http://gar.svn.sourceforge.net/gar/?rev=17341&view=rev
Author: dmichelsen
Date: 2012-03-09 14:03:26 +0000 (Fri, 09 Mar 2012)
Log Message:
-----------
pidentd/trunk: Add start script, config templates and custom manifest
Modified Paths:
--------------
csw/mgar/pkg/pidentd/trunk/Makefile
Modified: csw/mgar/pkg/pidentd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pidentd/trunk/Makefile 2012-03-09 12:59:07 UTC (rev 17340)
+++ csw/mgar/pkg/pidentd/trunk/Makefile 2012-03-09 14:03:26 UTC (rev 17341)
@@ -34,11 +34,44 @@
# PKGFILES is catchall
RUNTIME_DEP_PKGS_CSWpidentd += CSWlibssl0-9-8
+# This is ok as it references the DTD
+CHECKPKG_OVERRIDES_CSWpidentd += file-with-bad-content|/usr/share|root/var/opt/csw/svc/manifest/network/cswidentd.xml
+
REINPLACEMENTS += ignoreisa
REINPLACE_MATCH_ignoreisa = ISA="
REINPLACE_WITH_ignoreisa = ISA="IGNORE
REINPLACE_FILES_ignoreisa += configure
+REINPLACE_USRLOCAL += etc/identd.init
+
+REINPLACEMENTS += usrlocaletc
+REINPLACE_MATCH_usrlocaletc = /usr/local/etc
+REINPLACE_WITH_usrlocaletc = /etc/opt/csw
+REINPLACE_FILES_usrlocaletc = etc/identd.conf
+
+REINPLACEMENTS += pidfile
+REINPLACE_MATCH_pidfile = /etc/identd.pid
+REINPLACE_WITH_pidfile = /var/run/identd.pid
+REINPLACE_FILES_pidfile += src/pidentd.h
+REINPLACE_FILES_pidfile += etc/identd.init
+REINPLACE_FILES_pidfile += etc/identd.conf
+REINPLACE_FILES_pidfile += doc/identd.8
+
+REINPLACEMENTS += localconf
+REINPLACE_MATCH_localconf = /etc/identd.conf
+REINPLACE_WITH_localconf = $(sysconfdir)/identd.conf
+REINPLACE_FILES_localconf += etc/identd.conf
+
+REINPLACEMENTS += daemon
+REINPLACE_MATCH_daemon = /usr/sbin/in.identd
+REINPLACE_WITH_daemon = $(sbindir)/identd
+REINPLACE_FILES_daemon = etc/identd.xml
+
+REINPLACEMENTS += customsmf
+REINPLACE_MATCH_customsmf = \# You.*
+REINPLACE_WITH_customsmf = \# MANIFEST /var/opt/csw/svc/manifest/network/cswidentd.xml
+REINPLACE_FILES_customsmf += etc/identd.init
+
BUILD64 = 1
ISAEXEC = 1
@@ -50,5 +83,21 @@
INSTALL_OVERRIDE_VARS += sbindir
INSTALL_OVERRIDE_VAR_sbindir = $(DESTDIR)$(sbindir)
+INITSMF += $(sysconfdir)/init.d/cswidentd
+
+PRESERVECONF += /etc/opt/csw/identd.conf
+PRESERVECONF += /opt/csw/etc/identd.conf
+
include gar/category.mk
+post-install-modulated:
+ ginstall -d $(DESTDIR)$(sysconfdir)
+ ginstall $(WORKSRC)/etc/identd.conf $(DESTDIR)$(sysconfdir)
+ ginstall -d $(DESTDIR)/opt/csw/etc
+ ginstall $(WORKSRC)/etc/identd.conf $(DESTDIR)/opt/csw/etc
+ ginstall -d $(DESTDIR)$(sysconfdir)/init.d
+ ginstall $(WORKSRC)/etc/identd.init $(DESTDIR)$(sysconfdir)/init.d/cswidentd
+ ginstall -d $(DESTDIR)/var/opt/csw/svc/manifest/network
+ ginstall $(WORKSRC)/etc/identd.xml $(DESTDIR)/var/opt/csw/svc/manifest/network/cswidentd.xml
+
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list