/[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.21 - (show annotations) (download)
Mon Apr 27 16:11:21 2009 UTC (15 years, 6 months ago) by slords
Branch: MAIN
Changes since 1.20: +7 -2 lines
Apply locale changes

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