1 |
# $Id: smeserver-webshare.spec,v 1.1 2020/10/30 11:00:21 brianr Exp $ |
2 |
# Authority: darrellmay |
3 |
# Name: Darrell May |
4 |
|
5 |
Summary: Webshare addon for SME Server |
6 |
%define name smeserver-webshare |
7 |
Name: %{name} |
8 |
%define version 1.0.0 |
9 |
%define release 13 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: SME Server/addon |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
BuildRoot: /var/tmp/%{name}-%{version} |
16 |
BuildArchitectures: noarch |
17 |
Requires: e-smith-base, perl-Apache-Htpasswd, perl-Crypt-PasswdMD5 |
18 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
AutoReqProv: no |
20 |
Obsoletes: devinfo-mitel-webshare dmc-mitel-webshare |
21 |
|
22 |
Patch1: smeserver-webshare-sme8_fixes.patch |
23 |
Patch2: smeserver-webshare-1.0.0-sme8bis.patch |
24 |
Patch3: smeserver-webshare-bz12066-24syntax.patch |
25 |
|
26 |
%changelog |
27 |
* Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-13.sme |
28 |
- update to httpd 2.4 access syntax [SME: 12066] |
29 |
thanks to Vasarhelyi Zsolt |
30 |
|
31 |
* Thu Mar 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-12.sme |
32 |
- imported to SME9 [SME: 10129] |
33 |
|
34 |
* Sat May 25 2013 JP Pialasse <tests@piaalsse.com> - 1.0.0-11.sme |
35 |
- fix spacename problem with firefox [SME: 6256] |
36 |
- fix password limited to 7 digits [SME: 7097] |
37 |
- fix biggest error message for incorrect password [SME: 3601] |
38 |
|
39 |
* Wed Oct 12 2011 Greg Swallow <greg@runlevel7.ca> - 1.0.0-10.sme |
40 |
- Patch for added SME8 compatibility |
41 |
- should fix [SME 3600], [SME 6256], [SME 6454] |
42 |
|
43 |
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com> |
44 |
- Prep for import into buildsys |
45 |
- Clean up spec |
46 |
|
47 |
* Fri Dec 1 2006 Darrell May <dmay@myezserver.com> |
48 |
- move htpasswd files to /home/e-smith/db/webshare |
49 |
- ugraders must run: /etc/e-smith/events/actions/webshare-rebuild-htpasswd; signal-event ibay-modify |
50 |
- [1.0.0-8] |
51 |
* Thu Oct 12 2006 Darrell May <dmay@myezserver.com> |
52 |
- updated httpd.conf fragment for SME 7 compliance |
53 |
- Note: rewrite for full SME 7 support is still needed |
54 |
- [1.0.0-7] |
55 |
* Mon Jan 30 2006 Darrell May <dmay@myezserver.com> |
56 |
- bugfix to support IE/https file downloads |
57 |
- added to /incl/libfile.php 'header("Pragma:");' |
58 |
- [1.0.0-6] |
59 |
* Tue May 17 2005 Darrell May <dmay@myezserver.com> |
60 |
- added support for numeric project names |
61 |
- [1.0.0-5] |
62 |
* Tue May 17 2005 Darrell May <dmay@myezserver.com> |
63 |
- update to phpfm-0.2.3 |
64 |
- added NoDelete webshare create/config option |
65 |
- [1.0.0-4] |
66 |
* Thu May 12 2005 Darrell May <dmay@myezserver.com> |
67 |
- bugfix webshare panel for SME 7.x |
68 |
- [1.0.0-3] |
69 |
* Fri Apr 22 2005 Darrell May <dmay@myezserver.com> |
70 |
- added support for SME 7.x |
71 |
- [1.0.0-2] |
72 |
* Sun Feb 08 2004 Darrell May <dmay@myezserver.com> |
73 |
- repackaged for SME Server 6.x |
74 |
- [1.0.0-1] |
75 |
* Sun Jan 12 2003 Darrell May <dmay@myezserver.com> |
76 |
- added Requires: perl-Apache-Htpasswd |
77 |
- [0.0.1-5] |
78 |
* Sat Jan 11 2003 Darrell May <dmay@myezserver.com> |
79 |
- name change obsolete devinfo-mitel-webshare |
80 |
- updated webshare panel |
81 |
- updated webshare-tools to use phpfm |
82 |
- [0.0.1-4] |
83 |
* Fri May 10 2002 Darrell May <dmay@myezserver.com> |
84 |
- updated webshare panel |
85 |
- updated webshare-tools scripts |
86 |
- original public release |
87 |
- [0.0.1-3] |
88 |
* Thu May 09 2002 Darrell May <dmay@myezserver.com> |
89 |
- added httpd.conf template and updated action scripts |
90 |
- incorporated index.php from ruffdogs,com |
91 |
- incorporate webshare panel and action scripts from Jon Blakely |
92 |
- [0.0.1-2] |
93 |
* Sun May 05 2002 Darrell May <dmay@myezserver.com> |
94 |
- initial release |
95 |
- [0.0.1-1] |
96 |
|
97 |
%description |
98 |
%name is an addon for SME Server that provides secure web accessible file and directory storage. |
99 |
|
100 |
%prep |
101 |
%setup |
102 |
%patch1 -p1 |
103 |
%patch2 -p1 |
104 |
%patch3 -p1 |
105 |
|
106 |
%build |
107 |
perl createlinks |
108 |
|
109 |
%install |
110 |
rm -rf $RPM_BUILD_ROOT |
111 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
112 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
113 |
|
114 |
%clean |
115 |
/bin/rm -rf $RPM_BUILD_ROOT |
116 |
|
117 |
%files -f %{name}-%{version}-filelist |
118 |
%defattr(-,root,root) |