Пакет jabberd2: Specfile

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
#set_verify_elf_method unresolved=relaxed
%define _libexecdir %_prefix/libexec

%def_enable debug
%def_disable cyrus	# only one can enabled, cyrus or gsasl
%def_enable gsasl	#
%def_enable ssl
%def_enable mysql
%def_enable pgsql
%def_enable sqlite
%def_enable db
%def_enable ldap
%def_enable pam
%def_enable pipe
%def_enable anon
%def_enable fs
%def_enable websocket
%def_disable oracle # libs not present in sisyphus
%def_disable tests

#%%define git d3a2b96
%define majver 2.7
%define minver 0
%define rel alt2

Name: jabberd2
Version: %majver.%minver
%ifndef git
Release: %rel
%else
Release: %rel.git.%git
%endif

Summary: Jabber IM server 2nd version
Group: System/Servers
License: %gpl2plus
Url: http://jabberd2.org/
Packager: L.A. Kostis <lakostis@altlinux.org>

Source:  jabberd-%version.tar

Source1: jabberd-alt-configdir.tar
Source2: jabberd.cfg
Source3: jabberd2-init_d.tar
Source6: jabberd2_README.ALT.UTF8
Source7: jabberd2.jabber-config
Source8: %name.logrotate

Patch1: jabberd2-autoconf.patch
Patch2: jabberd2-alt-ldapvcard-fix.patch
Patch3: jabberd2-alt-ldapvcard-jpeg-fix.patch
Patch4: jabberd2-alt-sysconf.patch
Patch5:	jabberd2-alt-systemddir.patch
Patch6:	jabberd2-2.7.0-alt-mysql8-transition.patch

BuildRequires(pre): rpm-build-licenses jabber-common libidn-devel >= 0.3.0 libudns-devel
# Automatically added by buildreq on Mon Oct 22 2007
BuildRequires: gcc-c++ libexpat-devel zlib-devel >= 1.2.3

Requires: jabber-common >= 0.2 su coreutils xmlstarlet libudns
Obsoletes: jabberd2-router jabberd2-resolver

%if_enabled ssl
BuildRequires: openssl-devel >= 0.9.6b
%endif

%if_enabled cyrus
BuildRequires: libsasl2-devel
%endif

%if_enabled gsasl
BuildRequires: libgsasl-devel >= 0.2.26
%endif

%if_enabled mysql
BuildRequires: libMySQL-devel
%endif

%if_enabled pgsql
BuildRequires: postgresql-devel
%endif

%if_enabled sqlite
BuildRequires: libsqlite3-devel
%endif

%if_enabled db
BuildRequires: libdb4-devel
%endif

%if_enabled ldap
BuildRequires: libldap-devel >= 2.1.0
%endif

%if_enabled pam
BuildRequires: libpam-devel
%endif

%if_enabled websocket
BuildRequires: libhttp-parser-devel
%endif

%if_enabled tests
BuildRequires: check
%endif

%package s2s
Summary: Server to Server package for jabberd2
License: GPL
Group: System/Servers
Requires: %name = %version-%release

%package c2s
Summary: Client to Server package for jabberd2
License: GPL
Group: System/Servers
Requires: %name = %version-%release  zlib >= 1.2.3
Obsoletes: %name-pipe %name-anon %name-db

%package sm
Summary: Session Manager package for jabberd2
License: GPL
Group: System/Servers
Requires: %name = %version-%release
Obsoletes: %name-fs %name-db

%package full
Summary: Full version of Jabberd2 (virtual package)
License: GPL
Group: System/Servers
Requires: %name = %version-%release
Requires: %name-s2s %name-c2s %name-sm
# %name-resolver

%if_enabled mysql
%package mysql
Summary: MySQL storage/auth driver for Jabberd2
License: GPL
Group: System/Servers
Requires: %name = %version-%release
%endif

%if_enabled pgsql
%package pgsql
Summary: PgSQL storage/auth driver for Jabberd2
License: GPL
Group: System/Servers
Requires: %name = %version-%release
%endif

%if_enabled sqlite
%package sqlite
Summary: SQLite storage/auth driver for Jabberd2
License: GPL
Group: System/Servers
Requires: %name = %version-%release
%endif

