/[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.11 - (hide annotations) (download)
Wed May 21 20:24:15 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
Changes since 1.10: +7 -2 lines
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-24
- Apply 21 May 2008 locale patch

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

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