Browse code

- update debian packaging scripts for 0.9.3 (cpl-c & pa added as separate packages, *radius needs now libradiusclient-ng2)

Andrei Pelinescu-Onciul authored on 23/06/2005 16:46:38
Showing 5 changed files
... ...
@@ -1,3 +1,12 @@
1
+ser (0.9.3) unstable; urgency=low
2
+
3
+  * new upstream release 
4
+  * added ser-cpl-module and  ser-pa-module
5
+  * ser-radius-module depends now on libradiusclient-ng2 
6
+    (not in official Debian archives)
7
+
8
+ -- Andrei Pelinescu-Onciul <andrei@iptel.org>  Thu, 23 Jun 2005 16:43:35 +0200
9
+
1 10
 ser (0.8.14) unstable; urgency=low
2 11
 
3 12
   * new upstream release 
... ...
@@ -1,15 +1,15 @@
1 1
 Source: ser
2 2
 Section: net
3 3
 Priority: optional
4
-Maintainer: Andrei Pelinescu-Onciul <pelinescu-onciul@fokus.fraunhofer.de>
5
-Build-Depends: debhelper (>= 4), libmysqlclient-dev, libexpat1-dev, libradius1-dev
4
+Maintainer: Andrei Pelinescu-Onciul <andrei@iptel.org>
5
+Build-Depends: debhelper (>= 4), libmysqlclient-dev, libexpat1-dev, libradiusclient-ng-dev, libxml2-dev
6 6
 Standards-Version: 3.5.2
7 7
 
8 8
 Package: ser
9 9
 Architecture: any
10 10
 Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
11
-Suggests: ser-mysql-module, ser-jabber-module
12
-Conflicts: ser-mysql-module (<< ${Source-Version}), ser-jabber-module (<< ${Source-Version}), ser-radius-modules (<< ${Source-Version})
11
+Suggests: ser-mysql-module, ser-jabber-module, ser-cpl-module, ser-pa-module, ser-radius-modules
12
+Conflicts: ser-mysql-module (<< ${Source-Version}), ser-jabber-module (<< ${Source-Version}), ser-radius-modules (<< ${Source-Version}), ser-cpl-module (<< ${Source-Version}), ser-pa-module (<< ${Source-Version})
13 13
 Description: Sip Express Router, very fast and configurable SIP proxy
14 14
  ser or SIP Express Router is a very fast and flexible SIP (RFC3621)
15 15
  proxy server. Written entirely in C, ser can handle thousands calls
... ...
@@ -37,10 +37,24 @@ Description: contains the jabber module (sip-jabber message translation)
37 37
  depend upon libexpat. This module will enable you to use ser to translate
38 38
   sip messages into jabber messages.
39 39
 
40
-#Package: ser-radius-modules
41
-#Architecture: any
42
-#Depends: ${shlibs:Depends}, ser (= ${Source-Version})
43
-#Description: contains the ser radius modules 
44
-# This has been split out of the main ser package, so that ser will not
45
-# depend upon libradius1. This modules will enable you to authenticate, 
46
-# do group membership checking or check the messages uris using radius.
40
+Package: ser-cpl-module
41
+Architecture: any
42
+Depends: ${shlibs:Depends}, ser (= ${Source-Version})
43
+Description: contains the cpl-c module (CPL support)
44
+ This has been split out of the main ser package, so that ser will not
45
+ depend upon libxml2.
46
+
47
+Package: ser-pa-module
48
+Architecture: any
49
+Depends: ${shlibs:Depends}, ser (= ${Source-Version})
50
+Description: contains the pa module (Presence server support)
51
+ This has been split out of the main ser package, so that ser will not
52
+ depend upon libxml2.
53
+
54
+Package: ser-radius-modules
55
+Architecture: any
56
+Depends: ${shlibs:Depends}, ser (= ${Source-Version})
57
+Description: contains the ser radius modules 
58
+ This has been split out of the main ser package, so that ser will not
59
+ depend upon libradius1. This modules will enable you to authenticate, 
60
+ do group membership checking or check the messages uris using radius.
... ...
@@ -15,6 +15,8 @@
15 15
 #  2004-07-23  added ext and commented out the radius modules
16 16
 #              (the current radius modules depend on radiusclient-ng which
17 17
 #               is not yet part of debian)  (andrei)
18
+#  2005-06-23  added cpl-c, pa & re-enabled radius (with libradiusclient-ng)
19
+#                (andrei)
18 20
 
19 21
 
20 22
 # Uncomment this to turn on verbose mode.
... ...
@@ -28,20 +30,25 @@ export DEB_BUILD_OPTIONS:="$(DEB_BUILD_OPTIONS) nostrip"
28 30
 
29 31
 # modules not in the "main" package or unstable 
30 32
 EXCLUDED_MODULES=	mysql jabber auth_radius group_radius uri_radius \
31
-					postgress snmp cpl cpl-c ext extcmd 
33
+					avp_radius pa postgres snmp cpl cpl-c ext extcmd 
32 34
 