%if_enabled ldap
%package ldap
Summary: LDAP vcard/auth driver for Jabberd2
License: GPL
Group: System/Servers
Requires: %name = %version-%release
%endif

%if_enabled pam
%package pam
Summary: PAM auth driver for Jabberd2
License: GPL
Group: System/Servers
Requires: %name = %version-%release
%endif

%if_enabled oracle
%package oracle
Summary: Oracle(tm) storage driver for Jabberd2
License: GPL
Group: System/Servers
Requires: %name = %version-%release
%endif

%description
This is jabberd2 server.
Included router service for jabberd.
This service is act as router between other services.

NOTE: Each other service authenticated with user/password pair,
which is jabberd/secret by default.
You MUST change this to secure user/pass pair.
Please read %_docdir/UPGRADE before upgrade.

%description s2s
Server to Server service for jabberd.
This service is for connection you jabber server with another,
for data exchange and external roster entries.
This service uses resolver service.

%description c2s
Client to Server service for jabberd.
This service is for connection between Jabber protocol client and your server.
Authentication done by this service.
Anon, pipe, and db auth modules included.
You can install additional auth driver (See README.ALT-ru_RU.UTF8)

%description sm
Session Manager service for jabberd.
This service manages client sessions (last logout, roster and other)
Fs and db storage modules included.
You can install additional storage driver (See README.ALT-ru_RU.UTF8)

%description full
Full installation of jabberd2 (virtual package).

%if_enabled mysql
%description mysql
MySQL auth and storage module for Jabberd.

%endif

%if_enabled pgsql
%description pgsql
PgSQL auth and storage module for Jabberd.
%endif

%if_enabled sqlite
%description sqlite
SQLite auth and storage module for Jabberd.
%endif

%if_enabled ldap
%description ldap
LDAP auth and storage module for Jabberd.
%endif

%if_enabled pam
%description pam
PAM auth module for Jabberd.
%endif

%if_enabled oracle
%description oracle
Oracle auth and storage module for Jabberd.
%endif

