[csw-devel] SF.net SVN: gar:[5530] csw/mgar/pkg/bind/trunk

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Tue Jul 7 14:23:14 CEST 2009


Revision: 5530
          http://gar.svn.sourceforge.net/gar/?rev=5530&view=rev
Author:   bonivart
Date:     2009-07-07 12:23:14 +0000 (Tue, 07 Jul 2009)

Log Message:
-----------
bind: remove pre-scripts

Modified Paths:
--------------
    csw/mgar/pkg/bind/trunk/Makefile

Removed Paths:
-------------
    csw/mgar/pkg/bind/trunk/files/CSWbind.preinstall
    csw/mgar/pkg/bind/trunk/files/CSWbind.preremove

Modified: csw/mgar/pkg/bind/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bind/trunk/Makefile	2009-07-07 10:05:52 UTC (rev 5529)
+++ csw/mgar/pkg/bind/trunk/Makefile	2009-07-07 12:23:14 UTC (rev 5530)
@@ -21,12 +21,12 @@
 #DISTFILES  = $(GARNAME)-$(GARVERSION)-$(RELEASE).tar.gz
 MASTER_SITES = http://ftp.isc.org/isc/bind9/$(GARVERSION)/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
-#DISTFILES += $(call admfiles,CSWbind,preinstall preremove)
-DISTFILES += $(,CSWbind,preinstall preremove)
 
 PACKAGES = CSWbind CSWbinddevel CSWlibbind CSWbindutils
+
 CATALOGNAME_CSWbinddevel = bind_devel
 CATALOGNAME_CSWbindutils = bind_utils
+
 ARCHALL_CSWbinddevel = 1
 
 LICENSE = COPYRIGHT
@@ -58,6 +58,7 @@
 PKGFILES_CSWlibbind   = $(libdir)/.*
 PKGFILES_CSWbindutils = $(bindir)/.*
 
+# checkpkg can't handle split packages
 ENABLE_CHECK = 0
 
 INSTALL_SCRIPTS = custom

Deleted: csw/mgar/pkg/bind/trunk/files/CSWbind.preinstall
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbind.preinstall	2009-07-07 10:05:52 UTC (rev 5529)
+++ csw/mgar/pkg/bind/trunk/files/CSWbind.preinstall	2009-07-07 12:23:14 UTC (rev 5530)
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-# 2008-11-19
-
-# named user
-/usr/bin/grep "^named:" $PKG_INSTALL_ROOT/etc/passwd > /dev/null 2>&1
-if [ "$?" = "0" ]; then
-  echo User named already exists
-else
-  echo Adding user named
-  /usr/sbin/useradd -u 10001 -c "CSW BIND DNS" -d /false -s /bin/false named > /dev/null 2>&1
-  if [ "$?" = "4" ]; then
-    echo UID 10001 already in use - using next available
-    /usr/sbin/useradd -c "CSW BIND DNS" -d /false -s /bin/false named > /dev/null 2>&1
-  fi
-fi
-
-exit 0

Deleted: csw/mgar/pkg/bind/trunk/files/CSWbind.preremove
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbind.preremove	2009-07-07 10:05:52 UTC (rev 5529)
+++ csw/mgar/pkg/bind/trunk/files/CSWbind.preremove	2009-07-07 12:23:14 UTC (rev 5530)
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-# 2008-12-16
-
-# remove named user if created by this package
-/usr/bin/grep "^named:" $PKG_INSTALL_ROOT/etc/passwd | /usr/bin/grep ":CSW BIND DNS:" > /dev/null 2>&1
-if [ "$?" = "0" ]; then
-  echo Removing user named
-  /usr/sbin/userdel named > /dev/null 2>&1
-fi
-
-exit 0


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