[76572] trunk/dports/devel/dotconf

macsforever2000 at macports.org macsforever2000 at macports.org
Mon Feb 28 07:43:00 PST 2011


Revision: 76572
          http://trac.macports.org/changeset/76572
Author:   macsforever2000 at macports.org
Date:     2011-02-28 07:43:00 -0800 (Mon, 28 Feb 2011)
Log Message:
-----------
dotconf: Update to version 1.3.0. Maintainer timeout. (#26660)

Modified Paths:
--------------
    trunk/dports/devel/dotconf/Portfile

Added Paths:
-----------
    trunk/dports/devel/dotconf/files/
    trunk/dports/devel/dotconf/files/patch-src-dotconf.c.diff

Modified: trunk/dports/devel/dotconf/Portfile
===================================================================
--- trunk/dports/devel/dotconf/Portfile	2011-02-28 15:42:47 UTC (rev 76571)
+++ trunk/dports/devel/dotconf/Portfile	2011-02-28 15:43:00 UTC (rev 76572)
@@ -5,21 +5,17 @@
 PortSystem        1.0
 
 name              dotconf
-version           1.0.13
-set branch        [join [lrange [split ${version} .] 0 1] .]
+version           1.3
 categories        devel
 maintainers       theonelab.com:june
 description       C-based configuration parser for .conf files
 long_description  \
      dot.conf is a C-based configuration parser for .conf files.
 
-homepage          http://www.azzit.de/dotconf/
+homepage          http://www.github.com/williamh/dotconf/
 platforms         darwin
-master_sites      ${homepage}download/v${branch}/
-checksums         md5 bbf981a5f4a64e94cc6f2a693f96c21a \
-                  sha1 bf0c3a29da525f0be8b896c484b3b518f022998f \
-                  rmd160 41871061a303b7a590a751d5c4f392b8da2fe3e9
-
-livecheck.type    regex
-livecheck.url     ${homepage}download/
-livecheck.regex   {LATEST_IS_([0-9.]+)}
+master_sites      http://distfiles.gentoo.org/distfiles/
+checksums         md5 2c4316f63bb63c38b7f4eb7416cac0df \
+                  sha1 7eb6ca4be7ff3a2aaedb0b46b6d82af7021eb1e8 \
+                  rmd160 4fee58bf0695660fd3921af46e4ddceba5ef97c7
+patchfiles        patch-src-dotconf.c.diff

Added: trunk/dports/devel/dotconf/files/patch-src-dotconf.c.diff
===================================================================
--- trunk/dports/devel/dotconf/files/patch-src-dotconf.c.diff	                        (rev 0)
+++ trunk/dports/devel/dotconf/files/patch-src-dotconf.c.diff	2011-02-28 15:43:00 UTC (rev 76572)
@@ -0,0 +1,27 @@
+From 6382711e9b0060bbd0408df512e48b2ce9cdb3be Mon Sep 17 00:00:00 2001
+From: William Hubbs <w.d.hubbs at gmail.com>
+Date: Tue, 22 Jun 2010 14:16:45 -0500
+Subject: [PATCH] fix possible buffer overflow in get_path
+
+If a pathname is longer than CFG_MAX_FILENAME, there was a possible
+buffer overflow when copying the path name.
+---
+ src/dotconf.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git src/dotconf.c src/dotconf.c
+index af553b3..7ba2001 100644
+--- src/dotconf.c
++++ src/dotconf.c
+@@ -1440,7 +1440,7 @@ char *get_path(char *name)
+ 	} else {
+ 		len = tmp - name + 1;
+ 		if (len > CFG_MAX_FILENAME)
+-			len -= 1;
++			len = CFG_MAX_FILENAME;
+ 	}
+ 		snprintf(buf, len, "%s", name);
+ 	return buf;
+-- 
+1.7.3.3
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110228/c5c6b685/attachment.html>


More information about the macports-changes mailing list