/[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.19 - (show annotations) (download)
Thu Jan 1 11:41:15 2009 UTC (15 years, 10 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-29_el4_sme
Changes since 1.18: +7 -2 lines
* Thu Jan  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-29
- Apply  1 Jan 2009 locale patch [SME: 4900]

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

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