summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Leitch <port001@gentoo.org>2005-05-21 21:12:39 +0000
committerIan Leitch <port001@gentoo.org>2005-05-21 21:12:39 +0000
commit0131adcb4b5a1c4e4e56504b8cc96c08000665a6 (patch)
treef5765e55df8ec20e1425f47f2dac3a918e8b37dc /www-misc
parentAdded an instruction to let users modify mozilla prefs. Thanks to Nikolas 'At... (diff)
downloadgentoo-2-0131adcb4b5a1c4e4e56504b8cc96c08000665a6.tar.gz
gentoo-2-0131adcb4b5a1c4e4e56504b8cc96c08000665a6.tar.bz2
gentoo-2-0131adcb4b5a1c4e4e56504b8cc96c08000665a6.zip
Initial commit. Thanks to those in bug #50870
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/nsopenssl/ChangeLog11
-rw-r--r--www-misc/nsopenssl/Manifest6
-rw-r--r--www-misc/nsopenssl/files/Makefile-3.0_beta26.diff77
-rw-r--r--www-misc/nsopenssl/files/digest-nsopenssl-3.0_beta261
-rw-r--r--www-misc/nsopenssl/files/nsd.tcl.diff115
-rw-r--r--www-misc/nsopenssl/metadata.xml10
-rw-r--r--www-misc/nsopenssl/nsopenssl-3.0_beta26.ebuild43
7 files changed, 263 insertions, 0 deletions
diff --git a/www-misc/nsopenssl/ChangeLog b/www-misc/nsopenssl/ChangeLog
new file mode 100644
index 000000000000..ae514dc52642
--- /dev/null
+++ b/www-misc/nsopenssl/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for www-misc/nsopenssl
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/nsopenssl/ChangeLog,v 1.1 2005/05/21 21:12:38 port001 Exp $
+
+*nsopenssl-3.0_beta26 (21 May 2005)
+
+ 21 May 2005; Ian Leitch <port001@gentoo.org> +metadata.xml,
+ +files/Makefile-3.0_beta26.diff, +files/nsd.tcl.diff,
+ +nsopenssl-3.0_beta26.ebuild:
+ Initial commit. Thanks to those in bug #50870
+
diff --git a/www-misc/nsopenssl/Manifest b/www-misc/nsopenssl/Manifest
new file mode 100644
index 000000000000..f3369e950cd1
--- /dev/null
+++ b/www-misc/nsopenssl/Manifest
@@ -0,0 +1,6 @@
+MD5 4b8bb2376a6af7ca85dc0b94b3352252 nsopenssl-3.0_beta26.ebuild 921
+MD5 a252108588299fdc2c239bb33c006372 ChangeLog 355
+MD5 c5739a4a31eee314fab2948c903c1e08 metadata.xml 420
+MD5 492a16452cfed4972bd133b969dd0557 files/Makefile-3.0_beta26.diff 1956
+MD5 7fd89363fc3b9c57c5a9a24af7943006 files/digest-nsopenssl-3.0_beta26 74
+MD5 6211fa6f58000cf12db325e8ae155af6 files/nsd.tcl.diff 4762
diff --git a/www-misc/nsopenssl/files/Makefile-3.0_beta26.diff b/www-misc/nsopenssl/files/Makefile-3.0_beta26.diff
new file mode 100644
index 000000000000..f3dfc21b3c88
--- /dev/null
+++ b/www-misc/nsopenssl/files/Makefile-3.0_beta26.diff
@@ -0,0 +1,77 @@
+diff -ruN nsopenssl-3.0beta26.orig/Makefile nsopenssl-3.0beta26/Makefile
+--- nsopenssl-3.0beta26.orig/Makefile 2005-02-25 17:34:44.000000000 +0000
++++ nsopenssl-3.0beta26/Makefile 2005-02-27 21:22:43.702754056 +0000
+@@ -28,21 +28,7 @@
+ # $Header: /var/cvsroot/gentoo-x86/www-misc/nsopenssl/files/Makefile-3.0_beta26.diff,v 1.1 2005/05/21 21:12:39 port001 Exp $
+ #
+
+-AOLSERVER ?= ../aolserver
+-
+-ifndef OPENSSL
+-
+-all:
+- @echo "** "
+- @echo "** OPENSSL variable not set."
+- @echo "** nsopenssl will not be built."
+- @echo "** "
+-
+-install: all
+-
+-clean:
+-
+-else
++AOLSERVER ?= ../
+
+ #
+ # Version number used in release tags. Valid VERs are "1.1c", "2.1",
+@@ -54,18 +40,18 @@
+
+ LIB = nsopenssl
+ LIBOBJS = sslcontext.o ssl.o tclcmds.o x509.o
+-LIBLIBS = -L$(OPENSSL)/lib -lssl -lcrypto
++LIBLIBS = -L$(OPENSSL_LIB) -lssl -lcrypto
+
+ MOD = nsopenssl.so
+ MODOBJS = nsopenssl.o
+ HDRS = nsopenssl.h
+-MODLIBS = -L$(OPENSSL)/lib -lssl -lcrypto
++MODLIBS = -L$(OPENSSL_LIB) -lssl -lcrypto
+
+ TCLMOD = https.tcl
+
+ # Add static compilation ability, per grax3272
+ ifeq ($(STATIC),1)
+- MODLIBS = $(OPENSSL)/lib/libssl.a $(OPENSSL)/lib/libcrypto.a
++ MODLIBS = $(OPENSSL_LIB)/libssl.a $(OPENSSL_LIB)/libcrypto.a
+ endif
+
+ #
+@@ -75,21 +61,10 @@
+ # *was not* compiled with Kerberos support.
+ #
+
+-CFLAGS += -I$(OPENSSL)/include -I/usr/kerberos/include
+-
+-INSTALL = install-https.tcl
++CFLAGS += -I$(OPENSSL_INCLUDE) -I/usr/kerberos/include
+
+ include $(AOLSERVER)/include/Makefile.module
+
+-##
+-## Extra install targets.
+-##
+-
+-install-https.tcl:
+- $(INSTALL_SH) $(TCLMOD) $(INSTTCL)
+-
+-.PHONY: install-https.tcl
+-
+ #
+ # Help the poor developer
+ #
+@@ -127,5 +102,3 @@
+ cvs -d :pserver:anonymous@cvs.sf.net:/cvsroot/aolserver login
+ cd /tmp && cvs -d :pserver:anonymous@cvs.sf.net:/cvsroot/aolserver co -rv$(VER_) -d$(MODNAME)-$(VER) $(MODNAME) && tar cf - $(MODNAME)-$(VER) | gzip -c > $(MODNAME)-$(VER).tar.gz
+ echo "--- FILE RELEASE is: /tmp/$(MODNAME)-$(VER).tar.gz"
+-
+-endif
diff --git a/www-misc/nsopenssl/files/digest-nsopenssl-3.0_beta26 b/www-misc/nsopenssl/files/digest-nsopenssl-3.0_beta26
new file mode 100644
index 000000000000..ec6210904106
--- /dev/null
+++ b/www-misc/nsopenssl/files/digest-nsopenssl-3.0_beta26
@@ -0,0 +1 @@
+MD5 ab35addeee1df8f38028807b4a45dbd4 nsopenssl-3.0beta26-src.tar.gz 71367
diff --git a/www-misc/nsopenssl/files/nsd.tcl.diff b/www-misc/nsopenssl/files/nsd.tcl.diff
new file mode 100644
index 000000000000..3c88821015a7
--- /dev/null
+++ b/www-misc/nsopenssl/files/nsd.tcl.diff
@@ -0,0 +1,115 @@
+--- nsopenssl-3.0beta26.orig/nsd.tcl 2005-02-25 17:34:44.000000000 +0000
++++ nsopenssl-3.0beta26/nsd.tcl 2005-02-27 22:29:46.676169136 +0000
+@@ -1,9 +1,11 @@
+ ###############################################################################
+ #
++# Modifications made by Gentoo Linux:
++# * Removed 1.x and 2.x configuration examples
++#
+ # Sample configurations for nsopenssl
+ #
+-# This file contains three sets of configuration examples, one for each of 1.x,
+-# 2.x and 3.x versions of nsopenssl.
++# This file contains a single configuration example for 3.x version of nsopenssl.
+ #
+ # Parameters followed by the comment "# default" show the default values if you
+ # don't specify that parameter.
+@@ -116,98 +118,3 @@
+ ns_section "ns/server/${servername}/modules"
+ ...
+ ns_param nsopenssl ${bindir}/nsopenssl${ext}
+-
+-
+-
+-###############################################################################
+-#
+-# nsopenssl version 2.x configuration
+-#
+-
+-ns_section "ns/server/${servername}/module/nsopenssl"
+-
+-# NSD-driven connections:
+-ns_param ServerPort $httpsport
+-ns_param ServerHostname $hostname
+-ns_param ServerAddress $address
+-ns_param ServerCertFile certfile.pem
+-ns_param ServerKeyFile keyfile.pem
+-ns_param ServerProtocols "SSLv2, SSLv3, TLSv1"
+-ns_param ServerCipherSuite "ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP"
+-ns_param ServerSessionCache false
+-ns_param ServerSessionCacheID 1
+-ns_param ServerSessionCacheSize 128
+-ns_param ServerSessionCacheTimeout 300
+-ns_param ServerPeerVerify true
+-ns_param ServerPeerVerifyDepth 3
+-ns_param ServerCADir ca
+-ns_param ServerCAFile ca.pem
+-ns_param ServerTrace false
+-
+-# For listening and accepting SSL connections via Tcl/C API:
+-ns_param SockServerCertFile certfile.pem
+-ns_param SockServerKeyFile keyfile.pem
+-ns_param SockServerProtocols "SSLv2, SSLv3, TLSv1"
+-ns_param SockServerCipherSuite "ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP"
+-ns_param SockServerSessionCache false
+-ns_param SockServerSessionCacheID 2
+-ns_param SockServerSessionCacheSize 128
+-ns_param SockServerSessionCacheTimeout 300
+-ns_param SockServerPeerVerify true
+-ns_param SockServerPeerVerifyDepth 3
+-ns_param SockServerCADir internal_ca
+-ns_param SockServerCAFile internal_ca.pem
+-ns_param SockServerTrace false
+-
+-# Outgoing SSL connections
+-ns_param SockClientCertFile clientcertfile.pem
+-ns_param SockClientKeyFile clientkeyfile.pem
+-ns_param SockClientProtocols "SSLv2, SSLv3, TLSv1"
+-ns_param SockClientCipherSuite "ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP"
+-ns_param SockClientSessionCache false
+-ns_param SockClientSessionCacheID 3
+-ns_param SockClientSessionCacheSize 128
+-ns_param SockClientSessionCacheTimeout 300
+-ns_param SockClientPeerVerify true
+-ns_param SockServerPeerVerifyDepth 3
+-ns_param SockClientCADir ca
+-ns_param SockClientCAFile ca.pem
+-ns_param SockClientTrace false
+-
+-# Typically where you store your certificates
+-# Defaults to $AOLSERVER/servers/${servername}/modules/nsopenssl
+-ns_param ModuleDir /path/to/dir
+-
+-# OpenSSL library support:
+-ns_param RandomFile /some/file
+-ns_param SeedBytes 1024
+-
+-
+-###############################################################################
+-#
+-# DEPRECATED: nsopenssl 1.x configuration
+-#
+-
+-ns_section "ns/server/${servername}/module/nsopenssl"
+-ns_param address $address
+-ns_param port $httpsport
+-ns_param hostname $hostname
+-ns_param CertFile certfile.pem
+-ns_param KeyFile keyfile.pem
+-ns_param Protocol All
+-#ns_param Protocol SSLv2
+-#ns_param Protocol SSLv3
+-#ns_param Protocol TLSv1
+-ns_param CipherSuite "ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP"
+-ns_param SessionCache true
+-ns_param SessionCacheSize 128
+-ns_param SessionCacheTimeout 300
+-ns_param ClientVerify true
+-ns_param CADir ca
+-ns_param CAFile ca.pem
+-ns_param Trace false
+-ns_param RandomFile /some/file
+-
+-ns_section "ns/server/${servername}/modules"
+-ns_param nsopenssl ${bindir}/nsopenssl${ext}
+-
diff --git a/www-misc/nsopenssl/metadata.xml b/www-misc/nsopenssl/metadata.xml
new file mode 100644
index 000000000000..ba89f4bab6fe
--- /dev/null
+++ b/www-misc/nsopenssl/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>port001@gentoo.org</email>
+ <name>Ian Leitch</name>
+ <description>Maintainer</description>
+ </maintainer>
+ <longdescription>XML and XSLT processing capabilities for AOLServer</longdescription>
+</pkgmetadata>
diff --git a/www-misc/nsopenssl/nsopenssl-3.0_beta26.ebuild b/www-misc/nsopenssl/nsopenssl-3.0_beta26.ebuild
new file mode 100644
index 000000000000..b8388bddce8a
--- /dev/null
+++ b/www-misc/nsopenssl/nsopenssl-3.0_beta26.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/nsopenssl/nsopenssl-3.0_beta26.ebuild,v 1.1 2005/05/21 21:12:38 port001 Exp $
+
+inherit eutils
+inherit aolserver
+
+MY_P=${P/_/}
+
+DESCRIPTION="nsopenssl is a module for AOLserver 4.x implementing SSL using the OpenSSL library"
+HOMEPAGE="http://www.scottg.net/webtools/aolserver/modules/nsopenssl/"
+SRC_URI="mirror://sourceforge/aolserver/${MY_P}-src.tar.gz"
+
+KEYWORDS="~x86"
+
+DEPEND=">=dev-libs/openssl-0.9.6"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+MAKE_FLAGS="OPENSSL_LIB='/usr/lib' OPENSSL_INCLUDE='/usr/include/openssl'"
+TCL_MODS="https.tcl"
+DOCS="README TODO ChangeLog sample-config.tcl"
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd ${S}
+
+ epatch ${FILESDIR}/Makefile-${PV}.diff
+ epatch ${FILESDIR}/nsd.tcl.diff
+
+ mv nsd.tcl sample-config.tcl
+}
+
+pkg_postinst() {
+
+ echo
+ einfo "A sample configuration is provided in"
+ einfo "/usr/share/doc/${PF}/sample-config.tcl.gz"
+ echo
+}