--- rpms/smeserver-remoteuseraccess/contribs7/smeserver-remoteuseraccess-1.2.spec 2007/12/22 22:18:30 1.4 +++ rpms/smeserver-remoteuseraccess/contribs7/smeserver-remoteuseraccess-1.2.spec 2007/12/23 21:11:36 1.6 @@ -1,19 +1,20 @@ -Summary: Smeserver module to configure Shell and FTP and other access for users +Summary: Smeserver module to configure Shell and FTP access for individual users %define name smeserver-remoteuseraccess Name: %{name} %define version 1.2 -%define release 12 +%define release 13 Version: %{version} Release: %{release}%{?dist} -License: GPL +License: GNU GPL version 2 URL: http://www.dungog.net/sme Group: Networking/Daemons Source: %{name}-%{version}.tar.gz +Patch0: smeserver-remoteuseraccess-fr.patch BuildRoot: /var/tmp/e-smith-buildroot BuildRequires: e-smith-devtools BuildArchitectures: noarch Requires: e-smith-release >= 7 -Requires: e-smith-proftpd >= 1.12.0-6 +Requires: e-smith-proftpd >= 1.12.0-6 Requires: e-smith-openssh >= 1.11.0-24 Requires: perl-CGI-FormMagick >= 0.92-08 Obsoletes: dungog-proftpd-chroot @@ -27,11 +28,21 @@ where you can enable shell access on a u Shells available bash, optionally with sudo or rssh which allows scp sftp rsync cvs rdist +TODO Chroot RSSH shell access. -Also sets Chroots FTP access, VPN Client Access, -and allows you to enter ssh keys +Also sets Chroots FTP access, VPN Client Access, +and allows you to enter ssh keys %changelog +* Thu Dec 20 2007 Stephen Noble +- french translation, thanks Sylvain 1.2-13 + +* Wed Jun 13 2007 Stephen Noble +- apply changes from 1.2-2 to 1.2-12 + +* Sun Apr 29 2007 Shad L. Lords +- Clean up spec so package can be built by koji/plague + * Sun Feb 18 2007 Stephen Noble - swedish translation, thanks Chrille - [1.2-12] @@ -42,6 +53,10 @@ and allows you to enter ssh keys - default set, ftp{ChrootDir} = home - [1.2-11] +* Thu Dec 07 2006 Shad L. Lords +- Update to new release naming. No functional changes. +- Make Packager generic + * Thu Nov 23 2006 Stephen Noble - chroot path fix when home set [sme 2084] - [1.2-10] @@ -56,7 +71,7 @@ and allows you to enter ssh keys - [1.2-8] * Fri Nov 3 2006 Stephen Noble -- german translation fix +- german translation fix - [1.2-7] * Fri Aug 25 2006 Stephen Noble @@ -76,23 +91,23 @@ and allows you to enter ssh keys - German translation added, thanks Dietmar - [1.2-3] -* Mon Apr 24 2006 Stephen Noble +* Mon Apr 24 2006 Stephen Noble - Description Display fixed - [1.2-2] -* Fri Apr 14 2006 Stephen Noble +* Fri Apr 14 2006 Stephen Noble - FormMagick Version - [1.2-1] -* Thu Apr 13 2006 Stephen Noble +* Thu Apr 13 2006 Stephen Noble - merged sshkeys panel and functions - [1.0-13] -* Wed Apr 12 2006 Stephen Noble +* Wed Apr 12 2006 Stephen Noble - possible fix for Insecure dependency on rc1 - [1.0-12] -* Wed Apr 12 2006 Stephen Noble +* Wed Apr 12 2006 Stephen Noble - option to set VPN Client Access - uses user-modify event - [1.0-11] @@ -124,28 +139,25 @@ and allows you to enter ssh keys %prep %setup +%patch0 -p1 %build perl createlinks -mkdir -p root/etc/e-smith/db/configuration/defaults/ftp -echo "home" > root/etc/e-smith/db/configuration/defaults/ftp/ChrootDir +LEXICONS1=$(find root/etc/e-smith/locale/ -type f ) +LEXICONS2=$(find root/etc/e-smith/web/functions/remoteuseraccess -type f ) +LEXICONS2=$(find root/etc/e-smith/web/functions/userpanel-sshkeys -type f ) -LEXICONS=$(find root/etc/e-smith/locale/ -type f ) -LEXICON2=root/etc/e-smith/web/functions/remoteuseraccess -LEXICON3=root/etc/e-smith/web/functions/userpanel-sshkeys - -for lexicon in $LEXICONS $LEXICON2 $LEXICON3 +for lexicon in $LEXICONS1 $LEXICONS2 $LEXICONS3 do /sbin/e-smith/validate-lexicon $lexicon done -#de en-us es fr it sv FIXME ADD NEW LANGUAGES EACH TIME ++++++++ +#de en-us es fr it for LINK in en-us fr de es sv do -# if [ -z "/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/remoteuseraccess"] ; then - /bin/ln -s remoteuseraccess root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-sshkeys -# fi + /bin/ln -s remoteuseraccess \ + root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-sshkeys done %install @@ -163,19 +175,11 @@ rm -rf %{name}-%{version} %preun %post -#/etc/e-smith/events/actions/navigation-conf 2>/dev/null - -#if [ -d /etc/e-smith/events/conf-userpanel ] ; then -# /sbin/e-smith/signal-event conf-userpanel -#fi - %postun #uninstalls not upgrades if [ $1 = 0 ] ; then - echo "uninstalled remoteuseraccess" - # /etc/e-smith/events/actions/navigation-conf 2>/dev/null + echo "uninstall" fi %files -f %{name}-%{version}-filelist %defattr(-,root,root) -