/[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.12 - (show annotations) (download)
Tue Jul 1 20:08:41 2008 UTC (16 years, 5 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-25_el4_sme
Changes since 1.11: +7 -2 lines
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-25
- Apply 1 July 2008 locale patch

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

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