SPECS: scponly.spec - updated to 4.6 (fixes CVE-2005-4532 in chroo...

qboosh qboosh at pld-linux.org
Wed Apr 11 13:51:27 CEST 2007


Author: qboosh                       Date: Wed Apr 11 11:51:27 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 4.6 (fixes CVE-2005-4532 in chroot package)
- updated DESTDIR,setup_chroot patches
- pl for -chroot

---- Files affected:
SPECS:
   scponly.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/scponly.spec
diff -u SPECS/scponly.spec:1.10 SPECS/scponly.spec:1.11
--- SPECS/scponly.spec:1.10	Mon Feb 12 23:09:14 2007
+++ SPECS/scponly.spec	Wed Apr 11 13:51:22 2007
@@ -10,21 +10,23 @@
 #  - maybe there already exists generic chroot env provider package?
 #
 # Conditional build:
-%bcond_with	chroot # build experimental chroot package
+%bcond_with	chroot	# build experimental chroot package
+#
 Summary:	A restricted shell for assigning scp- or sftp-only access
 Summary(pl.UTF-8):	Okrojona powłoka dająca dostęp tylko do scp i/lub sftp
 Name:		scponly
-Version:	4.0
-Release:	1.15
+Version:	4.6
+Release:	0.1
 License:	BSD-like
 Group:		Applications/Shells
-Source0:	http://www.sublimation.org/scponly/%{name}-%{version}.tgz
-# Source0-md5:	1706732945996865ed0cccd440b64fc1
+#Source0Download: http://sublimation.org/scponly/wiki/index.php/Download
+Source0:	http://sublimation.org/scponly/%{name}-%{version}.tgz
+# Source0-md5:	0425cb868cadd026851238452f1db907
 Patch0:		%{name}-sftp_path.patch
 Patch1:		%{name}-DESTDIR.patch
 Patch2:		%{name}-man.patch
 Patch3:		%{name}-setup_chroot.patch
-URL:		http://www.sublimation.org/scponly/
+URL:		http://sublimation.org/scponly/
 BuildRequires:	autoconf
 BuildRequires:	automake
 %if %{with chroot}
@@ -42,7 +44,7 @@
 # better destination?
 %define		_datadir	/usr/lib/%{name}
 %define		_noautoprovfiles	%{_datadir}
-%define		_noautoreqfiles	%{_datadir}
+%define		_noautoreqfiles		%{_datadir}
 %endif
 
 %description
@@ -74,6 +76,7 @@
 
 %package chroot
 Summary:	Chroot capable scponly
+Summary(pl.UTF-8):	scponly wykonujące chroot
 Group:		Applications/Shells
 License:	BSD-like
 # + No idea due packaging system libraries
@@ -86,6 +89,13 @@
 package to understand what implications this suid binary installations
 could bring.
 
+%description chroot -l pl.UTF-8
+Ten pakiet zawiera program scponly z ustawionym bitem suid. Jako że
+scponly jest wywoływane po zalogowaniu autoryzowanego użytkownika,
+musi mieć ten bit ustawiony w celu wykonania wywołania chroot(). O
+konsekwencjach tego można przeczytać w pliku INSTALL z głównego
+pakietu.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -179,7 +189,7 @@
 %attr(755,root,root) %{_sbindir}/%{name}
 %{_mandir}/man?/*
 # old compat symlink
-/bin/scponly
+%attr(755,root,root) /bin/scponly
 
 %if %{with chroot}
 %files chroot
@@ -230,6 +240,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2007/04/11 11:51:22  qboosh
+- updated to 4.6 (fixes CVE-2005-4532 in chroot package)
+- updated DESTDIR,setup_chroot patches
+- pl for -chroot
+
 Revision 1.10  2007/02/12 22:09:14  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/scponly.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list