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

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

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


Revision 1.26 - (show annotations) (download)
Wed Mar 3 04:03:11 2010 UTC (14 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-36_el4_sme
Changes since 1.25: +7 -2 lines
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.2-36.sme
- apply locale 2010-03-02 patch

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

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