SF.net SVN: gar:[24503] csw/mgar/pkg/openntpd/trunk

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Mon Dec 22 21:13:47 CET 2014


Revision: 24503
          http://sourceforge.net/p/gar/code/24503
Author:   bonivart
Date:     2014-12-22 20:13:46 +0000 (Mon, 22 Dec 2014)
Log Message:
-----------
openntpd/trunk: some more fixes

Modified Paths:
--------------
    csw/mgar/pkg/openntpd/trunk/Makefile
    csw/mgar/pkg/openntpd/trunk/files/cswusergroup

Modified: csw/mgar/pkg/openntpd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openntpd/trunk/Makefile	2014-12-22 19:32:06 UTC (rev 24502)
+++ csw/mgar/pkg/openntpd/trunk/Makefile	2014-12-22 20:13:46 UTC (rev 24503)
@@ -1,11 +1,3 @@
-# Add user/group, see output below:
-#chown: /home/bonivart/opencsw/openntpd/trunk/work/solaris10-i386/install-isa-pentium_pro/var/empty: Not owner
-#chgrp: /home/bonivart/opencsw/openntpd/trunk/work/solaris10-i386/install-isa-pentium_pro/var/empty: Not owner
-#Please create a dedicated group for ntpd.
-#Please create a dedicated user for ntpd and ensure it can
-#not be used to log in.  This is system-dependant, possibly:
-## useradd -g _ntp -s /sbin/nologin -d /var/empty -c 'OpenNTP daemon' _ntp
-
 NAME = openntpd
 VERSION = 3.9p1
 GARTYPE = v2
@@ -31,14 +23,12 @@
 # There are no tests
 SKIPTEST = 1
 
-# Fix before release, need to test software first to find proper config
-CHECKPKG_OVERRIDES_CSWopenntpd += bad-location-of-file|file=/var/empty
-
 include gar/category.mk
 
 post-install:
 	@echo " ==> Post-install of $(NAME)"
-	@ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/init.d
-	@ginstall -m 755 $(FILEDIR)/cswopenntpd $(DESTDIR)/etc/opt/csw/init.d/cswopenntpd
-	@ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/pkg/CSWopenntpd
-	@ginstall -m 444 $(FILEDIR)/cswusergroup $(DESTDIR)/etc/opt/csw/pkg/CSWopenntpd/
+	ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/init.d
+	ginstall -m 755 $(FILEDIR)/cswopenntpd $(DESTDIR)/etc/opt/csw/init.d/cswopenntpd
+	ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/pkg/CSWopenntpd
+	ginstall -m 444 $(FILEDIR)/cswusergroup $(DESTDIR)/etc/opt/csw/pkg/CSWopenntpd/
+	rm -rf $(DESTDIR)/var

Modified: csw/mgar/pkg/openntpd/trunk/files/cswusergroup
===================================================================
--- csw/mgar/pkg/openntpd/trunk/files/cswusergroup	2014-12-22 19:32:06 UTC (rev 24502)
+++ csw/mgar/pkg/openntpd/trunk/files/cswusergroup	2014-12-22 20:13:46 UTC (rev 24503)
@@ -1 +1 @@
-openntpd:openntpd:CSW OpenNTPD:/var/opt/csw/openntpd:/bin/false:::NP
+openntpd:openntpd:CSW OpenNTPD:/var/opt/csw/openntpd:/bin/false:m:r:NP

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