Browse code

- updated various dists/OSes package specs (changed version to 0.8.12 and added auth_diameter)

Andrei Pelinescu-Onciul authored on 14/11/2003 15:55:57
Showing 15 changed files
... ...
@@ -1,3 +1,9 @@
1
+ser (0.8.12) unstable; urgency=low
2
+
3
+  * new upstream release (improved tcp support, set_advertised_address a.s.o)
4
+
5
+ -- Andrei Pelinescu-Onciul <pelinescu-onciul@fokus.fraunhofer.de>  Fri, 14 Nov 2003 16:41:05 +0200
6
+
1 7
 ser (0.8.11) unstable; urgency=low
2 8
 
3 9
   * new upstream release
... ...
@@ -9,9 +9,9 @@
9 9
 
10 10
 
11 11
 PORTNAME= ser
12
-PORTVERSION= 0.8.11
12
+PORTVERSION= 0.8.12
13 13
 CATEGORIES= net
14
-MASTER_SITES= ftp://ftp.berlios.de/pub/ser/0.8.11/src/
14
+MASTER_SITES= ftp://ftp.berlios.de/pub/ser/0.8.12/src/
15 15
 
16 16
 MAINTAINER= pelinescu-onciul@fokus.fraunhofer.de
17 17
 
... ...
@@ -1 +1 @@
1
-MD5 (ser-0.8.11_src.tar.gz) = 070509795c5be4fe684dbfc36d42780a
1
+MD5 (ser-0.8.12_src.tar.gz) = 070509795c5be4fe684dbfc36d42780a
... ...
@@ -6,6 +6,7 @@ sbin/gen_ha1
6 6
 lib/ser/modules/acc.so
7 7
 lib/ser/modules/auth.so
8 8
 lib/ser/modules/auth_db.so
9
+lib/ser/modules/auth_diameter.so
9 10
 lib/ser/modules/dbtext.so
10 11
 lib/ser/modules/domain.so
11 12
 lib/ser/modules/enum.so
... ...
@@ -38,6 +39,7 @@ share/doc/ser/NEWS
38 39
 share/doc/ser/README.acc
39 40
 share/doc/ser/README.auth
40 41
 share/doc/ser/README.auth_db
42
+share/doc/ser/README.auth_diameter
41 43
 share/doc/ser/README.domain
42 44
 share/doc/ser/README.dbtext
43 45
 share/doc/ser/README.enum
44 46
new file mode 100644
... ...
@@ -0,0 +1,106 @@
1
+# Copyright 1999-2003 Fraunhofer Fokus
2
+# Distributed under the terms of the GNU General Public License v2
3
+# $Header$
4
+
5
+DESCRIPTION="SIP Express Router"
6
+
7
+HOMEPAGE="http://www.iptel.org/ser"
8
+SRC_URI="ftp://ftp.berlios.de/pub/ser/0.8.12/src/${P}_src.tar.gz"
9
+
10
+LICENSE="GPL-2"
11
+SLOT="0"
12
+KEYWORDS="~x86 ~ppc ~sparc"
13
+IUSE="debug ipv6 mysql postgres"
14
+
15
+DEPEND=">=sys-devel/gcc-2.95.3
16
+		>=sys-devel/bison-1.35
17
+		>=sys-devel/flex-2.5.4a
18
+		mysql? ( >=dev-db/mysql-3.23.52 )
19
+		postgres? ( >=dev-db/postgresql-7.3.4 )"
20
+
21
+S="${WORKDIR}/${P}"
22
+
23
+inc_mod=""
24
+make_options=""
25
+
26
+check_mods() {
27
+	if [ "`use mysql`" ]; then
28
+		inc_mod="${inc_mod} mysql"
29
+	fi
30
+	if [ "`use postgres`" ]; then
31
+		inc_mod="${inc_mod} postgres"
32
+	fi
33
+	
34
+	# test some additional modules for which
35
+	# no USE variables exist
36
+	
37
+	# jabber module requires dev-libs/expat
38
+	if [ -f "/usr/include/expat.h" ]; then
39
+		inc_mod="${inc_mod} jabber"
40
+	fi
41
+	# Radius modules requires installed radiusclient
42
+	# which is not in portage yet
43
+	if [ -f "/usr/include/radiusclient.h" -o  -f "/usr/local/include/radisuclient.h" ]; then
44
+		inc_mod="${inc_mod} auth_radius group_radius uri_radius"
45
+	fi
46
+}
47
+
48
+src_compile() {
49
+	if [ ! "`use ipv6`" ]; then
50
+		cp Makefile.defs Makefile.defs.orig 
51
+		sed -e "s/-DUSE_IPV6//g" Makefile.defs.orig > Makefile.defs;
52
+	fi
53
+	# optimization can result in strange debuging symbols so omit it in case
54
+	if [ "`use debug`" ]; then
55
+		make_options="${make_options} mode=debug"
56
+	else
57
+		make_options="${make_options} CFLAGS=${CFLAGS}"
58
+	fi
59
+
60
+	check_mods
61
+
62
+	make all "${make_options}" \
63
+		prefix=${D}/ \
64
+		include_modules="${inc_mod}" \
65
+		cfg-prefix=/ \
66
+		cfg-target=/etc/ser/ || die
67
+}
68
+
69
+src_install () {
70
+	check_mods
71
+
72
+	make install \
73
+		prefix=${D}/ \
74
+		include_modules="${inc_mod}" \
75
+		bin-prefix=${D}/usr/sbin \
76
+		bin-dir="" \
77
+		cfg-prefix=${D}/etc \
78
+		cfg-dir=ser/ \
79
+		cfg-target=/etc/ser \
80
+		modules-prefix=${D}/usr/lib/ser \
81
+		modules-dir=modules \
82
+		modules-target=/usr/lib/ser/modules/ \
83
+		man-prefix=${D}/usr/share/man \
84
+		man-dir="" \
85
+		doc-prefix=${D}/usr/share/doc \
86
+		doc-dir=${P} || die
87
+	exeinto /etc/init.d
88
+	newexe gentoo/ser.init ser
89
+
90
+	# fix what the Makefile don't do
91
+	if [ ! "`use mysql`" ]; then
92
+		rm ${D}/usr/sbin/ser_mysql.sh
93
+	fi
94
+}
95
+
96
+pkg_postinst() {
97
+	einfo "WARNING: If you upgraded from a previous Ser version"
98
+	einfo "please read the README, NEWS and INSTALL files in the"
99
+	einfo "documentation directory because the database and the"
100
+	einfo "configuration file of old Ser versions are incompatible"
101
+	einfo "with the current version."
102
+}
103
+
104
+pkg_prerm () {
105
+	/etc/init.d/ser stop >/dev/null
106
+}
... ...
@@ -10,9 +10,9 @@
10 10
 COMMENT= "SIP Express Router"
11 11
 
12 12
 PORTNAME= ser
13
-PORTVERSION= 0.8.11
13
+PORTVERSION= 0.8.12
14 14
 CATEGORIES= net
15
-MASTER_SITES= ftp://ftp.berlios.de/pub/ser/0.8.11/src/
15
+MASTER_SITES= ftp://ftp.berlios.de/pub/ser/0.8.12/src/
16 16
 
17 17
 MAINTAINER= pelinescu-onciul@fokus.fraunhofer.de
18 18
 
... ...
@@ -6,6 +6,7 @@ sbin/gen_ha1
6 6
 lib/ser/modules/acc.so
7 7
 lib/ser/modules/auth.so
8 8
 lib/ser/modules/auth_db.so
9
+lib/ser/modules/auth_diameter.so
9 10
 lib/ser/modules/dbtext.so
10 11
 lib/ser/modules/domain.so
11 12
 lib/ser/modules/enum.so
