debian packages stuff
Monotone-Parent: 0e5ecbd534de16df76709927dc37b1bc83801546 Monotone-Revision: 94772b227e4be6ef77cbed6831b420c774e9d80d Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-07-28T19:07:51 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
76d6f9a398
commit
42c44ad910
|
@ -0,0 +1,171 @@
|
|||
Index: debian/control
|
||||
===================================================================
|
||||
--- debian/control (revision 1660)
|
||||
+++ debian/control (working copy)
|
||||
@@ -265,18 +265,3 @@
|
||||
.
|
||||
This parser enables SOPE's SAX engine to parse iCal and vCard 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.
|
||||
-
|
||||
-Package: libapache2-mod-ngobjweb
|
||||
-Section: web
|
||||
-Architecture: any
|
||||
-Depends: ${shlibs:Depends}, ${misc:Depends}, apache2-common | apache2.2-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.
|
||||
Index: debian/libsope-gdl1-_SOPEVER_-dev.install
|
||||
===================================================================
|
||||
--- debian/libsope-gdl1-_SOPEVER_-dev.install (revision 1660)
|
||||
+++ debian/libsope-gdl1-_SOPEVER_-dev.install (working copy)
|
||||
@@ -1,2 +1,2 @@
|
||||
-usr/include/GDLAccess
|
||||
+usr/include/GNUstep/GDLAccess
|
||||
usr/lib/libGDLAccess.so
|
||||
Index: debian/libsope-appserver_SOPEVER_-dev.install
|
||||
===================================================================
|
||||
--- debian/libsope-appserver_SOPEVER_-dev.install (revision 1660)
|
||||
+++ debian/libsope-appserver_SOPEVER_-dev.install (working copy)
|
||||
@@ -1,11 +1,10 @@
|
||||
-usr/include/NGHttp
|
||||
-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/include/GNUstep/NGHttp
|
||||
+usr/include/GNUstep/NGObjWeb
|
||||
+usr/include/GNUstep/WOXML
|
||||
+usr/include/GNUstep/WOExtensions
|
||||
+usr/include/GNUstep/WEExtensions
|
||||
+usr/include/GNUstep/NGXmlRpc
|
||||
+usr/include/GNUstep/SoOFS
|
||||
usr/lib/libNGObjWeb.so
|
||||
usr/lib/libWOXML.so
|
||||
usr/lib/libWOExtensions.so
|
||||
Index: debian/libsope-ical_SOPEVER_-dev.install
|
||||
===================================================================
|
||||
--- debian/libsope-ical_SOPEVER_-dev.install (revision 1660)
|
||||
+++ debian/libsope-ical_SOPEVER_-dev.install (working copy)
|
||||
@@ -1,2 +1,2 @@
|
||||
-usr/include/NGiCal
|
||||
+usr/include/GNUstep/NGiCal
|
||||
usr/lib/libNGiCal.so
|
||||
Index: debian/rules
|
||||
===================================================================
|
||||
--- debian/rules (revision 1660)
|
||||
+++ debian/rules (working copy)
|
||||
@@ -13,7 +13,7 @@
|
||||
#WARN: doesn't compile/package if HAS_LIBRARY_* options not present (since we use configure now)
|
||||
MAKE_FLAGS = messages=yes OPTFLAG=-O0 HAS_LIBRARY_ldap=yes HAS_LIBRARY_pq=yes HAS_LIBRARY_xml2=yes
|
||||
|
||||
-GNUSTEP_SETUP=/usr/lib/opengroupware.org/System/Library/Makefiles/GNUstep.sh
|
||||
+GNUSTEP_SETUP=/usr/share/GNUstep/Makefiles/GNUstep.sh
|
||||
|
||||
include Version
|
||||
SOPEVER=$(MAJOR_VERSION).$(MINOR_VERSION)
|
||||
@@ -57,9 +57,9 @@
|
||||
config.status: configure
|
||||
dh_testdir
|
||||
CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
|
||||
- ./configure
|
||||
-
|
||||
-build: build-stamp controlfiles
|
||||
+ ./configure --with-gnustep
|
||||
+
|
||||
+build: configure build-stamp controlfiles
|
||||
build-stamp: patch-stamp
|
||||
dh_testdir
|
||||
|
||||
@@ -69,6 +69,9 @@
|
||||
ln -s /usr/share/misc/config.sub sope-core/NGStreams/config.sub
|
||||
|
||||
CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
|
||||
+ ./configure --with-gnustep
|
||||
+
|
||||
+ CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
|
||||
$(MAKE) $(MAKE_FLAGS) all
|
||||
|
||||
cp -R sope-appserver/mod_ngobjweb sope-appserver/mod_ngobjweb-apache2
|
||||
@@ -119,18 +122,18 @@
|
||||
# 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\
|
||||
+ DESTDIR=$(CURDIR)/debian/tmp GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
|
||||
+# INSTALL_ROOT_DIR=$(CURDIR)/debian/tmp\
|
||||
FHS_INSTALL_ROOT=$(CURDIR)/debian/tmp/usr \
|
||||
FHS_LIB_DIR=$(CURDIR)/debian/tmp/usr/lib/ #WARN: <- trailing slash unbroke build/packages?!
|
||||
|
||||
- CFLAGS="$(CFLGAS)" . $(GNUSTEP_SETUP); \
|
||||
+# CFLAGS="$(CFLGAS)" . $(GNUSTEP_SETUP); \
|
||||
$(MAKE) $(MAKE_FLAGS) -C sope-appserver/mod_ngobjweb install \
|
||||
- GNUSTEP_INSTALLATION_DIR=$(CURDIR)/debian/tmp/usr/lib/apache/1.3
|
||||
+ GNUSTEP_INSTALLATION_DOMAIN=$(CURDIR)/debian/tmp/usr/lib/apache/1.3
|
||||
|
||||
- CFLAGS="$(CFLGAS)" . $(GNUSTEP_SETUP); \
|
||||
+# CFLAGS="$(CFLGAS)" . $(GNUSTEP_SETUP); \
|
||||
$(MAKE) $(MAKE_FLAGS) -C sope-appserver/mod_ngobjweb-apache2 install \
|
||||
- GNUSTEP_INSTALLATION_DIR=$(CURDIR)/debian/tmp/usr/lib/apache2/modules
|
||||
+ GNUSTEP_INSTALLATION_DOMAIN=$(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
|
||||
Index: debian/libsope-ldap_SOPEVER_-dev.install
|
||||
===================================================================
|
||||
--- debian/libsope-ldap_SOPEVER_-dev.install (revision 1660)
|
||||
+++ debian/libsope-ldap_SOPEVER_-dev.install (working copy)
|
||||
@@ -1,2 +1,2 @@
|
||||
-usr/include/NGLdap
|
||||
+usr/include/GNUstep/NGLdap
|
||||
usr/lib/libNGLdap.so
|
||||
Index: debian/libsope-mime_SOPEVER_-dev.install
|
||||
===================================================================
|
||||
--- debian/libsope-mime_SOPEVER_-dev.install (revision 1660)
|
||||
+++ debian/libsope-mime_SOPEVER_-dev.install (working copy)
|
||||
@@ -1,4 +1,4 @@
|
||||
-usr/include/NGMime
|
||||
-usr/include/NGImap4
|
||||
-usr/include/NGMail
|
||||
+usr/include/GNUstep/NGMime
|
||||
+usr/include/GNUstep/NGImap4
|
||||
+usr/include/GNUstep/NGMail
|
||||
usr/lib/libNGMime.so
|
||||
Index: debian/libsope-core_SOPEVER_-dev.install
|
||||
===================================================================
|
||||
--- debian/libsope-core_SOPEVER_-dev.install (revision 1660)
|
||||
+++ debian/libsope-core_SOPEVER_-dev.install (working copy)
|
||||
@@ -1,6 +1,6 @@
|
||||
-usr/include/NGExtensions
|
||||
-usr/include/EOControl
|
||||
-usr/include/NGStreams
|
||||
+usr/include/GNUstep/NGExtensions
|
||||
+usr/include/GNUstep/EOControl
|
||||
+usr/include/GNUstep/NGStreams
|
||||
usr/lib/libNGExtensions.so
|
||||
usr/lib/libEOControl.so
|
||||
usr/lib/libNGStreams.so
|
||||
Index: debian/libsope-xml_SOPEVER_-dev.install
|
||||
===================================================================
|
||||
--- debian/libsope-xml_SOPEVER_-dev.install (revision 1660)
|
||||
+++ debian/libsope-xml_SOPEVER_-dev.install (working copy)
|
||||
@@ -1,6 +1,6 @@
|
||||
-usr/include/DOM
|
||||
-usr/include/SaxObjC
|
||||
-usr/include/XmlRpc
|
||||
+usr/include/GNUstep/DOM
|
||||
+usr/include/GNUstep/SaxObjC
|
||||
+usr/include/GNUstep/XmlRpc
|
||||
usr/lib/libDOM.so
|
||||
usr/lib/libSaxObjC.so
|
||||
usr/lib/libXmlRpc.so
|
|
@ -0,0 +1,5 @@
|
|||
sogo (1.0.3) UNRELEASED; urgency=low
|
||||
|
||||
* Initial package
|
||||
|
||||
-- Cyril Robert <crobert@inverse.ca> Tue, 23 Dec 2008 00:49:45 +0100
|
|
@ -0,0 +1 @@
|
|||
7
|
|
@ -0,0 +1,22 @@
|
|||
Source: sogo
|
||||
Priority: optional
|
||||
Maintainer: Cyril Robert <crobert@inverse.ca>
|
||||
Build-Depends: debhelper (>= 7), autotools-dev, gnustep-base-common, gnustep-base-runtime, gnustep-make, libsope-appserver-dev, libsope-core-dev, libsope-ldap-dev, libsope-mime-dev, libsope-xml-dev
|
||||
Section: web
|
||||
Standards-Version: 3.7.3
|
||||
|
||||
Package: sogo
|
||||
Section: web
|
||||
Architecture: i386
|
||||
Depends: gnustep-base-common, gnustep-base-runtime, libsope-core, libsope-appserver, libsope-ldap, libsope-cards
|
||||
Description: SOGo
|
||||
SOGo is a groupware server built around OpenGroupware.org (OGo) and
|
||||
the SOPE application server. It focuses on scalability.
|
||||
The Inverse edition of this project has many feature enhancements:
|
||||
- CalDAV and GroupDAV compliance
|
||||
- full handling of vCard as well as vCalendar/iCalendar formats
|
||||
- support for folder sharing and ACLs
|
||||
The Web interface has been rewritten in an AJAX fashion to provided a faster
|
||||
UI for the users, consistency in look and feel with the Mozilla applications,
|
||||
and to reduce the load of the transactions on the server.
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
This package was debianized by Cyril <support@inverse.ca> on
|
||||
Mon, 27 Jul 2009 10:57:51 -0400.
|
||||
|
||||
It was downloaded from <url://example.com>
|
||||
|
||||
Upstream Author(s):
|
||||
|
||||
<put author's name and email here>
|
||||
<likewise for another author>
|
||||
|
||||
Copyright:
|
||||
|
||||
<Copyright (C) YYYY Name OfAuthor>
|
||||
<likewise for another author>
|
||||
|
||||
License:
|
||||
|
||||
<Put the license of the package here indented by 4 spaces>
|
||||
|
||||
The Debian packaging is (C) 2009, Cyril <support@inverse.ca> and
|
||||
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
|
||||
|
||||
# Please also look if there are files or directories which have a
|
||||
# different copyright/license attached and list them here.
|
|
@ -0,0 +1,92 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
export DH_VERBOSE=1
|
||||
|
||||
config.status: configure
|
||||
dh_testdir
|
||||
LDFLAGS="-Wl,-z,defs" ./configure
|
||||
|
||||
|
||||
#Architecture
|
||||
build: build-arch build-indep
|
||||
|
||||
build-arch: build-arch-stamp
|
||||
build-arch-stamp: config.status
|
||||
|
||||
# Add here commands to compile the arch part of the package.
|
||||
#$(MAKE)
|
||||
touch $@
|
||||
|
||||
build-indep: build-indep-stamp
|
||||
build-indep-stamp: config.status
|
||||
|
||||
# Add here commands to compile the indep part of the package.
|
||||
#$(MAKE) doc
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-arch-stamp build-indep-stamp
|
||||
make clean
|
||||
dh_clean
|
||||
|
||||
install: install-indep install-arch
|
||||
install-indep:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k -i
|
||||
dh_installdirs -i
|
||||
dh_install -i
|
||||
|
||||
install-arch:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k -s
|
||||
dh_installdirs -s
|
||||
|
||||
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp GNUSTEP_INSTALLATION_DOMAIN=SYSTEM install
|
||||
mkdir -p debian/tmp/etc/init.d/sogod
|
||||
mkdir -p debian/tmp/etc/cron.daily
|
||||
mkdir -p debian/tmp/var/run/sogo
|
||||
mkdir -p debian/tmp/var/log/sogo
|
||||
mkdir -p debian/tmp/var/spool/sogo
|
||||
mkdir -p debian/tmp/etc/default
|
||||
mkdir -p debian/tmp/etc/apache2/conf.d
|
||||
mkdir -p debian/tmp/usr/sbin
|
||||
mkdir -p debian/tmp/usr/share/GNUstep/Tools
|
||||
echo "DAEMON=/usr/sbin/sogod" >> debian/tmp/etc/default/sogo
|
||||
cp Scripts/sogo-init.d-debian debian/tmp/etc/init.d/sogod
|
||||
cp Scripts/tmpwatch debian/tmp/etc/cron.daily/sogo-tmpwatch
|
||||
cp Apache/SOGo.conf debian/tmp/etc/apache2/conf.d/
|
||||
mv debian/tmp/usr/sbin/sogod debian/tmp/usr/share/GNUstep/Tools
|
||||
cp Scripts/sogod-wrapper debian/tmp/usr/sbin/sogod
|
||||
|
||||
dh_install -s
|
||||
|
||||
binary-common:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs ChangeLog
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
dh_installman
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_makeshlibs
|
||||
dh_installdeb
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary-indep: build-indep install-indep
|
||||
$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
|
||||
|
||||
# Build architecture dependant packages using the common target.
|
||||
binary-arch: build-arch install-arch
|
||||
$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
|
||||
|
||||
binary: binary-arch binary-indep
|
||||
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
|
|
@ -0,0 +1,3 @@
|
|||
etc
|
||||
var
|
||||
usr
|
|
@ -0,0 +1,4 @@
|
|||
NEWS
|
||||
README
|
||||
TODO
|
||||
ChangeLog
|
|
@ -0,0 +1,3 @@
|
|||
etc/*
|
||||
usr/*
|
||||
var/*
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
/usr/sbin/groupadd -f -K GID_MIN=100 -K GID_MAX=500 sogo
|
||||
USERS=\`getent passwd|grep sogo|sed -e 's/\([a-zA-Z]*:\)\(.*\)/\1/g'\`
|
||||
|
||||
|
||||
if [ \"\$USERS\" != \"sogo:\" ] ; then
|
||||
echo \"Adding user sogo\"
|
||||
useradd -d /tmp -g sogo -K UID_MIN=100 -K UID_MAX=500 -K PASS_MAX_DAYS=-1 -s
|
||||
/bin/false sogo
|
||||
fi
|
||||
|
||||
chown sogo /var/run/sogo
|
||||
chown sogo /var/spool/sogo
|
||||
chown sogo /var/log/sogo
|
||||
update-rc.d sogod defaults
|
||||
/sbin/ldconfig
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
userdel sogo||true
|
||||
update-rc.d SOGo remove ||true
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
/etc/init.d/sogod stop
|
Loading…
Reference in New Issue