/
proftpd.spec
656 lines (577 loc) · 22 KB
/
proftpd.spec
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
# $Id: proftpd.spec,v 1.90 2014-05-15 15:53:13 castaglia Exp $
# Module List:
#
# Dynamic modules with no/minimal additional build or runtime dependencies, always built
# mod_auth_pam
# mod_ban
# mod_ctrls_admin
# mod_exec
# mod_facl
# mod_ifsession
# mod_load
# mod_quotatab
# mod_quotatab_file
# mod_quotatab_radius
# mod_quotatab_sql
# mod_radius
# mod_ratio
# mod_readme
# mod_rewrite
# mod_shaper
# mod_site_misc
# mod_sql
# mod_sql_passwd
# mod_wrap2
# mod_wrap2_file
# mod_wrap2_sql
#
# Dynamic modules with additional build or runtime dependencies, not built by default
#
# mod_ldap (needs openldap [--with ldap])
# mod_quotatab_ldap (needs openldap [--with ldap])
# mod_sftp (needs openssl [--with ssl])
# mod_sftp_pam (needs openssl [--with ssl])
# mod_sftp_sql (needs openssl [--with ssl])
# mod_sql_mysql (needs mysql client libraries [--with mysql])
# mod_sql_postgres (needs postgresql client libraries [--with postgresql])
# mod_tls (needs openssl [--with ssl])
# mod_tls_shmcache (needs openssl [--with ssl])
# mod_wrap (needs tcp_wrappers [--with wrap])
#
# Note: ALL optional features can be enabled using --with everything
# RHEL5 and clones don't have suitably recent versions of pcre/libmemcached
# so use --with rhel5 to inhibit those features when using --with everything
%global proftpd_version 1.3.6
# When doing a stable or maint release, this line is to be commented out.
# When doing an RC, define it to be e.g. 'rc2'.
#
# NOTE: rpmbuild is really bloody stupid, and CANNOT handle a leading '#'
# character followed by a '%' character.
%global release_cand_version rc1
%global usecvsversion 0%{?_with_cvs:1}
%global proftpd_cvs_version_main 1.3.6
%global proftpd_cvs_version_date 20150527
# Spec default assumes that a gzipped tarball is used, since nightly CVS builds,
# release candidates and stable/maint releases are all available in that form;
# to use a differently-compressed tarball, specify "srcext" at build time, e.g.
# rpmbuild -tb --define 'srcext .bz2' proftpd-nnn.tar.bz2
%{!?srcext:%global srcext .gz}
# Handle optional functionality
#
# --with everything (for all optional functionality)
# --with rhel5 inhibits features not available on RHEL5 and clones
# --with rhel6 inhibits features not available on RHEL6 and clones
%if 0%{?_with_everything:1}
%global _with_ldap 1
%if 0%{!?_with_rhel5:1} && 0%{!?_with_rhel6:1}
%global _with_memcache 1
%endif
%global _with_mysql 1
%if 0%{!?_with_rhel5:1}
%global _with_pcre 1
%endif
%global _with_postgresql 1
%global _with_ssl 1
%global _with_wrap 1
%endif
#
# --with ldap (for mod_ldap, mod_quotatab_ldap)
%if 0%{?_with_ldap:1}
BuildRequires: openldap-devel
%endif
#
# --with memcache (for mod_memcache, mod_tls_memcache)
%if 0%{?_with_memcache:1}
BuildRequires: libmemcached-devel >= 0.41
%endif
#
# --with mysql (for mod_sql_mysql)
%if 0%{?_with_mysql:1}
BuildRequires: mysql-devel
%endif
#
# --with pcre (to use pcre rather than glibc regex engine)
%if 0%{?_with_pcre:1}
BuildRequires: pcre-devel >= 7.0
%endif
#
# --with postgresql (for mod_sql_postgres)
%if 0%{?_with_postgresql:1}
BuildRequires: postgresql-devel
%endif
#
# --with ssl (for mod_sftp, mod_sftp_pam, mod_sftp_sql, mod_sql_passwd, mod_tls, mod_tls_shmcache)
%if 0%{?_with_ssl:1}
BuildRequires: openssl-devel
%endif
#
# --with wrap (for mod_wrap)
%if 0%{?_with_wrap:1}
# This header file might be in package tcp_wrappers or tcp_wrappers-devel
BuildRequires: /usr/include/tcpd.h
%endif
# Assume init is systemd if /run/lock exists, else SysV
%global use_systemd %([ -d /run/lock ] && echo 1 || echo 0)
# rundir is /run/proftpd under systemd, else %%{_localstatedir}/run/proftpd
%if %{use_systemd}
%global rundir /run/proftpd
%else
%global rundir %{_localstatedir}/run/proftpd
%endif
Summary: ProFTPD - Professional FTP Server
Name: proftpd
License: GPLv2+
Group: System Environment/Daemons
Packager: The ProFTPD Project <core@proftpd.org>
Vendor: The ProFTPD Project
URL: http://www.proftpd.org/
%if %{usecvsversion}
Version: %{proftpd_cvs_version_main}
Release: 0.1.cvs%{proftpd_cvs_version_date}%{?dist}
Source0: ftp://ftp.proftpd.org/devel/source/proftpd-cvs-%{proftpd_cvs_version_date}.tar%{srcext}
%else
Version: %{proftpd_version}
Release: %{?release_cand_version:0.}1%{?release_cand_version:.%{release_cand_version}}%{?dist}
Source0: ftp://ftp.proftpd.org/distrib/source/proftpd-%{version}%{?release_cand_version}.tar%{srcext}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: pam >= 0.99, /sbin/chkconfig
Requires(preun): coreutils, findutils
%if %{use_systemd}
BuildRequires: systemd-units
Requires: systemd-units
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
%else
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/service, /sbin/chkconfig
Requires(postun): /sbin/service
%endif
BuildRequires: gettext, pkgconfig, pam-devel, ncurses-devel, zlib-devel
BuildRequires: libacl-devel, libcap-devel
Provides: ftpserver
Obsoletes: proftpd-core < %{version}-%{release}, proftpd-standalone < %{version}-%{release}, proftpd-inetd < %{version}-%{release}
Provides: proftpd-core = %{version}-%{release}, proftpd-standalone = %{version}-%{release}, proftpd-inetd = %{version}-%{release}
%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 defaults to the standalone behavior of ProFTPD, but all the
needed scripts to have it run by xinetd instead are included.
Modules requiring additional dependencies such as mod_sql_mysql, mod_ldap,
etc. are in separate sub-packages so as not to inconvenience users that
do not need that functionality.
%if 0%{?_with_ldap:1}
%package ldap
Summary: ProFTPD - Modules relying on LDAP
Group: System Environment/Daemons
Requires: proftpd = %{version}-%{release}
%description ldap
This optional package contains the modules using LDAP.
%endif
%if 0%{?_with_mysql:1}
%package mysql
Summary: ProFTPD - Modules relying on MySQL
Group: System Environment/Daemons
Requires: proftpd = %{version}-%{release}
%description mysql
This optional package contains the modules using MySQL.
%endif
%if 0%{?_with_postgresql:1}
%package postgresql
Summary: ProFTPD - Modules relying on PostgreSQL
Group: System Environment/Daemons
Requires: proftpd = %{version}-%{release}
%description postgresql
This optional package contains the modules using PostgreSQL.
%endif
%if 0%{?_with_wrap:1}
%package wrap
Summary: ProFTPD - Modules relying on TCP Wrappers
Group: System Environment/Daemons
Requires: proftpd = %{version}-%{release}
%description wrap
This optional package contains the modules using tcpwrappers/libwrap.
%endif
%package devel
Summary: ProFTPD - Tools and header files for developers
Group: Development/Libraries
Requires: proftpd = %{version}-%{release}
# devel package requires the same devel packages as were build-required
# for the main package
Requires: gcc, libtool
Requires: libacl-devel
Requires: libcap-devel
Requires: pkgconfig
Requires: pam-devel
Requires: ncurses-devel
Requires: zlib-devel
%{?_with_ldap:Requires: openldap-devel}
%{?_with_memcache:Requires: libmemcached-devel >= 0.41}
%{?_with_mysql:Requires: mysql-devel}
%{?_with_pcre:Requires: pcre-devel >= 7.0}
%{?_with_postgresql:Requires: postgresql-devel}
%{?_with_ssl:Requires: openssl-devel}
%{?_with_wrap:Requires: /usr/include/tcpd.h}
%description devel
This package is required to develop additional modules for ProFTPD.
%package utils
Summary: ProFTPD - Additional utilities
Group: System Environment/Daemons
Requires: proftpd = %{version}-%{release}
%description utils
This package contains additional utilities for monitoring and configuring the
ProFTPD server:
* ftpasswd: generate passwd(5) files for use with AuthUserFile
* ftpcount: show the current number of connections per server/virtualhost
* ftpmail: monitor transfer log and send email when files uploaded
* ftpquota: manipulate quota tables
* ftptop: show the current status of FTP sessions
* ftpwho: show the current process information for each FTP session
%prep
%if %{usecvsversion}
%setup -q -n %{name}-%{proftpd_cvs_version_main}
%else
%setup -q -n %{name}-%{version}%{?release_cand_version}
%endif
# Avoid documentation name conflicts
mv contrib/README contrib/README.contrib
# Prefer documentation to be UTF-8 encoded
iconv -f iso-8859-1 -t utf-8 < ChangeLog > ChangeLog.utf-8
mv ChangeLog ChangeLog.iso-8859-1
mv ChangeLog.utf-8 ChangeLog
# Default PAM configuration file uses password-auth common config;
# revert to system-auth if password-auth is not available
if [ ! -f /etc/pam.d/password-auth ]; then
sed -i -e s/password-auth/system-auth/ contrib/dist/rpm/proftpd.pam
fi
# Compile the module list (note: mod_ifsession is always included - last)
STANDARD_MODULE_LIST=" mod_auth_pam \
mod_ban \
mod_ctrls_admin \
mod_exec \
mod_facl \
mod_load \
mod_quotatab \
mod_quotatab_file \
mod_quotatab_radius \
mod_quotatab_sql \
mod_radius \
mod_ratio \
mod_readme \
mod_rewrite \
mod_shaper \
mod_site_misc \
mod_sql \
mod_wrap2 \
mod_wrap2_file \
mod_wrap2_sql "
OPTIONAL_MODULE_LIST=" \
%{?_with_ldap: mod_ldap} \
%{?_with_ldap: mod_quotatab_ldap} \
%{?_with_ssl: mod_sftp} \
%{?_with_ssl: mod_sftp_pam} \
%{?_with_ssl: mod_sftp_sql} \
%{?_with_mysql: mod_sql_mysql} \
%{?_with_ssl: mod_sql_passwd} \
%{?_with_postgresql: mod_sql_postgres} \
%{?_with_ssl: mod_tls} \
%{?_with_ssl: mod_tls_shmcache} \
%{?_with_ssl:%{?_with_memcache:mod_tls_memcache}} \
%{?_with_wrap: mod_wrap} "
MODULE_LIST=$(echo ${STANDARD_MODULE_LIST} ${OPTIONAL_MODULE_LIST} mod_ifsession | tr -s '[:space:]' ':' | sed 's/:$//')
%configure \
--libexecdir=%{_libexecdir}/proftpd \
--localstatedir=%{rundir} \
--disable-strip \
--enable-ctrls \
--enable-dso \
--enable-facl \
--enable-ipv6 \
--enable-nls \
%{?_with_memcache:--enable-memcache} \
%{?_with_pcre:--enable-pcre} \
%{?_with_ssl:--enable-openssl} \
--enable-shadow \
--with-lastlog \
--with-libraries=%{_libdir}/mysql \
--with-includes=%{_includedir}/mysql \
--with-pkgconfig=%{_lib}/pkgconfig \
--with-shared=${MODULE_LIST}
%build
make
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} rundir=%{rundir} \
INSTALL_USER=`id -un` INSTALL_GROUP=`id -gn` \
INSTALL="install -p" \
install
# Red Hat style distributions use PAM so install a PAM configuration
mkdir -p %{buildroot}/etc/pam.d
install -p -m 644 contrib/dist/rpm/proftpd.pam %{buildroot}/etc/pam.d/proftpd
# Use the basic-pam config as a default
install -m 644 contrib/dist/rpm/basic-pam.conf %{buildroot}/etc/proftpd.conf
%if %{use_systemd}
# Systemd unit file
mkdir -p %{buildroot}%{_unitdir}
install -p -m 644 contrib/dist/rpm/proftpd.service \
%{buildroot}%{_unitdir}/proftpd.service
# Ensure /run/proftpd exists
mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
install -p -m 644 contrib/dist/rpm/proftpd-tmpfs.conf \
%{buildroot}%{_sysconfdir}/tmpfiles.d/proftpd.conf
%else
# SysV initscript
mkdir -p %{buildroot}/etc/rc.d/init.d
install -p -m 755 contrib/dist/rpm/proftpd.init.d \
%{buildroot}/etc/rc.d/init.d/proftpd
%endif
# xinetd configuration for socket-based activation (not used by default)
mkdir -p %{buildroot}/etc/xinetd.d/
install -p -m 644 contrib/dist/rpm/xinetd %{buildroot}/etc/xinetd.d/proftpd
# Rotate the logs periodically
mkdir -p %{buildroot}/etc/logrotate.d/
install -p -m 644 contrib/dist/rpm/proftpd.logrotate %{buildroot}/etc/logrotate.d/proftpd
# Create anonymous ftp area
mkdir -p %{buildroot}%{_localstatedir}/ftp/pub/
# Find translations
%find_lang proftpd
# We do not want this dangling symlink to make it into the RPM
rm -f contrib/README.mod_sql
%post
%if %{use_systemd}
/bin/systemctl daemon-reload &>/dev/null || :
%endif
if [ $1 -eq 1 ]; then
# Initial installation
%if ! %{use_systemd}
/sbin/chkconfig --add proftpd || :
%endif
IFS=":"; cat /etc/passwd | \
while { read username nu nu gid nu nu nu nu; }; do \
if [ $gid -lt 500 -a "$username" != "ftp" ]; then
echo $username >> %{_sysconfdir}/ftpusers
fi
done
fi
%preun
if [ $1 -eq 0 ]; then
# Package removal, not upgrade
%if %{use_systemd}
/bin/systemctl --no-reload disable proftpd.service &>/dev/null || :
/bin/systemctl stop proftpd.service &>/dev/null || :
%else
/sbin/service proftpd stop &>/dev/null || :
/sbin/chkconfig --del proftpd || :
%endif
find %{rundir} -depth -mindepth 1 | xargs rm -rf &>/dev/null || :
fi
%postun
%if %{use_systemd}
/bin/systemctl daemon-reload &>/dev/null || :
%endif
if [ $1 -ge 1 ]; then
# Package upgrade, not uninstall
%if %{use_systemd}
/bin/systemctl try-restart proftpd.service &>/dev/null || :
%else
/sbin/service proftpd condrestart &>/dev/null || :
%endif
else
# Package removal, not upgrade
%if %{use_systemd}
/bin/systemctl reload xinetd.service &>/dev/null || :
%else
/sbin/service xinetd reload &>/dev/null || :
%endif
fi
%clean
rm -rf %{buildroot}
rm -rf %{_builddir}/%{name}-%{version}
%files -f proftpd.lang
%{_bindir}/ftpdctl
%{_sbindir}/ftpscrub
%{_sbindir}/ftpshut
%{_sbindir}/in.proftpd
%{_sbindir}/proftpd
%dir %{_libexecdir}/proftpd/
%{_libexecdir}/proftpd/mod_auth_pam.so
%{_libexecdir}/proftpd/mod_ban.so
%{_libexecdir}/proftpd/mod_ctrls_admin.so
%{_libexecdir}/proftpd/mod_exec.so
%{_libexecdir}/proftpd/mod_facl.so
%{_libexecdir}/proftpd/mod_ifsession.so
%{_libexecdir}/proftpd/mod_load.so
%{_libexecdir}/proftpd/mod_quotatab.so
%{_libexecdir}/proftpd/mod_quotatab_file.so
%{_libexecdir}/proftpd/mod_quotatab_radius.so
%{_libexecdir}/proftpd/mod_quotatab_sql.so
%{_libexecdir}/proftpd/mod_radius.so
%{_libexecdir}/proftpd/mod_ratio.so
%{_libexecdir}/proftpd/mod_readme.so
%{_libexecdir}/proftpd/mod_rewrite.so
%{?_with_ssl:%{_libexecdir}/proftpd/mod_sftp.so}
%{?_with_ssl:%{_libexecdir}/proftpd/mod_sftp_pam.so}
%{?_with_ssl:%{_libexecdir}/proftpd/mod_sftp_sql.so}
%{_libexecdir}/proftpd/mod_shaper.so
%{_libexecdir}/proftpd/mod_site_misc.so
%{_libexecdir}/proftpd/mod_sql.so
%{?_with_ssl:%{_libexecdir}/proftpd/mod_sql_passwd.so}
%{?_with_ssl:%{_libexecdir}/proftpd/mod_tls.so}
%{?_with_ssl:%{?_with_memcache:%{_libexecdir}/proftpd/mod_tls_memcache.so}}
%{?_with_ssl:%{_libexecdir}/proftpd/mod_tls_shmcache.so}
%{_libexecdir}/proftpd/mod_wrap2.so
%{_libexecdir}/proftpd/mod_wrap2_file.so
%{_libexecdir}/proftpd/mod_wrap2_sql.so
%exclude %{_libexecdir}/proftpd/*.a
%exclude %{_libexecdir}/proftpd/*.la
%dir %{rundir}/
%dir %{_localstatedir}/ftp/
%dir %{_localstatedir}/ftp/pub/
%if %{use_systemd}
%{_unitdir}/proftpd.service
%{_sysconfdir}/tmpfiles.d/proftpd.conf
%else
%{_sysconfdir}/rc.d/init.d/proftpd
%endif
%{?_with_ssl:%config(noreplace) %{_sysconfdir}/blacklist.dat}
%{?_with_ssl:%config(noreplace) %{_sysconfdir}/dhparams.pem}
%config(noreplace) %{_sysconfdir}/proftpd.conf
%config(noreplace) %{_sysconfdir}/pam.d/proftpd
%config(noreplace) %{_sysconfdir}/logrotate.d/proftpd
%config(noreplace) %{_sysconfdir}/xinetd.d/proftpd
%doc COPYING CREDITS ChangeLog NEWS README RELEASE_NOTES
%doc README.DSO README.modules README.IPv6 README.PAM
%doc README.capabilities README.classes README.controls README.facl
%doc contrib/README.contrib contrib/README.ratio
%doc doc/* sample-configurations/
%{_mandir}/man5/proftpd.conf.5*
%{_mandir}/man5/xferlog.5*
%{_mandir}/man8/ftpdctl.8*
%{_mandir}/man8/ftpscrub.8*
%{_mandir}/man8/ftpshut.8*
%{_mandir}/man8/proftpd.8*
%if 0%{?_with_ldap:1}
%files ldap
%doc README.LDAP contrib/mod_quotatab_ldap.ldif contrib/mod_quotatab_ldap.schema
%{_libexecdir}/proftpd/mod_ldap.so
%{_libexecdir}/proftpd/mod_quotatab_ldap.so
%endif
%if 0%{?_with_mysql:1}
%files mysql
%{_libexecdir}/proftpd/mod_sql_mysql.so
%endif
%if 0%{?_with_postgresql:1}
%files postgresql
%{_libexecdir}/proftpd/mod_sql_postgres.so
%endif
%if 0%{?_with_wrap:1}
%files wrap
%{_libexecdir}/proftpd/mod_wrap.so
%endif
%files devel
%{_bindir}/prxs
%{_includedir}/proftpd/
%{_libdir}/pkgconfig/proftpd.pc
%files utils
%doc contrib/xferstats.holger-preiss
%{_bindir}/ftpquota
%{_bindir}/ftpasswd
%{_bindir}/ftpcount
%{_bindir}/ftpmail
%{_bindir}/ftptop
%{_bindir}/ftpwho
%{_mandir}/man1/ftpasswd.1*
%{_mandir}/man1/ftpcount.1*
%{_mandir}/man1/ftpmail.1*
%{_mandir}/man1/ftpquota.1*
%{_mandir}/man1/ftptop.1*
%{_mandir}/man1/ftpwho.1*
%changelog
* Fri Jun 28 2013 Paul Howarth <paul@city-fan.org>
- Support arbitrary tarball compression types using %%{srcext} macro
- Package proftpd.conf manpage
* Tue Jul 31 2012 Paul Howarth <paul@city-fan.org>
- Package translations and BR: gettext to make sure we get them
- Drop %%defattr, redundant since rpm 4.4
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org>
- devel package requires gcc and libtool (for prxs)
* Fri Nov 11 2011 Paul Howarth <paul@city-fan.org>
- mod_wrap2 and friends don't need tcp_wrappers, so move them from the wrap
subpackage to the main package
* Tue Oct 4 2011 Paul Howarth <paul@city-fan.org>
- Upstream RPM package refactored to support Red Hat/Fedora based distributions
from EL-5 onwards:
- Fix build failure on CentOS 5 (bug 3640)
- Build all modules that don't require additional dependencies by default
- Optionally build other modules (use --with everything for all modules)
- Use PAM-based configuration by default
- Add systemd support
- Merge inetd subpackage back into main package
- Create new utils subpackage
- Lots of minor fixes
* Mon Sep 11 2007 Philip Prindeville <philipp_subx@redfish-solutions.com>
- Cleaned up the .spec file to work with more recent releases of RPM. Moved
header files into separate component.
* Sun Mar 5 2006 Itamar Reis Peixoto <itamar@ispbrasil.com.br>
- Added "--with mod_quotatab" and "--with mod_quotatab_sql" to enable Quota Support while building the RPM
* Sun Nov 2 2003 John Morrissey <jwm@horde.net>
- This changelog is not frequently updated - please check the CVS revision
history at http://cvs.proftpd.org/ instead.
* Tue Sep 23 2003 Daniel Roesen <dr@proftpd.org>
- Added "--with ipv6" to enable IPv6 support while building the RPM
* Sun May 25 2003 John Morrissey <jwm@horde.net>
- Permit selection of additional contrib modules when building the RPM
Submitted by: Ivan F. Martinez <ivanfm@users.sourceforge.net>
* Sat Nov 2 2002 John Morrissey <jwm@horde.net>
- Don't let dangling contrib/README.* symlinks get into the built RPM
- logrotate for xferlog
* Wed Aug 14 2002 John Morrissey <jwm@horde.net>
- Added removal of build leftover directory in %%clean.
Submitted by: Christian Pelealu <kurisu@mweb.co.id>
* Wed Jul 3 2002 John Morrissey <jwm@horde.net> 1.2.6rc1-1
- 1.2.6rc1 release.
* Sun Jun 9 2002 John Morrissey <jwm@horde.net> 1.2.5-1
- 1.2.5 release.
* Fri May 10 2002 TJ Saunders <tj@castaglia.org>
- Added use of %%defattr to allow build of RPMs by non-root users
For details see http://bugs.proftpd.org/show_bug.cgi?id=1580
* Mon Mar 05 2001 Daniel Roesen <droesen@entire-systems.com>
- PAM >= 0.72 is now a requirement. Versions before are broken and
Red Hat provides a PAM update for all RH 6.x releases. See:
http://www.redhat.com/support/errata/RHSA-2000-120.html
Thanks to O.Elliyasa <osman@Cable.EU.org> for the suggestion.
For details see http://bugs.proftpd.org/show_bug.cgi?id=1048
- release: 1.2.1-2
* Wed Mar 01 2001 Daniel Roesen <droesen@entire-systems.com>
- Update to 1.2.1
- release: 1.2.1-1
* Wed Feb 27 2001 Daniel Roesen <droesen@entire-systems.com>
- added "Obsoletes: proftpd-core" to make migration to new RPMs easier.
Thanks to Sébastien Prud'homme <prudhomme@easy-flying.com> for the hint.
- release: 1.2.0-3
* Wed Feb 26 2001 Daniel Roesen <droesen@entire-systems.com>
- cleaned up .spec formatting (cosmetics)
- fixed CFLAGS (fixes /etc/shadow support)
- included COPYING, CREDITS, ChangeLog and NEWS
- Renamed main package from "proftpd-core" to just "proftpd"
- release: 1.2.0-2
* Wed Feb 14 2001 Daniel Roesen <droesen@entire-systems.com>
- moved Changelog to bottom
- fixed %%pre script /etc/ftpusers generator
- removed /ftp/ftpusers from package management. Deinstalling ProFTPD
should _not_ result in removal of this file.
* Thu Oct 03 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 08 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.