/[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.20 - (show annotations) (download)
Sun Mar 1 19:28:19 2009 UTC (15 years, 9 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-30_el4_sme
Changes since 1.19: +7 -2 lines
* Sun Mar  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-30
- Apply  1 Mar 2009 locale patch [SME: 5018]

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

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