Package proftpd: 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
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
%define ver 1.3.3rel

Name: proftpd
Version: %ver
Release: alt2.qa1

%define _libexecdir %{expand:%_libdir}
%def_disable tests

%define def_shared() %{expand:%{?1:%%global mod_shared_list %{?mod_shared_list:%mod_shared_list:}%*}}%{expand:%%global _shared_%1 1}%{expand:%%global _with_%1 1}
%define def_static() %{expand:%{?1:%%global mod_static_list %{?mod_static_list:%mod_static_list:}%*}}%{expand:%%global _static_%1 1}%{expand:%%global _with_%1 1}

%def_static mod_auth_pam
%def_static mod_readme
%def_static mod_wrap

%def_shared mod_ctrls_admin
%def_shared mod_ifsession
%def_shared mod_ldap
%def_shared mod_quotatab
%def_shared mod_quotatab_file
%def_shared mod_quotatab_ldap
%def_shared mod_quotatab_sql
%def_shared mod_radius
%def_shared mod_ratio
%def_shared mod_rewrite
%def_shared mod_site_misc
%def_shared mod_sql
%def_shared mod_sql_mysql
#def_shared mod_sql_odbc
%def_shared mod_sql_passwd
%def_shared mod_sql_postgres
%def_shared mod_sql_sqlite
%def_shared mod_tls
%def_shared mod_tls_shmcache
%def_shared mod_facl
%def_shared mod_load
%def_shared mod_sftp
%def_shared mod_sftp_pam
%def_shared mod_sftp_sql
%def_shared mod_ban
%def_shared mod_dynmasq
%def_shared mod_exec
%def_shared mod_shaper
%def_shared mod_unique_id
#def_shared mod_wrap2
#def_shared mod_wrap2_file
#def_shared mod_wrap2_sql

Summary: ProFTPd -- Professional FTP Server
License: GPL
Group: System/Servers
Url: http://www.%name.org/

Source: %name-%ver.tar
Source1: %name.logrotate
Source2: %name.xinetd
Source3: %name.init
Source4: %name.pamd
Source5: %name-control
Source6: %name.conf

Patch1: %name-man.patch
Patch2: %name-1.3.3rc1-alt-pkgconfig-prefix.patch
Patch4: %name-ldap-config.patch
Patch5: %name-1.2.10-iconv.patch
Patch6: %name-1.3.2rc1-mod_sql_mysql.patch
Patch7: %name-1.3.2rc1-mod_sql_postgres.patch
Patch9: %name-1.3.0-alt-ltdl.patch

# Debian patches
Patch50: %name-deb-change_pam_name.patch
Patch51: %name-deb-core_create-home.patch

Provides: ftpserver
Requires: locale-en
PreReq: anonftp
AutoReq: yes, noshell

Packager: Afanasov Dmitry <ender@altlinux.org>

BuildRequires: gcc-c++ libncurses-devel libtinfo-devel zlib-devel libltdl-devel

%{?_with_mod_auth_pam:BuildRequires: pam-devel}
%{?_with_mod_wrap:BuildRequires: libwrap-devel}

%{?_with_mod_sql_mysql:BuildRequires: libMySQL-devel}
%{?_with_mod_ldap:BuildRequires: libldap-devel}
%{?_with_mod_sql_postgres:BuildRequires: libpq-devel postgresql-devel}
%{?_with_mod_tls:BuildRequires: libssl-devel}
%{?_with_mod_facl:BuildRequires: libacl-devel}
%{?_with_mod_sql_sqlite:BuildRequires: libsqlite3-devel}
%{?_with_mod_facl:BuildRequires: libacl-devel}

%description
ProFTPd is an enhanced FTP server with a focus toward simplicity, security,
and ease of configuration.  It features a very Apache-like configuration
syntax, and a highly customizable server infrastructure, including support for
multiple 'virtual' FTP servers, anonymous FTP, and permission-based directory
visibility.

This package will setup ProFTPd for both inetd and standalone operations.

%package -n %name-mod_ctrls_admin
Summary: Module implementing admin control handlers
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_ifsession
Summary: Module supporting conditional per-user/group/class configuration contexts
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_ldap
Summary: LDAP password lookup module for ProFTPD
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_quotatab
Summary: Module for managing FTP byte/file quotas via centralized tables
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_quotatab_file
Summary: Sub-module for managing quota data via file-based tables
Group: System/Servers
Requires: %name-mod_quotatab = %version-%release

