-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgadmin-proftpd.spec
118 lines (101 loc) · 4.03 KB
/
gadmin-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
%define desktop_vendor newrpms
%{!?_dist: %{expand: %%define dist rhfc16}}
Summary: GADMIN-ProFTPD -- A GTK+ administation tool for the ProFTPD server.
Name: gadmin-proftpd
Version: 0.4.6
Release: 0.1.%{dist}.nr
License: GPL
Group: Applications/System
URL: http://dalalven.dtdns.net/linux.html
Source0: http://dalalven.dtdns.net/linux/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_builddir}/%{name}-%{version}-root
Provides: gadmin-proftpd gprostats
%description
GADMIN-ProFTPD is a fast and easy to use GTK+ administration tool for the proftpd standalone server.
%prep
%setup -q
%configure SYSINIT_START_CMD="chkconfig proftpd on" SYSINIT_STOP_CMD="chkconfig proftpd off"
%build
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall INSTALL_USER=`id -un` INSTALL_GROUP=`id -gn`
# pam auth
install -d %{buildroot}%{_sysconfdir}/pam.d/
install -d %{buildroot}%{_sysconfdir}/security/console.apps
install -m 644 etc/pam.d/%{name} %{buildroot}%{_sysconfdir}/pam.d/%{name}
install -m 644 etc/security/console.apps/%{name} %{buildroot}%{_sysconfdir}/security/console.apps/%{name}
# desktop entry
install -d %{buildroot}%{_datadir}/applications
install -m 644 desktop/gadmin-proftpd.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
# doc files..
install -d %{buildroot}%{_datadir}/doc/%{name}
install -m 644 README COPYING AUTHORS ChangeLog %{buildroot}%{_datadir}/doc/%{name}
%find_lang %name
%post
if test ! -h %{_bindir}/gadmin-proftpd ; then \
ln -s %{_bindir}/consolehelper %{_bindir}/gadmin-proftpd ; \
fi;
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(0755, root, root)
%{_sbindir}/%{name}
%{_sbindir}/gprostats
%defattr(0644, root, root)
#%doc COPYING AUTHORS ChangeLog
%{_datadir}/doc/%{name}/README
%{_datadir}/doc/%{name}/COPYING
%{_datadir}/doc/%{name}/AUTHORS
%{_datadir}/doc/%{name}/ChangeLog
%{_sysconfdir}/pam.d/%{name}
%{_sysconfdir}/security/console.apps/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/*.png
%dir %{_datadir}/pixmaps/%{name}
%{_datadir}/pixmaps/%{name}/*.png
%{_datadir}/pixmaps/%{name}/%{name}36.xpm
%changelog
* Sun Jun 2 2013 Magnus-swe <[email protected]>
- Fixed an iter validation issue and updated
- the code for showing file transfers.
* Tue Jan 9 2013 Magnus-swe <[email protected]>
- Authentication types are now selectable with combo choices.
- ModulePath is added if found and missing.
- Adds MySQL-support via MySQL interprocess communication.
- MySQL database setup adds user, group and quota tables.
- Remote and local MySQL users can be added, changed and deleted.
* Tue Dec 7 2011 Magnus-swe <[email protected]>
- Indentation fixes and cleanups.
- Fixes a possible first time startup crash.
* Sat May 21 2011 Magnus-swe <[email protected]>
- Dont add ratio directives if the ratio module is loaded
- but ratios arent turned on in the global settings.
* Sat Jan 15 2011 Magnus-swe <[email protected]>
- Module detection improvement.
* Wed Mar 17 2010 Magnus-swe <[email protected]>
- Better handling of directories with spaces and
- the AllowOverwrite option.
* Thu Feb 11 2010 Magnus-swe <[email protected]>
- Adds TLS option:
- TLSOptions AllowClientRenegotiations
* Fri Aug 28 2009 Magnus-swe <[email protected]>
- Removes the global apply and directory apply buttons.
- Combines "add user" and "apply user" buttons.
- Adds more information about adding new users.
- Sets missing version color.
- Swedish translation update.
* Wed Jul 22 2009 Magnus-swe <[email protected]>
- Adds a new user button.
- Status is shown in red or green.
* Sat Jun 20 2009 Magnus-swe <[email protected]>
- Adds support for dynamically loaded modules.
* Thu Oct 15 2008 Magnus-swe <[email protected]>
- Adds a new Swedish translation.
- Configuration backup, restore and auto backup.
* Thu Oct 09 2008 Magnus-swe <[email protected]>
- Fixed the way it populates and mod_tls handling.
* Thu Sep 25 2008 Magnus-swe <[email protected]>
- Fixed certificates validity days.
* Wed Jun 18 2008 Magnus-swe <[email protected]>
- Added signed certificate creation and explicit encryption.