summaryrefslogtreecommitdiff
path: root/net/ntp4
diff options
context:
space:
mode:
authoradrianp <adrianp>2005-09-10 10:43:42 +0000
committeradrianp <adrianp>2005-09-10 10:43:42 +0000
commit924ceaa19777cacc1303927230b0dad48b845dd0 (patch)
treeef343d5ce65202543c75a276ba86536575e15151 /net/ntp4
parente3c8abf12957ccf4d40b46a673a935ca6fa37667 (diff)
downloadpkgsrc-924ceaa19777cacc1303927230b0dad48b845dd0.tar.gz
Update nb6->nb7 for security fix: http://secunia.com/advisories/16602/
Diffstat (limited to 'net/ntp4')
-rw-r--r--net/ntp4/Makefile4
-rw-r--r--net/ntp4/distinfo3
-rw-r--r--net/ntp4/patches/patch-aa13
3 files changed, 17 insertions, 3 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile
index dbc80bad984..697f0865c32 100644
--- a/net/ntp4/Makefile
+++ b/net/ntp4/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.42 2005/07/16 01:19:16 jlam Exp $
+# $NetBSD: Makefile,v 1.43 2005/09/10 10:43:42 adrianp Exp $
#
DISTNAME= ntp-4.2.0
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= net time
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/
diff --git a/net/ntp4/distinfo b/net/ntp4/distinfo
index 72b802a368a..fdb89c97c3c 100644
--- a/net/ntp4/distinfo
+++ b/net/ntp4/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2005/02/24 12:13:57 agc Exp $
+$NetBSD: distinfo,v 1.10 2005/09/10 10:43:42 adrianp Exp $
SHA1 (ntp-4.2.0.tar.gz) = 38343a4ebfc0b8d9aff3bec4c6a93f4c59071ce3
RMD160 (ntp-4.2.0.tar.gz) = 73de5671ea583f6699c8052ea9f8270a8455c295
Size (ntp-4.2.0.tar.gz) = 2514502 bytes
+SHA1 (patch-aa) = 6a6825604de9345001731c7d8b728f56602f15cc
diff --git a/net/ntp4/patches/patch-aa b/net/ntp4/patches/patch-aa
new file mode 100644
index 00000000000..a0cf269cee3
--- /dev/null
+++ b/net/ntp4/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.7 2005/09/10 10:43:42 adrianp Exp $
+
+--- ntpd/ntpd.c.orig 2005-09-10 10:48:16.000000000 +0100
++++ ntpd/ntpd.c 2005-09-10 10:49:44.000000000 +0100
+@@ -863,7 +863,7 @@
+ } else {
+ getgroup:
+ if ((gr = getgrnam(group)) != NULL) {
+- sw_gid = pw->pw_gid;
++ sw_gid = gr->gr_gid;
+ } else {
+ errno = 0;
+ msyslog(LOG_ERR, "Cannot find group `%s'", group);