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

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

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


Revision 1.4 - (show annotations) (download)
Thu Feb 25 04:49:43 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_3-5_el7_sme
Changes since 1.3: +7 -2 lines
* Wed Feb 24 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.3-5.sme
- fix encoding issue in table display [SME: 11396]

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

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