diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2013-12-17 12:45:07 +0000 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2013-12-17 12:45:07 +0000 |
commit | a6d6013186982e22fd989597314b31c5ce807bb3 (patch) | |
tree | 24c814ff59167430fd6773578aa77f0aded07d83 /dev-perl/Proc-Daemon | |
parent | Fix dependencies and ensure NATIVE_DEPEND is always considered in DEPEND (bug... (diff) | |
download | gentoo-2-a6d6013186982e22fd989597314b31c5ce807bb3.tar.gz gentoo-2-a6d6013186982e22fd989597314b31c5ce807bb3.tar.bz2 gentoo-2-a6d6013186982e22fd989597314b31c5ce807bb3.zip |
revision bump for security bug #494508
(Portage version: 2.2.7/cvs/Linux i686, signed Manifest commit with key 0xC42EB5D6)
Diffstat (limited to 'dev-perl/Proc-Daemon')
-rw-r--r-- | dev-perl/Proc-Daemon/ChangeLog | 10 | ||||
-rw-r--r-- | dev-perl/Proc-Daemon/Proc-Daemon-0.140.0-r1.ebuild | 20 | ||||
-rw-r--r-- | dev-perl/Proc-Daemon/files/debian_pid.patch | 25 |
3 files changed, 53 insertions, 2 deletions
diff --git a/dev-perl/Proc-Daemon/ChangeLog b/dev-perl/Proc-Daemon/ChangeLog index 419ad3e73007..8e2e1882d47f 100644 --- a/dev-perl/Proc-Daemon/ChangeLog +++ b/dev-perl/Proc-Daemon/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-perl/Proc-Daemon -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Proc-Daemon/ChangeLog,v 1.36 2012/06/24 13:00:22 tove Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Proc-Daemon/ChangeLog,v 1.37 2013/12/17 12:45:07 zlogene Exp $ + +*Proc-Daemon-0.140.0-r1 (17 Dec 2013) + + 17 Dec 2013; Mikle Kolyada <zlogene@gentoo.org> + +Proc-Daemon-0.140.0-r1.ebuild, +files/debian_pid.patch: + revision bump for security bug #494508 24 Jun 2012; Torsten Veller <tove@gentoo.org> metadata.xml: Update CPAN upstream info diff --git a/dev-perl/Proc-Daemon/Proc-Daemon-0.140.0-r1.ebuild b/dev-perl/Proc-Daemon/Proc-Daemon-0.140.0-r1.ebuild new file mode 100644 index 000000000000..269a58b82974 --- /dev/null +++ b/dev-perl/Proc-Daemon/Proc-Daemon-0.140.0-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Proc-Daemon/Proc-Daemon-0.140.0-r1.ebuild,v 1.1 2013/12/17 12:45:07 zlogene Exp $ + +EAPI=5 + +MODULE_AUTHOR=DETI +MODULE_SECTION=Proc +MODULE_VERSION=0.14 +inherit perl-module + +DESCRIPTION="Perl Proc-Daemon - Run Perl program as a daemon process" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +PATCHES=( "${FILESDIR}"/debian_pid.patch ) + +SRC_TEST="do" diff --git a/dev-perl/Proc-Daemon/files/debian_pid.patch b/dev-perl/Proc-Daemon/files/debian_pid.patch new file mode 100644 index 000000000000..646a8b212f47 --- /dev/null +++ b/dev-perl/Proc-Daemon/files/debian_pid.patch @@ -0,0 +1,25 @@ +Description: Fix too permissive umask +Bug-Debian: http://bugs.debian.org/732283 +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=91450 +Author: Axel Beckert <abe@debian.org> + +Index: libproc-daemon-perl/lib/Proc/Daemon.pm +=================================================================== +--- libproc-daemon-perl.orig/lib/Proc/Daemon.pm 2013-08-29 16:50:09.000000000 +0200 ++++ libproc-daemon-perl/lib/Proc/Daemon.pm 2013-12-16 20:20:36.000000000 +0100 +@@ -152,7 +152,7 @@ + die "Can't <chdir> to $self->{work_dir}: $!" unless chdir $self->{work_dir}; + + # Clear the file creation mask. +- umask 0; ++ umask 066; + + # Detach the child from the terminal (no controlling tty), make it the + # session-leader and the process-group-leader of a new process group. +@@ -633,4 +633,4 @@ + return $pid; + } + +-1; +\ No newline at end of file ++1; |