1 |
|
# $Id: smeserver-remoteuseraccess.spec,v 1.23 2009/06/13 10:29:51 dungog Exp $ |
2 |
|
# Authority: dungog |
3 |
|
# Name: Stephen Noble |
4 |
|
|
5 |
Summary: Smeserver module to configure Shell and FTP access for individual users |
Summary: Smeserver module to configure Shell and FTP access for individual users |
6 |
%define name smeserver-remoteuseraccess |
%define name smeserver-remoteuseraccess |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.2 |
%define version 1.2 |
9 |
%define release 16 |
%define release 34 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
16 |
Patch0: smeserver-remoteuseraccess-fr.patch |
Patch0: smeserver-remoteuseraccess-fr.patch |
17 |
Patch1: smeserver-remoteuseraccess-1.2-frMenu.patch |
Patch1: smeserver-remoteuseraccess-1.2-frMenu.patch |
18 |
Patch2: smeserver-remoteuseraccess-1.2-event-rssh.patch |
Patch2: smeserver-remoteuseraccess-1.2-event-rssh.patch |
19 |
|
Patch3: smeserver-remoteuseraccess-1.2-pootle.patch |
20 |
|
Patch4: smeserver-remoteuseraccess-1.2-locale-2008-03-11.patch |
21 |
|
Patch5: smeserver-remoteuseraccess-1.2-locale-2008-04-01.patch |
22 |
|
Patch6: smeserver-remoteuseraccess-1.2-locale-2008-04-22.patch |
23 |
|
Patch7: smeserver-remoteuseraccess-1.2-add2general.patch |
24 |
|
Patch8: smeserver-remoteuseraccess-1.2-locale-2008-05-05.patch |
25 |
|
Patch9: smeserver-remoteuseraccess-1.2-locale-2008-05-21.patch |
26 |
|
Patch10: smeserver-remoteuseraccess-1.2-locale-2008-07-01.patch |
27 |
|
Patch11: smeserver-remoteuseraccess-1.2-locale-2008-09-27.patch |
28 |
|
Patch12: smeserver-remoteuseraccess-1.2-locale-2008-10-14.patch |
29 |
|
Patch13: smeserver-remoteuseraccess-1.2-locale-2008-11-30.patch |
30 |
|
Patch14: smeserver-remoteuseraccess-1.2-locale-2009-01-01.patch |
31 |
|
Patch15: smeserver-remoteuseraccess-1.2-locale-2009-03-01.patch |
32 |
|
Patch16: smeserver-remoteuseraccess-1.2-locale-2009-04-27.patch |
33 |
|
Patch17: smeserver-remoteuseraccess-1.2-chrootpath.patch |
34 |
|
Patch18: smeserver-remoteuseraccess-1.2-locale-2009-08-24.patch |
35 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
36 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
37 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
38 |
Requires: e-smith-release >= 7 |
Requires: e-smith-release >= 7 |
39 |
Requires: e-smith-proftpd >= 1.12.0-6 |
Requires: e-smith-proftpd >= 1.12.0-6 |
40 |
Requires: e-smith-openssh >= 1.11.0-24 |
Requires: e-smith-openssh >= 1.11.0-24 |
41 |
Requires: perl-CGI-FormMagick >= 0.92-08 |
Requires: e-smith-formmagick >= 1.4.0-12 |
42 |
Obsoletes: dungog-proftpd-chroot |
Obsoletes: dungog-proftpd-chroot |
43 |
Obsoletes: e-smith-usershellaccess |
Obsoletes: e-smith-usershellaccess |
44 |
Obsoletes: smeserver-sshkeys |
Obsoletes: smeserver-sshkeys |
56 |
and allows you to enter ssh keys |
and allows you to enter ssh keys |
57 |
|
|
58 |
%changelog |
%changelog |
59 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.2-34.sme |
60 |
|
- apply locale 2009-08-24 patch |
61 |
|
|
62 |
|
* Sat Jun 13 2009 Stephen Noble <support@dungog.net> 1.2-33 |
63 |
|
- chroot path not displayed in panel [SME: 5360] |
64 |
|
|
65 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.2-32 |
66 |
|
- apply locale 2009-04-27 patch |
67 |
|
|
68 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-30 |
69 |
|
- Apply 1 Mar 2009 locale patch [SME: 5018] |
70 |
|
|
71 |
|
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-29 |
72 |
|
- Apply 1 Jan 2009 locale patch [SME: 4900] |
73 |
|
|
74 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-28 |
75 |
|
- Apply 30 Nov 2008 locale patch |
76 |
|
|
77 |
|
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-27 |
78 |
|
- Apply 14 Oct 2008 locale patch |
79 |
|
|
80 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-26 |
81 |
|
- Apply locale patch |
82 |
|
|
83 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-25 |
84 |
|
- Apply 1 July 2008 locale patch |
85 |
|
|
86 |
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-24 |
87 |
|
- Apply 21 May 2008 locale patch |
88 |
|
|
89 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-23 |
90 |
|
- Apply 5 May 2008 locale patch |
91 |
|
|
92 |
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-22 |
93 |
|
- Add common <base> tags to e-smith-formmagick's general |
94 |
|
|
95 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-21 |
96 |
|
- Forgot to apply patch |
97 |
|
|
98 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20 |
99 |
|
- Apply 22 April 2008 locale patch |
100 |
|
|
101 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-19 |
102 |
|
- Update to UTF-8 translations |
103 |
|
|
104 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-18 |
105 |
|
- update locale 2008-03-11 |
106 |
|
|
107 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-17 |
108 |
|
- prepare en lexicons for pootle translations |
109 |
|
|
110 |
* Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16 |
* Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16 |
111 |
- remove duplicate event rssh.conf [SME 3470] |
- remove duplicate event rssh.conf [SME 3470] |
112 |
|
|
221 |
%patch0 -p1 |
%patch0 -p1 |
222 |
%patch1 -p1 |
%patch1 -p1 |
223 |
%patch2 -p1 |
%patch2 -p1 |
224 |
|
%patch3 -p1 |
225 |
|
%patch4 -p1 |
226 |
|
%patch5 -p1 |
227 |
|
%patch6 -p1 |
228 |
|
%patch7 -p1 |
229 |
|
%patch8 -p1 |
230 |
|
%patch9 -p1 |
231 |
|
%patch10 -p1 |
232 |
|
%patch11 -p1 |
233 |
|
%patch12 -p1 |
234 |
|
%patch13 -p1 |
235 |
|
%patch14 -p1 |
236 |
|
%patch15 -p1 |
237 |
|
%patch16 -p1 |
238 |
|
%patch17 -p1 |
239 |
|
%patch18 -p1 |
240 |
|
|
241 |
%build |
%build |
242 |
perl createlinks |
perl createlinks |
248 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
249 |
done |
done |
250 |
|
|
251 |
#todo, it |
LINKS=$(find root/etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/root\/etc\/e-smith\/locale\///') |
252 |
for LINK in en-us fr de es sv |
for link in $LINKS |
253 |
do |
do |
254 |
/bin/ln -s remoteuseraccess root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-sshkeys |
/bin/ln -s remoteuseraccess root/etc/e-smith/locale/$link/etc/e-smith/web/functions/userpanel-sshkeys |
255 |
done |
done |
256 |
|
|
257 |
%install |
%install |