/[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.10 - (show annotations) (download)
Mon May 5 19:25:53 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
Changes since 1.9: +7 -2 lines
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-23
- Apply 5 May 2008 locale patch

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

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