Monotone-Parent: b3e9a0e81aa41a6be8c77273ff406daa098503f6
Monotone-Revision: e36cbb9da53308642513123a9831ab22030eca9f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-08-12T15:25:33 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
ccdf1fb60d
commit
8b9042d24d
|
@ -1,265 +0,0 @@
|
|||
Index: debian/sope_SOPEVER_-versitsaxdriver.install
|
||||
===================================================================
|
||||
--- debian/sope_SOPEVER_-versitsaxdriver.install (revision 1660)
|
||||
+++ debian/sope_SOPEVER_-versitsaxdriver.install (working copy)
|
||||
@@ -1 +1,2 @@
|
||||
usr/lib/sope-*/saxdrivers/versitSaxDriver.sax
|
||||
+usr/lib/GNUstep/SaxDrivers-4.9/versitSaxDriver.sax
|
||||
Index: debian/control
|
||||
===================================================================
|
||||
--- debian/control (revision 1660)
|
||||
+++ debian/control (working copy)
|
||||
@@ -1,7 +1,7 @@
|
||||
Source: sope
|
||||
Priority: extra
|
||||
Maintainer: Sebastian Ley <ley@debian.org>
|
||||
-Build-Depends: debhelper (>= 4.0.0), dpatch, gnustep-make-ogo, gobjc | objc-compiler, libfoundation1.1-dev, libobjc1, libxml2-dev, libldap2-dev | libldap-dev, libssl-dev, zlib1g-dev, libpq-dev | postgresql-dev, libecpg-dev, apache-dev, apache2-threaded-dev | apache2-prefork-dev | apache2-dev, autotools-dev
|
||||
+Build-Depends: debhelper (>= 4.0.0), dpatch, gnustep-make, gobjc | objc-compiler, libxml2-dev, libldap2-dev | libldap-dev, libssl-dev, zlib1g-dev, libpq-dev | postgresql-dev, apache2-threaded-dev | apache2-prefork-dev | apache2-dev, autotools-dev
|
||||
Standards-Version: 3.6.1
|
||||
|
||||
Package: libsope4.9-dev
|
||||
@@ -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/sope_SOPEVER_-appserver.install
|
||||
===================================================================
|
||||
--- debian/sope_SOPEVER_-appserver.install (revision 1660)
|
||||
+++ debian/sope_SOPEVER_-appserver.install (working copy)
|
||||
@@ -1 +1,2 @@
|
||||
-usr/sbin/sope-*
|
||||
+usr/lib/GNUstep/SoProducts-4.9
|
||||
+usr/lib/GNUstep/WOxElemBuilders-4.9
|
||||
Index: debian/control.in
|
||||
===================================================================
|
||||
--- debian/control.in (revision 1660)
|
||||
+++ debian/control.in (working copy)
|
||||
@@ -264,19 +264,3 @@
|
||||
name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
|
||||
.
|
||||
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-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/sope_SOPEVER_-libxmlsaxdriver.install
|
||||
===================================================================
|
||||
--- debian/sope_SOPEVER_-libxmlsaxdriver.install (revision 1660)
|
||||
+++ debian/sope_SOPEVER_-libxmlsaxdriver.install (working copy)
|
||||
@@ -1 +1,2 @@
|
||||
usr/lib/sope-*/saxdrivers/libxmlSAXDriver.sax
|
||||
+usr/lib/GNUstep/SaxDrivers-4.9/libxmlSAXDriver.sax
|
||||
Index: debian/libsope-appserver_SOPEVER_.install
|
||||
===================================================================
|
||||
--- debian/libsope-appserver_SOPEVER_.install (revision 1660)
|
||||
+++ debian/libsope-appserver_SOPEVER_.install (working copy)
|
||||
@@ -6,5 +6,6 @@
|
||||
usr/lib/libSoOFS.so.*
|
||||
usr/lib/libWEPrototype.so.*
|
||||
usr/share/sope-*/ngobjweb
|
||||
+usr/lib/GNUstep/Libraries/Resources/NGObjWeb
|
||||
usr/lib/sope-*/products
|
||||
usr/lib/sope-*/wox-builders
|
||||
Index: debian/sope_SOPEVER_-stxsaxdriver.install
|
||||
===================================================================
|
||||
--- debian/sope_SOPEVER_-stxsaxdriver.install (revision 1660)
|
||||
+++ debian/sope_SOPEVER_-stxsaxdriver.install (working copy)
|
||||
@@ -1 +1,2 @@
|
||||
usr/lib/sope-*/saxdrivers/STXSaxDriver.sax
|
||||
+usr/lib/GNUstep/SaxDrivers-4.9/STXSaxDriver.sax
|
||||
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,16 +69,10 @@
|
||||
ln -s /usr/share/misc/config.sub sope-core/NGStreams/config.sub
|
||||
|
||||
CFLAGS="$(CFLAGS)" . $(GNUSTEP_SETUP); \
|
||||
- $(MAKE) $(MAKE_FLAGS) all
|
||||
+ ./configure --with-gnustep
|
||||
|
||||
- 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
|
||||
+ $(MAKE) $(MAKE_FLAGS) all
|
||||
|
||||
touch build-stamp
|
||||
|
||||
@@ -119,21 +113,21 @@
|
||||
# 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
|
||||
+ #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
|
||||
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/sope_SOPEVER_-gdl1-postgresql.install
|
||||
===================================================================
|
||||
--- debian/sope_SOPEVER_-gdl1-postgresql.install (revision 1660)
|
||||
+++ debian/sope_SOPEVER_-gdl1-postgresql.install (working copy)
|
||||
@@ -1 +1 @@
|
||||
-usr/lib/sope-*/dbadaptors/PostgreSQL.gdladaptor
|
||||
+usr/lib/GNUstep/GDLAdaptors-4.9/PostgreSQL.gdladaptor
|
||||
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
|
File diff suppressed because it is too large
Load Diff
|
@ -1,3 +1,12 @@
|
|||
sogo (1.0.4) unstable; urgency=low
|
||||
|
||||
* New release
|
||||
* debian/control:
|
||||
- bumped standards-version
|
||||
- updated dependencies
|
||||
|
||||
-- Inverse Support <support@inverse.ca> Tue, 11 Aug 2009 18:22:41 -0400
|
||||
|
||||
sogo (1.0.3) UNRELEASED; urgency=low
|
||||
|
||||
* Initial package
|
||||
|
|
|
@ -1,22 +1,23 @@
|
|||
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
|
||||
Maintainer: Inverse Support <support@inverse.ca>
|
||||
Build-Depends: debhelper (>= 7), libgnustep-base-dev, libsope-appserver4.9-dev, libsope-core4.9-dev, libsope-ldap4.9-dev, libsope-mime4.9-dev, libsope-xml4.9-dev, libmemcached-dev
|
||||
Section: web
|
||||
Standards-Version: 3.7.3
|
||||
Standards-Version: 3.8.2
|
||||
|
||||
Package: sogo
|
||||
Section: web
|
||||
Architecture: i386
|
||||
Depends: gnustep-base-common, gnustep-base-runtime, gnustep-gui-common, gnustep-gui-runtime, libsope-core4.9, libsope-appserver4.9, libsope-ldap4.9
|
||||
Description: SOGo
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, tmpreaper
|
||||
Suggests: nginx
|
||||
Description: a modern and scalable groupware
|
||||
SOGo is a groupware server built around OpenGroupware.org (OGo) and
|
||||
the SOPE application server. It focuses on scalability.
|
||||
the SOPE application server with focus 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
|
||||
* 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 provide 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.
|
||||
|
||||
|
|
|
@ -1,24 +1,33 @@
|
|||
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>
|
||||
It was downloaded from http://www.scalableogo.org/fr/downloads/backend.html
|
||||
|
||||
Upstream Author(s):
|
||||
Upstream Authors:
|
||||
|
||||
<put author's name and email here>
|
||||
<likewise for another author>
|
||||
Inverse inc. <support@inverse.ca>
|
||||
Skyric AG <sales@skyrix.com>
|
||||
|
||||
Copyright:
|
||||
|
||||
<Copyright (C) YYYY Name OfAuthor>
|
||||
<likewise for another author>
|
||||
Copyright (C) 2004-2005 SKYRIX Software AG
|
||||
Copyright (C) 2006-2009 Inverse inc.
|
||||
|
||||
License:
|
||||
|
||||
<Put the license of the package here indented by 4 spaces>
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program 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 General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
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.
|
||||
is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'.
|
||||
|
|
|
@ -1,90 +1,79 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
export DH_VERBOSE=1
|
||||
# export DH_OPTIONS="-p sogo"
|
||||
|
||||
config.status: configure
|
||||
config.make: configure
|
||||
dh_testdir
|
||||
LDFLAGS="-Wl,-z,defs" ./configure
|
||||
|
||||
./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)
|
||||
build-arch-stamp: config.make
|
||||
# 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
|
||||
build-indep-stamp: config.make
|
||||
# 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
|
||||
if [ -f config.make ]; then make clean; fi
|
||||
dh_clean
|
||||
|
||||
install: install-indep install-arch
|
||||
install: install-arch
|
||||
install-indep:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k -i
|
||||
dh_prep -i
|
||||
dh_installdirs -i
|
||||
dh_install -i
|
||||
|
||||
install-arch:
|
||||
install-arch: build-arch
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k -s
|
||||
dh_installdirs -s
|
||||
dh_prep -i
|
||||
# dh_installdirs -s
|
||||
|
||||
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp GNUSTEP_INSTALLATION_DOMAIN=SYSTEM install
|
||||
mkdir -p debian/tmp/etc/init.d
|
||||
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
|
||||
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp GNUSTEP_INSTALLATION_DOMAIN=SYSTEM install
|
||||
mkdir -p debian/tmp/etc/default
|
||||
mkdir -p debian/tmp/etc/apache2/conf.d
|
||||
mkdir -p debian/tmp/usr/sbin
|
||||
echo "DAEMON=/usr/sbin/sogod-launcher" >> 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-debian.conf debian/tmp/etc/apache2/conf.d/SOGo.conf
|
||||
cp Scripts/sogod-wrapper debian/tmp/usr/sbin/sogod-launcher
|
||||
cp Scripts/sogo-default debian/tmp/etc/default/sogo
|
||||
cp Scripts/sogod-wrapper debian/tmp/usr/sbin/sogod-wrapper
|
||||
mkdir -p debian/tmp/usr/share/lintian/overrides
|
||||
cp debian/sogo.overrides debian/tmp/usr/share/lintian/overrides/sogo
|
||||
|
||||
dh_install -s
|
||||
binary-indep: build-indep install-indep
|
||||
|
||||
binary-common:
|
||||
# Build architecture dependant packages using the common target.
|
||||
binary-arch: build-arch install-arch
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installinit -r
|
||||
dh_installlogrotate
|
||||
dh_installcron
|
||||
dh_installchangelogs ChangeLog
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
dh_installman
|
||||
dh_install
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_makeshlibs
|
||||
dh_shlibdeps
|
||||
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
|
||||
binary: binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
NEWS
|
||||
README
|
||||
TODO
|
||||
ChangeLog
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
etc/*
|
||||
usr/*
|
||||
var/*
|
||||
etc/default/sogo
|
||||
usr/sbin/*
|
||||
usr/lib/GNUstep/*
|
||||
usr/lib/lib*
|
||||
usr/include/GNUstep/*
|
||||
usr/share/lintian/*
|
||||
|
|
|
@ -1,17 +1,34 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
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'`
|
||||
# summary of how this script can be called:
|
||||
# * <postinst> `configure' <most-recently-configured-version>
|
||||
# * <old-postinst> `abort-upgrade' <new version>
|
||||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
||||
# <new-version>
|
||||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
||||
# <failed-install-package> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
#
|
||||
|
||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||
|
||||
if [ "$USERS" != "sogo" ] ; then
|
||||
echo "Adding user sogo"
|
||||
useradd -d /home/sogo -g sogo -m -K UID_MIN=100 -K UID_MAX=500 -K PASS_MAX_DAYS=-1 -s /bin/bash sogo
|
||||
fi
|
||||
case "$1" in
|
||||
configure)
|
||||
;;
|
||||
|
||||
chown -R sogo /var/run/sogo
|
||||
chown -R sogo /var/spool/sogo
|
||||
chown -R sogo /var/log/sogo
|
||||
update-rc.d sogod defaults
|
||||
/sbin/ldconfig
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -1,4 +1,32 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
userdel sogo || true
|
||||
update-rc.d SOGo remove || true
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postrm> `remove'
|
||||
# * <postrm> `purge'
|
||||
# * <old-postrm> `upgrade' <new-version>
|
||||
# * <new-postrm> `failed-upgrade' <old-version>
|
||||
# * <new-postrm> `abort-install'
|
||||
# * <new-postrm> `abort-install' <old-version>
|
||||
# * <new-postrm> `abort-upgrade' <old-version>
|
||||
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
case "$1" in
|
||||
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
if test "x$1" == "xpurge" ]
|
||||
then
|
||||
userdel -r sogo || true
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postrm called with unknown argument \`$1'" >&2
|
||||
exit 0
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -1,3 +1,22 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
/etc/init.d/sogod stop
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <prerm> `remove'
|
||||
# * <old-prerm> `upgrade' <new-version>
|
||||
# * <new-prerm> `failed-upgrade' <old-version>
|
||||
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
|
||||
# * <deconfigured's-prerm> `deconfigure' `in-favour'
|
||||
# <package-being-installed> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see /usr/share/doc/packaging-manual/
|
||||
|
||||
if test "x$1" == "xremove"
|
||||
then
|
||||
/etc/init.d/sogo stop
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue