/[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.1 - (hide annotations) (download)
Sat Dec 22 21:30:54 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
Import on branch contribs7 of package smeserver-remoteuseraccess-1.2-12.src.rpm

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

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