diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-01-14 02:57:43 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-01-14 02:57:43 +0000 |
commit | 411aa7729278eba2f56b3a6b8875e9d65cfb20e1 (patch) | |
tree | 388c5319acf8c96d1bea271418f5ce4617857a92 /net-misc | |
parent | Metadata update. (diff) | |
download | gentoo-2-411aa7729278eba2f56b3a6b8875e9d65cfb20e1.tar.gz gentoo-2-411aa7729278eba2f56b3a6b8875e9d65cfb20e1.tar.bz2 gentoo-2-411aa7729278eba2f56b3a6b8875e9d65cfb20e1.zip |
Clean up ebuild and patch the vuln per bug #205732.
(Portage version: 2.1.4)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/vmpsd/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/vmpsd/files/digest-vmpsd-1.3-r4 | 3 | ||||
-rw-r--r-- | net-misc/vmpsd/files/vmpsd-1.3-format-sec.patch | 23 | ||||
-rw-r--r-- | net-misc/vmpsd/vmpsd-1.3-r4.ebuild | 43 |
4 files changed, 77 insertions, 2 deletions
diff --git a/net-misc/vmpsd/ChangeLog b/net-misc/vmpsd/ChangeLog index a614a2c8644b..0b7ac62ef00a 100644 --- a/net-misc/vmpsd/ChangeLog +++ b/net-misc/vmpsd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/vmpsd -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vmpsd/ChangeLog,v 1.5 2007/03/31 22:07:23 robbat2 Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/vmpsd/ChangeLog,v 1.6 2008/01/14 02:57:43 robbat2 Exp $ + +*vmpsd-1.3-r4 (14 Jan 2008) + + 14 Jan 2008; Robin H. Johnson <robbat2@gentoo.org> + +files/vmpsd-1.3-format-sec.patch, +vmpsd-1.3-r4.ebuild: + Clean up ebuild and patch the vuln per bug #205732. 31 Mar 2007; Robin H. Johnson <robbat2@gentoo.org> vmpsd-1.3-r2.ebuild, vmpsd-1.3-r3.ebuild: diff --git a/net-misc/vmpsd/files/digest-vmpsd-1.3-r4 b/net-misc/vmpsd/files/digest-vmpsd-1.3-r4 new file mode 100644 index 000000000000..577a1ce45315 --- /dev/null +++ b/net-misc/vmpsd/files/digest-vmpsd-1.3-r4 @@ -0,0 +1,3 @@ +MD5 07ad86343ad715c94b9de4c54c62d3db vmpsd-1.3.tar.gz 95202 +RMD160 1185fbd654d5d0e939fdfa08149d1ebcb3fc0ef2 vmpsd-1.3.tar.gz 95202 +SHA256 6f6bd6c5d1e9fc862c27cf783bcbabef21619aa5fe7984231eb55e32e11ca142 vmpsd-1.3.tar.gz 95202 diff --git a/net-misc/vmpsd/files/vmpsd-1.3-format-sec.patch b/net-misc/vmpsd/files/vmpsd-1.3-format-sec.patch new file mode 100644 index 000000000000..21fcd338093c --- /dev/null +++ b/net-misc/vmpsd/files/vmpsd-1.3-format-sec.patch @@ -0,0 +1,23 @@ +Patch taken from http://www.freenac.net/downloads/openvmps.patch +as mentioned at http://www.freenac.net/phpBB2/viewtopic.php?t=76 +for http://www.securityfocus.com/bid/15072/info +--- log.c 2006-09-08 16:33:01.000000000 +0200 ++++ /root/log.c 2006-10-22 16:32:11.000000000 +0200 +@@ -27,14 +27,14 @@ + log_opened = 1; + } + vsnprintf(str, 256, fmt, ap); +- syslog(LOG_INFO, str); ++ syslog(LOG_INFO, "%s", str); + + if ( debug ) { +- fprintf(stderr,str); +- fprintf(stderr,"\n"); ++ fprintf(stderr,"%s\n", str); + } + + va_end(ap); + + } + } ++ diff --git a/net-misc/vmpsd/vmpsd-1.3-r4.ebuild b/net-misc/vmpsd/vmpsd-1.3-r4.ebuild new file mode 100644 index 000000000000..ad8986396f2d --- /dev/null +++ b/net-misc/vmpsd/vmpsd-1.3-r4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/vmpsd/vmpsd-1.3-r4.ebuild,v 1.1 2008/01/14 02:57:43 robbat2 Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="An open-source VLAN management system" +HOMEPAGE="http://vmps.sourceforge.net" +SRC_URI="mirror://sourceforge/vmps/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="" +DEPEND="virtual/libc + net-analyzer/net-snmp + dev-libs/openssl" +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/${P}-snmp-support.patch + epatch "${FILESDIR}"/${P}-64bit.patch + EPATCH_OPTS="-d${S}" \ + epatch "${FILESDIR}"/${P}-format-sec.patch +} + +src_compile() { + append-ldflags -lssl + econf \ + --sysconfdir=/etc/vmpsd \ + --enable-snmp \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + cd "${S}" + emake DESTDIR="${D}" install || die + dodoc README INSTALL AUTHORS doc/*txt + newdoc external/README README.external + newdoc tools/README README.tools + dodoc external/simple tools/vqpcli.pl +} |