[csw-devel] SF.net SVN: gar:[11960] csw/mgar/pkg/freeradius/trunk

gadavis at users.sourceforge.net gadavis at users.sourceforge.net
Wed Dec 15 20:51:35 CET 2010


Revision: 11960
          http://gar.svn.sourceforge.net/gar/?rev=11960&view=rev
Author:   gadavis
Date:     2010-12-15 19:51:35 +0000 (Wed, 15 Dec 2010)

Log Message:
-----------
Add radius user

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

Added Paths:
-----------
    csw/mgar/pkg/freeradius/trunk/files/cswusergroup

Modified: csw/mgar/pkg/freeradius/trunk/Makefile
===================================================================
--- csw/mgar/pkg/freeradius/trunk/Makefile	2010-12-15 15:25:20 UTC (rev 11959)
+++ csw/mgar/pkg/freeradius/trunk/Makefile	2010-12-15 19:51:35 UTC (rev 11960)
@@ -12,6 +12,7 @@
 DISTFILES += cswfreeradius
 DISTFILES += server.pem
 DISTFILES += ca.pem
+DISTFILES += cswusergroup
 DISTNAME = $(NAME)-server-$(VERSION)
 
 UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
@@ -21,6 +22,8 @@
 LICENSE = LICENSE
 GARCOMPILER = GCC4
 
+USERGROUP = $(sysconfdir)/pkg/CSW$(NAME)/cswusergroup
+
 # Stripping libtool breaks the build in versions <=2.1.7
 #STRIP_LIBTOOL = 1
 
@@ -199,14 +202,20 @@
 post-install-modulated:
 	### Copy init script
 	@echo "Installing init script..."
-	@ginstall -d $(DESTDIR)/etc/opt/csw/init.d
-	@ginstall $(WORKDIR)/cswfreeradius $(DESTDIR)/etc/opt/csw/init.d/cswfreeradius
+	ginstall -d $(DESTDIR)/etc/opt/csw/init.d
+	ginstall $(WORKDIR)/cswfreeradius \
+	  $(DESTDIR)/etc/opt/csw/init.d/cswfreeradius
 
 	# Copy self-signed sample cert
 	@echo "Installing sample certificate files..."
-	@ginstall -m 600 $(WORKDIR)/ca.pem $(DESTDIR)/$(raddbdir)/certs/
-	@ginstall -m 600 $(WORKDIR)/server.pem $(DESTDIR)/$(raddbdir)/certs/
+	ginstall -m 600 $(FILEDIR)/ca.pem $(DESTDIR)/$(raddbdir)/certs/
+	ginstall -m 600 $(FILEDIR)/server.pem $(DESTDIR)/$(raddbdir)/certs/
 
+	# Copy cswusergroup
+	@echo "Installing cswusergroup support file..."
+	ginstall -D $(FILEDIR)/cswusergroup \
+	  $(DESTDIR)$(sysconfdir)/pkg/CSW$(NAME)/cswusergroup
+
 	# Set the Make cookie
 	@$(MAKECOOKIE)
 

Added: csw/mgar/pkg/freeradius/trunk/files/cswusergroup
===================================================================
--- csw/mgar/pkg/freeradius/trunk/files/cswusergroup	                        (rev 0)
+++ csw/mgar/pkg/freeradius/trunk/files/cswusergroup	2010-12-15 19:51:35 UTC (rev 11960)
@@ -0,0 +1 @@
+radius:radius:FreeRADIUS:/var/opt/csw/freeradius:/bin/false::


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