[csw-devel] SF.net SVN: gar:[15904] csw/mgar/pkg/mod_auth_kerb/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Oct 10 12:13:42 CEST 2011


Revision: 15904
          http://gar.svn.sourceforge.net/gar/?rev=15904&view=rev
Author:   dmichelsen
Date:     2011-10-10 10:13:41 +0000 (Mon, 10 Oct 2011)
Log Message:
-----------
mod_auth_kerb/trunk: Move to ap2mod CAS

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

Removed Paths:
-------------
    csw/mgar/pkg/mod_auth_kerb/trunk/files/CSWap2modauthkerb.postinstall
    csw/mgar/pkg/mod_auth_kerb/trunk/files/CSWap2modauthkerb.preremove

Modified: csw/mgar/pkg/mod_auth_kerb/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mod_auth_kerb/trunk/Makefile	2011-10-10 09:07:57 UTC (rev 15903)
+++ csw/mgar/pkg/mod_auth_kerb/trunk/Makefile	2011-10-10 10:13:41 UTC (rev 15904)
@@ -12,15 +12,11 @@
 SF_PROJ = modauthkerb
 MASTER_SITES = $(SF_MIRROR)
 DISTFILES  = $(NAME)-$(VERSION).tar.gz
-DISTFILES += CSWap2modauthkerb.postinstall
-DISTFILES += CSWap2modauthkerb.preremove
 
 # Apply patch until this is fixed:
 #   https://sourceforge.net/tracker/?func=detail&atid=464524&aid=3172644&group_id=51775
 PATCHFILES += 0001-Fix-install-destination.patch
 
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
-
 VENDOR_URL = http://modauthkerb.sourceforge.net/
 LICENSE = LICENSE
 
@@ -49,6 +45,9 @@
 INSTALL_OVERRIDE_VARS = AP2_LIBEXEC
 INSTALL_OVERRIDE_VAR_AP2_LIBEXEC = $(AP2_LIBEXEC)
 
+AP2_MODS = 1
+AP2_MODFILES += \*auth_kerb\*so
+
 include gar/category.mk
 
 pre-install-modulated:

Deleted: csw/mgar/pkg/mod_auth_kerb/trunk/files/CSWap2modauthkerb.postinstall
===================================================================
--- csw/mgar/pkg/mod_auth_kerb/trunk/files/CSWap2modauthkerb.postinstall	2011-10-10 09:07:57 UTC (rev 15903)
+++ csw/mgar/pkg/mod_auth_kerb/trunk/files/CSWap2modauthkerb.postinstall	2011-10-10 10:13:41 UTC (rev 15904)
@@ -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_kerb modules
-PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
-chroot $PKG_INSTALL_ROOT \
-    $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -a -n \
-    auth_kerb mod_auth_kerb.so
-
-# Finito
-cat <<END
-
-NOTICE: mod_auth_kerb 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_kerb/trunk/files/CSWap2modauthkerb.preremove
===================================================================
--- csw/mgar/pkg/mod_auth_kerb/trunk/files/CSWap2modauthkerb.preremove	2011-10-10 09:07:57 UTC (rev 15903)
+++ csw/mgar/pkg/mod_auth_kerb/trunk/files/CSWap2modauthkerb.preremove	2011-10-10 10:13:41 UTC (rev 15904)
@@ -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_kerb modules
-PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
-chroot $PKG_INSTALL_ROOT \
-    $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -A -n \
-    auth_kerb mod_auth_kerb.so
-
-cat <<END
-
-NOTICE: mod_auth_kerb 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