/[smecontribs]/rpms/smeserver-remoteuseraccess/contribs7/smeserver-remoteuseraccess.spec
ViewVC logotype

Annotation of /rpms/smeserver-remoteuseraccess/contribs7/smeserver-remoteuseraccess.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.18 - (hide annotations) (download)
Sun Nov 30 22:05:35 2008 UTC (16 years ago) by snetram
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-28_el4_sme
Changes since 1.17: +7 -2 lines
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-28
- Apply 30 Nov 2008 locale patch

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

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