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

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

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


Revision 1.3 - (hide annotations) (download)
Wed Mar 9 07:22:45 2016 UTC (8 years, 8 months ago) by unnilennium
Branch: MAIN
Changes since 1.2: +9 -2 lines
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.2-39.sme
- apply locale 2016-03-09 patch

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

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