diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-09-08 13:31:27 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-09-08 13:31:27 +0000 |
commit | 2b26cbdc9a96684d683b25a80d6d71df3a5080f0 (patch) | |
tree | c350427657f69caa8aaf2daacb5c32465106cf8b /net-im/silc-server | |
parent | Marked Stable on AMD64. (diff) | |
download | gentoo-2-2b26cbdc9a96684d683b25a80d6d71df3a5080f0.tar.gz gentoo-2-2b26cbdc9a96684d683b25a80d6d71df3a5080f0.tar.bz2 gentoo-2-2b26cbdc9a96684d683b25a80d6d71df3a5080f0.zip |
Revision bump, security bug #94587.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-im/silc-server')
-rw-r--r-- | net-im/silc-server/ChangeLog | 9 | ||||
-rw-r--r-- | net-im/silc-server/files/1.0-tempfile-vuln.patch | 17 | ||||
-rw-r--r-- | net-im/silc-server/files/digest-silc-server-1.0-r1 (renamed from net-im/silc-server/files/digest-silc-server-1.0) | 0 | ||||
-rw-r--r-- | net-im/silc-server/silc-server-1.0-r1.ebuild (renamed from net-im/silc-server/silc-server-1.0.ebuild) | 8 |
4 files changed, 29 insertions, 5 deletions
diff --git a/net-im/silc-server/ChangeLog b/net-im/silc-server/ChangeLog index b72a3b826927..db9a0621f593 100644 --- a/net-im/silc-server/ChangeLog +++ b/net-im/silc-server/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-im/silc-server # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/silc-server/ChangeLog,v 1.9 2005/08/10 21:40:09 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/silc-server/ChangeLog,v 1.10 2005/09/08 13:31:27 swegener Exp $ + +*silc-server-1.0-r1 (08 Sep 2005) + + 08 Sep 2005; Sven Wegener <swegener@gentoo.org> + +files/1.0-tempfile-vuln.patch, -silc-server-1.0.ebuild, + +silc-server-1.0-r1.ebuild: + Revision bump, security bug #94587. 10 Aug 2005; Sven Wegener <swegener@gentoo.org> silc-server-1.0.ebuild: Fix the version mismatch problem, bug #99952. diff --git a/net-im/silc-server/files/1.0-tempfile-vuln.patch b/net-im/silc-server/files/1.0-tempfile-vuln.patch new file mode 100644 index 000000000000..46acb32c4404 --- /dev/null +++ b/net-im/silc-server/files/1.0-tempfile-vuln.patch @@ -0,0 +1,17 @@ +--- apps/silcd/silcd.c.orig 2004-02-27 15:29:51.000000000 +0000 ++++ apps/silcd/silcd.c 2005-06-20 13:49:34.511237224 +0100 +@@ -260,11 +260,13 @@ + SILC_TASK_CALLBACK(dump_stats) + { + FILE *fdd; ++ int fdes; + char filename[256]; + + memset(filename, 0, sizeof(filename)); + snprintf(filename, sizeof(filename) - 1, "/tmp/silcd.%d.stats", getpid()); +- fdd = fopen(filename, "w+"); ++ fdes = open (filename, O_CREAT|O_EXCL|O_WRONLY, S_IRUSR|S_IWUSR); ++ fdd = fdopen(fdes, "w"); + if (!fdd) + return; + diff --git a/net-im/silc-server/files/digest-silc-server-1.0 b/net-im/silc-server/files/digest-silc-server-1.0-r1 index 164ebf8878e0..164ebf8878e0 100644 --- a/net-im/silc-server/files/digest-silc-server-1.0 +++ b/net-im/silc-server/files/digest-silc-server-1.0-r1 diff --git a/net-im/silc-server/silc-server-1.0.ebuild b/net-im/silc-server/silc-server-1.0-r1.ebuild index f6e411651bc1..871610110646 100644 --- a/net-im/silc-server/silc-server-1.0.ebuild +++ b/net-im/silc-server/silc-server-1.0-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/silc-server/silc-server-1.0.ebuild,v 1.2 2005/08/10 21:40:09 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/silc-server/silc-server-1.0-r1.ebuild,v 1.1 2005/09/08 13:31:27 swegener Exp $ -inherit eutils +inherit eutils autotools DESCRIPTION="Server for Secure Internet Live Conferencing" SRC_URI="http://www.silcnet.org/download/server/sources/${P}.tar.bz2" @@ -24,9 +24,9 @@ src_unpack() { epatch "${FILESDIR}"/${PV}-banlist-fix.patch epatch "${FILESDIR}"/${PV}-fPIC.patch + epatch "${FILESDIR}"/${PV}-tempfile-vuln.patch - autoreconf || die "autoreconf failed" - libtoolize --copy --force || die "libtoolize failed" + eautoreconf } src_compile() { |