Description: Apache module for the SOPE application server
This package contains an apache module which enables the apache
webserver to deliver pages generated by the SOPE application server.
-
+
+Package: libapache2-mod-ngobjweb
+Section: web
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, apache2-common
+Description: Apache2 module for the SOPE application server
+ This package contains an apache module which enables the apache2
+ webserver to deliver pages generated by the SOPE application server.
Description: Apache module for the SOPE application server
This package contains an apache module which enables the apache
webserver to deliver pages generated by the SOPE application server.
-
+
+Package: libapache2-mod-ngobjweb
+Section: web
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, apache2-common
+Description: Apache2 module for the SOPE application server
+ This package contains an apache module which enables the apache2
+ webserver to deliver pages generated by the SOPE application server.
usr/lib/apache/1.3
-usr/share/opengroupware.org/mod_ngobjweb
--- /dev/null
+usr/lib/apache2/modules
+etc/apache2/mods-available
--- /dev/null
+usr/lib/apache2
--- /dev/null
+#!/bin/bash
+
+set -e
+
+if [ -e /etc/apache2/httpd.conf ]; then
+ a2enmod ngobjweb
+fi
+if [ -x /usr/sbin/invoke-rc.d ] && [ -x /etc/init.d/apache2 ]; then
+ invoke-rc.d apache2 force-reload || true
+elif [ -x /etc/init.d/apache2 ]; then
+ /etc/init.d/apache2 force-reload || true
+fi
+
+#DEBHELPER#
--- /dev/null
+#!/bin/bash
+
+set -e
+
+if [ -e /etc/apache2/httpd.conf ]; then
+ a2dismod ngobjweb
+fi
+if [ -x /usr/sbin/invoke-rc.d ] && [ -x /etc/init.d/apache2 ]; then
+ invoke-rc.d apache2 force-reload || true
+elif [ -x /etc/init.d/apache2 ]; then
+ /etc/init.d/apache2 force-reload || true
+fi
+
+#DEBHELPER#
--- /dev/null
+LoadModule ngobjweb_module /usr/lib/apache2/modules/mod_ngobjweb.so
+++ /dev/null
-#! /bin/sh -e
-## XX_PATCHNAME.dpatch by YOUR NAME <YOUR EMAIL>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Configure and build mod_ngobjweb
-
-[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
-patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
-
-if [ $# -ne 1 ]; then
- echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
- exit 1
-fi
-case "$1" in
- -patch)
- patch $patch_opts -p1 < $0;;
- -unpatch)
- patch $patch_opts -p1 -R < $0;;
- *)
- echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
- exit 1;;
-esac
-
-exit 0
-@DPATCH@
-diff -urN sope.orig/sope-appserver/mod_ngobjweb/GNUmakefile sope/sope-appserver/mod_ngobjweb/GNUmakefile
---- sope.orig/sope-appserver/mod_ngobjweb/GNUmakefile 2004-09-26 14:15:22.000000000 +0200
-+++ sope/sope-appserver/mod_ngobjweb/GNUmakefile 2004-09-26 14:17:43.000000000 +0200
-@@ -5,7 +5,7 @@
- # config
-
- APACHE = /usr
--APXS = $(APACHE)/sbin/apxs
-+APXS = $(APACHE)/bin/apxs
-
- ifneq ($(apxs),no)
- ifneq ($(apxs),yes)
CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
$(MAKE) $(MAKE_FLAGS) all
- CFLAGS="$(CFLGAS)" . $(GNUSTEP_SETUP); \
- $(MAKE) $(MAKE_FLAGS) -C sope-appserver/mod_ngobjweb all
+ cp -R sope-appserver/mod_ngobjweb sope-appserver/mod_ngobjweb-apache2
+
+ CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
+ $(MAKE) $(MAKE_FLAGS) APXS=/usr/bin/apxs -C sope-appserver/mod_ngobjweb all
+
+ CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
+ $(MAKE) $(MAKE_FLAGS) APXS="/usr/bin/apxs2" APXS_INCLUDE_DIRS="$(shell apxs2 -q EXTRA_INCLUDES)"\
+ -C sope-appserver/mod_ngobjweb-apache2 all
touch build-stamp
dh_testroot
rm -f configure-stamp
rm -f build-stamp
+ rm -rf sope-appserver/mod_ngobjweb-apache2
if [-l sope-core/NGStreams/config.guess ]; then \
rm sope-core/NGStreams/config.guess; \
$(MAKE) $(MAKE_FLAGS) -C sope-appserver/mod_ngobjweb install \
GNUSTEP_INSTALLATION_DIR=$(CURDIR)/debian/tmp/usr/lib/apache/1.3
+ CFLAGS="$(CFLGAS)" . $(GNUSTEP_SETUP); \
+ $(MAKE) $(MAKE_FLAGS) -C sope-appserver/mod_ngobjweb-apache2 install \
+ GNUSTEP_INSTALLATION_DIR=$(CURDIR)/debian/tmp/usr/lib/apache2/modules
+
install -m 644 debian/500mod_ngobjweb.info $(CURDIR)/debian/libapache-mod-ngobjweb/usr/lib/apache/1.3
+ install -m 644 debian/ngobjweb.load $(CURDIR)/debian/libapache2-mod-ngobjweb/etc/apache2/mods-available
# Build architecture-independent files here.
binary-indep: build install