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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Jun 3 14:25:35 CEST 2010


Revision: 10079
          http://gar.svn.sourceforge.net/gar/?rev=10079&view=rev
Author:   dmichelsen
Date:     2010-06-03 12:25:35 +0000 (Thu, 03 Jun 2010)

Log Message:
-----------
mod_auth_radius: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/mod_auth_radius/
    csw/mgar/pkg/mod_auth_radius/branches/
    csw/mgar/pkg/mod_auth_radius/tags/
    csw/mgar/pkg/mod_auth_radius/trunk/
    csw/mgar/pkg/mod_auth_radius/trunk/Makefile
    csw/mgar/pkg/mod_auth_radius/trunk/checksums
    csw/mgar/pkg/mod_auth_radius/trunk/files/
    csw/mgar/pkg/mod_auth_radius/trunk/files/COPYING
    csw/mgar/pkg/mod_auth_radius/trunk/files/CSWap2modauthradius.postinstall
    csw/mgar/pkg/mod_auth_radius/trunk/files/CSWap2modauthradius.preremove


Property changes on: csw/mgar/pkg/mod_auth_radius/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/mod_auth_radius/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mod_auth_radius/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/mod_auth_radius/trunk/Makefile	2010-06-03 12:25:35 UTC (rev 10079)
@@ -0,0 +1,61 @@
+GARNAME = mod_auth_radius
+GARVERSION = 1.5.8
+CATEGORIES = server
+
+DESCRIPTION = Apache RADIUS authentication module
+define BLURB
+  This is the Apache RADIUS authentication module. It allows any Apache web-server
+  to become a RADIUS client for authentication and accounting requests. You will,
+  however, need to supply your own RADIUS server to perform the actual authentication.
+endef
+
+MASTER_SITES = ftp://ftp.freeradius.org/pub/radius/
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar
+DISTFILES += CSWap2modauthradius.postinstall CSWap2modauthradius.preremove
+DISTFILES += COPYING
+
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar
+
+VENDOR_URL = http://freeradius.org/mod_auth_radius/
+
+PACKAGES = CSWap2modauthradius
+CATALOGNAME = ap2_mod_auth_radius
+
+DEP_PKGS = CSWapache2
+CHECKPKG_OVERRIDES_CSWap2modauthradius += surplus-dependency|CSWapache2
+
+# Apache paths
+AP2_ROOT      = $(prefix)/apache2
+AP2_LIBEXEC   = $(DESTDIR)$(AP2_ROOT)/libexec
+AP2_EXTRACONF = $(DESTDIR)$(AP2_ROOT)/etc/extra
+AP2_SBIN      = $(AP2_ROOT)/sbin
+APXS          = $(AP2_SBIN)/apxs
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = custom
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+STRIP_DIRS = $(DESTDIR)$(prefix)/apache2/libexec
+
+PRESERVECONF = $(prefix)/apache2/etc/extra/httpd-auth-radius.conf
+
+include gar/category.mk
+
+build-custom:
+	cd $(WORKSRC) && $(APXS) -c mod_auth_radius-2.0.c
+	$(MAKECOOKIE)
+
+install-custom: DOCDEST=$(DESTDIR)$(docdir)/$(GARNAME)
+install-custom:
+	mkdir -p $(AP2_LIBEXEC)
+	cd $(WORKSRC) && $(APXS) -S LIBEXECDIR=$(AP2_LIBEXEC) -i mod_auth_radius-2.0.la
+	ginstall -d $(DESTDIR)$(prefix)/apache2/etc/extra
+	ginstall -m 0644 $(WORKSRC)/httpd.conf $(DESTDIR)$(prefix)/apache2/etc/extra/httpd-auth-radius.conf
+	ginstall -d $(DOCDEST)
+	ginstall $(WORKSRC)/README $(DOCDEST)
+	@$(MAKECOOKIE)
+
+
+
+


Property changes on: csw/mgar/pkg/mod_auth_radius/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/mod_auth_radius/trunk/checksums
===================================================================
--- csw/mgar/pkg/mod_auth_radius/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/mod_auth_radius/trunk/checksums	2010-06-03 12:25:35 UTC (rev 10079)
@@ -0,0 +1,4 @@
+6c2b9be793fdffe75bdf8dc816a85466  COPYING
+5ec728767a9a7545de480ceb71d93e20  CSWap2modauthradius.postinstall
+1c5e63dbb9b18aca27943e9b0011d1f3  CSWap2modauthradius.preremove
+81de397fcbb18e3c5696d6cc9c73493b  mod_auth_radius-1.5.8.tar

