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

Diff of /rpms/smeserver-remoteuseraccess/contribs7/smeserver-remoteuseraccess-1.2.spec

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

Revision 1.2 by slords, Sat Dec 22 21:41:57 2007 UTC Revision 1.10 by dungog, Fri Jan 11 09:30:10 2008 UTC
# Line 1  Line 1 
1  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
2  %define name smeserver-remoteuseraccess  %define name smeserver-remoteuseraccess
3  Name: %{name}  Name: %{name}
4  %define version 1.2  %define version 1.2
5  %define release 12  %define release 16
6  Version: %{version}  Version: %{version}
7  Release: %{release}  Release: %{release}%{?dist}
8  Distribution: SME Server  License: GNU GPL version 2
 License: GPL  
9  URL: http://www.dungog.net/sme  URL: http://www.dungog.net/sme
10  Group: Networking/Daemons  Group: Networking/Daemons
11  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
12  Packager: Stephen Noble <support@dungog.net>  Patch0: smeserver-remoteuseraccess-fr.patch
13    Patch1: smeserver-remoteuseraccess-1.2-frMenu.patch
14    Patch2: smeserver-remoteuseraccess-1.2-event-rssh.patch
15  BuildRoot: /var/tmp/e-smith-buildroot  BuildRoot: /var/tmp/e-smith-buildroot
16  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
17  BuildArchitectures: noarch  BuildArchitectures: noarch
18  Requires: e-smith-release >= 7  Requires: e-smith-release >= 7
19  Requires: e-smith-proftpd >= 1.12.0-6  Requires: e-smith-proftpd >= 1.12.0-6
20  Requires: e-smith-openssh >= 1.11.0-24  Requires: e-smith-openssh >= 1.11.0-24
21  Requires: perl-CGI-FormMagick >= 0.92-08  Requires: perl-CGI-FormMagick >= 0.92-08
22  Obsoletes: dungog-proftpd-chroot  Obsoletes: dungog-proftpd-chroot
# Line 29  where you can enable shell access on a u Line 30  where you can enable shell access on a u
30    
31  Shells available bash, optionally with sudo  Shells available bash, optionally with sudo
32  or rssh which allows scp sftp rsync cvs rdist  or rssh which allows scp sftp rsync cvs rdist
33    TODO Chroot RSSH shell access.
34    
35  Also sets Chroots FTP access, VPN Client Access,  Also sets Chroots FTP access, VPN Client Access,
36  and allows you to enter ssh keys  and allows you to enter ssh keys  
37    
38  %changelog  %changelog
39    * Fri Jan 11 2008 Stephen Noble <support@dungog.net> 1.2-16
40    - remove duplicate event rssh.conf [SME 3470]
41    
42    * Thu Dec 20 2007 Stephen Noble <support@dungog.net>
43    - french menu fix 1.2-14
44    
45    * Thu Dec 20 2007 Stephen Noble <support@dungog.net>
46    - french translation, thanks Sylvain 1.2-13
47    
48    * Wed Jun 13 2007 Stephen Noble <support@dungog.net>
49    - apply changes from 1.2-2 to 1.2-12
50    
51    * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
52    - Clean up spec so package can be built by koji/plague
53    
54  * Sun Feb 18 2007 Stephen Noble <support@dungog.net>  * Sun Feb 18 2007 Stephen Noble <support@dungog.net>
55  - swedish translation, thanks Chrille  - swedish translation, thanks Chrille
56  - [1.2-12]  - [1.2-12]
# Line 44  and allows you to enter ssh keys Line 61  and allows you to enter ssh keys
61  - default set, ftp{ChrootDir} = home  - default set, ftp{ChrootDir} = home
62  - [1.2-11]  - [1.2-11]
63    
64    * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
65    - Update to new release naming.  No functional changes.
66    - Make Packager generic
67    
68  * Thu Nov 23 2006 Stephen Noble <support@dungog.net>  * Thu Nov 23 2006 Stephen Noble <support@dungog.net>
69  - chroot path fix when home set [sme 2084]  - chroot path fix when home set [sme 2084]
70  - [1.2-10]  - [1.2-10]
# Line 58  and allows you to enter ssh keys Line 79  and allows you to enter ssh keys
79  - [1.2-8]  - [1.2-8]
80    
81  * Fri Nov 3 2006 Stephen Noble <support@dungog.net>  * Fri Nov 3 2006 Stephen Noble <support@dungog.net>
82  - german translation fix  - german translation fix
83  - [1.2-7]  - [1.2-7]
84    
85  * Fri Aug 25 2006 Stephen Noble <support@dungog.net>  * Fri Aug 25 2006 Stephen Noble <support@dungog.net>
# Line 78  and allows you to enter ssh keys Line 99  and allows you to enter ssh keys
99  - German translation added, thanks Dietmar  - German translation added, thanks Dietmar
100  - [1.2-3]  - [1.2-3]
101    
102  * Mon Apr 24 2006 Stephen Noble <support@dungog.net>  * Mon Apr 24 2006 Stephen Noble <support@dungog.net>
103  - Description Display fixed  - Description Display fixed
104  - [1.2-2]  - [1.2-2]
105    
106  * Fri Apr 14 2006 Stephen Noble <support@dungog.net>  * Fri Apr 14 2006 Stephen Noble <support@dungog.net>
107  - FormMagick Version  - FormMagick Version
108  - [1.2-1]  - [1.2-1]
109    
110  * Thu Apr 13 2006 Stephen Noble <support@dungog.net>  * Thu Apr 13 2006 Stephen Noble <support@dungog.net>
111  - merged sshkeys panel and functions  - merged sshkeys panel and functions
112  - [1.0-13]  - [1.0-13]
113    
114  * Wed Apr 12 2006 Stephen Noble <support@dungog.net>  * Wed Apr 12 2006 Stephen Noble <support@dungog.net>
115  - possible fix for Insecure dependency on rc1  - possible fix for Insecure dependency on rc1
116  - [1.0-12]  - [1.0-12]
117    
118  * Wed Apr 12 2006 Stephen Noble <support@dungog.net>  * Wed Apr 12 2006 Stephen Noble <support@dungog.net>
119  - option to set VPN Client Access  - option to set VPN Client Access
120  - uses user-modify event  - uses user-modify event
121  - [1.0-11]  - [1.0-11]
# Line 126  and allows you to enter ssh keys Line 147  and allows you to enter ssh keys
147    
148  %prep  %prep
149  %setup  %setup
150    %patch0 -p1
151    %patch1 -p1
152    %patch2 -p1
153    
154  %build  %build
155  perl createlinks  perl createlinks
156    
157  mkdir -p         root/etc/e-smith/db/configuration/defaults/ftp  LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
 echo "home" >    root/etc/e-smith/db/configuration/defaults/ftp/ChrootDir  
   
 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  
158    
159  for lexicon in $LEXICONS $LEXICON2 $LEXICON3  for lexicon in $LEXICONS
160  do  do
161      /sbin/e-smith/validate-lexicon $lexicon      /sbin/e-smith/validate-lexicon $lexicon
162  done  done
163    
164  #de en-us es fr it sv                  FIXME ADD NEW LANGUAGES EACH TIME    ++++++++  #todo, it
165  for LINK in en-us fr de es sv  for LINK in en-us fr de es sv
166  do  do
167  #  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
      /bin/ln -s remoteuseraccess root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-sshkeys  
 #  fi  
168  done  done
169    
170  %install  %install
# Line 165  rm -rf %{name}-%{version} Line 182  rm -rf %{name}-%{version}
182  %preun  %preun
183  %post  %post
184    
 #/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  
   
185  %postun  %postun
186  #uninstalls not upgrades  #uninstalls not upgrades
187  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
188   echo "uninstalled remoteuseraccess"   echo "uninstall"
  # /etc/e-smith/events/actions/navigation-conf 2>/dev/null  
189  fi  fi
190    
191  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
192  %defattr(-,root,root)  %defattr(-,root,root)
   


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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