/[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.7 - (hide annotations) (download)
Tue Apr 22 09:29:41 2008 UTC (16 years, 7 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-21_el4_sme
Changes since 1.6: +6 -2 lines
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-21
- Forgot to apply patch

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

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