... ...
@@ -38,6 +39,7 @@ share/doc/ser/NEWS
38 39
 share/doc/ser/README.acc
39 40
 share/doc/ser/README.auth
40 41
 share/doc/ser/README.auth_db
42
+share/doc/ser/README.auth_diameter
41 43
 share/doc/ser/README.domain
42 44
 share/doc/ser/README.dbtext
43 45
 share/doc/ser/README.enum
... ...
@@ -1 +1 @@
1
-MD5 (ser-0.8.11_src.tar.gz) = 070509795c5be4fe684dbfc36d42780a
1
+MD5 (ser-0.8.12_src.tar.gz) = 070509795c5be4fe684dbfc36d42780a
... ...
@@ -10,9 +10,9 @@
10 10
 COMMENT= "SIP Express Router"
11 11
 
12 12
 PORTNAME= ser
13
-PORTVERSION= 0.8.11
13
+PORTVERSION= 0.8.12
14 14
 CATEGORIES= net
15
-MASTER_SITES= ftp://ftp.berlios.de/pub/ser/0.8.11/src/
15
+MASTER_SITES= ftp://ftp.berlios.de/pub/ser/0.8.12/src/
16 16
 
17 17
 MAINTAINER= pelinescu-onciul@fokus.fraunhofer.de
18 18
 
... ...
@@ -1 +1 @@
1
-MD5 (ser-0.8.11_src.tar.gz) = 070509795c5be4fe684dbfc36d42780a
1
+MD5 (ser-0.8.12_src.tar.gz) = 070509795c5be4fe684dbfc36d42780a
... ...
@@ -6,6 +6,7 @@ sbin/gen_ha1
6 6
 lib/ser/modules/acc.so
7 7
 lib/ser/modules/auth.so
8 8
 lib/ser/modules/auth_db.so
9
+lib/ser/modules/auth_diameter.so
9 10
 lib/ser/modules/dbtext.so
10 11
 lib/ser/modules/domain.so
11 12
 lib/ser/modules/enum.so
... ...
@@ -38,6 +39,7 @@ share/doc/ser/NEWS
38 39
 share/doc/ser/README.acc
39 40
 share/doc/ser/README.auth
40 41
 share/doc/ser/README.auth_db
42
+share/doc/ser/README.auth_diameter
41 43
 share/doc/ser/README.domain
42 44
 share/doc/ser/README.dbtext
43 45
 share/doc/ser/README.enum
... ...
@@ -1,5 +1,5 @@
1 1
 %define name    ser
2
-%define ver     0.8.11
2
+%define ver     0.8.12
3 3
 %define rel     0
4 4
 
5 5
 %define EXCLUDED_MODULES	mysql jabber auth_radius group_radius uri_radius postgress snmp cpl cpl-c ext extcmd mangler pdt
... ...
@@ -140,6 +140,7 @@ fi
140 140
 %doc %{_docdir}/ser/README.acc
141 141
 %doc %{_docdir}/ser/README.auth
142 142
 %doc %{_docdir}/ser/README.auth_db
143
+%doc %{_docdir}/ser/README.auth_diameter
143 144
 %doc %{_docdir}/ser/README.dbtext
144 145
 %doc %{_docdir}/ser/README.domain
145 146
 %doc %{_docdir}/ser/README.enum
... ...
@@ -172,6 +173,7 @@ fi
172 173
 %{_libdir}/ser/modules/acc.so
173 174
 %{_libdir}/ser/modules/auth.so
174 175
 %{_libdir}/ser/modules/auth_db.so
176
+%{_libdir}/ser/modules/auth_diameter.so
175 177
 %{_libdir}/ser/modules/dbtext.so
176 178
 %{_libdir}/ser/modules/domain.so
177 179
 %{_libdir}/ser/modules/enum.so
... ...
@@ -229,6 +231,10 @@ fi
229 231
 
230 232
 %changelog
231 233
 
234
+* Fri Nov 14 2003 Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.fraunhofer.de>
235
+- changed vesion to 0.8.12 (new upstream release)
236
+- added auth_diameter to the modules list
237
+
232 238
 * Wed Aug 27 2003 Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.fraunhofer.de>
233 239
 - changed vesion to 0.8.11
234 240
 - gen_ha1 is now left in _sbindir
... ...
@@ -1,5 +1,5 @@
1 1
 %define name    ser
2
-%define ver     0.8.11
2
+%define ver     0.8.12
3 3
 %define rel     0
4 4
 
5 5
 %define EXCLUDED_MODULES	mysql jabber auth_radius group_radius uri_radius postgress snmp cpl cpl-c ext extcmd mangler pdt
... ...
@@ -141,6 +141,7 @@ sbin/insserv etc/init.d/
141 141
 %doc %{_docdir}/ser/README.acc
142 142
 %doc %{_docdir}/ser/README.auth
143 143
 %doc %{_docdir}/ser/README.auth_db
144
+%doc %{_docdir}/ser/README.auth_diameter
144 145
 %doc %{_docdir}/ser/README.dbtext
145 146
 %doc %{_docdir}/ser/README.domain
146 147
 %doc %{_docdir}/ser/README.enum
... ...
@@ -173,6 +174,7 @@ sbin/insserv etc/init.d/
173 174
 %{_libdir}/ser/modules/acc.so
174 175
 %{_libdir}/ser/modules/auth.so
175 176
 %{_libdir}/ser/modules/auth_db.so
177
+%{_libdir}/ser/modules/auth_diameter.so
176 178
 %{_libdir}/ser/modules/dbtext.so
177 179
 %{_libdir}/ser/modules/domain.so
178 180
 %{_libdir}/ser/modules/enum.so
... ...
@@ -227,6 +229,10 @@ sbin/insserv etc/init.d/
227 229
 
228 230
 %changelog
229 231
 
232
+* Fri Nov 14 2003 Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.fraunhofer.de>
233
+- changed vesion to 0.8.12 (new upstream release)
234
+- added auth_diameter to the modules list
235
+
230 236
 * Wed Aug 28 2003 Nils Ohlmeier <nils@iptel.org>
231 237
 - replaced modules Conflicts with required Ser version
232 238
 - fixed doc installation for SuSE pathes
... ...
@@ -1,6 +1,6 @@
1 1
 PKG=IPTELser
2 2
 ARCH=sparc
3
-VERSION=0.8.11
3
+VERSION=0.8.12
4 4
 CATEGORY=application
5 5
 EMAIL=pelinescu-onciul@fokus.fraunhofer.de
6 6
 NAME= ser or SIP Express Router is a very fast and flexible SIP proxy server
... ...
@@ -14,6 +14,7 @@ d none lib/ser/modules 2755 bin bin
14 14
 f none lib/ser/modules/acc.so 0755 bin bin
15 15
 f none lib/ser/modules/auth.so 0755 bin bin
16 16
 f none lib/ser/modules/auth_db.so 0755 bin bin
17
+f none lib/ser/modules/auth_diameter.so 0755 bin bin
17 18
 f none lib/ser/modules/dbtext.so 0755 bin bin
18 19
 f none lib/ser/modules/domain.so 0755 bin bin
19 20
 f none lib/ser/modules/enum.so 0755 bin bin
... ...
@@ -47,6 +48,7 @@ f none doc/ser/NEWS    0644 bin bin
47 48
 f none doc/ser/README.acc 0644 bin bin
48 49
 f none doc/ser/README.auth 0644 bin bin
49 50
 f none doc/ser/README.auth_db 0644 bin bin
51
+f none doc/ser/README.auth_diameter 0644 bin bin
50 52
 f none doc/ser/README.dbtext  0644 bin bin
51 53
 f none doc/ser/README.domain  0644 bin bin
52 54
 f none doc/ser/README.enum    0644 bin bin