rpms/amanda/devel amanda-2.5.2p1-tcpport.patch, NONE, 1.1 amanda.spec, 1.50, 1.51

Daniel Novotny dnovotny at fedoraproject.org
Wed Oct 15 13:40:43 UTC 2008


Author: dnovotny

Update of /cvs/pkgs/rpms/amanda/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2936

Modified Files:
	amanda.spec 
Added Files:
	amanda-2.5.2p1-tcpport.patch 
Log Message:

- --with-tcpportrange removed again (people getting AVC denies, #462681)
  #448071 re-solved with amanda.conf patch


amanda-2.5.2p1-tcpport.patch:

--- NEW FILE amanda-2.5.2p1-tcpport.patch ---
diff -up amanda-2.5.2p1/example/amanda.conf.in.orig example/amanda.conf.in
--- amanda-2.5.2p1/example/amanda.conf.in.orig	2007-05-04 13:38:58.000000000 +0200
+++ amanda-2.5.2p1/example/amanda.conf.in	2008-09-19 15:22:17.000000000 +0200
@@ -70,6 +70,9 @@ tapebufs 20             # A positive int
 #          edition 2.5
 usetimestamps yes
 
+#resolves "resource temporarily unavailable" bug
+unreserved-tcp-port 1025,65535
+
 
 # Specify tape device and/or tape changer.  If you don't have a tape
 # changer, and you don't want to use more than one tape per run of


Index: amanda.spec
===================================================================
RCS file: /cvs/pkgs/rpms/amanda/devel/amanda.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- amanda.spec	27 Aug 2008 09:42:07 -0000	1.50
+++ amanda.spec	15 Oct 2008 13:40:12 -0000	1.51
@@ -11,7 +11,7 @@
 Summary: A network-capable tape backup solution
 Name: amanda
 Version: 2.5.2p1
-Release: 12%{?dist}
+Release: 13%{?dist}
 Source: http://download.sourceforge.net/amanda/amanda-%{version}.tar.gz
 Source1: amanda.crontab
 Source4: disklist
@@ -24,6 +24,7 @@
 Patch5: amanda-2.5.2p1-xattrs.patch
 Patch6: amanda-2.5.2p1-typo_chg_multi.patch
 Patch7: amanda-2.5.2p1-configure.patch
+Patch8: amanda-2.5.2p1-tcpport.patch
 License: BSD
 Group: Applications/System
 URL: http://www.amanda.org
@@ -92,6 +93,7 @@
 %patch5 -p1 -b .xattrs
 %patch6 -p1 -b .typo_chg_multi
 %patch7 -p1 -b .configure
+%patch8 -p1 -b .tcpport
 ./autogen
 
 %build
@@ -117,7 +119,7 @@
 	--with-bsdtcp-security \
 	--with-bsdudp-security \
 	--with-krb5-security \
-	--with-tcpportrange=1025,65535
+#	--with-tcpportrange=1025,65535
 	
 make %{?_smp_mflags}
 
@@ -365,6 +367,10 @@
 %{_libdir}/libamandad.so
 
 %changelog
+* Wed Oct 15 2008 Daniel Novotny <dnovotny at redhat.com> 2.5.2.p1-13 
+- --with-tcpportrange removed again (people getting AVC denies, #462681)
+  #448071 re-solved with amanda.conf patch
+
 * Wed Aug 27 2008 Daniel Novotny <dnovotny at redhat.com> 2.5.2.p1-11
 - new Autoconf 2.62 requires changes in Autoconf macros
   (resolves #449479)




More information about the scm-commits mailing list