Browse code

- rpm stuff merged from stable

Andrei Pelinescu-Onciul authored on 03/09/2003 14:52:16
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,225 +0,0 @@
1
-%define name    ser
2
-%define ver     0.8.11pre29
3
-%define rel     1
4
-
5
-%define EXCLUDED_MODULES	mysql jabber auth_radius group_radius uri_radius postgress snmp cpl cpl-c ext extcmd mangler pdt
6
-%define MYSQL_MODULES		mysql
7
-%define JABBER_MODULES		jabber
8
-%define RADIUS_MODULES		auth_radius group_radius uri_radius
9
-%define RADIUS_MOD_PATH		modules/auth_radius modules/group_radius modules/uri_radius
10
-
11
-Summary:      SIP Express Router, very fast and flexible SIP Proxy
12
-Name:         %name
13
-Version:      %ver
14
-Release:      %rel
15
-Packager:     Jan Janak <jan@iptel.org>
16
-Copyright:    GPL
17
-Group:        System Environment/Daemons
18
-Source:       http://iptel.org/ser/stable/%{name}-%{ver}_src.tar.gz
19
-Source2:      ser.init
20
-URL:          http://iptel.org/ser
21
-Vendor:       FhG Fokus
22
-BuildRoot:    /var/tmp/%{name}-%{ver}-root
23
-BuildPrereq:  make flex bison
24
-
25
-
26
-%description
27
-Ser or SIP Express Router is a very fast and flexible SIP (RFC3621)
28
-proxy server. Written entirely in C, ser can handle thousands calls
29
-per second even on low-budget hardware. A C Shell like scripting language
30
-provides full control over the server's behaviour. It's modular
31
-architecture allows only required functionality to be loaded.
32
-Currently the following modules are available: digest authentication,
33
-CPL scripts, instant messaging, MySQL support, a presence agent, radius
34
-authentication, record routing, an SMS gateway, a jabber gateway, a 
35
-transaction module, registrar and user location.
36
-
37
-%package  mysql
38
-Summary:  MySQL connectivity for the SIP Express Router.
39
-Group:    System Environment/Daemons
40
-Requires: ser
41
-BuildPrereq:  mysql-devel zlib-devel
42
-
43
-%description mysql
44
-The ser-mysql package contains MySQL database connectivity that you
45
-need to use digest authentication module or persistent user location
46
-entries.
47
-
48
-%package  jabber
49
-Summary:  sip jabber message translation support for the SIP Express Router.
50
-Group:    System Environment/Daemons
51
-Requires: ser
52
-BuildPrereq:  expat-devel
53
-
54
-%description jabber
55
-The ser-jabber package contains a sip to jabber message translator.
56
-
57
-%package  radius
58
-Summary:  ser radius authentication, group and uri check modules.
59
-Group:    System Environment/Daemons
60
-Requires: ser
61
-BuildPrereq:  radiusclient-devel
62
-
63
-%description radius
64
-The ser-radius package contains modules for radius authentication, group
65
- membership and uri checking.
66
-
67
-%prep
68
-%setup
69
-
70
-%build
71
-make all skip_modules="%EXCLUDED_MODULES"      cfg-target=/%{_sysconfdir}/ser/
72
-make modules modules="modules/%MYSQL_MODULES"  cfg-target=/%{_sysconfdir}/ser/
73
-make modules modules="modules/%JABBER_MODULES" cfg-target=/%{_sysconfdir}/ser/
74
-make modules modules="%RADIUS_MOD_PATH"        cfg-target=/%{_sysconfdir}/ser/
75
-
76
-
77
-%install
78
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
79
-
80
-make install skip_modules="%EXCLUDED_MODULES" \
81
-		basedir=$RPM_BUILD_ROOT \
82
-		prefix=/usr \
83
-		cfg-prefix=$RPM_BUILD_ROOT \
84
-		cfg-target=/%{_sysconfdir}/ser/ 
85
-make install-modules modules="modules/%MYSQL_MODULES" \
86
-		basedir=$RPM_BUILD_ROOT \
87
-		prefix=/usr \
88
-		cfg-prefix=$RPM_BUILD_ROOT \
89
-		cfg-target=/%{_sysconfdir}/ser/ 
90
-make install-modules modules="modules/%JABBER_MODULES" \
91
-		basedir=$RPM_BUILD_ROOT \
92
-		prefix=/usr \
93
-		cfg-prefix=$RPM_BUILD_ROOT \
94
-		cfg-target=/%{_sysconfdir}/ser/ 
95
-make install-modules modules="%RADIUS_MOD_PATH" \
96
-		basedir=$RPM_BUILD_ROOT \
97
-		prefix=/usr \
98
-		cfg-prefix=$RPM_BUILD_ROOT \
99
-		cfg-target=/%{_sysconfdir}/ser/ 
100
-
101
-mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
102
-install -m755 $RPM_SOURCE_DIR/ser.init \
103
-              $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d/ser
104
-
105
-
106
-mkdir -p $RPM_BUILD_ROOT/%{_bindir}
107
-install -m755 scripts/harv_ser.sh \
108
-              $RPM_BUILD_ROOT/%{_bindir}/harv_ser.sh
109
-
110
-mv $RPM_BUILD_ROOT/%{_sbindir}/gen_ha1 $RPM_BUILD_ROOT/%{_bindir}
111
-
112
-
113
-%clean
114
-rm -rf "$RPM_BUILD_ROOT"
115
-
116
-%post
117
-/sbin/chkconfig --add ser
118
-
119
-%preun
120
-if [ $1 = 0 ]; then
121
-    /sbin/service ser stop > /dev/null 2>&1
122
-    /sbin/chkconfig --del ser
123
-fi
124
-
125
-
126
-%files
127
-%defattr(-,root,root)
128
-%doc README
129
-
130
-%dir %{_sysconfdir}/ser
131
-%config(noreplace) %{_sysconfdir}/ser/*
132
-%config %{_sysconfdir}/rc.d/init.d/*
133
-
134
-%dir %{_libdir}/ser
135
-%dir %{_libdir}/ser/modules
136
-%{_libdir}/ser/modules/acc.so
137
-%{_libdir}/ser/modules/auth.so
138
-%{_libdir}/ser/modules/auth_db.so
139
-%{_libdir}/ser/modules/dbtext.so
140
-%{_libdir}/ser/modules/domain.so
141
-%{_libdir}/ser/modules/enum.so
142
-%{_libdir}/ser/modules/exec.so
143
-%{_libdir}/ser/modules/group.so
144
-%{_libdir}/ser/modules/maxfwd.so
145
-%{_libdir}/ser/modules/msilo.so
146
-%{_libdir}/ser/modules/nathelper.so
147
-%{_libdir}/ser/modules/pa.so
148
-%{_libdir}/ser/modules/permissions.so
149
-%{_libdir}/ser/modules/pike.so
150
-%{_libdir}/ser/modules/print.so
151
-%{_libdir}/ser/modules/registrar.so
152
-%{_libdir}/ser/modules/rr.so
153
-%{_libdir}/ser/modules/sl.so
154
-%{_libdir}/ser/modules/sms.so
155
-%{_libdir}/ser/modules/textops.so
156
-%{_libdir}/ser/modules/tm.so
157
-%{_libdir}/ser/modules/uri.so
158
-%{_libdir}/ser/modules/usrloc.so
159
-%{_libdir}/ser/modules/vm.so
160
-
161
-%{_sbindir}/ser
162
-%{_sbindir}/serctl
163
-
164
-%{_bindir}/harv_ser.sh
165
-%{_bindir}/gen_ha1
166
-
167
-%{_mandir}/man5/*
168
-%{_mandir}/man8/*
169
-
170
-
171
-%files mysql
172
-%defattr(-,root,root)
173
-
174
-%{_libdir}/ser/modules/mysql.so
175
-%{_sbindir}/ser_mysql.sh
176
-
177
-%files jabber
178
-%defattr(-,root,root)
179
-
180
-%{_libdir}/ser/modules/jabber.so
181
-
182
-%files radius
183
-%defattr(-,root,root)
184
-
185
-%{_libdir}/ser/modules/auth_radius.so
186
-%{_libdir}/ser/modules/group_radius.so
187
-%{_libdir}/ser/modules/uri_radius.so
188
-
189
-
190
-%changelog
191
-
192
-* Sun Jun 1 2003 Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.fraunhofer.de>
193
-- added a separate rpm for the radius modules
194
-- updated to the new makefile variables (removed lots of unnecessary stuff)
195
-
196
-* Thu Nov 14 2002 Jan Janak <J.Janak@sh.cvut.cz>
197
-- Installing harv_ser.sh again
198
-- quick hack to move gen_ha1 to bin directory instead of sbin (should
199
-  be done from the Makefile next time)
200
-
201
-* Tue Nov 12 2002 Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.gmd.de>
202
-- added a separate rpm for the jabber modules
203
-- moved all the binaries to sbin
204
-- removed obsolete installs (make install installs everything now)
205
-
206
-* Fri Oct 25 2002 Jan Janak <J.Janak@sh.cvut.cz>
207
-- Minor description fixes
208
-
209
-* Fri Oct  4 2002 Jiri Kuthan <jiri@iptel.org>
210
-- exec module introduced
211
-
212
-* Wed Sep 25 2002 Andrei Pelinescu - Onciul  <pelinescu-onciul@fokus.gmd.de>
213
-- modified make install & make: added cfg-target & modules-target
214
-
215
-* Sun Sep 08 2002 Jan Janak <J.Janak@sh.cvut.cz>
216
-- Created subpackage containing mysql connectivity support.
217
-
218
-* Mon Sep 02 2002 Jan Janak <J.Janak@sh.cvut.cz>
219
-- gen_ha1 utility added, scripts added.
220
-
221
-* Tue Aug 28 2002 Jan Janak <J.Janak@sh.cvut.cz>
222
-- Finished the first version of the spec file.
223
-
224
-* Sun Aug 12 2002 Jan Janak <J.Janak@sh.cvut.cz>
225
-- First version of the spec file.
Browse code

- update release no to 1

Andrei Pelinescu-Onciul authored on 03/06/2003 10:18:19
Showing 1 changed files
... ...
@@ -1,6 +1,6 @@
1 1
 %define name    ser
2 2
 %define ver     0.8.11pre29
3
-%define rel     0
3
+%define rel     1
4 4
 
5 5
 %define EXCLUDED_MODULES	mysql jabber auth_radius group_radius uri_radius postgress snmp cpl cpl-c ext extcmd mangler pdt
6 6
 %define MYSQL_MODULES		mysql
Browse code

- more rpm fixes (building rh rpm really works now) - added make dist (alias to make tar) - make tar will create the archive in the crt. dir (source dir). When unpacked the archive will expand under ser-$(RELEALE)/ (e.g ser-0.8.11pre29/). - the tar.gz will exclude now all *.o, *.so, *.il, *.d, tmp/*, test/*, CVS

Andrei Pelinescu-Onciul authored on 02/06/2003 11:44:20
Showing 1 changed files
... ...
@@ -2,13 +2,11 @@
2 2
 %define ver     0.8.11pre29
3 3
 %define rel     0
4 4
 
5
-%define EXCLUDED_MODULES	mysql jabber auth_radius group_radius uri_radius \
6
-							postgress snmp cpl cpl-c ext extcmd mangler pdt
5
+%define EXCLUDED_MODULES	mysql jabber auth_radius group_radius uri_radius postgress snmp cpl cpl-c ext extcmd mangler pdt
7 6
 %define MYSQL_MODULES		mysql
8 7
 %define JABBER_MODULES		jabber
9 8
 %define RADIUS_MODULES		auth_radius group_radius uri_radius
10
-%define RADIUS_MOD_PATH		modules/auth_radius modules/group_radius \
11
-							modules/uri_radius
9
+%define RADIUS_MOD_PATH		modules/auth_radius modules/group_radius modules/uri_radius
12 10
 
13 11
 Summary:      SIP Express Router, very fast and flexible SIP Proxy
14 12
 Name:         %name
... ...
@@ -60,7 +58,7 @@ The ser-jabber package contains a sip to jabber message translator.
60 58
 Summary:  ser radius authentication, group and uri check modules.
61 59
 Group:    System Environment/Daemons
62 60
 Requires: ser
63
-BuildPrereq:  libradius1-dev
61
+BuildPrereq:  radiusclient-devel
64 62
 
65 63
 %description radius
66 64
 The ser-radius package contains modules for radius authentication, group
... ...
@@ -82,22 +80,22 @@ make modules modules="%RADIUS_MOD_PATH"        cfg-target=/%{_sysconfdir}/ser/
82 80
 make install skip_modules="%EXCLUDED_MODULES" \
83 81
 		basedir=$RPM_BUILD_ROOT \
84 82
 		prefix=/usr \
85
-		cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
83
+		cfg-prefix=$RPM_BUILD_ROOT \
86 84
 		cfg-target=/%{_sysconfdir}/ser/ 
87 85
 make install-modules modules="modules/%MYSQL_MODULES" \
88 86
 		basedir=$RPM_BUILD_ROOT \
89 87
 		prefix=/usr \
90
-		cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
88
+		cfg-prefix=$RPM_BUILD_ROOT \
91 89
 		cfg-target=/%{_sysconfdir}/ser/ 
92 90
 make install-modules modules="modules/%JABBER_MODULES" \
93 91
 		basedir=$RPM_BUILD_ROOT \
94 92
 		prefix=/usr \
95
-		cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
93
+		cfg-prefix=$RPM_BUILD_ROOT \
96 94
 		cfg-target=/%{_sysconfdir}/ser/ 
97 95
 make install-modules modules="%RADIUS_MOD_PATH" \
98 96
 		basedir=$RPM_BUILD_ROOT \
99 97
 		prefix=/usr \
100
-		cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
98
+		cfg-prefix=$RPM_BUILD_ROOT \
101 99
 		cfg-target=/%{_sysconfdir}/ser/ 
102 100
 
103 101
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
... ...
@@ -187,10 +185,6 @@ fi
187 185
 %{_libdir}/ser/modules/auth_radius.so
188 186
 %{_libdir}/ser/modules/group_radius.so
189 187
 %{_libdir}/ser/modules/uri_radius.so
190
-* Tue Nov 12 2002 Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.gmd.de>
191
-- added a separate rpm for the jabber modules
192
-- moved all the binaries to sbin
193
-- removed obsolete installs (make install installs everything now)
194 188
 
195 189
 
196 190
 %changelog
Browse code

-updated the rpm spec: radius modules, new makefile vars a.s.o (not tested yet)

Andrei Pelinescu-Onciul authored on 01/06/2003 09:42:40
Showing 1 changed files
... ...
@@ -1,7 +1,14 @@
1 1
 %define name    ser
2
-%define ver     0.8.10
3
-%define rel     2
4
-%define exclude CVS radius_acc radius_auth snmp mysql jabber
2
+%define ver     0.8.11pre29
3
+%define rel     0
4
+
5
+%define EXCLUDED_MODULES	mysql jabber auth_radius group_radius uri_radius \
6
+							postgress snmp cpl cpl-c ext extcmd mangler pdt
7
+%define MYSQL_MODULES		mysql
8
+%define JABBER_MODULES		jabber
9
+%define RADIUS_MODULES		auth_radius group_radius uri_radius
10
+%define RADIUS_MOD_PATH		modules/auth_radius modules/group_radius \
11
+							modules/uri_radius
5 12
 
6 13
 Summary:      SIP Express Router, very fast and flexible SIP Proxy
7 14
 Name:         %name
... ...
@@ -49,45 +56,49 @@ BuildPrereq:  expat-devel
49 56
 %description jabber
50 57
 The ser-jabber package contains a sip to jabber message translator.
51 58
 
59
+%package  radius
60
+Summary:  ser radius authentication, group and uri check modules.
61
+Group:    System Environment/Daemons
62
+Requires: ser
63
+BuildPrereq:  libradius1-dev
64
+
65
+%description radius
66
+The ser-radius package contains modules for radius authentication, group
67
+ membership and uri checking.
68
+
52 69
 %prep
53 70
 %setup
54 71
 
55 72
 %build
56
-make all exclude_modules="%exclude" cfg-target=/%{_sysconfdir}/ser/
57
-make modules modules=modules/mysql  cfg-target=/%{_sysconfdir}/ser/
58
-make modules modules=modules/jabber cfg-target=/%{_sysconfdir}/ser/
73
+make all skip_modules="%EXCLUDED_MODULES"      cfg-target=/%{_sysconfdir}/ser/
74
+make modules modules="modules/%MYSQL_MODULES"  cfg-target=/%{_sysconfdir}/ser/
75
+make modules modules="modules/%JABBER_MODULES" cfg-target=/%{_sysconfdir}/ser/
76
+make modules modules="%RADIUS_MOD_PATH"        cfg-target=/%{_sysconfdir}/ser/
59 77
 
60 78
 
61 79
 %install
62 80
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
63 81
 
64
-make install cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
65
-             cfg-dir=ser/ \
66
-	     bin-prefix=$RPM_BUILD_ROOT/%{_sbindir} \
67
-	     bin-dir="" \
68
-	     modules-prefix=$RPM_BUILD_ROOT/%{_libdir}/ser \
69
-	     modules-dir=modules/ \
70
-	     doc-prefix=$RPM_BUILD_ROOT/%{_docdir} \
71
-	     doc-dir=ser/ \
72
-	     man-prefix=$RPM_BUILD_ROOT/%{_mandir} \
73
-	     man-dir="" \
74
-	     cfg-target=/%{_sysconfdir}/ser/ \
75
-	     modules-target=/%{_libdir}/ser/modules/ \
76
-	     exclude_modules="%exclude"
77
-make install-modules modules=modules/mysql \
78
-	    modules-prefix=$RPM_BUILD_ROOT/%{_libdir}/ser \
79
-	    modules-dir=modules/ \
80
-	    doc-prefix=$RPM_BUILD_ROOT/%{_docdir} \
81
-	    doc-dir=ser/ \
82
-	    cfg-target=/%{_sysconfdir}/ser/ \
83
-	    modules-target=/%{_libdir}/ser/modules/ 
84
-make install-modules modules=modules/jabber \
85
-	    modules-prefix=$RPM_BUILD_ROOT/%{_libdir}/ser \
86
-	    modules-dir=modules/ \
87
-	    doc-prefix=$RPM_BUILD_ROOT/%{_docdir} \
88
-	    doc-dir=ser/ \
89
-	    cfg-target=/%{_sysconfdir}/ser/ \
90
-	    modules-target=/%{_libdir}/ser/modules/ 
82
+make install skip_modules="%EXCLUDED_MODULES" \
83
+		basedir=$RPM_BUILD_ROOT \
84
+		prefix=/usr \
85
+		cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
86
+		cfg-target=/%{_sysconfdir}/ser/ 
87
+make install-modules modules="modules/%MYSQL_MODULES" \
88
+		basedir=$RPM_BUILD_ROOT \
89
+		prefix=/usr \
90
+		cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
91
+		cfg-target=/%{_sysconfdir}/ser/ 
92
+make install-modules modules="modules/%JABBER_MODULES" \
93
+		basedir=$RPM_BUILD_ROOT \
94
+		prefix=/usr \
95
+		cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
96
+		cfg-target=/%{_sysconfdir}/ser/ 
97
+make install-modules modules="%RADIUS_MOD_PATH" \
98
+		basedir=$RPM_BUILD_ROOT \
99
+		prefix=/usr \
100
+		cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
101
+		cfg-target=/%{_sysconfdir}/ser/ 
91 102
 
92 103
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
93 104
 install -m755 $RPM_SOURCE_DIR/ser.init \
... ...
@@ -126,10 +137,17 @@ fi
126 137
 %dir %{_libdir}/ser/modules
127 138
 %{_libdir}/ser/modules/acc.so
128 139
 %{_libdir}/ser/modules/auth.so
140
+%{_libdir}/ser/modules/auth_db.so
141
+%{_libdir}/ser/modules/dbtext.so
142
+%{_libdir}/ser/modules/domain.so
143
+%{_libdir}/ser/modules/enum.so
129 144
 %{_libdir}/ser/modules/exec.so
130
-%{_libdir}/ser/modules/im.so
145
+%{_libdir}/ser/modules/group.so
131 146
 %{_libdir}/ser/modules/maxfwd.so
132 147
 %{_libdir}/ser/modules/msilo.so
148
+%{_libdir}/ser/modules/nathelper.so
149
+%{_libdir}/ser/modules/pa.so
150
+%{_libdir}/ser/modules/permissions.so
133 151
 %{_libdir}/ser/modules/pike.so
134 152
 %{_libdir}/ser/modules/print.so
135 153
 %{_libdir}/ser/modules/registrar.so
... ...
@@ -138,7 +156,9 @@ fi
138 156
 %{_libdir}/ser/modules/sms.so
139 157
 %{_libdir}/ser/modules/textops.so
140 158
 %{_libdir}/ser/modules/tm.so
159
+%{_libdir}/ser/modules/uri.so
141 160
 %{_libdir}/ser/modules/usrloc.so
161
+%{_libdir}/ser/modules/vm.so
142 162
 
143 163
 %{_sbindir}/ser
144 164
 %{_sbindir}/serctl
... ...
@@ -161,7 +181,24 @@ fi
161 181
 
162 182
 %{_libdir}/ser/modules/jabber.so
163 183
 
184
+%files radius
185
+%defattr(-,root,root)
186
+
187
+%{_libdir}/ser/modules/auth_radius.so
188
+%{_libdir}/ser/modules/group_radius.so
189
+%{_libdir}/ser/modules/uri_radius.so
190
+* Tue Nov 12 2002 Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.gmd.de>
191
+- added a separate rpm for the jabber modules
192
+- moved all the binaries to sbin
193
+- removed obsolete installs (make install installs everything now)
194
+
195
+
164 196
 %changelog
197
+
198
+* Sun Jun 1 2003 Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.fraunhofer.de>
199
+- added a separate rpm for the radius modules
200
+- updated to the new makefile variables (removed lots of unnecessary stuff)
201
+
165 202
 * Thu Nov 14 2002 Jan Janak <J.Janak@sh.cvut.cz>
166 203
 - Installing harv_ser.sh again
167 204
 - quick hack to move gen_ha1 to bin directory instead of sbin (should
Browse code

zlib-devel added to build prerequesities.

Jan Janak authored on 20/05/2003 15:19:19
Showing 1 changed files
... ...
@@ -15,7 +15,7 @@ Source2:      ser.init
15 15
 URL:          http://iptel.org/ser
16 16
 Vendor:       FhG Fokus
17 17
 BuildRoot:    /var/tmp/%{name}-%{ver}-root
18
-BuildPrereq:  make flex bison 
18
+BuildPrereq:  make flex bison
19 19
 
20 20
 
21 21
 %description
... ...
@@ -33,7 +33,7 @@ transaction module, registrar and user location.
33 33
 Summary:  MySQL connectivity for the SIP Express Router.
34 34
 Group:    System Environment/Daemons
35 35
 Requires: ser
36
-BuildPrereq:  mysql-devel
36
+BuildPrereq:  mysql-devel zlib-devel
37 37
 
38 38
 %description mysql
39 39
 The ser-mysql package contains MySQL database connectivity that you
Browse code

my email updated

Jan Janak authored on 16/03/2003 18:08:01
Showing 1 changed files
... ...
@@ -7,7 +7,7 @@ Summary:      SIP Express Router, very fast and flexible SIP Proxy
7 7
 Name:         %name
8 8
 Version:      %ver
9 9
 Release:      %rel
10
-Packager:     Jan Janak <J.Janak@sh.cvut.cz>
10
+Packager:     Jan Janak <jan@iptel.org>
11 11
 Copyright:    GPL
12 12
 Group:        System Environment/Daemons
13 13
 Source:       http://iptel.org/ser/stable/%{name}-%{ver}_src.tar.gz
Browse code

Merged changelog items

Jan Janak authored on 14/11/2002 14:52:01
Showing 1 changed files
... ...
@@ -21,13 +21,13 @@ BuildPrereq:  make flex bison
21 21
 %description
22 22
 Ser or SIP Express Router is a very fast and flexible SIP (RFC3621)
23 23
 proxy server. Written entirely in C, ser can handle thousands calls
24
-per second even on low-budget hardware. C Shell like scripting language
24
+per second even on low-budget hardware. A C Shell like scripting language
25 25
 provides full control over the server's behaviour. It's modular
26 26
 architecture allows only required functionality to be loaded.
27
-Currently the following modules are available: Digest Authentication,
28
-CPL scripts, Instant Messaging, MySQL support, Presence Agent, Radius
29
-Authentication, Record Routing, SMS Gateway, Jabber Gateway, Transaction 
30
-Module, Registrar and User Location.
27
+Currently the following modules are available: digest authentication,
28
+CPL scripts, instant messaging, MySQL support, a presence agent, radius
29
+authentication, record routing, an SMS gateway, a jabber gateway, a 
30
+transaction module, registrar and user location.
31 31
 
32 32
 %package  mysql
33 33
 Summary:  MySQL connectivity for the SIP Express Router.
... ...
@@ -172,6 +172,9 @@ fi
172 172
 - moved all the binaries to sbin
173 173
 - removed obsolete installs (make install installs everything now)
174 174
 
175
+* Fri Oct 25 2002 Jan Janak <J.Janak@sh.cvut.cz>
176
+- Minor description fixes
177
+
175 178
 * Fri Oct  4 2002 Jiri Kuthan <jiri@iptel.org>
176 179
 - exec module introduced
177 180
 
Browse code

See changelog in the spec.

Jan Janak authored on 14/11/2002 03:58:22
Showing 1 changed files
... ...
@@ -1,6 +1,6 @@
1 1
 %define name    ser
2 2
 %define ver     0.8.10
3
-%define rel     1
3
+%define rel     2
4 4
 %define exclude CVS radius_acc radius_auth snmp mysql jabber
5 5
 
6 6
 Summary:      SIP Express Router, very fast and flexible SIP Proxy
... ...
@@ -94,6 +94,13 @@ install -m755 $RPM_SOURCE_DIR/ser.init \
94 94
               $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d/ser
95 95
 
96 96
 
97
+mkdir -p $RPM_BUILD_ROOT/%{_bindir}
98
+install -m755 scripts/harv_ser.sh \
99
+              $RPM_BUILD_ROOT/%{_bindir}/harv_ser.sh
100
+
101
+mv $RPM_BUILD_ROOT/%{_sbindir}/gen_ha1 $RPM_BUILD_ROOT/%{_bindir}
102
+
103
+
97 104
 %clean
98 105
 rm -rf "$RPM_BUILD_ROOT"
99 106
 
... ...
@@ -135,7 +142,9 @@ fi
135 142
 
136 143
 %{_sbindir}/ser
137 144
 %{_sbindir}/serctl
138
-%{_sbindir}/gen_ha1
145
+
146
+%{_bindir}/harv_ser.sh
147
+%{_bindir}/gen_ha1
139 148
 
140 149
 %{_mandir}/man5/*
141 150
 %{_mandir}/man8/*
... ...
@@ -153,6 +162,11 @@ fi
153 162
 %{_libdir}/ser/modules/jabber.so
154 163
 
155 164
 %changelog
165
+* Thu Nov 14 2002 Jan Janak <J.Janak@sh.cvut.cz>
166
+- Installing harv_ser.sh again
167
+- quick hack to move gen_ha1 to bin directory instead of sbin (should
168
+  be done from the Makefile next time)
169
+
156 170
 * Tue Nov 12 2002 Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.gmd.de>
157 171
 - added a separate rpm for the jabber modules
158 172
 - moved all the binaries to sbin
Browse code

ser 0.8.10 release

- update ver. no in Makefile
- modified debian, rh & suse
(build a separate jabber module due to expat dependency)
- modified sun package (added some missing files)

Warning: I did a little rpm/*.spec cleanup (e.g make install installs all the
binaries a.s.o). RH stuff works, Suse not tested.

Andrei Pelinescu-Onciul authored on 12/11/2002 17:21:28
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 %define name    ser
2 2
 %define ver     0.8.10
3 3
 %define rel     1
4
-%define exclude CVS pike radius_acc radius_auth snmp
4
+%define exclude CVS radius_acc radius_auth snmp mysql jabber
5 5
 
6 6
 Summary:      SIP Express Router, very fast and flexible SIP Proxy
7 7
 Name:         %name
... ...
@@ -33,20 +33,29 @@ Module, Registrar and User Location.
33 33
 Summary:  MySQL connectivity for the SIP Express Router.
34 34
 Group:    System Environment/Daemons
35 35
 Requires: ser
36
+BuildPrereq:  mysql-devel
36 37
 
37 38
 %description mysql
38 39
 The ser-mysql package contains MySQL database connectivity that you
39 40
 need to use digest authentication module or persistent user location
40 41
 entries.
41 42
 
43
+%package  jabber
44
+Summary:  sip jabber message translation support for the SIP Express Router.
45
+Group:    System Environment/Daemons
46
+Requires: ser
47
+BuildPrereq:  expat-devel
48
+
49
+%description jabber
50
+The ser-jabber package contains a sip to jabber message translator.
51
+
42 52
 %prep
43 53
 %setup
44 54
 
45 55
 %build
46 56
 make all exclude_modules="%exclude" cfg-target=/%{_sysconfdir}/ser/
47
-make modules modules=modules/mysql cfg-target=/%{_sysconfdir}/ser/
48
-cd utils/gen_ha1
49
-make
57
+make modules modules=modules/mysql  cfg-target=/%{_sysconfdir}/ser/
58
+make modules modules=modules/jabber cfg-target=/%{_sysconfdir}/ser/
50 59
 
51 60
 
52 61
 %install
... ...
@@ -72,25 +81,18 @@ make install-modules modules=modules/mysql \
72 81
 	    doc-dir=ser/ \
73 82
 	    cfg-target=/%{_sysconfdir}/ser/ \
74 83
 	    modules-target=/%{_libdir}/ser/modules/ 
84
+make install-modules modules=modules/jabber \
85
+	    modules-prefix=$RPM_BUILD_ROOT/%{_libdir}/ser \
86
+	    modules-dir=modules/ \
87
+	    doc-prefix=$RPM_BUILD_ROOT/%{_docdir} \
88
+	    doc-dir=ser/ \
89
+	    cfg-target=/%{_sysconfdir}/ser/ \
90
+	    modules-target=/%{_libdir}/ser/modules/ 
75 91
 
76 92
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
77 93
 install -m755 $RPM_SOURCE_DIR/ser.init \
78 94
               $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d/ser
79 95
 
80
-mkdir -p $RPM_BUILD_ROOT/%{_bindir}
81
-
82
-install -m755 utils/gen_ha1/gen_ha1 \
83
-	      $RPM_BUILD_ROOT/%{_bindir}/gen_ha1
84
-
85
-install -m755 scripts/harv_ser.sh \
86
-	      $RPM_BUILD_ROOT/%{_sbindir}/harv_ser.sh
87
-
88
-install -m755 scripts/sc \
89
-	      $RPM_BUILD_ROOT/%{_sbindir}/serctl
90
-
91
-install -m755 scripts/ser_mysql.sh \
92
-	      $RPM_BUILD_ROOT/%{_sbindir}/ser_mysql.sh
93
-
94 96
 
95 97
 %clean
96 98
 rm -rf "$RPM_BUILD_ROOT"
... ...
@@ -119,8 +121,9 @@ fi
119 121
 %{_libdir}/ser/modules/auth.so
120 122
 %{_libdir}/ser/modules/exec.so
121 123
 %{_libdir}/ser/modules/im.so
122
-%{_libdir}/ser/modules/jabber.so
123 124
 %{_libdir}/ser/modules/maxfwd.so
125
+%{_libdir}/ser/modules/msilo.so
126
+%{_libdir}/ser/modules/pike.so
124 127
 %{_libdir}/ser/modules/print.so
125 128
 %{_libdir}/ser/modules/registrar.so
126 129
 %{_libdir}/ser/modules/rr.so
... ...
@@ -130,10 +133,9 @@ fi
130 133
 %{_libdir}/ser/modules/tm.so
131 134
 %{_libdir}/ser/modules/usrloc.so
132 135
 
133
-%{_sbindir}/harv_ser.sh
134 136
 %{_sbindir}/ser
135 137
 %{_sbindir}/serctl
136
-%{_bindir}/*
138
+%{_sbindir}/gen_ha1
137 139
 
138 140
 %{_mandir}/man5/*
139 141
 %{_mandir}/man8/*
... ...
@@ -145,8 +147,17 @@ fi
145 147
 %{_libdir}/ser/modules/mysql.so
146 148
 %{_sbindir}/ser_mysql.sh
147 149
 
150
+%files jabber
151
+%defattr(-,root,root)
152
+
153
+%{_libdir}/ser/modules/jabber.so
148 154
 
149 155
 %changelog
156
+* Tue Nov 12 2002 Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.gmd.de>
157
+- added a separate rpm for the jabber modules
158
+- moved all the binaries to sbin
159
+- removed obsolete installs (make install installs everything now)
160
+
150 161
 * Fri Oct  4 2002 Jiri Kuthan <jiri@iptel.org>
151 162
 - exec module introduced
152 163
 
Browse code

- update version no

Andrei Pelinescu-Onciul authored on 04/11/2002 17:23:05
Showing 1 changed files
... ...
@@ -1,5 +1,5 @@
1 1
 %define name    ser
2
-%define ver     0.8.9
2
+%define ver     0.8.10
3 3
 %define rel     1
4 4
 %define exclude CVS pike radius_acc radius_auth snmp
5 5
 
Browse code

- fixed some bad entries in debian/changelog & rpm spec - added -I & -L in mysql Makefile

Andrei Pelinescu-Onciul authored on 07/10/2002 16:14:10
Showing 1 changed files
... ...
@@ -147,7 +147,7 @@ fi
147 147
 
148 148
 
149 149
 %changelog
150
-* Fri Oct  4 23:25:52 CEST 2002 Jiri Kuthan <jiri@iptel.org>
150
+* Fri Oct  4 2002 Jiri Kuthan <jiri@iptel.org>
151 151
 - exec module introduced
152 152
 
153 153
 * Wed Sep 25 2002 Andrei Pelinescu - Onciul  <pelinescu-onciul@fokus.gmd.de>
Browse code

- update ver number (new release) & packaging info

Andrei Pelinescu-Onciul authored on 07/10/2002 14:57:22
Showing 1 changed files
... ...
@@ -1,6 +1,6 @@
1 1
 %define name    ser
2
-%define ver     0.8.8
3
-%define rel     2
2
+%define ver     0.8.9
3
+%define rel     1
4 4
 %define exclude CVS pike radius_acc radius_auth snmp
5 5
 
6 6
 Summary:      SIP Express Router, very fast and flexible SIP Proxy
Browse code

exec module introduced

Jiri Kuthan authored on 04/10/2002 21:30:53
Showing 1 changed files
... ...
@@ -117,6 +117,7 @@ fi
117 117
 %dir %{_libdir}/ser/modules
118 118
 %{_libdir}/ser/modules/acc.so
119 119
 %{_libdir}/ser/modules/auth.so
120
+%{_libdir}/ser/modules/exec.so
120 121
 %{_libdir}/ser/modules/im.so
121 122
 %{_libdir}/ser/modules/jabber.so
122 123
 %{_libdir}/ser/modules/maxfwd.so
... ...
@@ -146,6 +147,9 @@ fi
146 147
 
147 148
 
148 149
 %changelog
150
+* Fri Oct  4 23:25:52 CEST 2002 Jiri Kuthan <jiri@iptel.org>
151
+- exec module introduced
152
+
149 153
 * Wed Sep 25 2002 Andrei Pelinescu - Onciul  <pelinescu-onciul@fokus.gmd.de>
150 154
 - modified make install & make: added cfg-target & modules-target
151 155
 
Browse code

Changed release.

Jan Janak authored on 26/09/2002 11:04:02
Showing 1 changed files
... ...
@@ -1,6 +1,6 @@
1 1
 %define name    ser
2 2
 %define ver     0.8.8
3
-%define rel     1
3
+%define rel     2
4 4
 %define exclude CVS pike radius_acc radius_auth snmp
5 5
 
6 6
 Summary:      SIP Express Router, very fast and flexible SIP Proxy
Browse code

- updated rh rpm spec

Andrei Pelinescu-Onciul authored on 25/09/2002 22:40:38
Showing 1 changed files
... ...
@@ -44,6 +44,7 @@ entries.
44 44
 
45 45
 %build
46 46
 make all exclude_modules="%exclude" cfg-target=/%{_sysconfdir}/ser/
47
+make modules modules=modules/mysql cfg-target=/%{_sysconfdir}/ser/
47 48
 cd utils/gen_ha1
48 49
 make
49 50
 
... ...
@@ -61,9 +62,16 @@ make install cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
61 62
 	     doc-dir=ser/ \
62 63
 	     man-prefix=$RPM_BUILD_ROOT/%{_mandir} \
63 64
 	     man-dir="" \
64
-		 cfg-target=/%{_sysconfdir}/ser/ \
65
-		 modules-target=/%{_libdir}/ser/modules/ \
65
+	     cfg-target=/%{_sysconfdir}/ser/ \
66
+	     modules-target=/%{_libdir}/ser/modules/ \
66 67
 	     exclude_modules="%exclude"
68
+make install-modules modules=modules/mysql \
69
+	    modules-prefix=$RPM_BUILD_ROOT/%{_libdir}/ser \
70
+	    modules-dir=modules/ \
71
+	    doc-prefix=$RPM_BUILD_ROOT/%{_docdir} \
72
+	    doc-dir=ser/ \
73
+	    cfg-target=/%{_sysconfdir}/ser/ \
74
+	    modules-target=/%{_libdir}/ser/modules/ 
67 75
 
68 76
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
69 77
 install -m755 $RPM_SOURCE_DIR/ser.init \
... ...
@@ -109,8 +117,6 @@ fi
109 117
 %dir %{_libdir}/ser/modules
110 118
 %{_libdir}/ser/modules/acc.so
111 119
 %{_libdir}/ser/modules/auth.so
112
-%{_libdir}/ser/modules/cpl.so
113
-%{_libdir}/ser/modules/ext.so
114 120
 %{_libdir}/ser/modules/im.so
115 121
 %{_libdir}/ser/modules/jabber.so
116 122
 %{_libdir}/ser/modules/maxfwd.so
Browse code

- updated version no in deb/rpm/solaris pkg

Andrei Pelinescu-Onciul authored on 25/09/2002 21:28:36
Showing 1 changed files
... ...
@@ -1,5 +1,5 @@
1 1
 %define name    ser
2
-%define ver     0.8.7
2
+%define ver     0.8.8
3 3
 %define rel     1
4 4
 %define exclude CVS pike radius_acc radius_auth snmp
5 5
 
Browse code

- big makefile changes - debian fixes (works like a charm now) - ipaddr2he bug fix - changes rpm specs - modified the tar makefile target - new make vars: basedir, cfg-target, modules-target - cfg. file modified on the fly (module-path=modules-target) - ser default cfg. file=cfg-target - etc.

Andrei Pelinescu-Onciul authored on 25/09/2002 19:20:26
Showing 1 changed files
... ...
@@ -10,7 +10,7 @@ Release:      %rel
10 10
 Packager:     Jan Janak <J.Janak@sh.cvut.cz>
11 11
 Copyright:    GPL
12 12
 Group:        System Environment/Daemons
13
-Source:       http://iptel.org/ser/stable/%{name}-%{ver}.tar.gz
13
+Source:       http://iptel.org/ser/stable/%{name}-%{ver}_src.tar.gz
14 14
 Source2:      ser.init
15 15
 URL:          http://iptel.org/ser
16 16
 Vendor:       FhG Fokus
... ...
@@ -43,7 +43,7 @@ entries.
43 43
 %setup
44 44
 
45 45
 %build
46
-make all exclude_modules="%exclude"
46
+make all exclude_modules="%exclude" cfg-target=/%{_sysconfdir}/ser/
47 47
 cd utils/gen_ha1
48 48
 make
49 49
 
... ...
@@ -61,6 +61,8 @@ make install cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
61 61
 	     doc-dir=ser/ \
62 62
 	     man-prefix=$RPM_BUILD_ROOT/%{_mandir} \
63 63
 	     man-dir="" \
64
+		 cfg-target=/%{_sysconfdir}/ser/ \
65
+		 modules-target=/%{_libdir}/ser/modules/ \
64 66
 	     exclude_modules="%exclude"
65 67
 
66 68
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
... ...
@@ -138,6 +140,9 @@ fi
138 140
 
139 141
 
140 142
 %changelog
143
+* Wed Sep 25 2002 Andrei Pelinescu - Onciul  <pelinescu-onciul@fokus.gmd.de>
144
+- modified make install & make: added cfg-target & modules-target
145
+
141 146
 * Sun Sep 08 2002 Jan Janak <J.Janak@sh.cvut.cz>
142 147
 - Created subpackage containing mysql connectivity support.
143 148
 
Browse code

URL fixed

Jiri Kuthan authored on 17/09/2002 18:28:48
Showing 1 changed files
... ...
@@ -12,7 +12,7 @@ Copyright:    GPL
12 12
 Group:        System Environment/Daemons
13 13
 Source:       http://iptel.org/ser/stable/%{name}-%{ver}.tar.gz
14 14
 Source2:      ser.init
15
-URL:          http://ser.iptel.org
15
+URL:          http://iptel.org/ser
16 16
 Vendor:       FhG Fokus
17 17
 BuildRoot:    /var/tmp/%{name}-%{ver}-root
18 18
 BuildPrereq:  make flex bison 
Browse code

*** empty log message ***

Jan Janak authored on 08/09/2002 17:27:07
Showing 1 changed files
... ...
@@ -139,7 +139,7 @@ fi
139 139
 
140 140
 %changelog
141 141
 * Sun Sep 08 2002 Jan Janak <J.Janak@sh.cvut.cz>
142
-- Created additional package containg mysql connectivity support.
142
+- Created subpackage containing mysql connectivity support.
143 143
 
144 144
 * Mon Sep 02 2002 Jan Janak <J.Janak@sh.cvut.cz>
145 145
 - gen_ha1 utility added, scripts added.
Browse code

mysql subpackage created

Jan Janak authored on 08/09/2002 17:20:30
Showing 1 changed files
... ...
@@ -1,6 +1,7 @@
1
-%define name  ser
2
-%define ver   0.8.7
3
-%define rel   1
1
+%define name    ser
2
+%define ver     0.8.7
3
+%define rel     1
4
+%define exclude CVS pike radius_acc radius_auth snmp
4 5
 
5 6
 Summary:      SIP Express Router, very fast and flexible SIP Proxy
6 7
 Name:         %name
... ...
@@ -28,12 +29,21 @@ CPL scripts, Instant Messaging, MySQL support, Presence Agent, Radius
28 29
 Authentication, Record Routing, SMS Gateway, Jabber Gateway, Transaction 
29 30
 Module, Registrar and User Location.
30 31
 
32
+%package  mysql
33
+Summary:  MySQL connectivity for the SIP Express Router.
34
+Group:    System Environment/Daemons
35
+Requires: ser
36
+
37
+%description mysql
38
+The ser-mysql package contains MySQL database connectivity that you
39
+need to use digest authentication module or persistent user location
40
+entries.
31 41
 
32 42
 %prep
33 43
 %setup
34 44
 
35 45
 %build
36
-make all
46
+make all exclude_modules="%exclude"
37 47
 cd utils/gen_ha1
38 48
 make
39 49
 
... ...
@@ -50,7 +60,8 @@ make install cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
50 60
 	     doc-prefix=$RPM_BUILD_ROOT/%{_docdir} \
51 61
 	     doc-dir=ser/ \
52 62
 	     man-prefix=$RPM_BUILD_ROOT/%{_mandir} \
53
-	     man-dir=""
63
+	     man-dir="" \
64
+	     exclude_modules="%exclude"
54 65
 
55 66
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
56 67
 install -m755 $RPM_SOURCE_DIR/ser.init \
... ...
@@ -94,16 +105,42 @@ fi
94 105
 
95 106
 %dir %{_libdir}/ser
96 107
 %dir %{_libdir}/ser/modules
97
-%{_libdir}/ser/modules/*
98
-
99
-%{_sbindir}/*
108
+%{_libdir}/ser/modules/acc.so
109
+%{_libdir}/ser/modules/auth.so
110
+%{_libdir}/ser/modules/cpl.so
111
+%{_libdir}/ser/modules/ext.so
112
+%{_libdir}/ser/modules/im.so
113
+%{_libdir}/ser/modules/jabber.so
114
+%{_libdir}/ser/modules/maxfwd.so
115
+%{_libdir}/ser/modules/print.so
116
+%{_libdir}/ser/modules/registrar.so
117
+%{_libdir}/ser/modules/rr.so
118
+%{_libdir}/ser/modules/sl.so
119
+%{_libdir}/ser/modules/sms.so
120
+%{_libdir}/ser/modules/textops.so
121
+%{_libdir}/ser/modules/tm.so
122
+%{_libdir}/ser/modules/usrloc.so
123
+
124
+%{_sbindir}/harv_ser.sh
125
+%{_sbindir}/ser
126
+%{_sbindir}/serctl
100 127
 %{_bindir}/*
101 128
 
102 129
 %{_mandir}/man5/*
103 130
 %{_mandir}/man8/*
104 131
 
105 132
 
133
+%files mysql
134
+%defattr(-,root,root)
135
+
136
+%{_libdir}/ser/modules/mysql.so
137
+%{_sbindir}/ser_mysql.sh
138
+
139