summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmando Di Cianno <fafhrd@gentoo.org>2004-11-21 20:28:36 +0000
committerArmando Di Cianno <fafhrd@gentoo.org>2004-11-21 20:28:36 +0000
commite48f48d1bb61d30dbfd7682d4a1d1dbc811ff46a (patch)
treecbf97683a69272cb4dcba54677b4115c5c144791 /gnustep-libs/gsweb
parent(no commit message) (diff)
downloadhistorical-e48f48d1bb61d30dbfd7682d4a1d1dbc811ff46a.tar.gz
historical-e48f48d1bb61d30dbfd7682d4a1d1dbc811ff46a.tar.bz2
historical-e48f48d1bb61d30dbfd7682d4a1d1dbc811ff46a.zip
New packages, keyworded for ~ppc
Diffstat (limited to 'gnustep-libs/gsweb')
-rw-r--r--gnustep-libs/gsweb/ChangeLog12
-rw-r--r--gnustep-libs/gsweb/Manifest10
-rw-r--r--gnustep-libs/gsweb/files/1.1.1_pre20041119-build-fixes.patch10
-rw-r--r--gnustep-libs/gsweb/files/1/90_mod_gsweb.conf14
-rw-r--r--gnustep-libs/gsweb/files/2/90_mod_gsweb.conf14
-rw-r--r--gnustep-libs/gsweb/files/apache1-make.patch11
-rw-r--r--gnustep-libs/gsweb/files/apache2-make.patch11
-rw-r--r--gnustep-libs/gsweb/files/digest-gsweb-1.1.1_pre200411190
-rw-r--r--gnustep-libs/gsweb/files/gsweb.conf98
-rw-r--r--gnustep-libs/gsweb/gsweb-1.1.1_pre20041119.ebuild80
-rw-r--r--gnustep-libs/gsweb/metadata.xml13
11 files changed, 273 insertions, 0 deletions
diff --git a/gnustep-libs/gsweb/ChangeLog b/gnustep-libs/gsweb/ChangeLog
new file mode 100644
index 000000000000..546f5f9f0243
--- /dev/null
+++ b/gnustep-libs/gsweb/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for gnustep-libs/gsweb
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/gsweb/ChangeLog,v 1.1 2004/11/21 20:28:36 fafhrd Exp $
+
+*gsweb-1.1.1_pre20041119 (21 Nov 2004)
+
+ 21 Nov 2004; Armando Di Cianno <fafhrd@gentoo.org> +metadata.xml,
+ +files/1.1.1_pre20041119-build-fixes.patch, +files/apache1-make.patch,
+ +files/apache2-make.patch, +files/gsweb.conf, +files/1/90_mod_gsweb.conf,
+ +files/2/90_mod_gsweb.conf, +gsweb-1.1.1_pre20041119.ebuild:
+ Original package import; keyworded for ~ppc
+
diff --git a/gnustep-libs/gsweb/Manifest b/gnustep-libs/gsweb/Manifest
new file mode 100644
index 000000000000..3ff24aec678d
--- /dev/null
+++ b/gnustep-libs/gsweb/Manifest
@@ -0,0 +1,10 @@
+MD5 8f78510f6eef22ad57ca248882daa0b8 gsweb-1.1.1_pre20041119.ebuild 2218
+MD5 bd941b0f0c4107ee4572db68685e309a ChangeLog 576
+MD5 793863b2ae98803d7c254bed889178b3 metadata.xml 429
+MD5 078dd66c0d30dc9af62ed1cad6519a0e files/apache1-make.patch 333
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gsweb-1.1.1_pre20041119 0
+MD5 41b18945839f51f5ab48c20ab9a60b2c files/apache2-make.patch 334
+MD5 9f675b264d05d148a25d5cbf4e28001e files/1.1.1_pre20041119-build-fixes.patch 374
+MD5 b2bed5fd63f7b0ac88c29357e81e52d3 files/gsweb.conf 2267
+MD5 e9be862ba0ae4a1d47a54daf5f386ff3 files/1/90_mod_gsweb.conf 256
+MD5 bfb17f39dbc561ab65918f5bedebbf4c files/2/90_mod_gsweb.conf 255
diff --git a/gnustep-libs/gsweb/files/1.1.1_pre20041119-build-fixes.patch b/gnustep-libs/gsweb/files/1.1.1_pre20041119-build-fixes.patch
new file mode 100644
index 000000000000..5f3adef3eab6
--- /dev/null
+++ b/gnustep-libs/gsweb/files/1.1.1_pre20041119-build-fixes.patch
@@ -0,0 +1,10 @@
+--- GSWAction.h.orig 2004-11-19 01:00:10.682762424 -0500
++++ GSWAction.h 2004-11-19 01:00:14.788138312 -0500
+@@ -56,7 +56,6 @@
+ /** Returns YES if self reponds to actionName **/
+ -(BOOL)isActionNamed:(NSString*)actionName;
+
+--(id)existingSession;
+ -(NSString*)sessionIDForRequest:(GSWRequest*)aRequest;
+ -(void)_initializeRequestSessionIDInContext:(GSWContext*)aContext;
+
diff --git a/gnustep-libs/gsweb/files/1/90_mod_gsweb.conf b/gnustep-libs/gsweb/files/1/90_mod_gsweb.conf
new file mode 100644
index 000000000000..ad89ceec4dbf
--- /dev/null
+++ b/gnustep-libs/gsweb/files/1/90_mod_gsweb.conf
@@ -0,0 +1,14 @@
+<IfDefine GSWeb>
+
+ # Load the module first
+# <IfModule !sapi_apache2.c>
+ LoadModule GSWeb_Module extramodules/mod_gsweb.so
+ GSWeb_ConfigFilePath /etc/apache/conf/gsweb.conf
+# </IfModule>
+
+ <Location /GSWeb*>
+ SetHandler GSWeb
+ </Location>
+
+</IfDefine>
+
diff --git a/gnustep-libs/gsweb/files/2/90_mod_gsweb.conf b/gnustep-libs/gsweb/files/2/90_mod_gsweb.conf
new file mode 100644
index 000000000000..67e0520cca42
--- /dev/null
+++ b/gnustep-libs/gsweb/files/2/90_mod_gsweb.conf
@@ -0,0 +1,14 @@
+<IfDefine GSWeb>
+
+ # Load the module first
+ <IfModule !sapi_apache2.c>
+ LoadModule GSWeb_Module extramodules/mod_gsweb.so
+ GSWeb_ConfigFilePath /etc/apache2/conf/gsweb.conf
+ </IfModule>
+
+ <Location /GSWeb*>
+ SetHandler GSWeb
+ </Location>
+
+</IfDefine>
+
diff --git a/gnustep-libs/gsweb/files/apache1-make.patch b/gnustep-libs/gsweb/files/apache1-make.patch
new file mode 100644
index 000000000000..6d47707594f8
--- /dev/null
+++ b/gnustep-libs/gsweb/files/apache1-make.patch
@@ -0,0 +1,11 @@
+--- GNUmakefile-Apache1x.orig 2004-11-20 13:02:56.907271024 -0500
++++ GNUmakefile-Apache1x 2004-11-20 13:04:01.134507000 -0500
+@@ -34,7 +34,7 @@
+ ifeq ("FreeBSD",$(strip $(OSNAME)))
+ APXS = /usr/local/sbin/apxs
+ else
+- APXS = /usr/apache/sbin/apxs
++ APXS = /usr/sbin/apxs
+ endif
+ else
+ ifneq (,$(findstring no apxs,$(APXS)))
diff --git a/gnustep-libs/gsweb/files/apache2-make.patch b/gnustep-libs/gsweb/files/apache2-make.patch
new file mode 100644
index 000000000000..407608df6640
--- /dev/null
+++ b/gnustep-libs/gsweb/files/apache2-make.patch
@@ -0,0 +1,11 @@
+--- GNUmakefile-Apache2x.orig 2004-11-19 01:21:16.000000000 -0500
++++ GNUmakefile-Apache2x 2004-11-19 01:22:19.000000000 -0500
+@@ -39,7 +39,7 @@
+ ifeq ("FreeBSD",$(strip $(OSNAME)))
+ APXS = /usr/local/sbin/apxs
+ else
+- APXS = /usr/apache/sbin/apxs
++ APXS = /usr/sbin/apxs2
+ endif
+ else
+ ifneq (,$(findstring no apxs,$(APXS)))
diff --git a/gnustep-libs/gsweb/files/digest-gsweb-1.1.1_pre20041119 b/gnustep-libs/gsweb/files/digest-gsweb-1.1.1_pre20041119
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/gnustep-libs/gsweb/files/digest-gsweb-1.1.1_pre20041119
diff --git a/gnustep-libs/gsweb/files/gsweb.conf b/gnustep-libs/gsweb/files/gsweb.conf
new file mode 100644
index 000000000000..dc314adcc324
--- /dev/null
+++ b/gnustep-libs/gsweb/files/gsweb.conf
@@ -0,0 +1,98 @@
+{
+// //Global Parameters
+//
+// //YES if server can display status (URL: /GSWeb/status)
+// canDumpStatus = YES;
+
+ // URL of GSWExtensions Framework WebServerResources directory
+ GSWExtensionsFrameworkWebServerResources =
+ "/GSW/GSWExtensions/WebServerResources";
+
+ //List of applications
+
+// applications = {
+// //The 1st application: MyApp
+// hello = {
+// // YES if the default page will show this
+// // app as one of the running apps
+// canDump = YES;
+// GSWExtensionsFrameworkWebServerResources =
+// "/GSW/GSWExtensions/WebServerResources";
+// //List of its instances
+// instances = {
+// //First Instance
+// 1 = {
+// //Host of this instance
+// host = 127.0.0.1;
+// //Port of this instance
+// port = 9001;
+// parameters = { //Unused
+// transport=socket;
+// };
+// };
+// 2 = {
+// //Host of this instance
+// host = 127.0.0.1;
+// //Port of this instance
+// port = 9002;
+// parameters = { //Unused
+// transport=socket;
+// };
+// };
+// };
+// };
+//
+// //The 2nd application: AnotherOne
+// AnotherOne = {
+// // URL of GSWExtensions Framework WebServerResources
+// // directory. It overides Global parameter
+// GSWExtensionsFrameworkWebServerResources =
+// "/GSW/GSWExtensions/WebServerResources";
+// // YES to say that this application can be listed
+// // when the adaptor don't find an application
+// canDump = YES;
+// //Unused for the moment
+// applicationHeaders = {
+// header1 = 1264;
+// header2 = 4567;
+// };
+// //Instances
+// instances = {
+// //1st instance
+// 1 = {
+// host = 145.146.147.20;
+// port = 9002;
+// parameters = {
+// transport = socket;
+// };
+// };
+// };
+// };
+// MyAppVoid = {
+// // Here we have 3 instances
+// instances = {
+// 1 = {
+// host = 145.146.147.20;
+// port = 9001;
+// parameters = {
+// transport = socket;
+// };
+// };
+// 2 = {
+// host = 145.146.147.21;
+// port = 9002;
+// parameters = {
+// transport=socket;
+// };
+// };
+// 5 = {
+// host = 145.146.147.22;
+// port = 9003;
+// parameters = {
+// transport=socket;
+// };
+// };
+// };
+// }; // MyAppVoid
+// }; // applications
+};
diff --git a/gnustep-libs/gsweb/gsweb-1.1.1_pre20041119.ebuild b/gnustep-libs/gsweb/gsweb-1.1.1_pre20041119.ebuild
new file mode 100644
index 000000000000..d956c1e765b2
--- /dev/null
+++ b/gnustep-libs/gsweb/gsweb-1.1.1_pre20041119.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/gsweb/gsweb-1.1.1_pre20041119.ebuild,v 1.1 2004/11/21 20:28:36 fafhrd Exp $
+
+ECVS_CVS_COMMAND="cvs -q"
+ECVS_SERVER="savannah.gnu.org:/cvsroot/gnustep"
+ECVS_USER="anoncvs"
+ECVS_AUTH="ext"
+ECVS_MODULE="gnustep/dev-libs/${PN}"
+ECVS_CO_OPTS="-P -D ${PV/*_pre}"
+ECVS_UP_OPTS="-dP -D ${PV/*_pre}"
+ECVS_TOP_DIR="${DISTDIR}/cvs-src/savannah.gnu.org-gnustep"
+inherit gnustep cvs eutils depend.apache
+
+S=${WORKDIR}/${ECVS_MODULE}
+
+DESCRIPTION="GNUstepWeb is a library which was designed to be compatible with WebObjects 4.x (developed by NeXT (now Apple) Inc.)."
+HOMEPAGE="http://www.gnustep.org"
+
+KEYWORDS="~ppc"
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+DEPEND="${GS_DEPEND}
+ gnustep-libs/gdl2
+ x11-libs/libPropList"
+RDEPEND="${GS_RDEPEND}
+ gnustep-libs/gdl2
+ x11-libs/libPropList
+ net-www/apache"
+need_apache2
+IUSE="${IUSE}"
+
+egnustep_install_domain "System"
+
+src_unpack() {
+ cvs_src_unpack
+ ( cd ${S}/GSWeb.framework ; epatch ${FILESDIR}/${PV}-build-fixes.patch )
+ ( cd ${S}/GSWAdaptors/Apache ; epatch ${FILESDIR}/apache1-make.patch )
+ ( cd ${S}/GSWAdaptors/Apache ; epatch ${FILESDIR}/apache2-make.patch )
+}
+
+src_compile() {
+ cd ${S}
+ egnustep_env
+ econf "--prefix=$(egnustep_prefix)" || die "./configure failed"
+ egnustep_make || die
+ cd ${S}/GSWAdaptors/Apache
+ pwd
+ einfo "emake -f GNUmakefile-Apache${APACHE_VERSION}x all"
+ emake -f GNUmakefile-Apache${APACHE_VERSION}x all
+ ls -la
+ cd ${S}
+ pwd
+}
+
+src_install() {
+ gnustep_src_install
+ cd ${S}/GSWAdaptors/Apache
+ insinto /usr/lib/apache${APACHE_VERSION#1}-extramodules
+ insopts -m0755
+ doins mod_gsweb.so
+ cd ${S}
+
+ insinto /etc/apache${APACHE_VERSION#1}/conf/modules.d
+ doins ${FILESDIR}/${APACHE_VERSION}/90_mod_gsweb.conf
+
+ insinto /etc/apache${APACHE_VERSION#1}/conf
+ doins ${FILESDIR}/gsweb.conf
+
+ dodir $(egnustep_system_domain)/Library/Documentation/GSWeb
+ insinto $(egnustep_system_domain)/Library/Documentation/GSWeb
+ doins GSWAdaptors/Doc/ConfigurationFile.html
+}
+
+pkg_postinst() {
+ gnustep_pkg_postinst
+ einfo "Edit /etc/conf.d/apache${APACHE_VERSION#1} and add \"-D GSWeb\" to APACHE${APACHE_VERSION#1}_OPTS"
+}
+
diff --git a/gnustep-libs/gsweb/metadata.xml b/gnustep-libs/gsweb/metadata.xml
new file mode 100644
index 000000000000..c5424d004c93
--- /dev/null
+++ b/gnustep-libs/gsweb/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnustep</herd>
+<maintainer>
+ <email>fafhrd@gentoo.org</email>
+</maintainer>
+<longdescription>
+GNUstepWeb is a library which was designed to be compatible with
+WebObjects 4.x (developed by NeXT (now Apple) Inc.).
+It's written in Objective-C with GNUstep libraries.
+</longdescription>
+</pkgmetadata>