diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2009-07-02 20:40:07 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2009-07-02 20:40:07 +0000 |
commit | 254f3733a351e6933e4503e7a041c4fa3d0b8673 (patch) | |
tree | 61c62404a31933be86c3394b23adce971d4f7882 /sysutils/syslog-ng-devel | |
parent | fac77905ea1584f99746e74de71fe0d3c827f60e (diff) | |
download | ports-254f3733a351e6933e4503e7a041c4fa3d0b8673.tar.gz ports-254f3733a351e6933e4503e7a041c4fa3d0b8673.zip |
- Update to 2.0.10, which has the chroot vulnerability patched.
- Remove now unnecessary patch.
PR: ports/136158
Submitted by: Takeshi Taguchi <taguchi@iij.ad.jp>
Approved by: Ivan Lago <ivan.lago@ifom-ieo-campus.it> (maintainer)
Notes
Notes:
svn path=/head/; revision=236934
Diffstat (limited to 'sysutils/syslog-ng-devel')
-rw-r--r-- | sysutils/syslog-ng-devel/Makefile | 3 | ||||
-rw-r--r-- | sysutils/syslog-ng-devel/distinfo | 6 | ||||
-rw-r--r-- | sysutils/syslog-ng-devel/files/patch-src_main.c | 22 |
3 files changed, 4 insertions, 27 deletions
diff --git a/sysutils/syslog-ng-devel/Makefile b/sysutils/syslog-ng-devel/Makefile index d3958e7ae664..0a2eaa526f71 100644 --- a/sysutils/syslog-ng-devel/Makefile +++ b/sysutils/syslog-ng-devel/Makefile @@ -6,8 +6,7 @@ # PORTNAME= syslog-ng -PORTVERSION= 2.0.9 -PORTREVISION= 2 +PORTVERSION= 2.0.10 CATEGORIES= sysutils MASTER_SITES= http://www.balabit.com/downloads/files/syslog-ng/sources/2.0/src/ PKGNAMESUFFIX= 2 diff --git a/sysutils/syslog-ng-devel/distinfo b/sysutils/syslog-ng-devel/distinfo index d34ac3aa1370..2a3ea1f9222a 100644 --- a/sysutils/syslog-ng-devel/distinfo +++ b/sysutils/syslog-ng-devel/distinfo @@ -1,3 +1,3 @@ -MD5 (syslog-ng-2.0.9.tar.gz) = 2d4232f7167c2b4f48794e4f8f80e863 -SHA256 (syslog-ng-2.0.9.tar.gz) = b7e3378c2a8769e64a4ef7f9a14aff93797a33860c9c67ac4e74b824c6ef681d -SIZE (syslog-ng-2.0.9.tar.gz) = 378779 +MD5 (syslog-ng-2.0.10.tar.gz) = 3f96ccf13dda0b9e150e511bcffde795 +SHA256 (syslog-ng-2.0.10.tar.gz) = f9155bcab40b572807796348d3ee8fbef3b5ff9aad213f74a09b321ac1d5b4ef +SIZE (syslog-ng-2.0.10.tar.gz) = 403808 diff --git a/sysutils/syslog-ng-devel/files/patch-src_main.c b/sysutils/syslog-ng-devel/files/patch-src_main.c deleted file mode 100644 index e6423ef8fa25..000000000000 --- a/sysutils/syslog-ng-devel/files/patch-src_main.c +++ /dev/null @@ -1,22 +0,0 @@ -Patch for CVE-2008-5110 - -Obtained from: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=14;mbox=yes;bug=505791 -Note: was not able to cleanly apply the original patch, so it was recreated - by hand using the original submission contents - ---- src/main.c.orig 2008-03-23 23:35:27.000000000 +0300 -+++ src/main.c 2008-11-18 14:38:13.000000000 +0300 -@@ -275,6 +275,13 @@ - { - if (chroot_dir) - { -+ if (chdir(chroot_dir) < 0) -+ { -+ msg_error("Error during chdir() before chroot()", -+ evt_tag_errno(EVT_TAG_OSERROR, errno), -+ NULL); -+ return 0; -+ } - if (chroot(chroot_dir) < 0) - { - msg_error("Error during chroot()", |