/[smecontribs]/rpms/smeserver-remoteuseraccess/contribs7/smeserver-remoteuseraccess-1.2.spec
ViewVC logotype

Annotation of /rpms/smeserver-remoteuseraccess/contribs7/smeserver-remoteuseraccess-1.2.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (hide annotations) (download)
Sat Dec 22 22:18:30 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-12_el4_sme
Changes since 1.3: +0 -2 lines
Remove Packager/Distribution (added by buildsys)

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

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