]> git.pld-linux.org Git - packages/proftpd.git/blob - proftpd.spec
9da4ed42ecf252cb5ea179b9cdcd8390fee40d79
[packages/proftpd.git] / proftpd.spec
1 Summary:     PROfessional FTP Daemon with apache-like configuration syntax
2 Summary(pl): PROfesionalny FTP Demon z podobnym do apache sposobem konfigurowania
3 Name:        proftpd
4 Version:     1.1.6pl2
5 Release:     1
6 URL:         http://www.proftpd.org/
7 Source0:     ftp://ftp.proftpd.org/distrib/%{name}-%{version}.tar.gz
8 Source1:     configuration.html
9 Source2:     reference.html
10 Patch0:      proftpd-mdtm-localtime.patch
11 Patch1:      proftpd-1.1.6pre4-compat_wu-ftpd.patch
12 Copyright:   GPL
13 Group:       Networking/Daemons
14 Provides:    ftpserver
15 Obsoletes:   wu-ftpd ncftpd beroftpd anonftp
16 BuildRoot:   /tmp/%{name}-%{version}-root
17
18 %description
19 ProFTPD is a highly configurable ftp daemon for unix and unix-like
20 operating systems.
21
22 ProFTPD is designed to be somewhat of a "drop-in" replacement for wu-ftpd.
23 Full online documentation is available at http://www.proftpd.org,
24 including a server configuration directive reference manual.
25
26 %description -l pl
27 ProFTPD jest wysoce konfigurowalnym demonem ftp dla U*nixów.
28
29 ProFTPD jest robiony jako bezpo¶redni zamiennik wu-ftpd.
30 ProFTPD is designed to be somewhat of a "drop-in" replacement for wu-ftpd.
31 Pe³na dokunentacja jest dostêpna on-line pod http://www.proftpd.org w³±cznie
32 z pe³n± dokumentacj± dotycz±c± konfigurowania.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37 %patch1 -p1 -b .compat_wu-ftpd
38
39 %build
40 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s \
41 ./configure --prefix=/usr \
42             --sysconfdir=/etc \
43             --enable-autoshadow
44 make
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT/{etc,usr/{bin,sbin,man/{man1,man8}}}
49 install sample-configurations/basic.conf $RPM_BUILD_ROOT/etc/proftpd.conf
50 install -s ftpcount ftpshut $RPM_BUILD_ROOT/usr/bin
51 install -s proftpd $RPM_BUILD_ROOT/usr/sbin/in.ftpd
52 install src/*.8 $RPM_BUILD_ROOT/usr/man/man8
53 install src/*.1 $RPM_BUILD_ROOT/usr/man/man1
54 install %{SOURCE1} %{SOURCE2} .
55 ln -sf ftpcount $RPM_BUILD_ROOT/usr/bin/ftpwho
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644, root, root, 755)
62 %doc changelog README
63 %doc sample-configurations/{virtual,anonymous}.conf *.html
64 %attr(600, root, root) %config(noreplace) /etc/proftpd.conf
65 %attr(755, root, root) /usr/bin/*
66 %attr(755, root, root) /usr/sbin/*
67 %attr(644, root,  man) /usr/man/man[58]/*
68
69 %changelog
70 * Sat Aug 22 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
71   [1.1.6pre4-2]
72 - added proftpd-1.1.6pre4-compat_wu-ftpd.patch (null handling some wu-ftpd
73   cmdl options).
74
75 * Thu Aug  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
76   [1.1.6pre4-1]
77 - added pl translation,
78 - removed INSTALL from %doc (install procedure is in spec ;),
79 - addded permissions in %files instead setting them in %build (lets make 
80   %buil only build procedure - more logical),
81 - renamed /usr/sbin/in.proftpd to /usr/sbin/in.ftpd (now updating inetd.conf
82   is not neccesary) also removed %post[un] - this is simpler and now proftpd
83   is "real" drop-in wu-ftpd replacement ;>,
84 - fiew simplifications in %install and %files,
85 - Conflicts: replaced by Obsoletes: in headre (more automated replacing
86   other ftpserver) also added to list anonftp as not neccesary under proftpd,
87 - added noreplace %config parameter for /etc/proftpd.conf.
88
89 * Sat Aug 01 1998 Arne Coucheron <arneco@online.no>
90   [1.1.6pre2-1]
91
92 * Thu Jul 23 1998 Arne Coucheron <arneco@online.no>
93   [1.1.5pl4-1]
94 - making use of shadow libraries
95   (Thanks to Mike McHendry <mmchen@ally.minn.net> for the hint)
96 - added beroftpd to Conflicts:
97 - added configuration and reference docs to the package
98
99 * Sun Jun 28 1998 Arne Coucheron <arneco@online.no>
100   [1.0.3pl1-2]
101 - using $RPM_OPT_FLAGS
102 - using %%{name} and %%{version} macros
103 - using %defattr macro in filelist, ordinary users can build now 
104 - using install -d instead of mkdir -p
105 - made proftpd.conf chmod 600 for security
106 - added -q parameter to %setup
107 - added %config to /etc/proftpd.conf in filelist
108 - added Conflicts: wu-ftpd ncftpd
109 - installing util programs in /usr/bin instead of /usr/sbin
110 - changed name of spec file to proftpd.spec
111
112 * Wed May 6 1998 Vladimir Ivanov <vlad@elis.tasur.edu.ru>
113 - Fixed bug in mod_auth.c
114 - Initial RPM release
This page took 0.025061 seconds and 2 git commands to generate.