Mandrake Linux Archives: changelog@mandrivalinux.org

Mandrake Linux: changelog@mandrivalinux.org


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

  • From: Tibor Pittich
  • Subject: [Contrib-Rpm] scponly-4.6-2mdk
  • Date: 7 Feb 2006 00:22:14 -0000

[Contrib-RPM]

-=-=-=-
Name        : scponly                      Relocations: (not relocatable)
Version     : 4.6                               Vendor: Mandriva
Release     : 2mdk                          Build Date: Tue Feb  7 01:16:00 2006
Install Date: (not installed)               Build Host: n5.mandriva.com
Group       : Networking/Remote access      Source RPM: (none)
Size        : 87538                            License: BSD
Signature   : (none)
Packager    : Tibor Pittich <Tibor.Pittich@mandriva.org>
URL         : http://sublimation.org/scponly/
Summary     : Connection shell to allow only scp/sftp/rsync/svn
Description :
"scponly" is an alternative 'shell' (of sorts) for system
administrators who would like to provide access to remote users to
both read and write local files without providing any remote execution
priviledges. Functionally, it is best described as a wrapper to the
"tried and true" ssh suite of applications.

This package have some configurable build options:
--with rsync	- build with support for rsync
--with svn	- build with support for subversion
--with unison	- build with support for unison
--with quota	- build with support for quota



-=-=-=-
Official maintainer: ghibo@mandriva.com

-=-=-=-
Tibor Pittich <Tibor.Pittich@mandriva.org> 4.6-2mdk

- add more compatibilities by default
- add configurable option for unison and quota
- add config.h into package

-=-=-=-
No rpmlint error, happy (wo)man :-)

-=-=-=-
http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/contrib-SPECS/scponly/

scponly.spec changed
--- scponly-4.6-1mdk.src.rpm/scponly.spec	2006-02-07 01:20:19.506910796 +0100
+++ scponly-4.6-2mdk.src.rpm/scponly.spec	2006-02-07 01:20:19.584898628 +0100
@@ -1,11 +1,15 @@
 %define	name	scponly
 %define	version	4.6
-%define	release	%mkrel 1
+%define	release	%mkrel 2
 
 %define	with_rsync	0
 %define	with_svn	0
+%define	with_unison	0
+%define with_quota	0
 %{?_with_rsync: %{expand: %%global with_rsync 1}}
 %{?_with_svn: %{expand: %%global with_svn 1}}
+%{?_with_unison: %{expand: %%global with_unison 1}}
+%{?_with_quota: %{expand: %%global with_quota 1}}
 
 Summary:	Connection shell to allow only scp/sftp/rsync/svn
 Name:		%{name}
@@ -28,6 +32,14 @@
 Requires:	subversion-server
 BuildRequires:	subversion-server
 %endif
+%if %{with_unison}
+Requires:	unison
+BuildRequires:	unison
+%endif
+%if %{with_quota}
+Requires:	quota
+BuildRequires:	quota
+%endif
 
 %description
 "scponly" is an alternative 'shell' (of sorts) for system
@@ -39,6 +51,8 @@
 This package have some configurable build options:
 --with rsync	- build with support for rsync
 --with svn	- build with support for subversion
+--with unison	- build with support for unison
+--with quota	- build with support for quota
 
 %prep
 %setup -q
@@ -47,16 +61,25 @@
 # temporary permission fix
 %__chmod 644 AUTHOR BUILDING-JAILS.TXT CHANGELOG CONTRIB COPYING INSTALL README TODO
 
-%configure	\
-	--enable-chrooted-binary \
+%configure      \
 %if %{with_rsync}
-	--enable-rsync-compat \
+        --enable-rsync-compat \
 %endif
 %if %{with_svn}
-	--enable-svn-compat \
-	--enable-svnserv-compat \
-%endif}
-	scponly_PROG_SFTP_SERVER=%{_libdir}/ssh/sftp-server
+        --enable-svn-compat \
+        --enable-svnserv-compat \
+%endif
+%if %{with_unison}
+	--enable-unison-compat \
+%endif
+%if %{with_quota}
+	--enable-quota-compat \
+%endif
+        --enable-chrooted-binary \
+        --enable-winscp-compat \
+        --enable-sftp-logging-compat \
+        --enable-scp-compat \
+        --enable-passwd-compat
 %make
 
 %install
@@ -66,6 +89,7 @@
 
 %__mkdir_p %{buildroot}%{_datadir}/%{name}-%{version}
 %__install -m 755 setup_chroot.sh %{buildroot}%{_datadir}/%{name}-%{version}
+%__install -m 644 config.h %{buildroot}%{_datadir}/%{name}-%{version}
 %__install -m 755 groups %{buildroot}%{_datadir}/%{name}-%{version}
 
 %post
@@ -91,6 +115,11 @@
 %{_datadir}/%{name}-%{version}/*
 
 %changelog
+* Tue Feb 07 2006 Tibor Pittich <Tibor.Pittich@mandriva.org> 4.6-2mdk
+- add more compatibilities by default
+- add configurable option for unison and quota
+- add config.h into package
+
 * Mon Feb 06 2006 Tibor Pittich <Tibor.Pittich@mandriva.org> 4.6-1mdk
 - 4.6
 


-- 
http://www.mandrivalinux.com/en/cookerdevel.php3



Date Index | Thread Index