%package -n %name-mod_quotatab_ldap
Summary: Sub-module for obtaining quota information from an LDAP directory
Group: System/Servers
Requires: %name-mod_quotatab = %version-%release

%package -n %name-mod_quotatab_sql
Summary: Sub-module for managing quota data via SQL-based tables
Group: System/Servers
Requires: %name-mod_quotatab = %version-%release

%package -n %name-mod_radius
Summary: Module for RADIUS authentication and accounting
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_ratio
Summary: Support upload/download ratios
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_rewrite
Summary: Module for rewriting FTP commands
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_site_misc
Summary: Module implementing miscellaneous SITE commands
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_sql
Summary: SQL frontend
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_sql_passwd
Summary: Enables support for some of OpenSSL password formats
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_sql_mysql
Summary: Support for connecting to MySQL databases
Group: System/Servers
Requires: %name-mod_sql = %version-%release

%package -n %name-mod_sql_postgres
Summary: Support for connecting to Postgres databases
Group: System/Servers
Requires: %name-mod_sql = %version-%release

%package -n %name-mod_tls
Summary: An RFC2228 SSL/TLS module for ProFTPD
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_facl
Summary: POSIX ACL checking code (aka POSIX.1e hell)
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_ban
Summary: A ProFTPD module implementing ban lists using the Controls API
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_dynmasq
Summary: A ProFTPD module for DynDNS configurations
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_load
Summary: System load handling module for ProFTPD
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_sftp
Summary: A ProFTPD module implementing sftp server
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_sftp_pam
Summary: PAM authorization for mod_sftp ProFTPD sub-module
Group: System/Servers
Requires: %name-mod_sftp = %version-%release

%package -n %name-mod_sftp_sql
Summary: SQL authorization for mod_sftp ProFTPD sub-module
Group: System/Servers
Requires: %name-mod_sftp = %version-%release

%package -n %name-mod_sql_sqlite
Summary: Support for using SQLite databases
Group: System/Servers
Requires: %name-mod_sql = %version-%release

%package -n %name-mod_tls_shmcache
Summary: Implements shared SSL session cache
Group: System/Servers
Requires: %name-mod_tls = %version-%release

%package -n %name-mod_exec
Summary: Executes external scripts
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_shaper
Summary: Implements rate throttling
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-mod_unique_id
Summary: Generates unique ids
Group: System/Servers
Requires: %name = %version-%release


%package -n %name-control
Summary: ProFTPD control facility
Group: System/Servers
Requires: %name = %version-%release

%package -n %name-devel
Summary: ProFTPD development header files
Group: System/Servers
Requires: %name = %version-%release

%description -n %name-mod_ctrls_admin
This module implements administrative control actions for the ftpdctl program.

%description -n %name-mod_ifsession
Module supporting conditional per-user/group/class configuration contexts

%description -n %name-mod_ldap
LDAP password lookup module for ProFTPD

%description -n %name-mod_quotatab
Module for managing FTP byte/file quotas via centralized tables

%description -n %name-mod_quotatab_file
Sub-module for managing quota data via file-based tables

%description -n %name-mod_quotatab_ldap
Sub-module for obtaining quota information from an LDAP directory

%description -n %name-mod_quotatab_sql
Sub-module for managing quota data via SQL-based tables

%description -n %name-mod_radius
Module for RADIUS authentication and accounting

%description -n %name-mod_ratio
Support upload/download ratios

%description -n %name-mod_rewrite
Module for rewriting FTP commands

%description -n %name-mod_site_misc
Module implementing miscellaneous SITE commands

%description -n %name-mod_sql
SQL frontend

%description -n %name-mod_sql_passwd
The mod_sql_passwd module provides support for some password formats, which are
not supported by mod_sql. Such as MD5 or SHA1 passwords, base64-encoded or
hex-encoded, without the prefix which is required by mod_sql's "OpenSSL" SQLAuthType. 
   
When the mod_sql_passwd module is enabled, you can configure SQLAuthTypes of
"MD5", "SHA1", "SHA256", or "SHA512", as well as the existing types supported
by mod_sql. 

%description -n %name-mod_sql_mysql
Support for connecting to MySQL databases

%description -n %name-mod_sql_postgres
Support for connecting to Postgres databases

%description -n %name-mod_tls
An RFC2228 SSL/TLS module for ProFTPD

%description -n %name-mod_facl
POSIX ACL checking code (aka POSIX.1e hell)

%description -n %name-mod_ban
Module implementing ban lists using the Controls API

