[csw-devel] SF.net SVN: gar:[10386] csw/mgar/pkg

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Tue Jun 29 16:50:56 CEST 2010


Revision: 10386
          http://gar.svn.sourceforge.net/gar/?rev=10386&view=rev
Author:   bonivart
Date:     2010-06-29 14:50:56 +0000 (Tue, 29 Jun 2010)

Log Message:
-----------
rbldnsd: initial commit

Added Paths:
-----------
    csw/mgar/pkg/rbldnsd/
    csw/mgar/pkg/rbldnsd/branches/
    csw/mgar/pkg/rbldnsd/tags/
    csw/mgar/pkg/rbldnsd/trunk/
    csw/mgar/pkg/rbldnsd/trunk/Makefile
    csw/mgar/pkg/rbldnsd/trunk/checksums
    csw/mgar/pkg/rbldnsd/trunk/files/
    csw/mgar/pkg/rbldnsd/trunk/files/COPYING
    csw/mgar/pkg/rbldnsd/trunk/files/cswrbldnsd
    csw/mgar/pkg/rbldnsd/trunk/files/rbldnsd


Property changes on: csw/mgar/pkg/rbldnsd/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/rbldnsd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/rbldnsd/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/rbldnsd/trunk/Makefile	2010-06-29 14:50:56 UTC (rev 10386)
@@ -0,0 +1,50 @@
+GARNAME = rbldnsd
+GARVERSION = 0.996b
+CATEGORIES = net
+
+DESCRIPTION = Small and fast DNS daemon which is especially made to serve DNSBL zones
+define BLURB
+  Small and fast DNS daemon which is especially made to serve DNSBL zones
+endef
+
+MASTER_SITES = http://www.corpit.ru/mjt/rbldnsd/
+DISTFILES  = $(GARNAME)_$(GARVERSION).tar.gz
+DISTFILES += COPYING
+DISTFILES += rbldnsd
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+RUNTIME_DEP_PKGS_CSWrbldnsd += CSWzlib
+
+#CONFIGURE_ARGS = $(DIRPATHS)
+
+INSTALL_SCRIPTS = custom
+
+SKIPTEST = 1
+
+INITSMF = /etc/opt/csw/init.d/cswrbldnsd
+SAMPLECONF = /etc/opt/csw/pkg/CSWrbldnsd/rbldnsd
+
+include gar/category.mk
+
+DOCLIST = CHANGES-0.81 NEWS README.user TODO
+
+install-custom:
+	@echo " ==> Installing $(GARNAME) (custom)"
+	@ginstall -m 755 -d $(DESTDIR)/opt/csw/sbin
+	@ginstall -m 755 $(WORKSRC)/$(GARNAME) $(DESTDIR)/opt/csw/sbin
+	@ginstall -m 755 -d $(DESTDIR)$(docdir)/$(GARNAME)
+	@$(foreach DOC,$(DOCLIST),cp $(WORKSRC)/$(DOC) $(DESTDIR)$(docdir)/$(GARNAME);)
+	@ginstall -m 755 -d $(DESTDIR)$(mandir)/man8
+	@ginstall -m 755 $(WORKSRC)/$(GARNAME).8 $(DESTDIR)$(mandir)/man8
+	@ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/init.d
+	@ginstall -m 755 $(FILEDIR)/cswrbldnsd $(DESTDIR)/etc/opt/csw/init.d
+	@ginstall -m 755 -d $(DESTDIR)/etc/opt/csw/pkg/CSW$(GARNAME)
+	@ginstall -m 444 $(FILEDIR)/rbldnsd $(DESTDIR)/etc/opt/csw/pkg/CSW$(GARNAME)
+#	@ginstall -m 755 -d $(DESTDIR)/var/opt/csw/named
+#	@touch $(DESTDIR)/var/opt/csw/named/named.pid
+#	@ginstall -m 755 -d $(DESTDIR)/var/opt/csw/named/chroot/dev
+#	@ginstall -m 755 -d $(DESTDIR)/var/opt/csw/named/chroot/etc/opt/csw
+#	@ginstall -m 755 -d $(DESTDIR)/var/opt/csw/named/chroot/var/named
+	@$(MAKECOOKIE)

Added: csw/mgar/pkg/rbldnsd/trunk/checksums
===================================================================
--- csw/mgar/pkg/rbldnsd/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/rbldnsd/trunk/checksums	2010-06-29 14:50:56 UTC (rev 10386)
@@ -0,0 +1,3 @@
+8963287bf73c9611b453d264c01116cc  COPYING
+7b06a5d62fadd13aa2077fbf4a1f83fb  rbldnsd
+9a0f26f3b33764c325a96bd4c61b26fa  rbldnsd_0.996b.tar.gz

Added: csw/mgar/pkg/rbldnsd/trunk/files/COPYING
===================================================================
--- csw/mgar/pkg/rbldnsd/trunk/files/COPYING	                        (rev 0)
+++ csw/mgar/pkg/rbldnsd/trunk/files/COPYING	2010-06-29 14:50:56 UTC (rev 10386)
@@ -0,0 +1,4 @@
+rbldnsd is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 2 of the License, or (at your option)
+any later version.

Added: csw/mgar/pkg/rbldnsd/trunk/files/cswrbldnsd
===================================================================
--- csw/mgar/pkg/rbldnsd/trunk/files/cswrbldnsd	                        (rev 0)
+++ csw/mgar/pkg/rbldnsd/trunk/files/cswrbldnsd	2010-06-29 14:50:56 UTC (rev 10386)
@@ -0,0 +1,43 @@
+#!/sbin/sh
+
+#RC_KLEV 0,1,2,S
+#RC_SLEV 3
+
+# rc-script for CSW rbldnsd
+# Peter Bonivart, 2010-06-29
+
+# Source config file
+[ -r /etc/opt/csw/pkg/CSWrbldnsd/rbldnsd ] && . /etc/opt/csw/pkg/CSWrbldnsd/rbldnsd
+
+SERVICE=rbldnsd
+ZONE= # used for initialization, do not change
+
+case "$1" in
+  start)
+    if [ -f /opt/csw/sbin/$SERVICE ]; then
+      echo "Starting $SERVICE ..."
+      /opt/csw/sbin/$SERVICE $OPTIONS
+    fi
+    ;;
+  stop)
+    echo "Shutting down $SERVICE ..."
+    if [ -x /usr/bin/zonename ]; then
+      if [ "`/usr/bin/zonename`" = "global" ]; then
+        ZONE="-z global"
+      fi
+    fi
+    pkill $ZONE -x $SERVICE
+    ;;
+  reload|refresh)
+    echo "Reloading $SERVICE ..."
+    if [ -x /usr/bin/zonename ]; then
+      if [ "`/usr/bin/zonename`" = "global" ]; then
+        ZONE="-z global"
+      fi
+    fi
+    pkill -HUP $ZONE -x $SERVICE
+    ;;
+  *)
+    echo "Usage: $0 { start | stop | reload | refresh }"
+    ;;
+esac

Added: csw/mgar/pkg/rbldnsd/trunk/files/rbldnsd
===================================================================
--- csw/mgar/pkg/rbldnsd/trunk/files/rbldnsd	                        (rev 0)
+++ csw/mgar/pkg/rbldnsd/trunk/files/rbldnsd	2010-06-29 14:50:56 UTC (rev 10386)
@@ -0,0 +1,8 @@
+# This is where you customize some settings of your rbldnsd installation so
+# you don't have to edit the scripts themselves as they will be replaced during
+# upgrades.
+#
+# Peter Bonivart, OpenCSW
+
+# Options
+#OPTIONS=""


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