/[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.6 - (hide annotations) (download)
Tue Apr 22 09:11:45 2008 UTC (16 years, 7 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-20_el4_sme
Changes since 1.5: +6 -2 lines
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2-20
- Apply 22 April 2008 locale patch

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

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