%description -n %name-mod_dynmasq
Module for dynamically updating MasqueradeAddress configurations, as when
DynDNS names are used

%description -n %name-mod_load
Module for refusing connections based on system load

%description -n %name-mod_sftp
SFTP server implementation

%description -n %name-mod_sftp_pam
SFTP PAM authentication.

%description -n %name-mod_sftp_sql
SFTP SQL authentication.

%description -n %name-mod_sql_sqlite
SQLite backend.

%description -n %name-mod_tls_shmcache
Module which provides a shared SSL session cache using SysV shared memory

%description -n %name-mod_exec
Module for executing external scripts

%description -n %name-mod_shaper
Module implementing daemon-wide rate throttling via IPC

%description -n %name-mod_unique_id
Module for generating a unique ID for each FTP session.

%description -n %name-devel
ProFTPD development header files

%description -n %name-control
This package contains control rules for proftpd - Professional FTP Daemon

See control(8) for details.

%prep
%setup -q -n %name-%ver
%patch1 -p1
%patch2 -p1
%patch4 -p1
#patch5 -p1
%patch6 -p1
%patch7 -p1
#%%patch9 -p1

# debian patches
%patch50 -p1
%patch51 -p1

%build
#__libtoolize --ltdl
%__autoconf
%configure \
        %{?_enable_debug:--enable-devel} \
        %{subst_enable tests} \
        --libexecdir=%_libexecdir/%name \
        --with-pkgconfig=%_pkgconfigdir \
        --localstatedir=/var/run/proftpd \
        --enable-auth-pam \
        --enable-ctrls \
        --enable-largefile \
        --disable-rpath \
        --enable-autoshadow --enable-sendfile --enable-dso \
        --with-lastlog=/var/log/lastlog \
        --enable-openssl \
        --enable-nls \
        --enable-facl \
        --with-modules=%mod_static_list \
        --with-shared=%mod_shared_list

%__subst 's|^\(/var/tmp/proftpd-buildroot\)=.*$|\1=no|' libtool

%make

%install
myname=`id -un`
mygroup=`id -gn`

%make_install install DESTDIR=%buildroot INSTALL_USER=$myname INSTALL_GROUP=$mygroup

%__install -pD -m640 %SOURCE4 %buildroot%_sysconfdir/pam.d/%name
%__install -p -m644 -D %SOURCE6 %buildroot%_sysconfdir/%name.conf
%__install -p -m644 -D %SOURCE1 %buildroot%_sysconfdir/logrotate.d/%name
%__install -p -m644 -D %SOURCE2 %buildroot%_sysconfdir/xinetd.d/%name
%__install -p -m755 -D %SOURCE3 %buildroot%_initdir/%name
%__install -m755 contrib/xferstats.holger-preiss %buildroot%_sbindir

%__chmod 711 %buildroot%_sbindir/%name

%__ln_s -f %name %buildroot%_sbindir/in.%name
%__ln_s -f %name %buildroot%_sbindir/in.ftpd

install -pD -m755 %SOURCE5 %buildroot%_controldir/%name

echo >>%buildroot%_sysconfdir/ftpusers <<EOF
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
EOF