Added: csw/mgar/pkg/mod_auth_radius/trunk/files/COPYING
===================================================================
--- csw/mgar/pkg/mod_auth_radius/trunk/files/COPYING	                        (rev 0)
+++ csw/mgar/pkg/mod_auth_radius/trunk/files/COPYING	2010-06-03 12:25:35 UTC (rev 10079)
@@ -0,0 +1,54 @@
+/* ====================================================================
+ * Copyright (c) 1997-2002 The Apache Group.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer. 
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in
+ *    the documentation and/or other materials provided with the
+ *    distribution.
+ *
+ * 3. All advertising materials mentioning features or use of this
+ *    software must display the following acknowledgment:
+ *    "This product includes software developed by the Apache Group
+ *    for use in the Apache HTTP server project (http://www.apache.org/)."
+ *
+ * 4. The names "Apache Server" and "Apache Group" must not be used to
+ *    endorse or promote products derived from this software without
+ *    prior written permission.
+ *
+ * 5. Redistributions of any form whatsoever must retain the following
+ *    acknowledgment:
+ *    "This product includes software developed by the Apache Group
+ *    for use in the Apache HTTP server project (http://www.apache.org/)."
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE APACHE GROUP OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Group and was originally based
+ * on public domain software written at the National Center for
+ * Supercomputing Applications, University of Illinois, Urbana-Champaign.
+ * For more information on the Apache Group and the Apache HTTP server
+ * project, please see <http://www.apache.org/>.
+ *
+ *
+ *  CVS $Id$
+ */
+

Copied: csw/mgar/pkg/mod_auth_radius/trunk/files/CSWap2modauthradius.postinstall (from rev 10078, csw/mgar/pkg/mod_auth_pam/trunk/files/CSWap2modauthpam.postinstall)
===================================================================
--- csw/mgar/pkg/mod_auth_radius/trunk/files/CSWap2modauthradius.postinstall	                        (rev 0)
+++ csw/mgar/pkg/mod_auth_radius/trunk/files/CSWap2modauthradius.postinstall	2010-06-03 12:25:35 UTC (rev 10079)
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+CSW_PREFIX=${PKG_INSTALL_ROOT}/opt/csw
+AP2_PREFIX=$CSW_PREFIX/apache2
+AP2_BINDIR=$AP2_PREFIX/sbin
+AP2_LIBEXEC=$AP2_PREFIX/libexec
+AP2_CONFDIR=$AP2_PREFIX/etc
+AP2_EXTRADIR=$AP2_CONFDIR/extra
+AP2_CONFIG=$AP2_CONFDIR/httpd.conf
+
+# Enable the auth_radius modules
+PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
+chroot $PKG_INSTALL_ROOT \
+    $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -a -n \
+    auth_radius mod_auth_radius-2.0.so
+
+# Finito
+cat <<END
+
+NOTICE: mod_auth_radius is enabled in httpd.conf but the server was not restarted.
+        Please check your configuration and restart apache.
+
+END
+
+exit 0

Copied: csw/mgar/pkg/mod_auth_radius/trunk/files/CSWap2modauthradius.preremove (from rev 10078, csw/mgar/pkg/mod_auth_pam/trunk/files/CSWap2modauthpam.preremove)
===================================================================
--- csw/mgar/pkg/mod_auth_radius/trunk/files/CSWap2modauthradius.preremove	                        (rev 0)
+++ csw/mgar/pkg/mod_auth_radius/trunk/files/CSWap2modauthradius.preremove	2010-06-03 12:25:35 UTC (rev 10079)
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+CSW_PREFIX=${PKG_INSTALL_ROOT}/opt/csw
+AP2_PREFIX=$CSW_PREFIX/apache2
+AP2_BINDIR=$AP2_PREFIX/sbin
+AP2_LIBEXEC=$AP2_PREFIX/libexec
+AP2_CONFDIR=$AP2_PREFIX/etc
+AP2_EXTRADIR=$AP2_CONFDIR/extra
+AP2_CONFIG=$AP2_CONFDIR/httpd.conf
+
+# Disable the auth_pam modules
+PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
+chroot $PKG_INSTALL_ROOT \
+    $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -A -n \
+    auth_radius mod_auth_radius-2.0.so
+
+cat <<END
+
+NOTICE: mod_auth_radius is disabled in httpd.conf but the server was not restarted.
+        Please check your configuration and restart apache.
+
+END
+
+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