SF.net SVN: gar:[22836] csw/mgar/pkg
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Tue Jan 14 17:16:29 CET 2014
Revision: 22836
http://sourceforge.net/p/gar/code/22836
Author: dmichelsen
Date: 2014-01-14 16:16:27 +0000 (Tue, 14 Jan 2014)
Log Message:
-----------
mod_auth_external: Initial commit
Modified Paths:
--------------
csw/mgar/pkg/mod_auth_external/trunk/Makefile
csw/mgar/pkg/mod_auth_external/trunk/checksums
Added Paths:
-----------
csw/mgar/pkg/mod_auth_external/
csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2-mod-auth-external.postinstall
csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2-mod-auth-external.preremove
Removed Paths:
-------------
csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2modauthradius.postinstall
csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2modauthradius.preremove
Modified: csw/mgar/pkg/mod_auth_external/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mod_auth_radius/trunk/Makefile 2013-11-06 14:25:24 UTC (rev 22420)
+++ csw/mgar/pkg/mod_auth_external/trunk/Makefile 2014-01-14 16:16:27 UTC (rev 22836)
@@ -1,5 +1,5 @@
-NAME = mod_auth_radius
-VERSION = 1.5.8
+NAME = mod_authnz_external
+VERSION = 3.2.6
GARTYPE = v2
DESCRIPTION = Apache RADIUS authentication module
@@ -9,20 +9,17 @@
however, need to supply your own RADIUS server to perform the actual authentication.
endef
-MASTER_SITES = ftp://ftp.freeradius.org/pub/radius/
-DISTFILES = $(NAME)-$(VERSION).tar
-DISTFILES += CSWap2modauthradius.postinstall CSWap2modauthradius.preremove
-DISTFILES += COPYING
+https://code.google.com/p/mod-auth-external/downloads/detail?name=mod_authnz_external-3.2.6.tar.gz
+GOOGLE_PROJECT = mod-auth-external
+MASTER_SITES = $(GOOGLE_MIRROR)
+DISTFILES = $(NAME)-$(VERSION).tar.gz
+DISTFILES += CSWap2-mod-auth-external.postinstall CSWap2-mod-auth-external.preremove
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar
+VENDOR_URL = https://code.google.com/p/mod-auth-external/
-VENDOR_URL = http://freeradius.org/mod_auth_radius/
+PACKAGES = CSWap2-mod-auth-external
-PACKAGES = CSWap2modauthradius
-CATALOGNAME = ap2_mod_auth_radius
-
DEP_PKGS = CSWapache2
-CHECKPKG_OVERRIDES_CSWap2modauthradius += surplus-dependency|CSWapache2
# Apache paths
AP2_ROOT = $(prefix)/apache2
@@ -38,24 +35,18 @@
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
+ cd $(WORKSRC) && $(APXS) -c mod_authnz_external.c
$(MAKECOOKIE)
install-custom: DOCDEST=$(DESTDIR)$(docdir)/$(NAME)
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
+ cd $(WORKSRC) && $(APXS) -S LIBEXECDIR=$(AP2_LIBEXEC) -i mod_authnz_external.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)
-
-
-
-
Modified: csw/mgar/pkg/mod_auth_external/trunk/checksums
===================================================================
--- csw/mgar/pkg/mod_auth_radius/trunk/checksums 2013-11-06 14:25:24 UTC (rev 22420)
+++ csw/mgar/pkg/mod_auth_external/trunk/checksums 2014-01-14 16:16:27 UTC (rev 22836)
@@ -1,4 +1 @@
-6c2b9be793fdffe75bdf8dc816a85466 COPYING
-5ec728767a9a7545de480ceb71d93e20 CSWap2modauthradius.postinstall
-1c5e63dbb9b18aca27943e9b0011d1f3 CSWap2modauthradius.preremove
-81de397fcbb18e3c5696d6cc9c73493b mod_auth_radius-1.5.8.tar
+38ce167e14ab696324a838adfef0c850 mod_authnz_external-3.2.6.tar.gz
Copied: csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2-mod-auth-external.postinstall (from rev 22420, csw/mgar/pkg/mod_auth_radius/trunk/files/CSWap2modauthradius.postinstall)
===================================================================
--- csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2-mod-auth-external.postinstall (rev 0)
+++ csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2-mod-auth-external.postinstall 2014-01-14 16:16:27 UTC (rev 22836)
@@ -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 \
+ authnz_external mod_authnz_external.so
+
+# Finito
+cat <<END
+
+NOTICE: mod_authnz_external 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_external/trunk/files/CSWap2-mod-auth-external.preremove (from rev 22420, csw/mgar/pkg/mod_auth_radius/trunk/files/CSWap2modauthradius.preremove)
===================================================================
--- csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2-mod-auth-external.preremove (rev 0)
+++ csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2-mod-auth-external.preremove 2014-01-14 16:16:27 UTC (rev 22836)
@@ -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 \
+ authnz_external mod_authnz_external.so
+
+cat <<END
+
+NOTICE: mod_authnz_external is disabled in httpd.conf but the server was not restarted.
+ Please check your configuration and restart apache.
+
+END
+
+exit 0
Deleted: csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2modauthradius.postinstall
===================================================================
--- csw/mgar/pkg/mod_auth_radius/trunk/files/CSWap2modauthradius.postinstall 2013-11-06 14:25:24 UTC (rev 22420)
+++ csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2modauthradius.postinstall 2014-01-14 16:16:27 UTC (rev 22836)
@@ -1,25 +0,0 @@
-#!/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
Deleted: csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2modauthradius.preremove
===================================================================
--- csw/mgar/pkg/mod_auth_radius/trunk/files/CSWap2modauthradius.preremove 2013-11-06 14:25:24 UTC (rev 22420)
+++ csw/mgar/pkg/mod_auth_external/trunk/files/CSWap2modauthradius.preremove 2014-01-14 16:16:27 UTC (rev 22836)
@@ -1,24 +0,0 @@
-#!/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