freebsd-ports/net/radiusd-cistron/files/patch-aa
Dirk Meyer 4007295038 Juha Ylitalo writes:
Current net/radiusd-cistron port (version 1.6.4) has been marked as broken
due to buffer overflow. This bug has been reported to be fixed in version
1.6.5 and newer versions (according to securityfocus.com and Changelog
also says about memory leak fixes).
Fix section has shar `find net/radiusd-cistron` from what came out,
when I upgraded 1.6.4 port to version 1.6.6. It has been tested by
running radtest against radius in localhost.

Commited after timout, no response from Maintainer.

PR:		34713
2002-03-02 20:35:02 +00:00

35 lines
629 B
Text

--- src/Makefile.BSD 2002/02/23 11:10:14 1.1
+++ src/Makefile.BSD 2002/02/23 11:11:54
@@ -3,9 +3,9 @@
#
#
-CC = gcc
-CFLAGS = -Wall -g -DNOSHADOW
-LDFLAGS = # -s
+#CC = gcc
+CFLAGS += -DNOSHADOW -DPREFIX=\"$(PREFIX)\" #-Wall -g -DNOSHADOW
+LDFLAGS = -s
LIBS =
LCRYPT = -lcrypt
@@ -13,14 +13,14 @@
#DBM = -DUSE_DB1
#DBMLIB = #-ldb
-#PAM = -DPAM
-#PAMLIB = -lpam
+PAM = -DPAM
+PAMLIB = -lpam
INSTALL = install
DINSTALL = mkdir -p
-BINDIR = /usr/local/bin
-SBINDIR = /usr/local/sbin
-MANDIR = /usr/local/man
+BINDIR = $(PREFIX)/bin
+SBINDIR = $(PREFIX)/sbin
+MANDIR = $(PREFIX)/man
.include "Make.inc"