/[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.9 - (hide annotations) (download)
Mon Apr 28 23:21:45 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-22_el4_sme
Changes since 1.8: +2 -2 lines
Update requires

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

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