/[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.16 - (show annotations) (download)
Sun Nov 23 04:58:10 2008 UTC (15 years, 11 months ago) by slords
Branch: MAIN
Changes since 1.15: +1 -1 lines
FILE REMOVED
Part of epel

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

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