/[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.4 by slords, Sat Dec 22 22:18:30 2007 UTC Revision 1.5 by slords, Sun Dec 23 21:07:07 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}%{?dist}  Release: %{release}%{?dist}
8  License: GPL  Distribution: SME Server
9    License: GNU GPL version 2
10  URL: http://www.dungog.net/sme  URL: http://www.dungog.net/sme
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
13    Patch0: smeserver-remoteuseraccess-fr.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 27  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 translation, thanks Sylvain 1.2-13
40    
41    * Wed Jun 13 2007 Stephen Noble <support@dungog.net>
42    - apply changes from 1.2-2 to 1.2-12
43    
44    * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
45    - Clean up spec so package can be built by koji/plague
46    
47  * Sun Feb 18 2007 Stephen Noble <support@dungog.net>  * Sun Feb 18 2007 Stephen Noble <support@dungog.net>
48  - swedish translation, thanks Chrille  - swedish translation, thanks Chrille
49  - [1.2-12]  - [1.2-12]
# Line 42  and allows you to enter ssh keys Line 54  and allows you to enter ssh keys
54  - default set, ftp{ChrootDir} = home  - default set, ftp{ChrootDir} = home
55  - [1.2-11]  - [1.2-11]
56    
57    * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
58    - Update to new release naming.  No functional changes.
59    - Make Packager generic
60    
61  * Thu Nov 23 2006 Stephen Noble <support@dungog.net>  * Thu Nov 23 2006 Stephen Noble <support@dungog.net>
62  - chroot path fix when home set [sme 2084]  - chroot path fix when home set [sme 2084]
63  - [1.2-10]  - [1.2-10]
# Line 56  and allows you to enter ssh keys Line 72  and allows you to enter ssh keys
72  - [1.2-8]  - [1.2-8]
73    
74  * Fri Nov 3 2006 Stephen Noble <support@dungog.net>  * Fri Nov 3 2006 Stephen Noble <support@dungog.net>
75  - german translation fix  - german translation fix
76  - [1.2-7]  - [1.2-7]
77    
78  * Fri Aug 25 2006 Stephen Noble <support@dungog.net>  * Fri Aug 25 2006 Stephen Noble <support@dungog.net>
# Line 76  and allows you to enter ssh keys Line 92  and allows you to enter ssh keys
92  - German translation added, thanks Dietmar  - German translation added, thanks Dietmar
93  - [1.2-3]  - [1.2-3]
94    
95  * Mon Apr 24 2006 Stephen Noble <support@dungog.net>  * Mon Apr 24 2006 Stephen Noble <support@dungog.net>
96  - Description Display fixed  - Description Display fixed
97  - [1.2-2]  - [1.2-2]
98    
99  * Fri Apr 14 2006 Stephen Noble <support@dungog.net>  * Fri Apr 14 2006 Stephen Noble <support@dungog.net>
100  - FormMagick Version  - FormMagick Version
101  - [1.2-1]  - [1.2-1]
102    
103  * Thu Apr 13 2006 Stephen Noble <support@dungog.net>  * Thu Apr 13 2006 Stephen Noble <support@dungog.net>
104  - merged sshkeys panel and functions  - merged sshkeys panel and functions
105  - [1.0-13]  - [1.0-13]
106    
107  * Wed Apr 12 2006 Stephen Noble <support@dungog.net>  * Wed Apr 12 2006 Stephen Noble <support@dungog.net>
108  - possible fix for Insecure dependency on rc1  - possible fix for Insecure dependency on rc1
109  - [1.0-12]  - [1.0-12]
110    
111  * Wed Apr 12 2006 Stephen Noble <support@dungog.net>  * Wed Apr 12 2006 Stephen Noble <support@dungog.net>
112  - option to set VPN Client Access  - option to set VPN Client Access
113  - uses user-modify event  - uses user-modify event
114  - [1.0-11]  - [1.0-11]
# Line 124  and allows you to enter ssh keys Line 140  and allows you to enter ssh keys
140    
141  %prep  %prep
142  %setup  %setup
143    %patch0 -p1
144    
145  %build  %build
146  perl createlinks  perl createlinks
147    
148  mkdir -p         root/etc/e-smith/db/configuration/defaults/ftp  LEXICONS1=$(find root/etc/e-smith/locale/ -type f )
149  echo "home" >    root/etc/e-smith/db/configuration/defaults/ftp/ChrootDir  LEXICONS2=$(find root/etc/e-smith/web/functions/remoteuseraccess -type f )
150    LEXICONS2=$(find root/etc/e-smith/web/functions/userpanel-sshkeys -type f )
151    
152  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  
153  do  do
154      /sbin/e-smith/validate-lexicon $lexicon      /sbin/e-smith/validate-lexicon $lexicon
155  done  done
156    
157  #de en-us es fr it sv                  FIXME ADD NEW LANGUAGES EACH TIME    ++++++++  #de en-us es fr it
158  for LINK in en-us fr de es sv  for LINK in en-us fr de es sv
159  do  do
160  #  if [ -z "/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/remoteuseraccess"] ; then       /bin/ln -s remoteuseraccess \
161       /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  
162  done  done
163    
164  %install  %install
# Line 163  rm -rf %{name}-%{version} Line 176  rm -rf %{name}-%{version}
176  %preun  %preun
177  %post  %post
178    
 #/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  
   
179  %postun  %postun
180  #uninstalls not upgrades  #uninstalls not upgrades
181  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
182   echo "uninstalled remoteuseraccess"   echo "uninstall"
  # /etc/e-smith/events/actions/navigation-conf 2>/dev/null  
183  fi  fi
184    
185  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
186  %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