/[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.27 - (hide annotations) (download)
Sun Mar 6 15:28:25 2011 UTC (13 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.26: +7 -2 lines
Apply updates

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

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