/[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.7 by dungog, Wed Dec 26 05:51:05 2007 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 14
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  BuildRoot: /var/tmp/e-smith-buildroot  BuildRoot: /var/tmp/e-smith-buildroot
15  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
16  BuildArchitectures: noarch  BuildArchitectures: noarch
17  Requires: e-smith-release >= 7  Requires: e-smith-release >= 7
18  Requires: e-smith-proftpd >= 1.12.0-6  Requires: e-smith-proftpd >= 1.12.0-6
19  Requires: e-smith-openssh >= 1.11.0-24  Requires: e-smith-openssh >= 1.11.0-24
20  Requires: perl-CGI-FormMagick >= 0.92-08  Requires: perl-CGI-FormMagick >= 0.92-08
21  Obsoletes: dungog-proftpd-chroot  Obsoletes: dungog-proftpd-chroot
# Line 29  where you can enable shell access on a u Line 29  where you can enable shell access on a u
29    
30  Shells available bash, optionally with sudo  Shells available bash, optionally with sudo
31  or rssh which allows scp sftp rsync cvs rdist  or rssh which allows scp sftp rsync cvs rdist
32    TODO Chroot RSSH shell access.
33    
34  Also sets Chroots FTP access, VPN Client Access,  Also sets Chroots FTP access, VPN Client Access,
35  and allows you to enter ssh keys  and allows you to enter ssh keys  
36    
37  %changelog  %changelog
38    * Thu Dec 20 2007 Stephen Noble <support@dungog.net>
39    - french menu fix 1.2-14
40    
41    * Thu Dec 20 2007 Stephen Noble <support@dungog.net>
42    - french translation, thanks Sylvain 1.2-13
43    
44    * Wed Jun 13 2007 Stephen Noble <support@dungog.net>
45    - apply changes from 1.2-2 to 1.2-12
46    
47    * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
48    - Clean up spec so package can be built by koji/plague
49    
50  * Sun Feb 18 2007 Stephen Noble <support@dungog.net>  * Sun Feb 18 2007 Stephen Noble <support@dungog.net>
51  - swedish translation, thanks Chrille  - swedish translation, thanks Chrille
52  - [1.2-12]  - [1.2-12]
# Line 44  and allows you to enter ssh keys Line 57  and allows you to enter ssh keys
57  - default set, ftp{ChrootDir} = home  - default set, ftp{ChrootDir} = home
58  - [1.2-11]  - [1.2-11]
59    
60    * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
61    - Update to new release naming.  No functional changes.
62    - Make Packager generic
63    
64  * Thu Nov 23 2006 Stephen Noble <support@dungog.net>  * Thu Nov 23 2006 Stephen Noble <support@dungog.net>
65  - chroot path fix when home set [sme 2084]  - chroot path fix when home set [sme 2084]
66  - [1.2-10]  - [1.2-10]
# Line 58  and allows you to enter ssh keys Line 75  and allows you to enter ssh keys
75  - [1.2-8]  - [1.2-8]
76    
77  * Fri Nov 3 2006 Stephen Noble <support@dungog.net>  * Fri Nov 3 2006 Stephen Noble <support@dungog.net>
78  - german translation fix  - german translation fix
79  - [1.2-7]  - [1.2-7]
80    
81  * 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 95  and allows you to enter ssh keys
95  - German translation added, thanks Dietmar  - German translation added, thanks Dietmar
96  - [1.2-3]  - [1.2-3]
97    
98  * Mon Apr 24 2006 Stephen Noble <support@dungog.net>  * Mon Apr 24 2006 Stephen Noble <support@dungog.net>
99  - Description Display fixed  - Description Display fixed
100  - [1.2-2]  - [1.2-2]
101    
102  * Fri Apr 14 2006 Stephen Noble <support@dungog.net>  * Fri Apr 14 2006 Stephen Noble <support@dungog.net>
103  - FormMagick Version  - FormMagick Version
104  - [1.2-1]  - [1.2-1]
105    
106  * Thu Apr 13 2006 Stephen Noble <support@dungog.net>  * Thu Apr 13 2006 Stephen Noble <support@dungog.net>
107  - merged sshkeys panel and functions  - merged sshkeys panel and functions
108  - [1.0-13]  - [1.0-13]
109    
110  * Wed Apr 12 2006 Stephen Noble <support@dungog.net>  * Wed Apr 12 2006 Stephen Noble <support@dungog.net>
111  - possible fix for Insecure dependency on rc1  - possible fix for Insecure dependency on rc1
112  - [1.0-12]  - [1.0-12]
113    
114  * Wed Apr 12 2006 Stephen Noble <support@dungog.net>  * Wed Apr 12 2006 Stephen Noble <support@dungog.net>
115  - option to set VPN Client Access  - option to set VPN Client Access
116  - uses user-modify event  - uses user-modify event
117  - [1.0-11]  - [1.0-11]
# Line 126  and allows you to enter ssh keys Line 143  and allows you to enter ssh keys
143    
144  %prep  %prep
145  %setup  %setup
146    %patch0 -p1
147    %patch1 -p1
148    
149  %build  %build
150  perl createlinks  perl createlinks
151    
152  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  
153    
154  LEXICONS=$(find root/etc/e-smith/locale/ -type f )  for lexicon in $LEXICONS
 LEXICON2=root/etc/e-smith/web/functions/remoteuseraccess  
 LEXICON3=root/etc/e-smith/web/functions/userpanel-sshkeys  
   
 for lexicon in $LEXICONS $LEXICON2 $LEXICON3  
155  do  do
156      /sbin/e-smith/validate-lexicon $lexicon      /sbin/e-smith/validate-lexicon $lexicon
157  done  done
158    
159  #de en-us es fr it sv                  FIXME ADD NEW LANGUAGES EACH TIME    ++++++++  #todo, it
160  for LINK in en-us fr de es sv  for LINK in en-us fr de es sv
161  do  do
162  #  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  
163  done  done
164    
165  %install  %install
# Line 165  rm -rf %{name}-%{version} Line 177  rm -rf %{name}-%{version}
177  %preun  %preun
178  %post  %post
179    
 #/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  
   
180  %postun  %postun
181  #uninstalls not upgrades  #uninstalls not upgrades
182  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
183   echo "uninstalled remoteuseraccess"   echo "uninstall"
  # /etc/e-smith/events/actions/navigation-conf 2>/dev/null  
184  fi  fi
185    
186  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
187  %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