security update:

* add patch to fix digest calculation buffer overflow
  (http://www.kb.cert.org/vuls/id/589523)
* change MASTER_SITES
* bump PKGNAME
This commit is contained in:
danh 2002-03-08 15:03:35 +00:00
parent 9533b3217d
commit 7487c68e3e
4 changed files with 23 additions and 24 deletions

View File

@ -1,13 +1,13 @@
# $OpenBSD: Makefile,v 1.13 2002/02/21 19:32:01 danh Exp $
# $OpenBSD: Makefile,v 1.14 2002/03/08 15:03:35 danh Exp $
COMMENT= "Lucent remote access RADIUS server"
DISTNAME= radius21
PKGNAME= radiusd-lucent-2.1p2
PKGNAME= radiusd-lucent-2.1p3
CATEGORIES= net
NEED_VERSION= 1.496
MASTER_SITES= ftp://ftp.vergenet.net/pub/radius/
PATCHFILES= radius-2.1.va.1.patch.gz
MASTER_SITES= http://www.vergenet.net/linux/radius/download/
PATCHFILES= radius-2.1.comprehensive.2.patch.gz
EXTRACT_SUFX= .tar.Z
MAINTAINER= Dan Harnett <danh@openbsd.org>
@ -51,7 +51,7 @@ do-install:
${PREFIX}/share/doc/radiusd-lucent/
${INSTALL_DATA} ${WRKDIST}/radius/README \
${PREFIX}/share/doc/radiusd-lucent/
${INSTALL_DATA} ${WRKDIST}/radius/README.2.1.va.1 \
${INSTALL_DATA} ${WRKDIST}/radius/README.patched \
${PREFIX}/share/doc/radiusd-lucent/
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
MD5 (radius-2.1.va.1.patch.gz) = 80b087245436d714a929faba2363783a
MD5 (radius-2.1.comprehensive.2.patch.gz) = d4f5e73c8d2f9dc96c8e9fedee8b273c
MD5 (radius21.tar.Z) = c6f48a7980b9ab6733ed766fd5682d44
RMD160 (radius-2.1.va.1.patch.gz) = e64d8906703a25d9c229b310d9a3bf283f7387e4
RMD160 (radius-2.1.comprehensive.2.patch.gz) = bf7f8c60856281a294ca7a4fa44967f92315df11
RMD160 (radius21.tar.Z) = 9eb094689535d7d31206cadbf04abc1631de5e7e
SHA1 (radius-2.1.va.1.patch.gz) = c618dd6517e9e48421a37ac3c47c2b22da4a3f5e
SHA1 (radius-2.1.comprehensive.2.patch.gz) = 681d4bb1d88347c15331537fb957a354c591ac9c
SHA1 (radius21.tar.Z) = bae5812ccdfaa2763ec9c53c3c12c58f599c2f01

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-radius_src_Makefile,v 1.1 2001/08/14 18:05:19 danh Exp $
--- radius/src/Makefile.orig Tue Aug 14 13:39:26 2001
+++ radius/src/Makefile Tue Aug 14 13:41:12 2001
$OpenBSD: patch-radius_src_Makefile,v 1.2 2002/03/08 15:03:35 danh Exp $
--- radius/src/Makefile.orig Wed Mar 6 09:06:40 2002
+++ radius/src/Makefile Wed Mar 6 09:06:59 2002
@@ -83,8 +83,7 @@ RAD_OBJS1 = $(OBJDIR)/radiusd.o \
$(OBJDIR)/ipass.o $(OBJDIR)/vports.o \
$(OBJDIR)/log.o $(OBJDIR)/md5.o $(OBJDIR)/menu.o \
@ -43,12 +43,12 @@ $OpenBSD: patch-radius_src_Makefile,v 1.1 2001/08/14 18:05:19 danh Exp $
- $(OBJDIR)/strlcat.o $(OBJDIR)/strlcpy.o
+ $(OBJDIR)/log.o $(HEADERS) $(OBJDIR)/snprintf.o
$(CC) $(CFLAGS) $(INCLUDES) -o $@ $(OBJDIR)/builddbm.o \
- $(OBJDIR)/version.o $(OBJDIR)/log.o $(OBJDIR)/snprintf.o \
$(OBJDIR)/version.o $(OBJDIR)/log.o $(OBJDIR)/snprintf.o \
- $(OBJDIR)/strlcat.o $(OBJDIR)/strlcpy.o $(LIBS)
+ $(OBJDIR)/version.o $(OBJDIR)/log.o $(OBJDIR)/snprintf.o
+ $(LIBS)
$(OBJDIR)/md5test: $(SRCDIR)/md5test.c $(HEADERS) $(OBJDIR)/md5.o \
- $(OBJDIR)/snprintf.o $(OBJDIR)/snprintf.o $(OBJDIR)/strlcat.o
- $(OBJDIR)/snprintf.o $(OBJDIR)/strlcat.o $(OBJDIR)/strlcpy.o
+ $(OBJDIR)/snprintf.o
$(CC) $(CFLAGS) $(INCLUDES) -o $@ $(SRCDIR)/md5test.c $(OBJDIR)/md5.o \
- $(OBJDIR)/snprintf.o $(OBJDIR)/strlcat.o $(OBJDIR)/strlcpy.o
@ -62,8 +62,7 @@ $OpenBSD: patch-radius_src_Makefile,v 1.1 2001/08/14 18:05:19 danh Exp $
$(OBJDIR)/md5.o $(OBJDIR)/dict.o $(OBJDIR)/util.o \
- $(OBJDIR)/log.o $(OBJDIR)/snprintf.o \
- $(OBJDIR)/strlcat.o $(OBJDIR)/strlcpy.o $(LIBS)
+ $(OBJDIR)/log.o $(OBJDIR)/snprintf.o
+
+ $(OBJDIR)/log.o $(OBJDIR)/snprintf.o $(LIBS)
$(OBJDIR)/testuser: $(SRCDIR)/testuser.c $(HEADERS) $(TEST_OBJS)
$(CC) $(CFLAGS) $(INCLUDES) -o $@ $(SRCDIR)/testuser.c \
$(TEST_OBJS) $(LIBS)
@ -78,7 +77,7 @@ $OpenBSD: patch-radius_src_Makefile,v 1.1 2001/08/14 18:05:19 danh Exp $
$(OBJDIR)/dbmrec: $(SRCDIR)/dbmrec.c $(HEADERS) $(TEST_OBJS)
$(CC) $(CFLAGS) $(INCLUDES) -o $@ $(SRCDIR)/dbmrec.c \
@@ -208,10 +200,6 @@ $(OBJDIR)/vports.o: $(SRCDIR)/vports.c
@@ -209,10 +201,6 @@ $(OBJDIR)/vports.o: $(SRCDIR)/vports.c
$(CC) -c -o $@ $(CFLAGS) $(INCLUDES) $(SRCDIR)/vports.c
$(OBJDIR)/snprintf.o: $(SRCDIR)/snprintf.c
$(CC) -c -o $@ $(CFLAGS) $(INCLUDES) $(SRCDIR)/snprintf.c

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2001/08/14 18:05:19 danh Exp $
@comment $OpenBSD: PLIST,v 1.4 2002/03/08 15:03:35 danh Exp $
@pkgcfl radiusd-cistron-*
bin/builddbm
bin/dbmkeys
@ -9,7 +9,7 @@ bin/testuser
sbin/radiusd
share/doc/radiusd-lucent/LICENSE
share/doc/radiusd-lucent/README
share/doc/radiusd-lucent/README.2.1.va.1
share/doc/radiusd-lucent/README.patched
share/examples/radiusd-lucent/clients
share/examples/radiusd-lucent/config.aeg.example
share/examples/radiusd-lucent/dictionary