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