public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-firewall/fwbuilder/files: 4.0.1-secure-mktemp.patch
@ 2010-06-05 22:42 Joshua Kinard (kumba)
  0 siblings, 0 replies; 2+ messages in thread
From: Joshua Kinard (kumba) @ 2010-06-05 22:42 UTC (permalink / raw
  To: gentoo-commits

kumba       10/06/05 22:42:20

  Added:                4.0.1-secure-mktemp.patch
  Log:
  Import ebuild for fwbuilder-4.0.1.  Addresses #318689.  Marked ~ on x86, amd64, ppc, and ppc64, per older ebuilds.
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-firewall/fwbuilder/files/4.0.1-secure-mktemp.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwbuilder/files/4.0.1-secure-mktemp.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwbuilder/files/4.0.1-secure-mktemp.patch?rev=1.1&content-type=text/plain

Index: 4.0.1-secure-mktemp.patch
===================================================================
diff -Naurp fwbuilder-4.0.1.orig//src/res/configlets/linux24/routing_functions fwbuilder-4.0.1//src/res/configlets/linux24/routing_functions
--- fwbuilder-4.0.1.orig//src/res/configlets/linux24/routing_functions	2009-12-17 23:12:01.000000000 -0500
+++ fwbuilder-4.0.1//src/res/configlets/linux24/routing_functions	2010-06-05 14:04:15.735061939 -0400
@@ -14,9 +14,9 @@
 
 # ============== ROUTING RULES ============== 
 
-TMPDIRNAME="/tmp/.fwbuilder.tempdir.$$"
+TMPDIRNAME="$(umask 077 && mktemp --tmpdir=/tmp -d .fwbuilder.tempdir.XXXXXXXXXX)"
+[ $? != 0 ] && exit 1
 TMPFILENAME="$TMPDIRNAME/.fwbuilder.out"
-(umask 077 && mkdir $TMPDIRNAME) || exit 1
 
 #
 # This function stops stdout redirection






^ permalink raw reply	[flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-firewall/fwbuilder/files: 4.0.1-secure-mktemp.patch
@ 2011-03-30 20:52 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas HAttel (dilfridge) @ 2011-03-30 20:52 UTC (permalink / raw
  To: gentoo-commits

dilfridge    11/03/30 20:52:15

  Removed:              4.0.1-secure-mktemp.patch
  Log:
  Cleanup
  
  (Portage version: 2.1.9.45/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-30 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-05 22:42 [gentoo-commits] gentoo-x86 commit in net-firewall/fwbuilder/files: 4.0.1-secure-mktemp.patch Joshua Kinard (kumba)
  -- strict thread matches above, loose matches on Subject: below --
2011-03-30 20:52 Andreas HAttel (dilfridge)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox