[csw-devel] SF.net SVN: gar:[16747] csw/mgar/pkg
cgrzemba at users.sourceforge.net
cgrzemba at users.sourceforge.net
Thu Jan 12 16:42:06 CET 2012
Revision: 16747
http://gar.svn.sourceforge.net/gar/?rev=16747&view=rev
Author: cgrzemba
Date: 2012-01-12 15:42:05 +0000 (Thu, 12 Jan 2012)
Log Message:
-----------
mod_nss/trunk: Initial release
Added Paths:
-----------
csw/mgar/pkg/mod_nss/
csw/mgar/pkg/mod_nss/Makefile
csw/mgar/pkg/mod_nss/branches/
csw/mgar/pkg/mod_nss/tags/
csw/mgar/pkg/mod_nss/trunk/
csw/mgar/pkg/mod_nss/trunk/Makefile
csw/mgar/pkg/mod_nss/trunk/checksums
csw/mgar/pkg/mod_nss/trunk/files/
csw/mgar/pkg/mod_nss/trunk/files/CSWap2modnss.postinstall
csw/mgar/pkg/mod_nss/trunk/files/CSWap2modnss.preremove
Added: csw/mgar/pkg/mod_nss/Makefile
===================================================================
--- csw/mgar/pkg/mod_nss/Makefile (rev 0)
+++ csw/mgar/pkg/mod_nss/Makefile 2012-01-12 15:42:05 UTC (rev 16747)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/mod_nss/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_nss/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mod_nss/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/mod_nss/trunk/Makefile 2012-01-12 15:42:05 UTC (rev 16747)
@@ -0,0 +1,73 @@
+# $Id$
+#
+NAME = mod_nss
+VERSION = 1.0.8
+GARTYPE = v2
+CATEGORIES = lib
+
+DESCRIPTION = Apache2 Crypto Modul using Mozilla NSS
+define BLURB
+An Apache 2.0 module for implementing crypto using the Mozilla NSS crypto libraries. This supports SSLv3/TLSv1 including support for client certificate authentication. NSS provides web applications with a FIPS 140 certified crypto provider and support for a full range of PKCS11 devices.
+endef
+
+LICENSE = LICENSE
+
+PACKAGES = CSWap2modnss
+
+MASTER_SITES = http://port389.org/sources
+# MASTER_SITES = http://directory.fedoraproject.org/sources
+DISTFILES = $(NAME)-$(VERSION).tar.gz
+DISTFILES += CSWap2modnss.postinstall
+DISTFILES += CSWap2modnss.preremove
+
+# BUILD64 = 1
+PACKAGING_PLATFORMS += solaris10-sparc
+PACKAGING_PLATFORMS += solaris10-i386
+GARCOMPILER = SOS12U2
+
+TEST_SCRIPTS =
+EXTRA_LINKER_FLAGS = -xnorunpath -norunpath
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS_OPT += --with-apr-config
+CONFIGURE_ARGS_OPT += --with-apxs=/opt/csw/apache2/sbin/apxs
+CONFIGURE_ARGS_OPT += --with-nss-lib=/opt/csw/lib/64
+CONFIGURE_ARGS_OPT += --with-nss-inc=/opt/csw/include/nss
+CONFIGURE_ARGS_OPT += --with-nspr-lib=/opt/csw/lib
+CONFIGURE_ARGS_OPT += --with-nspr-inc=/opt/csw/include/nspr
+CONFIGURE_ARGS += $(CONFIGURE_ARGS_$(GARFLAVOR))
+
+INSTALL_SCRIPTS = custom
+
+# No test suite
+TEST_SCRIPTS =
+
+STRIP_DIRS = $(DESTDIR)$(prefix)/apache2/libexec
+
+RUNTIME_DEP_PKGS_CSWap2modnss += CSWapache2
+RUNTIME_DEP_PKGS_CSWap2modnss += CSWlibnspr4
+RUNTIME_DEP_PKGS_CSWap2modnss += CSWlibnss3
+RUNTIME_DEP_PKGS_CSWap2modnss += CSWlibplds4
+RUNTIME_DEP_PKGS_CSWap2modnss += CSWlibplc4
+CHECKPKG_OVERRIDES_CSWap2modnss += pkginfo-opencsw-repository-uncommitted
+
+
+include gar/category.mk
+
+# Apache paths
+AP2_ROOT = $(prefix)/apache2
+AP2_LIBEXEC = $(DESTDIR)$(AP2_ROOT)/libexec
+AP2_CONF = $(DESTDIR)$(AP2_ROOT)/etc
+AP2_SBIN = $(DESTDIR)$(AP2_ROOT)/sbin
+
+install-custom:
+ @ginstall -m 755 -d $(AP2_LIBEXEC)
+ @ginstall -m 755 -d $(AP2_CONF)
+ @ginstall -m 755 -d $(AP2_SBIN)
+ @ginstall -c -m 755 $(WORKSRC)/.libs/libmodnss.so $(AP2_LIBEXEC)
+ @ginstall -c -m 644 $(WORKSRC)/nss.conf $(AP2_CONF)
+ @ginstall -c -m 755 $(WORKSRC)/nss_pcache $(AP2_SBIN)
+ @ginstall -c -m 755 $(WORKSRC)/gencert $(AP2_SBIN)
+ $(MAKECOOKIE)
+
+COPYFILES = CONFIGURE CHANGES README
Property changes on: csw/mgar/pkg/mod_nss/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/mod_nss/trunk/checksums
===================================================================
--- csw/mgar/pkg/mod_nss/trunk/checksums (rev 0)
+++ csw/mgar/pkg/mod_nss/trunk/checksums 2012-01-12 15:42:05 UTC (rev 16747)
@@ -0,0 +1 @@
+32458d91ce909260a6081cce58004e2f mod_nss-1.0.8.tar.gz
Added: csw/mgar/pkg/mod_nss/trunk/files/CSWap2modnss.postinstall
===================================================================
--- csw/mgar/pkg/mod_nss/trunk/files/CSWap2modnss.postinstall (rev 0)
+++ csw/mgar/pkg/mod_nss/trunk/files/CSWap2modnss.postinstall 2012-01-12 15:42:05 UTC (rev 16747)
@@ -0,0 +1,28 @@
+#!/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_CONFIG=$AP2_CONFDIR/httpd.conf
+
+PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
+
+# Enable the nss module
+chroot $PKG_INSTALL_ROOT \
+ $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -a -n nss libmodnss.so
+
+# Finito
+cat <<END
+
+NOTICE: mod_nss is enabled in $AP2_CONFIG but the server
+was not restarted. Please configure mod_nss and restart apache.
+
+To create a certificate database with a self-signed
+certificate, use the 'gencert' program that comes with mod_nss
+
+
+END
+
Added: csw/mgar/pkg/mod_nss/trunk/files/CSWap2modnss.preremove
===================================================================
--- csw/mgar/pkg/mod_nss/trunk/files/CSWap2modnss.preremove (rev 0)
+++ csw/mgar/pkg/mod_nss/trunk/files/CSWap2modnss.preremove 2012-01-12 15:42:05 UTC (rev 16747)
@@ -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_CONFIG=$AP2_CONFDIR/httpd.conf
+
+PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
+
+# Enable the nss module
+chroot $PKG_INSTALL_ROOT \
+ $AP2_BINDIR/apxs -S LIBEXECDIR=$AP2_LIBEXEC -e -A -n nss libmodnss.so
+
+# Finito
+cat <<END
+
+NOTICE: mod_nss is disabled in $AP2_CONFIG but the server
+was not restarted. Please restart apache.
+
+END
+
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