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

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

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


Revision 1.3 - (hide annotations) (download)
Wed Feb 24 05:09:36 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_3-4_el7_sme
Changes since 1.2: +6 -3 lines
* Wed Feb 24 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.3-4.sme
- add empty -update event [SME: 11056]

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

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