/[smecontribs]/rpms/smeserver-remoteuseraccess/contribs7/smeserver-remoteuseraccess.spec
ViewVC logotype

Annotation of /rpms/smeserver-remoteuseraccess/contribs7/smeserver-remoteuseraccess.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.14 - (hide annotations) (download)
Sun Sep 28 02:45:49 2008 UTC (16 years, 1 month ago) by dungog
Branch: MAIN
Changes since 1.13: +2 -4 lines
add back pt-br

1 dungog 1.14 # $Id: smeserver-remoteuseraccess.spec,v 1.13 2008/09/27 10:30:01 dungog Exp $
2 slords 1.5 # Authority: dungog
3     # Name: Stephen Noble
4    
5 slords 1.1 Summary: Smeserver module to configure Shell and FTP access for individual users
6     %define name smeserver-remoteuseraccess
7     Name: %{name}
8     %define version 1.2
9 dungog 1.13 %define release 26
10 slords 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12     License: GNU GPL version 2
13     URL: http://www.dungog.net/sme
14     Group: Networking/Daemons
15     Source: %{name}-%{version}.tar.gz
16     Patch0: smeserver-remoteuseraccess-fr.patch
17     Patch1: smeserver-remoteuseraccess-1.2-frMenu.patch
18     Patch2: smeserver-remoteuseraccess-1.2-event-rssh.patch
19 dungog 1.2 Patch3: smeserver-remoteuseraccess-1.2-pootle.patch
20 dungog 1.3 Patch4: smeserver-remoteuseraccess-1.2-locale-2008-03-11.patch
21 slords 1.4 Patch5: smeserver-remoteuseraccess-1.2-locale-2008-04-01.patch
22 snetram 1.6 Patch6: smeserver-remoteuseraccess-1.2-locale-2008-04-22.patch
23 snetram 1.8 Patch7: smeserver-remoteuseraccess-1.2-add2general.patch
24 snetram 1.10 Patch8: smeserver-remoteuseraccess-1.2-locale-2008-05-05.patch
25 snetram 1.11 Patch9: smeserver-remoteuseraccess-1.2-locale-2008-05-21.patch
26 snetram 1.12 Patch10: smeserver-remoteuseraccess-1.2-locale-2008-07-01.patch
27 dungog 1.14 Patch11: smeserver-remoteuseraccess-1.2-locale-2008-09-27.patch
28 slords 1.1 BuildRoot: /var/tmp/e-smith-buildroot
29     BuildRequires: e-smith-devtools
30     BuildArchitectures: noarch
31     Requires: e-smith-release >= 7
32     Requires: e-smith-proftpd >= 1.12.0-6
33     Requires: e-smith-openssh >= 1.11.0-24
34 slords 1.9 Requires: e-smith-formmagick >= 1.4.0-12
35 slords 1.1 Obsoletes: dungog-proftpd-chroot
36     Obsoletes: e-smith-usershellaccess
37     Obsoletes: smeserver-sshkeys
38     AutoReqProv: no
39    
40     %description
41     SME server enhancement to provide a server-manager panel under security
42     where you can enable shell access on a user by user basis.
43    
44     Shells available bash, optionally with sudo
45     or rssh which allows scp sftp rsync cvs rdist
46     TODO Chroot RSSH shell access.
47    
48     Also sets Chroots FTP access, VPN Client Access,
49     and allows you to enter ssh keys
50    
51     %changelog
52 dungog 1.13 * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.2-26
53     - Apply locale patch
54    
55 snetram 1.12 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-25
56     - Apply 1 July 2008 locale patch
57    
58 snetram 1.11 * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-24
59     - Apply 21 May 2008 locale patch
60    
61 snetram 1.10 * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-23
62     - Apply 5 May 2008 locale patch
63    
64 snetram 1.8 * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-22
65     - Add common <base> tags to e-smith-formmagick's general
66    
67 snetram 1.7 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-21
68     - Forgot to apply patch
69    
70 snetram 1.6 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20
71     - Apply 22 April 2008 locale patch
72    
73 slords 1.4 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-19
74     - Update to UTF-8 translations
75    
76 dungog 1.3 * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.2-18
77     - update locale 2008-03-11
78 slords 1.4
79 dungog 1.2 * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.2-17
80     - prepare en lexicons for pootle translations
81 slords 1.4
82 slords 1.1 * Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16
83     - remove duplicate event rssh.conf [SME 3470]
84 slords 1.4
85 slords 1.1 * Thu Dec 20 2007 Stephen Noble <support@dungog.net>
86     - french menu fix 1.2-14
87 slords 1.4
88 slords 1.1 * Thu Dec 20 2007 Stephen Noble <support@dungog.net>
89     - french translation, thanks Sylvain 1.2-13
90 slords 1.4
91 slords 1.1 * Wed Jun 13 2007 Stephen Noble <support@dungog.net>
92     - apply changes from 1.2-2 to 1.2-12
93    
94     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
95     - Clean up spec so package can be built by koji/plague
96    
97     * Sun Feb 18 2007 Stephen Noble <support@dungog.net>
98     - swedish translation, thanks Chrille
99     - [1.2-12]
100    
101     * Tue Jan 23 2007 Stephen Noble <support@dungog.net>
102     - spanish translation, thanks Gene
103     - requires e-smith-proftpd >= 1.12.0-6, custom template removed
104     - default set, ftp{ChrootDir} = home
105     - [1.2-11]
106    
107     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
108     - Update to new release naming. No functional changes.
109     - Make Packager generic
110    
111     * Thu Nov 23 2006 Stephen Noble <support@dungog.net>
112     - chroot path fix when home set [sme 2084]
113     - [1.2-10]
114    
115     * Fri Nov 10 2006 Stephen Noble <support@dungog.net>
116     - fix textarea bug [sme 1088]
117     - requires perl-CGI-FormMagick-0.92-08
118     - [1.2-9]
119    
120     * Fri Nov 10 2006 Stephen Noble <support@dungog.net>
121     - chroot path fix [sme 2046]
122     - [1.2-8]
123    
124     * Fri Nov 3 2006 Stephen Noble <support@dungog.net>
125     - german translation fix
126     - [1.2-7]
127    
128     * Fri Aug 25 2006 Stephen Noble <support@dungog.net>
129     - empty chroot path defaults to home [sme 1249]
130     - [1.2-6]
131    
132     * Thu Aug 24 2006 Stephen Noble <support@dungog.net>
133     - now finds correct sshkeys when used under userpanel
134     - [1.2-5]
135    
136     * Wed May 10 2006 Stephen Noble <support@dungog.net>
137     - German translation fixed [sme 1258]
138     - [1.2-4]
139    
140     * Wed May 10 2006 Stephen Noble <support@dungog.net>
141     - RSSH access uses VPNAccess property
142     - German translation added, thanks Dietmar
143     - [1.2-3]
144    
145     * Mon Apr 24 2006 Stephen Noble <support@dungog.net>
146     - Description Display fixed
147     - [1.2-2]
148    
149     * Fri Apr 14 2006 Stephen Noble <support@dungog.net>
150     - FormMagick Version
151     - [1.2-1]
152    
153     * Thu Apr 13 2006 Stephen Noble <support@dungog.net>
154     - merged sshkeys panel and functions
155     - [1.0-13]
156    
157     * Wed Apr 12 2006 Stephen Noble <support@dungog.net>
158     - possible fix for Insecure dependency on rc1
159     - [1.0-12]
160    
161     * Wed Apr 12 2006 Stephen Noble <support@dungog.net>
162     - option to set VPN Client Access
163     - uses user-modify event
164     - [1.0-11]
165    
166     * Thu Feb 23 2006 Stephen Noble <support@dungog.net>
167     - proftp.conf/05chroot added as custom template for now
168     - defaults all users to ~/home
169     - Shell db settings changed was LoginShell
170     - [1.0-10]
171    
172     * Thu Feb 23 2006 Stephen Noble <support@dungog.net>
173     - global/individual rssh clarified
174     - global reset removed
175     - chroot db settings changed
176     - [1.0-9]
177    
178     * Tue Feb 21 2006 Stephen Noble <support@dungog.net>
179     - SME 7 pre3 version
180     - [1.0-8]
181    
182     * Thu Aug 11 2005 Stephen Noble <support@dungog.net>
183     - SME 7 release
184     - [1.0-7]
185    
186     * Sun Jul 17 2005 Stephen Noble <support@dungog.net>
187     - Merge of e-smith-usershellaccess & dungog-chroot-proftp
188     - original elements by Daniel van Raay & Damien Curtain
189     - [1.0-1]
190    
191     %prep
192     %setup
193     %patch0 -p1
194     %patch1 -p1
195     %patch2 -p1
196 dungog 1.2 %patch3 -p1
197 dungog 1.3 %patch4 -p1
198 slords 1.4 %patch5 -p1
199 snetram 1.7 %patch6 -p1
200 snetram 1.8 %patch7 -p1
201 snetram 1.10 %patch8 -p1
202 snetram 1.11 %patch9 -p1
203 snetram 1.12 %patch10 -p1
204 dungog 1.13 %patch11 -p1
205 slords 1.1
206     %build
207     perl createlinks
208    
209     LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
210    
211     for lexicon in $LEXICONS
212     do
213     /sbin/e-smith/validate-lexicon $lexicon
214     done
215    
216 dungog 1.13 LINKS=$(find root/etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/root\/etc\/e-smith\/locale\///')
217 dungog 1.3 for link in $LINKS
218 slords 1.1 do
219 dungog 1.3 /bin/ln -s remoteuseraccess root/etc/e-smith/locale/$link/etc/e-smith/web/functions/userpanel-sshkeys
220 slords 1.1 done
221    
222     %install
223     rm -rf $RPM_BUILD_ROOT
224     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
225     rm -f %{name}-%{version}-filelist
226     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
227     echo "%doc COPYING" >> %{name}-%{version}-filelist
228    
229     %clean
230     cd ..
231     rm -rf %{name}-%{version}
232    
233     %pre
234     %preun
235     %post
236    
237     %postun
238     #uninstalls not upgrades
239     if [ $1 = 0 ] ; then
240     echo "uninstall"
241     fi
242    
243     %files -f %{name}-%{version}-filelist
244     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed