Update nb6->nb7 for security fix: http://secunia.com/advisories/16602/

This commit is contained in:
adrianp 2005-09-10 10:43:42 +00:00
parent 74235692f3
commit 1efb4a6477
3 changed files with 17 additions and 3 deletions

View file

@ -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/

View file

@ -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

13
net/ntp4/patches/patch-aa Normal file
View file

@ -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);