/[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.5 - (hide annotations) (download)
Sun Dec 23 21:07:07 2007 UTC (16 years, 9 months ago) by slords
Branch: MAIN
Changes since 1.4: +37 -32 lines
Import on branch contribs7 of package smeserver-remoteuseraccess-1.2-13.el4.sme.src.rpm

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

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