/[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.4 - (show annotations) (download)
Tue Apr 1 18:49:58 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-19_el4_sme
Changes since 1.3: +12 -2 lines
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.2-19
- Update to UTF-8 translations

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

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