From: ley Date: Sun, 26 Sep 2004 12:39:32 +0000 (+0000) Subject: Initial checkin of debian build system X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27620a40121ba7db7a36d639fcf2616059fef5e0;p=sope Initial checkin of debian build system git-svn-id: http://svn.opengroupware.org/SOPE/trunk@169 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/debian/500mod_ngobjweb.info b/debian/500mod_ngobjweb.info new file mode 100644 index 00000000..733b9a5a --- /dev/null +++ b/debian/500mod_ngobjweb.info @@ -0,0 +1,2 @@ +LoadModule ngobjweb_module /usr/lib/apache/1.3/mod_ngobjweb.so +Description: Enables apache to handle HTTP requests for the OpenGroupware.org application server diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..02214a0e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,13 @@ +sope (4.3.0r127-1) experimental; urgency=low + + * Initial Release. Upstream did some heavy source restructuring, + resulting in a greatly reduced number of source packages for SOPE and + OpenGroupware.org. At the same time SOPE and OpenGroupware.org will now be + treated different projects, since SOPE can be useful without OGo as well. + * A new versioning scheme has been applied to the new sources. Versions with an + odd number as second component denote unstable development versions. + Neither API nor ABI stability may be ensured in this version. Versions + with an even second component are the stable releases. + * SOPE now installs to FHS compliant paths. + + -- Sebastian Ley Mon, 13 Sep 2004 20:30:45 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..a2f071e2 --- /dev/null +++ b/debian/control @@ -0,0 +1,259 @@ +Source: sope +Priority: extra +Maintainer: Sebastian Ley +Build-Depends: debhelper (>= 4.0.0), dpatch, gnustep-make-ogo, gobjc | objc-compiler, libfoundation-ogo-dev, libobjc-lf-dev, libxml2-dev, libldap-dev, libssl-dev, zlib1g-dev, postgresql-dev, apache-dev, libical-sope-static +Standards-Version: 3.6.1 + +Package: libsope-appserver4.3-dev +Section: libdevel +Architecture: any +Provides: libsope-appserver-dev +Conflicts: libsope-appserver-dev +Depends: libsope-appserver4.3 (= ${Source-Version}) +Description: Development files for the SOPE application server libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the development files for the SOPE application server + libraries. + +Package: libsope-appserver4.3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SOPE application server libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + The SOPE application server libraries provide: + . + * template rendering engine, lots of dynamic elements + * HTTP client/server + * XML-RPC client + * WebDAV server framework + * session management + * scripting extensions for Foundation, JavaScript bridge + * DOM tree rendering library + +Package: sope-tools +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Tools shipped with SOPE application server + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains some tools shipped with the SOPE application + server framework, which are mostly useful for development and debugging + of SOPE applications. + +Package: sope-appserver +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SOPE application server + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the application server that serves SOPE sites. + +Package: libsope-core4.3-dev +Section: libdevel +Architecture: any +Provides: libsope-core-dev +Conflicts: libsope-core-dev +Depends: libsope-core4.3 (= ${Source-Version}) +Description: Development files for the SOPE core libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the header files for the SOPE core + libraries, which are part of the SOPE application server framework. + +Package: libsope-core4.3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Core libraries of the SOPE application server + The SOPE core libraries contain: + . + * various Foundation extensions + * a java.io like stream and socket library + +Package: libsope-xml4.3-dev +Section: libdevel +Architecture: any +Provides: libsope-xml-dev +Conflicts: libsope-xml-dev +Depends: libsope-xml4.3 (= ${Source-Version}) +Description: Development files for the SOPE XML libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the development files of the SOPE + XML libraries. + +Package: libsope-xml4.3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SOPE libraries for XML processing + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + The SOPE libraries for XML processing contain: + . + * a SAX2 Implementation for Objective-C + * an attempt to implement DOM on top of SaxObjC + * an XML-RPC implementation (without a transport layer) + +Package: libsope-ldap4.3-dev +Section: libdevel +Architecture: any +Provides: libsope-ldap-dev +Conflicts: libsope-ldap-dev +Depends: libsope-ldap4.3 (= ${Source-Version}) +Description: Development files for the SOPE LDAP libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the development files of the SOPE + LDAP libraries. + +Package: libsope-ldap4.3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SOPE libraries for LDAP access + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + The SOPE libraries for LDAP access contain an Objective-C wrapper for + LDAP directory services. + +Package: libsope-mime4.3-dev +Section: libdevel +Architecture: any +Provides: libsope-mime-dev +Conflicts: libsope-mime-dev +Depends: libsope-mime4.3 (= ${Source-Version}) +Description: Development files for the SOPE MIME libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the development files of the SOPE + MIME libraries. + +Package: libsope-mime4.3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SOPE libraries for MIME processing + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + The SOPE libraries for MIME processing contain: + . + * classes for processing MIME entities + * a full IMAP4 implementation + * prototypical POP3 and SMTP processor + +Package: libsope-ical4.3-dev +Section: libdevel +Architecture: any +Provides: libsope-ical-dev +Conflicts: libsope-ical-dev +Depends: libsope-ical4.3 (= ${Source-Version}) +Description: Development files for the SOPE iCal libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the development files of the SOPE + iCal libraries. + +Package: libsope-ical4.3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SOPE libraries for iCal handling + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + The SOPE libraries for iCal handling contain classes for iCalendar and + vCard objects. + +Package: libsope-gnustep-db1.1-dev +Section: libdevel +Architecture: any +Provides: libsope-gnustep-db-dev +Conflicts: libsope-gnustep-db-dev +Depends: libsope-gnustep-db1.1 (= ${Source-Version}) +Description: Development files for the GNUstep database libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the header files for SOPE's fork of the GNUstep + database libraries. + +Package: libsope-gnustep-db1.1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: GNUstep database libraries for SOPE + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains a fork of the GNUstep database libraries used + by the SOPE application server. + +Package: sope4.3-postgresqladaptor +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: sope-db-connector +Recommends: postgresql (>= 7.2.0) +Description: PostgreSQL connector for SOPE's fork of the GNUstep database environment + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the postgresql connector for SOPE's fork of the + GNUstep database libraries. + +Package: sope4.3-stxsaxdriver +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Structured Text Parser for SOPE's SAX engine + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This parser enables SOPE's SAX engine to parse structured text files. + +Package: sope4.3-libxmlsaxdriver +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: XML Parser for SOPE's SAX engine + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This parser enables SOPE's SAX engine to parse XML files. + +Package: sope4.3-icalsaxdriver +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: iCal Parser for SOPE's SAX engine + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This parser enables SOPE's SAX engine to parse iCal files. + +Package: libapache-mod-ngobjweb +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ucf (>= 0.8), apache-common (>= 1.3.29) +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. + diff --git a/debian/control.in b/debian/control.in new file mode 100644 index 00000000..8fca4101 --- /dev/null +++ b/debian/control.in @@ -0,0 +1,259 @@ +Source: sope +Priority: extra +Maintainer: Sebastian Ley +Build-Depends: debhelper (>= 4.0.0), dpatch, gnustep-make-ogo, gobjc | objc-compiler, libfoundation-ogo-dev, libobjc-lf-dev, libxml2-dev, libldap-dev, libssl-dev, zlib1g-dev, postgresql-dev, apache-dev, libical-sope-static +Standards-Version: 3.6.1 + +Package: libsope-appserver_SOPEVER_-dev +Section: libdevel +Architecture: any +Provides: libsope-appserver-dev +Conflicts: libsope-appserver-dev +Depends: libsope-appserver_SOPEVER_ (= ${Source-Version}) +Description: Development files for the SOPE application server libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the development files for the SOPE application server + libraries. + +Package: libsope-appserver_SOPEVER_ +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SOPE application server libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + The SOPE application server libraries provide: + . + * template rendering engine, lots of dynamic elements + * HTTP client/server + * XML-RPC client + * WebDAV server framework + * session management + * scripting extensions for Foundation, JavaScript bridge + * DOM tree rendering library + +Package: sope-tools +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Tools shipped with SOPE application server + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains some tools shipped with the SOPE application + server framework, which are mostly useful for development and debugging + of SOPE applications. + +Package: sope-appserver +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SOPE application server + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the application server that serves SOPE sites. + +Package: libsope-core_SOPEVER_-dev +Section: libdevel +Architecture: any +Provides: libsope-core-dev +Conflicts: libsope-core-dev +Depends: libsope-core_SOPEVER_ (= ${Source-Version}) +Description: Development files for the SOPE core libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the header files for the SOPE core + libraries, which are part of the SOPE application server framework. + +Package: libsope-core_SOPEVER_ +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Core libraries of the SOPE application server + The SOPE core libraries contain: + . + * various Foundation extensions + * a java.io like stream and socket library + +Package: libsope-xml_SOPEVER_-dev +Section: libdevel +Architecture: any +Provides: libsope-xml-dev +Conflicts: libsope-xml-dev +Depends: libsope-xml_SOPEVER_ (= ${Source-Version}) +Description: Development files for the SOPE XML libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the development files of the SOPE + XML libraries. + +Package: libsope-xml_SOPEVER_ +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SOPE libraries for XML processing + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + The SOPE libraries for XML processing contain: + . + * a SAX2 Implementation for Objective-C + * an attempt to implement DOM on top of SaxObjC + * an XML-RPC implementation (without a transport layer) + +Package: libsope-ldap_SOPEVER_-dev +Section: libdevel +Architecture: any +Provides: libsope-ldap-dev +Conflicts: libsope-ldap-dev +Depends: libsope-ldap_SOPEVER_ (= ${Source-Version}) +Description: Development files for the SOPE LDAP libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the development files of the SOPE + LDAP libraries. + +Package: libsope-ldap_SOPEVER_ +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SOPE libraries for LDAP access + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + The SOPE libraries for LDAP access contain an Objective-C wrapper for + LDAP directory services. + +Package: libsope-mime_SOPEVER_-dev +Section: libdevel +Architecture: any +Provides: libsope-mime-dev +Conflicts: libsope-mime-dev +Depends: libsope-mime_SOPEVER_ (= ${Source-Version}) +Description: Development files for the SOPE MIME libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the development files of the SOPE + MIME libraries. + +Package: libsope-mime_SOPEVER_ +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SOPE libraries for MIME processing + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + The SOPE libraries for MIME processing contain: + . + * classes for processing MIME entities + * a full IMAP4 implementation + * prototypical POP3 and SMTP processor + +Package: libsope-ical_SOPEVER_-dev +Section: libdevel +Architecture: any +Provides: libsope-ical-dev +Conflicts: libsope-ical-dev +Depends: libsope-ical_SOPEVER_ (= ${Source-Version}) +Description: Development files for the SOPE iCal libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the development files of the SOPE + iCal libraries. + +Package: libsope-ical_SOPEVER_ +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SOPE libraries for iCal handling + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + The SOPE libraries for iCal handling contain classes for iCalendar and + vCard objects. + +Package: libsope-gnustep-db_GNUSTEPDBVER_-dev +Section: libdevel +Architecture: any +Provides: libsope-gnustep-db-dev +Conflicts: libsope-gnustep-db-dev +Depends: libsope-gnustep-db_GNUSTEPDBVER_ (= ${Source-Version}) +Description: Development files for the GNUstep database libraries + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the header files for SOPE's fork of the GNUstep + database libraries. + +Package: libsope-gnustep-db_GNUSTEPDBVER_ +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: GNUstep database libraries for SOPE + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains a fork of the GNUstep database libraries used + by the SOPE application server. + +Package: sope_SOPEVER_-postgresqladaptor +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: sope-db-connector +Recommends: postgresql (>= 7.2.0) +Description: PostgreSQL connector for SOPE's fork of the GNUstep database environment + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This package contains the postgresql connector for SOPE's fork of the + GNUstep database libraries. + +Package: sope_SOPEVER_-stxsaxdriver +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Structured Text Parser for SOPE's SAX engine + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This parser enables SOPE's SAX engine to parse structured text files. + +Package: sope_SOPEVER_-libxmlsaxdriver +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: XML Parser for SOPE's SAX engine + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This parser enables SOPE's SAX engine to parse XML files. + +Package: sope_SOPEVER_-icalsaxdriver +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: iCal Parser for SOPE's SAX engine + SOPE is a framework for developing web applications and services. The + name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE. + . + This parser enables SOPE's SAX engine to parse iCal files. + +Package: libapache-mod-ngobjweb +Section: web +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ucf (>= 0.8), apache-common (>= 1.3.29) +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. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..375d3174 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Sebastian Ley on +Wed, 26 Nov 2003 21:17:15 +0100. + +It was downloaded from http://www.opengroupware.org + +Copyright (C) 2000-2003 SKYRIX Software AG +Contact: info@skyrix.com + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + diff --git a/debian/libapache-mod-ngobjweb.dirs b/debian/libapache-mod-ngobjweb.dirs new file mode 100644 index 00000000..13bab4d6 --- /dev/null +++ b/debian/libapache-mod-ngobjweb.dirs @@ -0,0 +1,2 @@ +usr/lib/apache/1.3 +usr/share/opengroupware.org/mod_ngobjweb diff --git a/debian/libapache-mod-ngobjweb.install b/debian/libapache-mod-ngobjweb.install new file mode 100644 index 00000000..23362457 --- /dev/null +++ b/debian/libapache-mod-ngobjweb.install @@ -0,0 +1 @@ +usr/lib/apache diff --git a/debian/libapache-mod-ngobjweb.postinst b/debian/libapache-mod-ngobjweb.postinst new file mode 100755 index 00000000..e0b94cf2 --- /dev/null +++ b/debian/libapache-mod-ngobjweb.postinst @@ -0,0 +1,20 @@ +#!/bin/bash + +set -e + +for i in apache apache-perl apache-ssl; do + if [ -e /etc/$i/httpd.conf ]; then + modules-config $i enable mod_ngobjweb + fi + if [ -d /etc/$i/conf.d ]; then + ucf --three-way /usr/share/opengroupware.org/mod_ngobjweb/mod_ngobjweb.conf /etc/$i/conf.d/mod_ngobjweb + fi + if [ -x /usr/sbin/invoke-rc.d ] && [ -x /etc/init.d/$i ]; then + invoke-rc.d $i force-reload || true + elif [ -x /etc/init.d/$i ]; then + /etc/init.d/$i force-reload || true + fi +done + + +#DEBHELPER# diff --git a/debian/libapache-mod-ngobjweb.postrm b/debian/libapache-mod-ngobjweb.postrm new file mode 100755 index 00000000..b86dce1f --- /dev/null +++ b/debian/libapache-mod-ngobjweb.postrm @@ -0,0 +1,19 @@ +#!/bin/bash + +set -e + +case "$1" in + purge) + for i in apache apache-perl apache-ssl; do + rm -f /etc/$i/conf.d/mod_ngobjweb + for ext in .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist; do + rm -f /etc/$i/conf.d/mod_ngobjweb$ext + done + ucf --purge /etc/$i/conf.d/mod_ngobjweb + done + ;; + *) + ;; +esac + +#DEBHELPER# diff --git a/debian/libapache-mod-ngobjweb.prerm b/debian/libapache-mod-ngobjweb.prerm new file mode 100755 index 00000000..4605555f --- /dev/null +++ b/debian/libapache-mod-ngobjweb.prerm @@ -0,0 +1,16 @@ +#!/bin/bash + +set -e + +for i in apache apache-perl apache-ssl; do + if [ -e /etc/$i/httpd.conf ]; then + modules-config $i disable mod_ngobjweb quiet + fi + if [ -x /usr/sbin/invoke-rc.d ] && [ -x /etc/init.d/$i ]; then + invoke-rc.d $i force-reload || true + elif [ -x /etc/init.d/$i ]; then + /etc/init.d/$i force-reload || true + fi +done + +#DEBHELPER# diff --git a/debian/libsope-appserver_SOPEVER_-dev.install b/debian/libsope-appserver_SOPEVER_-dev.install new file mode 100644 index 00000000..675f01e2 --- /dev/null +++ b/debian/libsope-appserver_SOPEVER_-dev.install @@ -0,0 +1,13 @@ +usr/include/NGObjWeb +usr/include/WOXML +usr/include/WOExtensions +usr/include/WEExtensions +usr/include/NGXmlRpc +usr/include/SoOFS +usr/lib/opengroupware.org/System/Library/Makefiles +usr/lib/libNGObjWeb.so +usr/lib/libWOXML.so +usr/lib/libWOExtensions.so +usr/lib/libWEExtensions.so +usr/lib/libNGXmlRpc.so +usr/lib/libSoOFS.so diff --git a/debian/libsope-appserver_SOPEVER_.install b/debian/libsope-appserver_SOPEVER_.install new file mode 100644 index 00000000..e2de6536 --- /dev/null +++ b/debian/libsope-appserver_SOPEVER_.install @@ -0,0 +1,7 @@ +usr/lib/libNGObjWeb.so.* +usr/lib/libWOXML.so.* +usr/lib/libWOExtensions.so.* +usr/lib/libWEExtensions.so.* +usr/lib/libNGXmlRpc.so.* +usr/lib/libSoOFS.so.* +usr/share/sope-4.3 diff --git a/debian/libsope-core_SOPEVER_-dev.install b/debian/libsope-core_SOPEVER_-dev.install new file mode 100644 index 00000000..0b4cd6cc --- /dev/null +++ b/debian/libsope-core_SOPEVER_-dev.install @@ -0,0 +1,6 @@ +usr/include/NGExtensions +usr/include/EOControl +usr/include/NGStreams +usr/lib/libNGExtensions.so +usr/lib/libEOControl.so +usr/lib/libNGStreams.so diff --git a/debian/libsope-core_SOPEVER_.install b/debian/libsope-core_SOPEVER_.install new file mode 100644 index 00000000..3417f6e6 --- /dev/null +++ b/debian/libsope-core_SOPEVER_.install @@ -0,0 +1,3 @@ +usr/lib/libNGExtensions.so.* +usr/lib/libEOControl.so.* +usr/lib/libNGStreams.so.* diff --git a/debian/libsope-gnustep-db_GNUSTEPDBVER_-dev.install b/debian/libsope-gnustep-db_GNUSTEPDBVER_-dev.install new file mode 100644 index 00000000..6d98082b --- /dev/null +++ b/debian/libsope-gnustep-db_GNUSTEPDBVER_-dev.install @@ -0,0 +1,2 @@ +usr/include/GDLAccess +usr/lib/libGDLAccess.so diff --git a/debian/libsope-gnustep-db_GNUSTEPDBVER_.install b/debian/libsope-gnustep-db_GNUSTEPDBVER_.install new file mode 100644 index 00000000..b4ec20f2 --- /dev/null +++ b/debian/libsope-gnustep-db_GNUSTEPDBVER_.install @@ -0,0 +1 @@ +usr/lib/libGDLAccess.so.* diff --git a/debian/libsope-ical_SOPEVER_-dev.install b/debian/libsope-ical_SOPEVER_-dev.install new file mode 100644 index 00000000..412db3f1 --- /dev/null +++ b/debian/libsope-ical_SOPEVER_-dev.install @@ -0,0 +1,2 @@ +usr/include/NGiCal +usr/lib/libNGiCal.so diff --git a/debian/libsope-ical_SOPEVER_.install b/debian/libsope-ical_SOPEVER_.install new file mode 100644 index 00000000..48b1dd8c --- /dev/null +++ b/debian/libsope-ical_SOPEVER_.install @@ -0,0 +1 @@ +usr/lib/libNGiCal.so.* diff --git a/debian/libsope-ldap_SOPEVER_-dev.install b/debian/libsope-ldap_SOPEVER_-dev.install new file mode 100644 index 00000000..187c9288 --- /dev/null +++ b/debian/libsope-ldap_SOPEVER_-dev.install @@ -0,0 +1,2 @@ +usr/include/NGLdap +usr/lib/libNGLdap.so diff --git a/debian/libsope-ldap_SOPEVER_.install b/debian/libsope-ldap_SOPEVER_.install new file mode 100644 index 00000000..6ae204c9 --- /dev/null +++ b/debian/libsope-ldap_SOPEVER_.install @@ -0,0 +1 @@ +usr/lib/libNGLdap.so.* diff --git a/debian/libsope-mime_SOPEVER_-dev.install b/debian/libsope-mime_SOPEVER_-dev.install new file mode 100644 index 00000000..12205fb6 --- /dev/null +++ b/debian/libsope-mime_SOPEVER_-dev.install @@ -0,0 +1,4 @@ +usr/include/NGMime +usr/include/NGImap4 +usr/include/NGMail +usr/lib/libNGMime.so diff --git a/debian/libsope-mime_SOPEVER_.install b/debian/libsope-mime_SOPEVER_.install new file mode 100644 index 00000000..30d2dd2e --- /dev/null +++ b/debian/libsope-mime_SOPEVER_.install @@ -0,0 +1 @@ +usr/lib/libNGMime.so.* diff --git a/debian/libsope-xml_SOPEVER_-dev.install b/debian/libsope-xml_SOPEVER_-dev.install new file mode 100644 index 00000000..1b54426f --- /dev/null +++ b/debian/libsope-xml_SOPEVER_-dev.install @@ -0,0 +1,6 @@ +usr/include/DOM +usr/include/SaxObjC +usr/include/XmlRpc +usr/lib/libDOM.so +usr/lib/libSaxObjC.so +usr/lib/libXmlRpc.so diff --git a/debian/libsope-xml_SOPEVER_.install b/debian/libsope-xml_SOPEVER_.install new file mode 100644 index 00000000..68be6ae8 --- /dev/null +++ b/debian/libsope-xml_SOPEVER_.install @@ -0,0 +1,3 @@ +usr/lib/libDOM.so.* +usr/lib/libSaxObjC.so.* +usr/lib/libXmlRpc.so.* diff --git a/debian/mod_ngobjweb.conf b/debian/mod_ngobjweb.conf new file mode 100644 index 00000000..1279cd22 --- /dev/null +++ b/debian/mod_ngobjweb.conf @@ -0,0 +1,21 @@ + + + SetHandler ngobjweb-adaptor + SetAppPort 20000 + + + Alias /OpenGroupware.woa/WebServerResources/ \ + /usr/share/opengroupware.org/WebServerResources/ + Alias /NewsImages/ /var/lib/opengroupware.org/news_images/ + + + SetHandler ngobjweb-adaptor + SetAppPort 21000 + + + + SetHandler ngobjweb-adaptor + SetAppPort 22000 + + + diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100644 index 00000000..5dfcf4a8 --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1 @@ +01_build_modngobjweb diff --git a/debian/patches/01_build_modngobjweb.dpatch b/debian/patches/01_build_modngobjweb.dpatch new file mode 100755 index 00000000..42a90a57 --- /dev/null +++ b/debian/patches/01_build_modngobjweb.dpatch @@ -0,0 +1,46 @@ +#! /bin/sh -e +## XX_PATCHNAME.dpatch by YOUR NAME +## +## 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) +@@ -62,7 +62,7 @@ + config.o \ + ngobjweb_module.o \ + +-product = ngobjweb$(APACHE_SSL)_$(APACHE_VERSION)$(SHARED_LIBEXT) ++product = mod_ngobjweb$(SHARED_LIBEXT) + + all : $(product) + diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..72856e83 --- /dev/null +++ b/debian/rules @@ -0,0 +1,155 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Include dpatch stuff. +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g +MAKE_FLAGS = messages=yes OPTFLAG=-O0 + +GNUSTEP_SETUP=/usr/lib/opengroupware.org/System/Library/Makefiles/GNUstep.sh + +SOPEVER=4.3 +GNUSTEPDBVER=1.1 + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +controlfiles: controlfiles-stamp +controlfiles-stamp: debian/rules clean-controlfiles + for f in debian/*_SOPEVER_*; do \ + newname=$$(echo $$f | sed s/_SOPEVER_/$(SOPEVER)/ ); \ + cp $$f $$newname; \ + echo $$newname >> controlfiles.tmp; \ + done + for f in debian/*_GNUSTEPDBVER_*; do \ + newname=$$(echo $$f | sed s/_GNUSTEPDBVER_/$(GNUSTEPDBVER)/ ); \ + cp $$f $$newname; \ + echo $$newname >> controlfiles.tmp; \ + done + + mv controlfiles.tmp controlfiles-stamp + +clean-controlfiles: + if [ -f controlfiles-stamp ]; then \ + for f in $$(cat controlfiles-stamp); do \ + rm $$f; \ + done; \ + rm controlfiles-stamp; \ + fi + if [ -f controlfiles.tmp ]; then \ + for f in $$(cat controlfiles-stamp); do \ + rm $$f; \ + done; \ + rm controlfiles.tmp; \ + fi + +debian/control: debian/control.in debian/rules + sed -e s/_SOPEVER_/$(SOPEVER)/ -e s/_GNUSTEPDBVER_/$(GNUSTEPDBVER)/ < debian/control.in > debian/control + +build: build-stamp debian/control controlfiles +build-stamp: patch-stamp + dh_testdir + + -mv sope-core/NGStreams/config.guess sope-core/NGStreams/config.guess.upstream + -mv sope-core/NGStreams/config.sub sope-core/NGStreams/config.sub.upstream + ln -s /usr/share/automake/config.guess sope-core/NGStreams/config.guess + ln -s /usr/share/automake/config.sub sope-core/NGStreams/config.sub + + CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \ + $(MAKE) $(MAKE_FLAGS) all + + CFLAGS="$(CFLGAS)" . $(GNUSTEP_SETUP); \ + $(MAKE) $(MAKE_FLAGS) -C sope-appserver/mod_ngobjweb all + + touch build-stamp + +clean: unpatch clean-controlfiles + dh_testdir + dh_testroot + rm -f configure-stamp + rm -f build-stamp + + -rm sope-core/NGStreams/config.guess + -rm sope-core/NGStreams/config.sub + -mv sope-core/NGStreams/config.guess.upstream sope-core/NGStreams/config.guess + -mv sope-core/NGStreams/config.sub.upstream sope-core/NGStreams/config.sub + + -. $(GNUSTEP_SETUP); $(MAKE) -C sope-appserver/mod_ngobjweb clean + -. $(GNUSTEP_SETUP); $(MAKE) -C sope-appserver/mod_ngobjweb distclean + + -. $(GNUSTEP_SETUP); $(MAKE) clean + -. $(GNUSTEP_SETUP); $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \ + $(MAKE) $(MAKE_FLAGS) install \ + GNUSTEP_INSTALLATION_DIR=$(CURDIR)/debian/tmp/$$GNUSTEP_SYSTEM_ROOT\ + INSTALL_ROOT_DIR=$(CURDIR)/debian/tmp\ + FHS_INSTALL_ROOT=$(CURDIR)/debian/tmp/usr + + CFLAGS="$(CFLGAS)" . $(GNUSTEP_SETUP); \ + $(MAKE) $(MAKE_FLAGS) -C sope-appserver/mod_ngobjweb install \ + GNUSTEP_INSTALLATION_DIR=$(CURDIR)/debian/tmp/usr/lib/apache/1.3 + + install -m 644 debian/500mod_ngobjweb.info $(CURDIR)/debian/libapache-mod-ngobjweb/usr/lib/apache/1.3 + install -m 644 debian/mod_ngobjweb.conf $(CURDIR)/debian/libapache-mod-ngobjweb/usr/share/opengroupware.org/mod_ngobjweb + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs -V + dh_installdeb + dh_shlibdeps -L libsope-appserver$(SOPEVER) -L libsope-xml$(SOPEVER) -L libsope-mime$(SOPEVER) \ + -L libsope-ical$(SOPEVER) -L libsope-ldap$(SOPEVER) -L libsope-gnustep-db$(GNUSTEPDBVER) \ + -l debian/tmp/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/debian/sope-appserver.install b/debian/sope-appserver.install new file mode 100644 index 00000000..e185ea1c --- /dev/null +++ b/debian/sope-appserver.install @@ -0,0 +1,3 @@ +usr/bin/sope +usr/lib/sope-4.3/wox-builders +usr/lib/sope-4.3/products diff --git a/debian/sope-appserver.links b/debian/sope-appserver.links new file mode 100644 index 00000000..ca6cc1be --- /dev/null +++ b/debian/sope-appserver.links @@ -0,0 +1 @@ +usr/share/man/man7/undocumented.7.gz usr/share/man/man8/sope.8.gz diff --git a/debian/sope-tools.install b/debian/sope-tools.install new file mode 100644 index 00000000..b53a618f --- /dev/null +++ b/debian/sope-tools.install @@ -0,0 +1,14 @@ +usr/bin/connect-EOAdaptor +usr/bin/domxml +usr/bin/ldap2dsml +usr/bin/ldapchkpwd +usr/bin/ldapls +usr/bin/load-EOAdaptor +usr/bin/rss2plist1 +usr/bin/rss2plist2 +usr/bin/rssparse +usr/bin/saxxml +usr/bin/testqp +usr/bin/wod +usr/bin/xmln +usr/bin/xmlrpc_call diff --git a/debian/sope-tools.links b/debian/sope-tools.links new file mode 100644 index 00000000..e69f8add --- /dev/null +++ b/debian/sope-tools.links @@ -0,0 +1,15 @@ +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/connect-EOAdaptor.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/domxml.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/ldap2dsml.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/ldapchkpwd.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/ldapls.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/load-EOAdaptor.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/rss2plist1.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/rss2plist2.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/rssparse.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/saxxml.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/testqp.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/wod.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/xmln.1.gz +usr/share/man/man7/undocumented.7.gz usr/share/man/man1/xmlrpc_call.1.gz + diff --git a/debian/sope_SOPEVER_-icalsaxdriver.install b/debian/sope_SOPEVER_-icalsaxdriver.install new file mode 100644 index 00000000..0ff425ea --- /dev/null +++ b/debian/sope_SOPEVER_-icalsaxdriver.install @@ -0,0 +1 @@ +usr/lib/sope-*/saxdrivers/iCalSaxDriver.sax diff --git a/debian/sope_SOPEVER_-libxmlsaxdriver.install b/debian/sope_SOPEVER_-libxmlsaxdriver.install new file mode 100644 index 00000000..ce541368 --- /dev/null +++ b/debian/sope_SOPEVER_-libxmlsaxdriver.install @@ -0,0 +1 @@ +usr/lib/sope-*/saxdrivers/libxmlSAXDriver.sax diff --git a/debian/sope_SOPEVER_-postgresqladaptor.install b/debian/sope_SOPEVER_-postgresqladaptor.install new file mode 100644 index 00000000..937e7ca5 --- /dev/null +++ b/debian/sope_SOPEVER_-postgresqladaptor.install @@ -0,0 +1 @@ +usr/lib/sope-*/dbadaptors/PostgreSQL.gdladaptor diff --git a/debian/sope_SOPEVER_-stxsaxdriver.install b/debian/sope_SOPEVER_-stxsaxdriver.install new file mode 100644 index 00000000..fe702421 --- /dev/null +++ b/debian/sope_SOPEVER_-stxsaxdriver.install @@ -0,0 +1 @@ +usr/lib/sope-*/saxdrivers/STXSaxDriver.sax