Browse code

- debian fixes

Andrei Pelinescu-Onciul authored on 24/09/2002 21:54:52
Showing 10 changed files
... ...
@@ -95,6 +95,10 @@ bin:
95 95
 	$(TAR) -C tmp/ser/ -zcf ../$(NAME)-$(RELEASE)_$(OS)_$(ARCH).tar.gz .
96 96
 	rm -rf tmp/ser
97 97
 
98
+.PHONY: deb
99
+deb:
100
+	dpkg-buildpackage -rfakeroot -pgpg -sgpg
101
+
98 102
 .PHONY: sunpkg
99 103
 sunpkg:
100 104
 	mkdir -p tmp/ser
... ...
@@ -112,7 +112,7 @@ DEFS+= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"' \
112 112
 	 -DDNS_IP_HACK \
113 113
 	 -DUSE_IPV6 \
114 114
 	 -DF_MALLOC \
115
-	 -DNO_DEBUG \
115
+	 -DEXTRA_DEBUG \
116 116
 	 #-DDBG_QM_MALLOC \
117 117
 	 #-DVQ_MALLOC  
118 118
 	 #-DCONTACT_BUG
... ...
@@ -1,3 +1,9 @@
1
+ser (0.8.7.16) unstable; urgency=low
2
+
3
+  * First Public Release.
4
+
5
+ -- Andrei Pelinescu-Onciul <pelinescu-onciul@fokus.gmd.de>  Tue, 24 Sep 2002 21:33:39 +0200
6
+
1 7
 ser (0.8.7.6-1) unstable; urgency=low
2 8
 
3 9
   * Initial Release.
... ...
@@ -2,11 +2,29 @@ Source: ser
2 2
 Section: net
3 3
 Priority: optional
4 4
 Maintainer: Andrei Pelinescu-Onciul <pelinescu-onciul@fokus.gmd.de>
5
-Build-Depends: debhelper (>> 3.0.0)
5
+Build-Depends: debhelper (>> 3.0.0), libmysqlclient-dev
6 6
 Standards-Version: 3.5.2
7 7
 
8 8
 Package: ser
9 9
 Architecture: any
10 10
 Depends: ${shlibs:Depends}
11
+Suggests: ser-mysql-module
11 12
 Description: Sip Express Router, very fast and configurable SIP proxy
12
- ser or Sip Express Router is a very fast and configurable SIP proxy.
13
+ ser or SIP Express Router is a very fast and flexible SIP (RFC3621)
14
+ proxy server. Written entirely in C, ser can handle thousands calls
15
+ per second even on low-budget hardware. C Shell like scripting language
16
+ provides full control over the server's behaviour. It's modular
17
+ architecture allows only required functionality to be loaded.
18
+ Currently the following modules are available: Digest Authentication,
19
+ CPL scripts, Instant Messaging, MySQL support, Presence Agent, Radius
20
+ Authentication, Record Routing, SMS Gateway, Jabber Gateway, Transaction 
21
+ Module, Registrar and User Location.
22
+
23
+Package: ser-mysql-module
24
+Architecture: any
25
+Depends: ${shlibs:Depends}, ser (= ${Source-Version}), mysql
26
+Description: contains the mysql database connectivity module
27
+ This has been split out of the main ser package, so that ser will not
28
+ depend upon mysql. This module will enable you to use the digest
29
+ authentication module or persistent user location entries.
30
+
... ...
@@ -1,9 +1,9 @@
1 1
 This package was debianized by Andrei Pelinescu-Onciul <pelinescu-onciul@fokus.gmd.de> on
2 2
 Tue, 16 Jul 2002 15:41:31 +0200.
3 3
 
4
-It was downloaded from 
4
+It was downloaded from http://iptel.org/ser.
5 5
 
6
-Upstream Author(s): Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.gmd.de>, Bogdan Iancu <iancu@fokus.gmd.de>, Jan Janak <J.Janak@sh.cvut.cz>, Jiri Kuthan <jiri@iptel.org> 
6
+Upstream Authors: Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.gmd.de>, Bogdan Iancu <iancu@fokus.gmd.de>, Daniel-Constantin Mierla, Jan Janak <J.Janak@sh.cvut.cz>, Jiri Kuthan <jiri@iptel.org>, Nils Ohlmeier, Ricardo Baratto, Stelios Sidiroglou-Douskos 
7 7
 
8 8
 This software is copyright (c) 2002-2003 by Fhg Fokus
9 9
 
... ...
@@ -1 +1,2 @@
1
-ser_0.8.7.6-1_i386.deb net optional
1
+ser_0.8.7.16_i386.deb net optional
2
+ser-mysql-module_0.8.7.16_i386.deb net optional
... ...
@@ -34,7 +34,8 @@ build-stamp: configure-stamp
34 34
 	dh_testdir
35 35
 
36 36
 	# Add here commands to compile the package.
37
-	$(MAKE) all modules="modules/tm modules/textops modules/print"
37
+	$(MAKE) all 
38
+	$(MAKE) modules modules=modules/mysql
38 39
 	#/usr/bin/docbook-to-man debian/ser.sgml > ser.1
39 40
 
40 41
 	touch build-stamp
... ...
@@ -56,17 +57,23 @@ install: build
56 57
 	dh_installdirs
57 58
 
58 59
 	# Add here commands to install the package into debian/ser
59
-	$(MAKE) install modules="modules/tm modules/textops modules/print" \
60
+	$(MAKE) install  \
60 61
 		prefix=$(CURDIR)/debian/ser/usr \
61 62
 		cfg-prefix=$(CURDIR)/debian/ser 
63
+	
64
+	# install only the mysql module
65
+	$(MAKE) install-modules modules=modules/mysql  \
66
+		prefix=$(CURDIR)/debian/ser-mysql-module/usr \
67
+		cfg-prefix=$(CURDIR)/debian/ser-mysql-module 
68
+	#dh_movefiles
62 69
 
63 70
 
64
-# Build architecture-independent files here.
65
-binary-indep: build install
66
-# We have nothing to do by default.
67 71
 
68
-# Build architecture-dependent files here.
69
-binary-arch: build install
72
+# This single target is used to build all the packages, all at once, or
73
+# one at a time. So keep in mind: any options passed to commands here will
74
+# affect _all_ packages. Anything you want to only affect one package
75
+# should be put in another target, such as the install target.
76
+binary-common: 
70 77
 	dh_testdir
71 78
 	dh_testroot
72 79
 #	dh_installdebconf	
... ...
@@ -95,5 +102,20 @@ binary-arch: build install
95 102
 	dh_md5sums
96 103
 	dh_builddeb
97 104
 
105
+# Build architecture-independent packages using the common target
106
+binary-indep: build install
107
+# (Uncomment this next line if you have such packages.)
108
+#        $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
109
+# We have nothing to do by default.
110
+
111
+
112
+# Build architecture-dependent packages using the common target
113
+binary-arch: build install
114
+	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
115
+
116
+# Any other binary targets build just one binary package at a time.
117
+binary-%: build install
118
+	$(MAKE) -f debian/rules binary-common DH_OPTIONS=-p$*
119
+
98 120
 binary: binary-indep binary-arch
99 121
 .PHONY: build clean binary-indep binary-arch binary install configure
100 122
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+usr/lib/ser/modules
0 2
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+usr/lib/ser/modules/mysql.so
... ...
@@ -1 +1 @@
1
-shlibs:Depends=libc6 (>= 2.2.4-4)
1
+shlibs:Depends=libc6 (>= 2.2.5-13)