1 |
# $Id: smeserver-phpwebftp-4.0.spec,v 1.1 2013/03/03 21:38:45 unnilennium Exp $ |
# $Id: smeserver-phpwebftp-4.0.spec,v 1.5 2013/11/24 23:00:51 unnilennium Exp $ |
2 |
# Authority: gnujpl |
# Authority: gnujpl |
3 |
# Name: Jean-Paul Leclère |
# Name: Jean-Paul Leclère |
4 |
|
|
5 |
%define name smeserver-phpwebftp |
%define name smeserver-phpwebftp |
6 |
%define version 4.0 |
%define version 4.0 |
7 |
%define release 5 |
%define release 10 |
8 |
|
|
9 |
Summary: Web FTP access via HTTPS for SME. |
Summary: Web FTP access via HTTPS for SME. |
10 |
Name: %{name} |
Name: %{name} |
13 |
License: GPL |
License: GPL |
14 |
Group: Applications/WebFTP |
Group: Applications/WebFTP |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
|
Patch0:smeserver-phpwebftp-4.0-patchftpmode.patch |
17 |
|
Patch1: smeserver-phpwebftp-4.0-patch1.patch |
18 |
|
Patch2: smeserver-phpwebftp-4.0.bz7175.pointusername.patch |
19 |
|
Patch3: smeserver-phpwebftp-4.0.bz9528.XSSvulnerability.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
Requires: e-smith-apache |
Requires: e-smith-apache |
28 |
smeserver-phpwebftp adds an ftp panel available to users via SSL web access. |
smeserver-phpwebftp adds an ftp panel available to users via SSL web access. |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
*Sun Mar 3 2013 JP Pialasse <tests@pialasse.com> 4.0-5 |
* Wed Aug 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 4.0-10.sme |
32 |
|
- fix XSS security issue in phpwebftp [SME: 9528] |
33 |
|
- https://sourceforge.net/p/phpwebftp/bugs/17/ |
34 |
|
- add utf8 in meta to fix bad display in French |
35 |
|
|
36 |
|
* Wed Aug 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 4.0-9.sme |
37 |
|
- fix does not support files owned by user or group with point [SME: 7175] |
38 |
|
- SF:https://sourceforge.net/p/phpwebftp/bugs/15/ |
39 |
|
|
40 |
|
* Sun Nov 24 2013 JP Pialasse <tests@pialasse.com> 4.0-8.sme |
41 |
|
- new patch for [SME: 7973] |
42 |
|
- tmp folder set to 0770 to fix the download error |
43 |
|
|
44 |
|
* Mon Nov 4 2013 JP Pialasse <tests@pialasse.com> 4.0-6.sme |
45 |
|
- wrong binary ascii switch [SME: 7973] |
46 |
|
|
47 |
|
* Sun Mar 3 2013 JP Pialasse <tests@pialasse.com> 4.0-5 |
48 |
- import into sme 8 tree |
- import into sme 8 tree |
49 |
|
|
50 |
* Sun Jun 8 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
* Sun Jun 8 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
85 |
%prep |
%prep |
86 |
%setup |
%setup |
87 |
|
|
88 |
#%patch0 -p1 |
%patch0 -p1 |
89 |
|
%patch1 -p1 |
90 |
|
%patch2 -p1 |
91 |
|
%patch3 -p1 |
92 |
|
|
93 |
|
|
94 |
%pre |
%pre |
95 |
|
|
103 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
104 |
rm -f e-smith-%{version}-filelist |
rm -f e-smith-%{version}-filelist |
105 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
106 |
--dir '/home/httpd/html/webftp/tmp' 'attr(0640,www,www)' \ |
--dir '/home/httpd/html/webftp/tmp' 'attr(0770,www,www)' \ |
107 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
108 |
|
|
109 |
/usr/lib/rpm/brp-python-bytecompile |
/usr/lib/rpm/brp-python-bytecompile |