/[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.5 - (hide annotations) (download)
Wed Mar 9 07:30:26 2016 UTC (8 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-40_el5_sme, HEAD
Changes since 1.4: +4 -3 lines
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.2-40.sme
- apply locale 2016-03-09 patch
- fix bogus dates

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

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