1 |
|
# $Id: smeserver-remoteuseraccess.spec,v 1.9 2008/04/28 23:21:45 slords 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 23 |
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 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
26 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
27 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
28 |
Requires: e-smith-release >= 7 |
Requires: e-smith-release >= 7 |
29 |
Requires: e-smith-proftpd >= 1.12.0-6 |
Requires: e-smith-proftpd >= 1.12.0-6 |
30 |
Requires: e-smith-openssh >= 1.11.0-24 |
Requires: e-smith-openssh >= 1.11.0-24 |
31 |
Requires: perl-CGI-FormMagick >= 0.92-08 |
Requires: e-smith-formmagick >= 1.4.0-12 |
32 |
Obsoletes: dungog-proftpd-chroot |
Obsoletes: dungog-proftpd-chroot |
33 |
Obsoletes: e-smith-usershellaccess |
Obsoletes: e-smith-usershellaccess |
34 |
Obsoletes: smeserver-sshkeys |
Obsoletes: smeserver-sshkeys |
46 |
and allows you to enter ssh keys |
and allows you to enter ssh keys |
47 |
|
|
48 |
%changelog |
%changelog |
49 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-23 |
50 |
|
- Apply 5 May 2008 locale patch |
51 |
|
|
52 |
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-22 |
53 |
|
- Add common <base> tags to e-smith-formmagick's general |
54 |
|
|
55 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-21 |
56 |
|
- Forgot to apply patch |
57 |
|
|
58 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20 |
59 |
|
- Apply 22 April 2008 locale patch |
60 |
|
|
61 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-19 |
62 |
|
- Update to UTF-8 translations |
63 |
|
|
64 |
|
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-18 |
65 |
|
- update locale 2008-03-11 |
66 |
|
|
67 |
|
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-17 |
68 |
|
- prepare en lexicons for pootle translations |
69 |
|
|
70 |
* Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16 |
* Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16 |
71 |
- remove duplicate event rssh.conf [SME 3470] |
- remove duplicate event rssh.conf [SME 3470] |
72 |
|
|
181 |
%patch0 -p1 |
%patch0 -p1 |
182 |
%patch1 -p1 |
%patch1 -p1 |
183 |
%patch2 -p1 |
%patch2 -p1 |
184 |
|
%patch3 -p1 |
185 |
|
%patch4 -p1 |
186 |
|
%patch5 -p1 |
187 |
|
%patch6 -p1 |
188 |
|
%patch7 -p1 |
189 |
|
%patch8 -p1 |
190 |
|
|
191 |
%build |
%build |
192 |
perl createlinks |
perl createlinks |
198 |
/sbin/e-smith/validate-lexicon $lexicon |
/sbin/e-smith/validate-lexicon $lexicon |
199 |
done |
done |
200 |
|
|
201 |
#todo, it |
LINKS=$(find /etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/\/etc\/e-smith\/locale\///') |
202 |
for LINK in en-us fr de es sv |
for link in $LINKS |
203 |
do |
do |
204 |
/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 |
205 |
done |
done |
206 |
|
|
207 |
%install |
%install |