/[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.5 - (show annotations) (download)
Mon Aug 23 07:42:21 2021 UTC (3 years, 2 months ago) by terryfage
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_3-6_el7_sme, HEAD
Changes since 1.4: +9 -3 lines
* Mon Aug 23 2021 Terry Fage <terry.fage@gmail.com> 1.3-6.sme
- apply locale 2021-08-23 patch

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

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