rpms/amanda/F-9 amanda-2.5.2p1-tcpport.patch, NONE, 1.1 amanda.spec, 1.49, 1.50

Daniel Novotny dnovotny at fedoraproject.org
Wed Oct 15 13:53:59 UTC 2008


Author: dnovotny

Update of /cvs/pkgs/rpms/amanda/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4701

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/F-9/amanda.spec,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- amanda.spec	26 Aug 2008 10:40:28 -0000	1.49
+++ amanda.spec	15 Oct 2008 13:53:29 -0000	1.50
@@ -11,7 +11,7 @@
 Summary: A network-capable tape backup solution
 Name: amanda
 Version: 2.5.2p1
-Release: 11%{?dist}
+Release: 12%{?dist}
 Source: http://download.sourceforge.net/amanda/amanda-%{version}.tar.gz
 Source1: amanda.crontab
 Source4: disklist
@@ -23,6 +23,7 @@
 Patch4: amanda-2.5.2p1-undefSymbols.patch
 Patch5: amanda-2.5.2p1-xattrs.patch
 Patch6: amanda-2.5.2p1-typo_chg_multi.patch
+Patch7: amanda-2.5.2p1-tcpport.patch
 License: BSD
 Group: Applications/System
 URL: http://www.amanda.org
@@ -90,6 +91,8 @@
 %patch4 -p1 -b .undefSymbols
 %patch5 -p1 -b .xattrs
 %patch6 -p1 -b .typo_chg_multi
+# solves #448071
+%patch7 -p1 -b .tcpport
 ./autogen
 
 %build
@@ -115,7 +118,7 @@
 	--with-bsdtcp-security \
 	--with-bsdudp-security \
 	--with-krb5-security \
-	--with-tcpportrange=1025,65535
+#	--with-tcpportrange=1025,65535
 	
 make %{?_smp_mflags}
 
@@ -363,6 +366,10 @@
 %{_libdir}/libamandad.so
 
 %changelog
+* Wed Oct 15 2008 Daniel Novotny <dnovotny at redhat.com> 2.5.2.p1-12
+- --with-tcpportrange removed again (people getting AVC denies, #462681)
+  #448071 re-solved with amanda.conf patch
+
 * Thu Aug 21 2008 Daniel Novotny <dnovotny at redhat.com> 2.5.2.p1-11
 - Username in /etc/xinetd.d/amanda has to be changed
   to 'amandabackup' because of the change from Thu Nov 22 2007




More information about the scm-commits mailing list