[csw-devel] SF.net SVN: gar:[15934] csw/mgar/pkg
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Wed Oct 19 10:39:29 CEST 2011
Revision: 15934
http://gar.svn.sourceforge.net/gar/?rev=15934&view=rev
Author: dmichelsen
Date: 2011-10-19 08:39:29 +0000 (Wed, 19 Oct 2011)
Log Message:
-----------
mod_httpbl: Initial commit, does not compile
Modified Paths:
--------------
csw/mgar/pkg/mod_httpbl/trunk/checksums
Added Paths:
-----------
csw/mgar/pkg/mod_httpbl/
csw/mgar/pkg/mod_httpbl/trunk/Makefile
Removed Paths:
-------------
csw/mgar/pkg/mod_httpbl/trunk/Makefile
csw/mgar/pkg/mod_httpbl/trunk/files/0001-Fix-install-destination.patch
csw/mgar/pkg/mod_httpbl/trunk/files/CSWap2modauthkerb.postinstall
csw/mgar/pkg/mod_httpbl/trunk/files/CSWap2modauthkerb.preremove
Deleted: csw/mgar/pkg/mod_httpbl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mod_auth_kerb/trunk/Makefile 2011-08-28 19:44:23 UTC (rev 15455)
+++ csw/mgar/pkg/mod_httpbl/trunk/Makefile 2011-10-19 08:39:29 UTC (rev 15934)
@@ -1,57 +0,0 @@
-NAME = mod_auth_kerb
-VERSION = 5.4
-CATEGORIES = server
-
-DESCRIPTION = Apache Kerberos 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
-
-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
-
-PACKAGES = CSWap2modauthkerb
-CATALOGNAME = ap2_mod_auth_kerb
-RUNTIME_DEP_PKGS_CSWap2modauthkerb += CSWkrb5lib
-RUNTIME_DEP_PKGS_CSWap2modauthkerb += CSWapache2
-CHECKPKG_OVERRIDES_CSWap2modauthkerb += surplus-dependency|CSWapache2
-
-# That path is almost ok
-CHECKPKG_OVERRIDES_CSWap2modauthkerb += bad-rpath-entry|/opt/csw/lib/|opt/csw/apache2/libexec/mod_auth_kerb.so
-
-# Apache paths
-AP2_ROOT = $(prefix)/apache2
-AP2_LIBEXEC = $(DESTDIR)$(AP2_ROOT)/libexec
-
-CONFIGURE_ARGS += $(DIRPATHS)
-CONFIGURE_ARGS += --without-krb4
-CONFIGURE_ARGS += --with-krb5=$(prefix)
-CONFIGURE_ARGS += --with-apache=$(prefix)/apache2
-
-# The package does not provide a check
-TEST_SCRIPTS =
-
-INSTALL_OVERRIDE_VARS = AP2_LIBEXEC
-INSTALL_OVERRIDE_VAR_AP2_LIBEXEC = $(AP2_LIBEXEC)
-
-include gar/category.mk
-
-pre-install-modulated:
- ginstall -d $(AP2_LIBEXEC)
- ginstall -d $(DESTDIR)$(docdir)/$(CATALOGNAME)
- ginstall $(WORKSRC)/README $(WORKSRC)/INSTALL $(DESTDIR)$(docdir)/$(CATALOGNAME)
- @$(MAKECOOKIE)
Copied: csw/mgar/pkg/mod_httpbl/trunk/Makefile (from rev 15904, csw/mgar/pkg/mod_auth_kerb/trunk/Makefile)
===================================================================
--- csw/mgar/pkg/mod_httpbl/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/mod_httpbl/trunk/Makefile 2011-10-19 08:39:29 UTC (rev 15934)
@@ -0,0 +1,60 @@
+# TBD:
+# - Recipe not ready, does not compile due to missing strsep and possibly other things
+
+NAME = mod_httpbl
+VERSION = 1.5
+CATEGORIES = server
+
+DESCRIPTION = Apache blacklist module
+define BLURB
+ The mod_httpbl Apache module is ideal for leveraging the Project Honey pot http:BL services
+ within the context of an Apache web server. Built on the Apache APIs, the mod enables web
+ admins to block comment spammers, harvesters, and other malicious IPs.
+endef
+
+SF_PROJ = httpbl
+# Project for download on CVS
+MASTER_SITES = http://httpbl.cvs.sourceforge.net/viewvc/httpbl/mod_httpbl_for_apache_2.0/mod_httpbl_source/
+DISTNAME =
+DISTFILES += mod_httpbl.c
+DISTFILES += install.txt
+
+VENDOR_URL = http://sourceforge.net/projects/httpbl/
+#LICENSE = LICENSE
+
+PACKAGES = CSWap2modhttpbl
+CATALOGNAME = ap2_mod_httpbl
+RUNTIME_DEP_PKGS_CSWap2modhttpbl += CSWapache2
+CHECKPKG_OVERRIDES_CSWap2modhttpbl += surplus-dependency|CSWapache2
+
+# Apache paths
+AP2_ROOT = $(prefix)/apache2
+AP2_LIBEXEC = $(DESTDIR)$(AP2_ROOT)/libexec
+AP2_APXS = $(AP2_ROOT)/sbin/apxs
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = custom
+INSTALL_SCRIPTS = custom
+
+# The package does not provide a check
+TEST_SCRIPTS =
+
+AP2_MODS = 1
+AP2_MODFILES += \*auth_kerb\*so
+
+include gar/category.mk
+
+build-custom:
+ $(AP2_APXS) -c $(WORKSRC)/mod_httpbl.c
+
+# install:
+#- ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c -i" "src/mod_auth_kerb.c"
+#+ ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "" "${APXS}" "-i -S LIBEXECDIR=$(AP2_LIBEXEC)" "src/mod_auth_kerb.la"
+
+
+install-custom:
+ ginstall -d $(AP2_LIBEXEC)
+ ginstall
+ ginstall -d $(DESTDIR)$(docdir)/$(CATALOGNAME)
+ #ginstall $(WORKSRC)/README $(WORKSRC)/INSTALL $(DESTDIR)$(docdir)/$(CATALOGNAME)
+ @$(MAKECOOKIE)
Modified: csw/mgar/pkg/mod_httpbl/trunk/checksums
===================================================================
--- csw/mgar/pkg/mod_auth_kerb/trunk/checksums 2011-08-28 19:44:23 UTC (rev 15455)
+++ csw/mgar/pkg/mod_httpbl/trunk/checksums 2011-10-19 08:39:29 UTC (rev 15934)
@@ -1 +1,2 @@
-642b81763ad3ca81dba359cb952da5e3 mod_auth_kerb-5.4.tar.gz
+b7c1114788c0b43221221069f663b812 install.txt
+8a13dec4c2434c4f4dabaab57ec074b7 mod_httpbl.c
Deleted: csw/mgar/pkg/mod_httpbl/trunk/files/0001-Fix-install-destination.patch
===================================================================
--- csw/mgar/pkg/mod_auth_kerb/trunk/files/0001-Fix-install-destination.patch 2011-08-28 19:44:23 UTC (rev 15455)
+++ csw/mgar/pkg/mod_httpbl/trunk/files/0001-Fix-install-destination.patch 2011-10-19 08:39:29 UTC (rev 15934)
@@ -1,37 +0,0 @@
-From f60dd9c4b6212a72c125f40f4112795ee22c2fe9 Mon Sep 17 00:00:00 2001
-From: Dagobert Michelsen <dam at opencsw.org>
-Date: Fri, 4 Feb 2011 12:25:23 +0100
-Subject: [PATCH] Fix install destination
-
----
- Makefile.in | 2 +-
- apxs.sh | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index 36f6046..6c1cb62 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -16,7 +16,7 @@ src/mod_auth_kerb.so: src/mod_auth_kerb.c $(SPNEGO_SRCS)
- ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c" "src/mod_auth_kerb.c"
-
- install:
-- ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c -i" "src/mod_auth_kerb.c"
-+ ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "" "${APXS}" "-i -S LIBEXECDIR=$(AP2_LIBEXEC)" "src/mod_auth_kerb.la"
-
- clean:
- for i in . src spnegokrb5; do \
-diff --git a/apxs.sh b/apxs.sh
-index cdb3e65..dfe893a 100755
---- a/apxs.sh
-+++ b/apxs.sh
-@@ -1,5 +1,5 @@
- #!/bin/sh
- cppflags=`[ -n "$1" ] && echo $1 | sed -e 's/\([^ ]*\)/-Wc,\1/g'`
- ldflags=`[ -n "$2" ] && echo $2 | sed -e 's/\([^ ]*\)/-Wl,\1/g'`
--ret=eval "$4" $5 $cppflags $ldflags src/mod_auth_kerb.c $3
-+ret=eval "$4" $5 $cppflags $ldflags $6 $3
- exit $ret
---
-1.7.3.2
-
Deleted: csw/mgar/pkg/mod_httpbl/trunk/files/CSWap2modauthkerb.postinstall
===================================================================
--- csw/mgar/pkg/mod_auth_kerb/trunk/files/CSWap2modauthkerb.postinstall 2011-08-28 19:44:23 UTC (rev 15455)
+++ csw/mgar/pkg/mod_httpbl/trunk/files/CSWap2modauthkerb.postinstall 2011-10-19 08:39:29 UTC (rev 15934)
@@ -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_httpbl/trunk/files/CSWap2modauthkerb.preremove
===================================================================
--- csw/mgar/pkg/mod_auth_kerb/trunk/files/CSWap2modauthkerb.preremove 2011-08-28 19:44:23 UTC (rev 15455)
+++ csw/mgar/pkg/mod_httpbl/trunk/files/CSWap2modauthkerb.preremove 2011-10-19 08:39:29 UTC (rev 15934)
@@ -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