%__mkdir_p %buildroot/var/log/%name
%__rm -f %buildroot%_libexecdir/%name/*.a
#%%__rm -f %buildroot%_libexecdir/%name/*.la

%find_lang %name

%pre
if [ -e "%_controldir/%name" ]; then
    %pre_control %name
fi

%post
if grep -qe '^[[:blank:]]*CharsetLocal' %_sysconfdir/%name.conf; then
   echo "WARNING: iconv patch is disabled, do not use CharsetLocal/CharsetRemote" >&2
   echo "WARNING: see doc/modules/mod_lang.html for details" >&2
   echo "WARNING: autocommenting corresponding Options, please check" >&2
   %__subst 's/^\([[:blank:]]*CharsetLocal .*\)/# \1/' %_sysconfdir/%name.conf
   %__subst 's/^\([[:blank:]]*CharsetRemote .*\)/# \1/' %_sysconfdir/%name.conf
fi
if [ -e "%_controldir/%name" ]; then
    %post_control -s standalone %name
fi
%post_service %name

%preun
%preun_service %name

%files -f %name.lang
%doc README* ChangeLog INSTALL NEWS CREDITS doc/* contrib/README.*
%doc sample-configurations/* contrib/ftpasswd contrib/ftpquota
%attr(600,root,root) %config(noreplace) %_sysconfdir/%name.conf
%config(noreplace) %_sysconfdir/ftpusers
%config(noreplace) %_sysconfdir/pam.d/%name
%config(noreplace) %_initdir/%name
%config(noreplace) %_sysconfdir/xinetd.d/%name
%config(noreplace) %_sysconfdir/logrotate.d/%name
%_sbindir/*
%_bindir/ftp*
%_man1dir/ftpwho.*
%_man1dir/ftpcount.*
%_man1dir/ftptop.*
%_man5dir/xferlog.*
%_man8dir/%name.*
%_man8dir/ftpshut.*
%_man8dir/ftpdctl.*
%_man8dir/ftpscrub.*
%dir /var/run/%name
%dir /var/log/%name
%dir %_libexecdir/%name

%ifdef _shared_mod_ctrls_admin
%files -n %name-mod_ctrls_admin
%_libexecdir/%name/mod_ctrls_admin.*
%endif

%ifdef _shared_mod_ifsession
%files -n %name-mod_ifsession
%_libexecdir/%name/mod_ifsession.*
%endif

%ifdef _shared_mod_ldap
%files -n %name-mod_ldap
%_libexecdir/%name/mod_ldap.*
%endif

%ifdef _shared_mod_quotatab
%files -n %name-mod_quotatab
%_libexecdir/%name/mod_quotatab.*
%endif

%ifdef _shared_mod_quotatab_file
%files -n %name-mod_quotatab_file
%_libexecdir/%name/mod_quotatab_file.*
%endif

%ifdef _shared_mod_quotatab_ldap
%files -n %name-mod_quotatab_ldap
%_libexecdir/%name/mod_quotatab_ldap.*
%endif

%ifdef _shared_mod_quotatab_sql
%files -n %name-mod_quotatab_sql
%_libexecdir/%name/mod_quotatab_sql.*
%endif

%ifdef _shared_mod_radius
%files -n %name-mod_radius
%_libexecdir/%name/mod_radius.*
%endif

%ifdef _shared_mod_ratio
%files -n %name-mod_ratio
%_libexecdir/%name/mod_ratio.*
%endif

%ifdef _shared_mod_rewrite
%files -n %name-mod_rewrite
%_libexecdir/%name/mod_rewrite.*
%endif

%ifdef _shared_mod_site_misc
%files -n %name-mod_site_misc
%_libexecdir/%name/mod_site_misc.*
%endif

%ifdef _shared_mod_sql
%files -n %name-mod_sql
%_libexecdir/%name/mod_sql.*
%endif

%ifdef _shared_mod_sql_passwd
%files -n %name-mod_sql_passwd
%_libexecdir/%name/mod_sql_passwd.*
%endif

%ifdef _shared_mod_sql_mysql
%files -n %name-mod_sql_mysql
%_libexecdir/%name/mod_sql_mysql.*
%endif

%ifdef _shared_mod_sql_postgres
%files -n %name-mod_sql_postgres
%_libexecdir/%name/mod_sql_postgres.*
%endif

%ifdef _shared_mod_tls
%files -n %name-mod_tls
%_libexecdir/%name/mod_tls.*
%endif

%ifdef _shared_mod_facl
%files -n %name-mod_facl
%_libexecdir/%name/mod_facl.*
%endif

%ifdef _shared_mod_ban
%files -n %name-mod_ban
%_libexecdir/%name/mod_ban.*
%endif

%ifdef _shared_mod_dynmasq
%files -n %name-mod_dynmasq
%_libexecdir/%name/mod_dynmasq.*
%endif

%ifdef _shared_mod_load
%files -n %name-mod_load
%_libexecdir/%name/mod_load.*
%endif

%ifdef _shared_mod_sftp
%files -n %name-mod_sftp
%_libexecdir/%name/mod_sftp.*
%endif

%ifdef _shared_mod_sftp_pam
%files -n %name-mod_sftp_pam
%_libexecdir/%name/mod_sftp_pam.*
%endif

%ifdef _shared_mod_sftp_sql
%files -n %name-mod_sftp_sql
%_libexecdir/%name/mod_sftp_sql.*
%endif

%ifdef _shared_mod_sql_sqlite
%files -n %name-mod_sql_sqlite
%_libexecdir/%name/mod_sql_sqlite.*
%endif

%ifdef _shared_mod_tls_shmcache
%files -n %name-mod_tls_shmcache
%_libexecdir/%name/mod_tls_shmcache.*
%endif

%ifdef _shared_devel
%files -n %name-devel
%_libexecdir/%name/devel.*
%endif

%ifdef _shared_control
%files -n %name-control
%_libexecdir/%name/control.*
%endif

%ifdef _shared_mod_exec
%files -n %name-mod_exec
%_libexecdir/%name/mod_exec.*
%endif

%ifdef _shared_mod_shaper
%files -n %name-mod_shaper
%_libexecdir/%name/mod_shaper.*
%endif

%ifdef _shared_mod_unique_id
%files -n %name-mod_unique_id
%_libexecdir/%name/mod_unique_id.*
%endif


%files -n %name-devel
%_bindir/prxs
%_includedir/%name
%_pkgconfigdir/*

%files -n %name-control
%_controldir/%name

%changelog
* Sun Apr 14 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 1.3.3rel-alt2.qa1
- NMU: rebuilt with libmysqlclient.so.18.

* Thu Nov 04 2010 Afanasov Dmitry <ender@altlinux.org> 1.3.3rel-alt2
- 1.3.3c stable release (closes: #24471)

* Tue Mar 23 2010 Afanasov Dmitry <ender@altlinux.org> 1.3.3rel-alt1
- 1.3.3 stable release
- add mod_sql_passwd

* Tue Mar 23 2010 Afanasov Dmitry <ender@altlinux.org> 1.3.3rc3-alt2
- raise rlimit_as (closes: #23208)

* Sat Dec 19 2009 Afanasov Dmitry <ender@altlinux.org> 1.3.3rc3-alt1
- 1.3.3rc3

* Tue Nov 17 2009 Afanasov Dmitry <ender@altlinux.org> 1.3.3rc2-alt1
- 1.3.3rc2

* Mon Oct 12 2009 Afanasov Dmitry <ender@altlinux.org> 1.3.3rc1-alt3
- fix initscript with new pidfile location (Closes: #21910)

* Thu Sep 03 2009 Afanasov Dmitry <ender@altlinux.org> 1.3.3rc1-alt2
- rebuild mod_ldap with libldap v2.4

* Mon Jul 20 2009 Afanasov Dmitry <ender@altlinux.org> 1.3.3rc1-alt1
- 1.3.3rc1
- build shared modules: mod_sftp, mod_sql_sqlite, mod_load, mod_ban,
  mod_dynmasq and others
- enable LangEngine in default config
- add patch alt-pkgconfig-prefix that prevents unnesessary prefix adding to
  pkgconfigdir.
- remove patches:
  + proftpd-typo-prxs (applied in upstream)

* Fri Feb 06 2009 Afanasov Dmitry <ender@altlinux.org> 1.3.2rel-alt1
- stable release
  + fixed encoding-dependent SQL injection vulnerability

* Tue Jan 27 2009 Afanasov Dmitry <ender@altlinux.org> 1.3.2rc4-alt1
- 1.3.2rc4
- remove O_CREATE patch (applied in upstream)

* Fri Nov 21 2008 Afanasov Dmitry <ender@altlinux.org> 1.3.2rc3-alt1
- build new version.

* Mon Nov 17 2008 Afanasov Dmitry <ender@altlinux.org> 1.3.2rc2-alt4
- fix build (open with O_CREAT)
- change packager

* Sun Nov 02 2008 Afanasov Dmitry <ender@altlinux.org> 1.3.2rc2-alt3
- package locale files for mod_lang.c

* Wed Sep 24 2008 Afanasov Dmitry <ender@altlinux.org> 1.3.2rc2-alt2
- comment AuthPAMConfig in default config
- change AuthPAMConfig value to 'proftpd'
- change session string to pam_tcb.so in pam config

* Tue Sep 23 2008 Afanasov Dmitry <ender@altlinux.org> 1.3.2rc2-alt1
- 1.3.2rc2

* Sun Sep 21 2008 Afanasov Dmitry <ender@altlinux.org> 1.3.2rc1-alt2
- merged lakostis@ changes

* Sat Sep 20 2008 L.A. Kostis <lakostis@altlinux.ru> 1.3.2rc1-alt1.1
- rollback -ltdl patch (again).

* Wed Sep 10 2008 Afanasov Dmitry <ender@altlinux.org> 1.3.2rc1-alt1
- build new version
- removed patches (merged upstream):
    - ctrls-restart
    - deb-SA23141
    - deb-CORE-2006-1127
    - deb-auth_fix
    - deb-auth_loop
    - deb-auth_cache (http://secunia.com/advisories/24867)
- removed HAVE_OPENSSL flag (pass --enable-openssl to configure script)
- built with --enable-nls (mod_lang)
- introduced devel subpackage (pkgconfig file included)
- use system libltdl from now on
- disabled iconv patch due to mod_lang features (doc/modules/mod_lang.html)
- added control facility (not depend from main package and requires
  independent install)

* Wed May 16 2007 L.A. Kostis <lakostis@altlinux.ru> 1.3.0rel-alt2
- 1.3.0a stable release.
- rollback alt-ltdl patch (use alternate variant).
- don't delete *.la files (due lt_dlopenext breakage in this case).
- remove previous CVE-2006-5815 fixes, use variant from Debian.
- change packager.
- cleanup obsoleted Conflicts.
- change pam service name to more appropriate.
- Add a bunch of Debian patches:
   - proftpd-deb-core_create-home.patch: to support script exec on home creation.
   - proftpd-1.3.0-deb-cve_2006_5815.patch: See
     http://bugs.proftpd.org/show_bug.cgi?id=2858 for details.
   - proftpd-1.3.0-deb-SA22803.patch: security bug Secunia SA22803 advisory
     (sreplace() abuse).
   - proftpd-1.3.0-deb-SA23141.patch: Secunia SA23141 advisory (mod_tls abuse).
   - proftpd-1.3.0-deb-CORE-2006-1127.patch: ProFTPD Controls Buffer Overflow,
     locally exploitable. This is fixed in 1.3.1.
   - proftpd-1.3.0-deb-auth-fix.patch: auth_fix (fixes taken from 1.3.1rc1).
     (cfr http://bugs.proftpd.org/show_bug.cgi?id=2721)
   - proftpd-1.3.0-deb-auth-loop.patch: avoid endless loop in auth modules.
   - proftpd-1.3.0-deb-auth-cache.patch: See
     http://bugs.proftpd.org/show_bug.cgi?id=2922 (ALT #11558).

* Fri Mar 30 2007 ALT QA Team Robot <qa-robot@altlinux.org> 1.3.0rel-alt1.3.1.0
- Fixed postgresql build dependencies.
- Rebuilt due to libpq.so.4 -> libpq.so.5 soname change.

* Fri Dec 29 2006 ALT QA Team Robot <qa-robot@altlinux.org> 1.3.0rel-alt1.3.1
- Rebuilt due to libcrypto.so.4 -> libcrypto.so.6 soname change.

* Tue Nov 14 2006 L.A. Kostis <lakostis@altlinux.org> 1.3.0rel-alt1.3
- fix null reference in CVE-2006-5815 patch made by upstream.

* Mon Nov 13 2006 L.A. Kostis <lakostis@altlinux.org> 1.3.0rel-alt1.2
- Security fix for CVE-2006-5815 ("CommandBufferSize" Directive Remote Code
  Execution Vulnerability).

* Tue Aug 29 2006 LAKostis <lakostis at altlinux.org> 1.3.0rel-alt1.1
- fix %%setup.

* Mon Aug 28 2006 LAKostis <lakostis at altlinux.org> 1.3.0rel-alt1
- NMU;
- Change versioning due rpmvercmp complaints.

* Sun Aug 27 2006 LAKostis <lakostis at altlinux.org> 1.3.0-alt1
- NMU;
- 1.3.0;
- use system libltdl;
- update -conf patch for DSO changes (fixes #9825);
- add ctrls-restart.patch;
- use autoconf due changed configure.in.

* Mon Jun 12 2006 ALT QA Team Robot <qa-robot@altlinux.org> 1.3.0rc3-alt1.1.1
- Rebuilt with libldap-2.3.so.0.

* Thu Jan 12 2006 ALT QA Team Robot <qa-robot@altlinux.org> 1.3.0rc3-alt1.1
- Rebuilt for new style PAM dependencies generated by rpm-build-4.0.4-alt55.

* Thu Dec 08 2005 Konstantin Timoshenko <kt@altlinux.ru> 1.3.0rc3-alt1
- 1.3.0rc3

* Mon Oct 17 2005 Konstantin Timoshenko <kt@altlinux.ru> 1.3.0rc2-alt1
- 1.3.0rc2

* Mon May 30 2005 Konstantin Timoshenko <kt@altlinux.ru> 1.3.0rc1-alt2
- rebuild with libpq4-devel

* Mon Apr 18 2005 Konstantin Timoshenko <kt@altlinux.ru> 1.3.0rc1-alt1
- 1.3.10rc1
- add local <-> remote charset conversion patch
- Multi package creation.

* Thu May 06 2004 Konstantin Timoshenko <kt@altlinux.ru> 1.2.10rc1-alt2
- rebuild with glibc-2.3

* Fri Apr 30 2004 Konstantin Timoshenko <kt@altlinux.ru> 1.2.10rc1-alt1
- 1.2.10rc1

* Fri Oct 31 2003 Konstantin Timoshenko <kt@altlinux.ru> 1.2.9release-alt1
- 1.2.9 release

* Mon Oct 21 2003 Konstantin Timoshenko <kt@altlinux.ru> 1.2.9rc3-alt1
- 1.2.9rc3

* Wed Sep 24 2003 Konstantin Timoshenko <kt@altlinux.ru> 1.2.9rc2-alt3
- security fix

* Fri Sep 19 2003 Konstantin Timoshenko <kt@altlinux.ru> 1.2.9rc2-alt2
- fix wrong prereq.

* Mon Sep 15 2003 Konstantin Timoshenko <kt@altlinux.ru> 1.2.9rc2-alt1
- 1.2.9rc2

* Tue Jul 29 2003 Konstantin Timoshenko <kt@altlinux.ru> 1.2.9rc1-alt1
- 1.2.9rc1
- Rewritten start/stop script to new rc scheme.

* Wed Mar 12 2003 Konstantin Timoshenko <kt@altlinux.ru> 1.2.8release-alt1
- 1.2.8 release

* Fri Feb 07 2003 Konstantin Timoshenko <kt@altlinux.ru> 1.2.8-alt2.rc1
- fix logrotate config.

* Mon Jan 20 2003 Konstantin Timoshenko <kt@altlinux.ru> 1.2.8-alt1.rc1
- 1.2.8rc1

* Mon Nov 11 2002 Konstantin Timoshenko <kt@altlinux.ru> 1.2.7-alt2.rc2
- rebuild with libwrap

* Thu Oct 24 2002 Konstantin Timoshenko <kt@altlinux.ru> 1.2.7-alt1.rc2
- 1.2.7rc2

* Tue Oct 22 2002 Konstantin Timoshenko <kt@altlinux.ru> 1.2.7-alt1.rc1
- 1.2.7rc1

* Mon Sep 16 2002 Konstantin Timoshenko <kt@altlinux.ru> 1.2.6release-alt1
- 1.2.6 release

* Mon Aug 19 2002 Konstantin Timoshenko <kt@altlinux.ru> 1.2.6rc2-alt1
- 1.2.6rc2

* Fri May 31 2002 Konstantin Timoshenko <kt@altlinux.ru> 1.2.5rc3-alt1
- 1.2.5rc3

* Tue May 14 2002 Konstantin Timoshenko <kt@altlinux.ru> 1.2.5rc2-alt1
- 1.2.5rc2
- Re-enable sendfile.

* Mon May 13 2002 Konstantin Timoshenko <kt@altlinux.ru> 1.2.5rc1-alt2
- apply patch from CVS to fix bug with users being unable to overwrite files
  they have permission to (patch #7)
- remove --enable-sendfile from configure

* Thu Dec 20 2001 Konstantin Timoshenko <kt@altlinux.ru> 1.2.5rc1-alt1
- 1.2.5rc1.
- mod_wrap 1.2.3.
- fix pam configuration.

* Wed Dec 19 2001 Dmitry V. Levin <ldv@alt-linux.org> 1.2.4-alt2
- Fixed glob problem.
- Updated pam configuration (needs checking).

* Mon Oct 22 2001 Konstantin Timoshenko <kt@altlinux.ru> 1.2.4-alt1
- 1.2.4

* Fri Oct 19 2001 Konstantin Timoshenko <kt@altlinux.ru> 1.2.3-alt1
- 1.2.3

* Wed Oct  3 2001 Kostya Timoshenko <kt@altlinux.ru> 1.2.2-alt3
- Enable AllowStoreRestart so FTP resume works.

* Fri Aug 31 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.2.2-alt2
- Added "rlimit_as = 16M" to xinetd config.
- Fixed %%post/%%preun scripts.

* Tue Aug 21 2001 Kostya Timoshenko <kt@altlinux.ru> 1.2.2-alt1
- 1.2.2.
- added LDAP support v2.7.6
- added LDAP configuration directives to proftpd.conf
- patched makefile to compile mod_ldap

* Tue Apr 24 2001 Kostya Timoshenko <kt@altlinux.ru> 1.2.2rc2-alt1
- 1.2.2rc2

* Sun Mar 25 2001 Kostya Timoshenko <kt@petr.kz> 1.2.2rc1-ipl1mdk
- 1.2.2rc1
- fix configs to use nobody.nobody not nobody.nogroup to run as nogroup
  seems to no longer exist

* Fri Mar 16 2001 Kostya Timoshenko <kt@petr.kz> 1.2.1-ipl3mdk
- fix workaround for ls bug

* Sun Mar 11 2001 Kostya Timoshenko <kt@petr.kz> 1.2.1-ipl2mdk
- Don't enable Anonymous login by default.
- URL change from .net -> .org
- remove chkconfig entry

* Mon Mar  5 2001 Kostya Timoshenko <kt@petr.kz> 1.2.1-ipl1mdk
- 1.2.1
- fix xinetd config

* Wed Feb 28 2001 Kostya Timoshenko <kt@petr.kz> 1.2.0-ipl1mdk
- 1.2.0 final version

* Mon Feb 12 2001 Kostya Timoshenko <kt@petr.kz> 1.2.0rc3-ipl1mdk
- 1.2.0rc3: security update

* Wed Jan 24 2001 Kostya Timoshenko <kt@petr.kz>
- fix PASV mode bug

* Tue Jan 23 2001 Kostya Timoshenko <kt@petr.kz>
- fix proftpd.init
- rebuild for RE

* Wed Nov 01 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.2.0rc2-9mdk
- fix the anonymous login in proftpd configuration files.

* Wed Sep 27 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.2.0rc2-7mdk
- really fix inetd problem. We remnove it from /etc/inetd.conf, and let it
  run instandalone mode which seems to work quite fine ...

* Fri Sep 22 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.2.0rc2-6mdk
- really add the xinetd entry.

* Thu Sep 21 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.2.0rc2-5mdk
- include the chkconfig entry, but don't run chkconfig by default.
- add an xinetd entry.
- re-add the inetd.conf entry ...

* Fri Sep 15 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.2.0rc2-4mdk
- rebuild for the Big Move (tm) and hope that I don't break anything.
- remove inetd.conf entry (again, hoping that I don't break anything.)

* Tue Aug 29 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.2.0rc2-3mdk
- use of _initrddir.

* Wed Aug 23 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.2.0rc2-2mdk
- quick and ugly hack to fix wu-ftpd breakage when proftpd is uninstalled.
- change the description as the AUTH patch is no longer here.

* Sat Jul 29 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.2.0rc2-1mdk
- new version
- remove the packager tag (vincentscks)

* Wed Jul 19 2000 Vincent Danen <vdanen@mandrakesoft.com> 1.2.0rc1-3mdk
- rebuild for directory changes

* Tue Jul 18 2000 Vincent Danen <vdanen@mandrakesoft.com> 1.2.0rc1-2mdk
- add directory /var/log/proftpd
- add home directory /home/ftp
- add conflicts with anonftp
- fix so can install as nonroot
- add --enable-autoshadow to configure

* Wed Jul 12 2000 Vincent Danen <vdanen@mandrakesoft.com> 1.2.0rc1-1mdk
- 1.2.0rc1
- macroization
- remove directory /home/ftp since we don't need it

* Fri Jun 30 2000 Vincent Danen <vdanen@linux-mandrake.com> 1.2.0pre10-2mdk
- merge with .spec file from Geoffrey Lee <snailtalk@linux-mandrake.com>:
- add logrotate entry
- add symlinks to in.proftpd and in.ftpd
- on uninstall, run /etc/rc.d/init.d/proftpd stop prior to uninstall
- compile with mod_pam support
- add Conflicts: wu-ftpd, ncftpd, beroftpd

* Fri May  5 2000 Vincent Danen <vdanen@linux-mandrake.com> 1.2.0pre10-1mdk
- build for Mandrake
- bzip sources
- bzip manpages
- remove multi-package creation.  one package does all... updates
  /etc/inetd.conf but defaults to standalone server type

* Thu Oct 3 1999 O.Elliyasa <osman@Cable.EU.org>
- Multi package creation.
  Created core, standalone, inetd (&doc) package creations.
  Added startup script for init.d
  Need to make the "standalone & inetd" packages being created as "noarch"
- Added URL.
- Added prefix to make the package relocatable.

* Wed Sep 8 1999 O.Elliyasa <osman@Cable.EU.org>
- Corrected inetd.conf line addition/change logic.

* Sat Jul 24 1999 MacGyver <macgyver@tos.net>
- Initial import of spec.