/[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.3 - (hide annotations) (download)
Tue Mar 11 11:13:53 2008 UTC (16 years, 7 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-18_el4_sme
Changes since 1.2: +8 -8 lines
add locale patch

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

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