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

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

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


Revision 1.2 - (show annotations) (download)
Sun Jul 14 23:40:33 2013 UTC (11 years, 4 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-38_el5_sme
Changes since 1.1: +7 -2 lines
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.2-38.sme
- apply locale 2013-07-14 patch

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

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