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

Contents of /rpms/smeserver-remoteuseraccess/contribs7/smeserver-remoteuseraccess.spec

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


Revision 1.5 - (show annotations) (download)
Wed Apr 2 15:03:59 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.4: +4 -0 lines
Add Id, Authority, Name

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

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