%prep
%setup -q -n jabberd-%version
%__subst "s|@localstatedir@/jabberd/|@localstatedir@/%name/|g" etc/*.dist.in
# rename package jabberd -> jabberd2
%__subst "s|AC_INIT(\[jabberd\]|AC_INIT(\[jabberd2\]|g" configure.ac

#fix ldapvcard typo
%patch2 -p2
%patch3 -p2
#set db drivers by default
%patch4 -p1
#fix systemd dir location
%patch5 -p2
%patch6 -p0

%build
%autoreconf
%configure --sysconfdir=%_sysconfdir/%name \
	--bindir=%_libexecdir/%name \
	%{subst_enable debug} \
	%{subst_enable ssl} \
	%{subst_enable mysql} \
	%{subst_enable pgsql} \
	%{subst_enable sqlite} \
	%{subst_enable db} \
	%{subst_enable ldap} \
	%{subst_enable pam} \
	%{subst_enable pipe} \
	%{subst_enable anon} \
	%{subst_enable fs} \
	%{subst_enable oracle} \
	%{subst_enable websocket} \
	%{subst_enable tests}

%make_build

%install
%make install DESTDIR=%buildroot

mkdir -p %buildroot{%_docdir/%name-%version,%_jabber_server_dir}
install -m 0644 %SOURCE6 %buildroot%_docdir/%name-%version/README.ALT-ru_RU.UTF8
install %SOURCE7 %buildroot%_jabber_server_dir/jabberd2

# move all docs to %_docdir
mv tools/db* tools/*.pl tools/*.rb tools/*.schema tools/pam_jabberd %buildroot%_docdir/%name-%version/
mv README.md NEWS AUTHORS COPYING README.protocol TODO %buildroot%_docdir/%name-%version/

# delete the dist files of the configs
rm -f %buildroot/%_sysconfdir/%name/*.xml.dist
rm -f %buildroot/%_sysconfdir/%name/templates/*.xml.dist

# delete perl wrapper script's default config
rm -f %buildroot/%_sysconfdir/%name/jabberd.cfg*

# delete perl wrapper script's man page
rm -f %buildroot/%_man8dir/jabberd.8

# delete perl wrapper script lastly
rm -f %buildroot/%_bindir/jabberd

tar -xf %SOURCE1 -C %buildroot%_sysconfdir/%name
rm -f %buildroot%_sysconfdir/%name/jabber.cfg
install -m 0640 %SOURCE2 %buildroot%_sysconfdir/%name/

mkdir -p %buildroot%_localstatedir/jabberd2/{pid,spool,log,syslogs,db}
mkdir -p %buildroot%_var/run
ln -s $(relative %_localstatedir/jabberd2/pid %_var/run/%name) %buildroot%_var/run/%name
mkdir -p %buildroot%_var/log
ln -s $(relative %_localstatedir/jabberd2/log %_var/log/%name) %buildroot%_var/log/%name

mkdir -p %buildroot%_initdir
tar -xf %SOURCE3 -C %buildroot%_initdir
chmod +x %buildroot%_initdir/*

# fix systemd services naming
pushd %buildroot%_unitdir
for i in *.service; do 
	sed -i 's,\(jabberd\)\([\.\-]\),\12\2,g' "$i"; 
	mv "$i" "$(echo $i | sed 's,jabberd,%name,')"
done
popd

install -pD -m644 %SOURCE8 %buildroot%_sysconfdir/logrotate.d/%name

%pre
%_sbindir/groupadd -r -f jabberd2 \
    2>/dev/null ||:

%_sbindir/useradd -r -g jabberd2 -c 'Jabber2 server' \
	-d %_localstatedir/jabberd2 -s /dev/null jabberd2 2>/dev/null ||:

%post
%post_service %name
%_jabber_config

%preun
%preun_service %name-router
%preun_service %name

%post sm
%post_service %name-sm

%preun sm
%preun_service %name-sm

%post s2s
%post_service %name-s2s

%preun s2s
%preun_service %name-s2s

%post c2s
%post_service %name-c2s

%preun c2s
%preun_service %name-c2s

%files
%dir %_sysconfdir/%name
%attr(0640,root,jabberd2) %config(noreplace) %_sysconfdir/%name/jabberd.cfg
%dir %_sysconfdir/%name/cfg.d
%config %_sysconfdir/logrotate.d/%name
%_docdir/%name-%version/[^a-z]*
%_docdir/%name-%version/bdbdump.pl
%_docdir/%name-%version/pipe-auth.pl
#[^d][^b]*

%_initdir/%name
%_unitdir/%name.service
%dir %_libexecdir/%name
%dir %_localstatedir/jabberd2
%attr(2770,root,jabberd2) %dir %_localstatedir/jabberd2/*
%_var/run/jabberd2
%_var/log/jabberd2

# The package does not own its own docdir subdirectory.
# The line below is added by repocop to fix this bug in a straightforward way. 
# Another way is to rewrite the spec to use relative doc paths.
%doc %dir %_docdir/jabberd2-%version 


#files router
%attr(0640,root,jabberd2) %config(noreplace) %_sysconfdir/%name/cfg.d/01router.cfg
%attr(0640,root,jabberd2) %config(noreplace) %_sysconfdir/%name/router.xml
%attr(0640,root,jabberd2) %config(noreplace) %_sysconfdir/%name/router-users.xml
%attr(0640,root,jabberd2) %config(noreplace) %_sysconfdir/%name/router-filter.xml
%_libexecdir/%name/router
%_initdir/%name-router
%_unitdir/%name-router.service
%_jabber_server_dir/jabberd2
%_man8dir/router*

%files s2s
%attr(0640,root,jabberd2) %config(noreplace) %_sysconfdir/%name/cfg.d/*s2s*
%attr(0640,root,jabberd2) %config(noreplace) %_sysconfdir/%name/s2s.xml
%_libexecdir/%name/s2s
%_initdir/%name-s2s
%_unitdir/%name-s2s.service
%_man8dir/s2s*


%files c2s
%attr(0640,root,jabberd2) %config(noreplace) %_sysconfdir/%name/cfg.d/*c2s*
%attr(0640,root,jabberd2) %config(noreplace) %_sysconfdir/%name/c2s.xml
%_libexecdir/%name/c2s
%_initdir/%name-c2s
%_unitdir/%name-c2s.service
%if_enabled pipe
%_libdir/%name/*pipe.so*
%endif
%if_enabled anon
%_libdir/%name/*anon.so*
%endif
%if_enabled db
%_libdir/%name/authreg_db.so
%endif
%_man8dir/c2s*


%files sm
%attr(0640,root,jabberd2) %config(noreplace) %_sysconfdir/%name/cfg.d/*sm*
%attr(0640,root,jabberd2) %config(noreplace) %_sysconfdir/%name/sm.xml
%dir %_sysconfdir/%name/templates
%attr(0640,root,jabberd2) %config(noreplace) %_sysconfdir/%name/templates/*.xml
%_libexecdir/%name/sm
%_initdir/%name-sm
%_unitdir/%name-sm.service
%_libdir/%name/mod_*.so*
%_libdir/%name/libstorage.so*
%if_enabled fs
%_libdir/%name/*fs.so*
%endif
%if_enabled db
%_libdir/%name/storage_db.so
%endif
%_man8dir/sm*

%exclude %_libdir/%name/*.la

%files full
%if_enabled mysql
%files mysql
%_libdir/%name/*mysql.so*
%_docdir/%name-%version/db*.mysql
%_docdir/%name-%version/bdb2mysql.rb
%endif

%if_enabled pgsql
%files pgsql
%_libdir/%name/*pgsql.so*
%_docdir/%name-%version/db*.pgsql
%_docdir/%name-%version/db-jd14-2-jd2.sql
%endif

%if_enabled sqlite
%files sqlite
%_libdir/%name/*sqlite.so*
%_docdir/%name-%version/db*.sqlite
%_docdir/%name-%version/migrate-jd14dir-2-sqlite.pl
%endif

%if_enabled ldap
%files ldap
%_libdir/%name/*ldap*.so*
%_docdir/%name-%version/jabberd2.schema
%endif

%if_enabled pam
%files pam
%_libdir/%name/*pam.so*
%_docdir/%name-%version/jabberd-authpipe-pam-*.pl
%_docdir/%name-%version/pam_jabberd
%endif

%if_enabled oracle
%files oracle
%_libdir/%name/*oracle.so*
%_docdir/%name-%version/db*.oracle
%endif

%changelog
* Thu Feb 07 2019 Nikolai Kostrigin <nickel@altlinux.org> 2.7.0-alt2
- Fix FTBFS against libmysqlclient.so.21

* Mon Dec 10 2018 Grigory Ustinov <grenka@altlinux.org> 2.7.0-alt1
- Built new version.
- Built with openssl1.1.
- Built with libidn1.35.

* Tue Feb 27 2018 Alexey Shabalin <shaba@altlinux.ru> 2.6.1-alt1.git.d3a2b96
- Updated to 2.6.1

* Thu Oct 06 2016 L.A. Kostis <lakostis@altlinux.ru> 2.4.0-alt1.git.0a0fe40
- Updated to 2.4.0 GIT 0a0fe40 (closes #32451).
- Enabled WebSocket over SSL (wss://).
- Removed obsoleted patches (fixed by upstream):
  + jabberd2-alt-blowfish-no-asm.patch
  + jabberd2-alt-websocket-fix.patch

* Fri Aug 28 2015 L.A. Kostis <lakostis@altlinux.ru> 2.3.3-alt2.git.c4e9b0d
- Fix crypt_blowfish compile on x86 (disable asm code
  due missing x86.S).

* Fri Aug 28 2015 L.A. Kostis <lakostis@altlinux.ru> 2.3.3-alt1.git.c4e9b0d
- GIT snapshot c4e9b0d (mostly for Logjam attack fix).
- Added systemd units.

* Sun Apr 14 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 2.2.14-alt1.git.e21b878.qa1
- NMU: rebuilt with libmysqlclient.so.18.

* Wed Aug 22 2012 L.A. Kostis <lakostis@altlinux.ru> 2.2.17-alt1.git.aabcffa
- GIT snapshot aabcffa (Fixed possibility of Unsolicited Dialback
  Attack).

* Thu Jun 07 2012 L.A. Kostis <lakostis@altlinux.ru> 2.2.17-alt0.git.53dbe6e
- GIT snapshot 53dbe6e (Fix for invalid default router.xml).
- disable tests by default.

* Fri Mar 16 2012 L.A. Kostis <lakostis@altlinux.ru> 2.2.14-alt2.git.c8ad0e2
- GIT snapshot c8ad0e2 (Apple Chat Server improvements).
- cleanup ldapvcard storage patch from Gentoo.
* Mon Jan 16 2012 L.A. Kostis <lakostis@altlinux.ru> 2.2.14-alt1.git.e21b878
- GIT snapshot e21b878.
- fix init.d scripts permissions.

* Mon Jan 16 2012 L.A. Kostis <lakostis@altlinux.ru> 2.2.14-alt0.1.3
- storage/storage_ldapvcard.c: fix unresolved symbols.

* Sun Jan 15 2012 L.A. Kostis <lakostis@altlinux.ru> 2.2.14-alt0.1.2
- fix bad_elf_symbols.
- .spec cleanup.

* Thu Nov 17 2011 L.A. Kostis <lakostis@altlinux.ru> 2.2.14-alt0.1.1
- NMU: New version.

* Tue Dec 07 2010 Igor Vlasenko <viy@altlinux.ru> 2.2.9-alt2.1
- rebuild with new libmysqlclient by request of libmysqlclient maintainer

* Tue Sep 01 2009 Alexey Sidorov <alexsid@altlinux.ru> 2.2.9-alt2
- rebuild with libldap2.4

* Fri Jul 10 2009 Alexey Sidorov <alexsid@altlinux.ru> 2.2.9-alt1
- New version
- LSB header added
- configuration for logrotate added

* Wed Apr 29 2009 Alexey Sidorov <alexsid@altlinux.ru> 2.2.8-alt1
- New version

* Fri Jan 23 2009 Alexey Sidorov <alexsid@altlinux.ru> 2.2.5-alt1
- New version (big bugfix release)
- Fixed docdir owner

* Fri Dec 05 2008 Alexey Sidorov <alexsid@altlinux.ru> 2.2.4-alt1
- New version

* Sat Aug 09 2008 ALT QA Team Robot <qa-robot@altlinux.org> 2.2.2-alt1.1
- Automated rebuild due to libssl.so.6 -> libssl.so.7 soname change.

* Tue Jul 29 2008 Alexey Sidorov <alexsid@altlinux.ru> 2.2.2-alt1
- New version

* Mon Jul 21 2008 Alexey Sidorov <alexsid@altlinux.ru> 2.2.1-alt1
- New version

* Sat Jun 14 2008 ALT QA Team Robot <qa-robot@altlinux.org> 2.2.0-alt1.1
- Automated rebuild with libdb-4.7.so.

* Mon May 26 2008 Alexey Sidorov <alexsid@altlinux.ru> 2.2.0-alt1
- New version
- Merged asynchronous domain resolving in s2s component support
  (Using udns library instead jabberd2-resolver service)
- Some fixes around gsasl and other

* Mon Feb 04 2008 Alexey Sidorov <alexsid@altlinux.ru> 2.1.23-alt1
- New version

* Wed Jan 23 2008 Alexey Sidorov <alexsid@altlinux.ru> 2.1.22-alt1
- New version
- Fix #14131

* Wed Jan 09 2008 Alexey Sidorov <alexsid@altlinux.ru> 2.1.21-alt1
- full LDAP features (authentication & vcard storage)
- used gsasl instead of cyrus-sasl
- New autoconf
- Remove unnecessary perl wrapper script
- Move man pages and db install scripts to corresponding packages
- update jabber-config adapter (use xmlstarlet)

* Fri Nov 30 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.19-alt1
- New version

* Mon Oct 22 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.18-alt1
- New version
- Renew build method (use autoconf again)
- Remove unnecessary patches
- Implemented /webstatus service
- Fixes SASL problems
- Other bugfixes

* Tue Oct 02 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.17-alt1
- New version (bugfix release)

* Mon Sep 24 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.16-alt1
- New version
- Fixed offline message handling
- Implemented XEP-0138 Stream Compression support
- Other fixes and and XEP implementations

* Tue Aug 28 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.15-alt1
- New version (bugfixes)
- Check for SASL <response/> before <auth/>
- Fixed sha1 generation on 64 bit platforms
- Using OpenSSL MD5() implementation when available
- Using OpenSSL SHA1() implementation when available

* Wed Aug 15 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.14-alt1
- New version
- Fix configuration XML files domain update
- Fixed off-by-one error in base64
- Fixed many memleaks
- Changed SASL level error reporting to malformed-request error
- Other fixes

* Sat Jul 21 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.10-alt1
- New version

* Thu Jul 19 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.9-alt1
- New version 
- log improvements

* Wed Jul 05 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.7-alt1
- New version
- Defaulting MySQL connection to UTF-8
- Removed support for ZeroK authentication
- Ru docs and descriptions converted to UTF-8

* Tue May 17 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.6-alt1
- New version
- Removed jabberd-2.1.5-configure-error.patch (fixed by upstream)
- Clean up spec
- Remove autoreconf
- Reorganize moving */jabberd -> */jabberd2 and /bin/* -> /usr/libexec/jabberd2/*
  (moved from patch to configure options)

* Fri May 04 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.5-alt1
- New version
- Removed patch jabberd2-alt-storage-auth-modules.patch (included by upstream)
- Removed patch jabberd-2.0s11.include_pgsql.patch (fixed by upstream)

* Wed Apr 11 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.4-alt2
- Added coreutils to requires (May be fix #11360)

* Mon Apr 09 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.4-alt1
- New version
- some parts of patches included by upstream
- Added patch jabberd-2.1.4-small-error.patch
- Small spec cleaning

* Sat Apr 07 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.3-alt2
- Added su to requires (fix #11359)

* Tue Apr 03 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.3-alt1
- New version
- ALT Linux Jabber Policy package

* Thu Mar 29 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.2-alt3
- include anon,pipe,db auth drivers to c2s package, and fs,db driver to sm package.
  set db drivers by default
- include router module to main package

* Tue Mar 27 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.2-alt2
- Fixed BuildRequires for postgresql

* Wed Mar 21 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.2-alt1.1
- Small fix: auth/storage driver installation warning moved from jabberd2
  to corresponding packages (jabberd2-sm and jabberd2-c2s)

* Tue Mar 13 2007 Alexey Sidorov <alexsid@altlinux.ru> 2.1.2-alt1
- New version
- New packager
- Correct module structure for auth/storage

* Wed Dec 27 2006 Vadym Kononenko <vkonoenko@atlantic-link.com.ua> 2.1-alt0.1
- build new version

* Fri Mar 24 2006 Andrei Bulava <abulava@altlinux.ru> 2.0s11-alt1
- 2.0s11
- moved jabberd(8) (perl wrapper script's man page) to %%doc in order
  to avoid silly file conflict with jabber package

* Mon Dec 26 2005 Andrei Bulava <abulava@altlinux.ru> 2.0s10-alt2
- re-examined, cleaned up and fixed init scripts:
  + jabberd2: fixed 'restart'; implemented 'condstop' and 'condrestart';
    circuited 'reload' and 'condreload' to 'restart' and 'condrestart'
    accordingly
  + jabberd2-router: fixed 'restart'
  + jabberd2-{router,resolver,sm,s2s,c2s}: circuited 'reload' and
    'condreload' to 'restart' and 'condrestart' accordingly
- moved 'jabberd' perl wrapper script to %%doc, because it wasn't used
  to run jabberd2 components anyway
- spec fixes:
  + packaged relevant directories
  + fixed %%post and %%preun sections to provide proper behavior upon
    updates and removals of packages, though it requires unoptimum
    number of restarts

* Tue Dec 06 2005 Andrei Bulava <abulava@altlinux.ru> 2.0s10-alt1
- initial build for ALT Linux (thanks to Pavel Boldin <bp@> for good starting
  points)
- TODO: update alt-storage-modules patch or reconsider to wait for 2.1 branch