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