33 35
 # modules depending on mysql
34 36
 MYSQL_MODULES=mysql
35 37
 #jabber related modules
36 38
 JABBER_MODULES=jabber
37 39
 #module depending on radiusclient
38
-RADIUS_MODULES=auth_radius group_radius uri_radius
40
+RADIUS_MODULES=auth_radius group_radius uri_radius avp_radius
41
+#cpl related modules
42
+CPL_MODULES=cpl-c
43
+# pa related modules
44
+PA_MODULES=pa
39 45
 
40 46
 # the same but with path prepended (needed for modules="...")
41 47
 MYSQL_MOD_PATH=$(addprefix modules/, $(MYSQL_MODULES))
42 48
 JABBER_MOD_PATH=$(addprefix modules/, $(JABBER_MODULES))
43 49
 RADIUS_MOD_PATH=$(addprefix modules/, $(RADIUS_MODULES))
44
-
50
+CPL_MOD_PATH=$(addprefix modules/, $(CPL_MODULES))
51
+PA_MOD_PATH=$(addprefix modules/, $(PA_MODULES))
45 52
 
46 53
 
47 54
 
... ...
@@ -71,6 +78,8 @@ build-stamp: configure-stamp
71 78
 	$(MAKE) modules modules="$(MYSQL_MOD_PATH)" cfg-target=/etc/ser/
72 79
 	$(MAKE) modules modules="$(JABBER_MOD_PATH)" cfg-target=/etc/ser/
73 80
 	$(MAKE) modules modules="$(RADIUS_MOD_PATH)" cfg-target=/etc/ser/
81
+	$(MAKE) modules modules="$(CPL_MOD_PATH)" cfg-target=/etc/ser/
82
+	$(MAKE) modules modules="$(PA_MOD_PATH)" cfg-target=/etc/ser/
74 83
 	#/usr/bin/docbook-to-man debian/ser.sgml > ser.1
75 84
 
76 85
 	touch build-stamp
... ...
@@ -82,8 +91,8 @@ clean:
82 91
 
83 92
 	# Add here commands to clean up after the build process.
84 93
 	-$(MAKE) \
85
-		include_modules="$(MYSQL_MODULES) $(JABBER_MODULES) $(RADIUS_MODULES)"\
86
-		 clean
94
+		include_modules="$(MYSQL_MODULES) $(JABBER_MODULES) $(RADIUS_MODULES)\
95
+							$(CPL_MODULES) $(PA_MODULES) " clean
87 96
 
88 97
 	dh_clean
89 98
 
... ...
@@ -114,12 +123,26 @@ install: build
114 123
 		cfg-target=/etc/ser/ \
115 124
 		doc-dir=share/doc/ser-jabber-module
116 125
 	#install only the radius modules
117
-#	$(MAKE) install-modules-all modules="$(RADIUS_MOD_PATH)"  \
118
-#		basedir=$(CURDIR)/debian/ser-radius-modules \
119
-#		prefix=/usr \
120
-#		cfg-prefix=$(CURDIR)/debian/ser-radius-modules \
121
-#		cfg-target=/etc/ser/ \
122
-#		doc-dir=share/doc/ser-radius-modules
126
+	$(MAKE) install-modules-all modules="$(RADIUS_MOD_PATH)"  \
127
+		basedir=$(CURDIR)/debian/ser-radius-modules \
128
+		prefix=/usr \
129
+		cfg-prefix=$(CURDIR)/debian/ser-radius-modules \
130
+		cfg-target=/etc/ser/ \
131
+		doc-dir=share/doc/ser-radius-modules
132
+	#install only the cpl module
133
+	$(MAKE) install-modules-all modules="$(CPL_MOD_PATH)"  \
134
+		basedir=$(CURDIR)/debian/ser-cpl-module \
135
+		prefix=/usr \
136
+		cfg-prefix=$(CURDIR)/debian/ser-cpl-module \
137
+		cfg-target=/etc/ser/ \
138
+		doc-dir=share/doc/ser-cpl-module
139
+	#install only the pa module
140
+	$(MAKE) install-modules-all modules="$(PA_MOD_PATH)"  \
141
+		basedir=$(CURDIR)/debian/ser-pa-module \
142
+		prefix=/usr \
143
+		cfg-prefix=$(CURDIR)/debian/ser-pa-module \
144
+		cfg-target=/etc/ser/ \
145
+		doc-dir=share/doc/ser-pa-module
123 146
 	#dh_movefiles
124 147
 
125 148
 
... ...
@@ -10,4 +10,6 @@ examples/redirect.cfg
10 10
 examples/replicate.cfg
11 11
 examples/serial_183.cfg
12 12
 examples/uas.cfg
13
+examples/vm_proxy.cfg
14
+examples/voicemail.cfg
13 15
 examples/welcome.cfg
... ...
@@ -1 +0,0 @@
1
-libradiusclient 0 libradius1 (>= 0.3.2-5)