update to version 4.40; apply buffer overflow patch;
update packing list; add MESSAGE (displayed after install when using the bsd.port.mk just checked in) that notes lsof may be sgid to kmem if 1) you want other than root to use it, and 2) you trust the (un-audited) code
This commit is contained in:
parent
937ad7ba56
commit
5a4aceee2b
@ -1,21 +1,22 @@
|
||||
# OpenBSD makefile for: lsof
|
||||
# Version required: 4.34
|
||||
# Date created: 25 November 1997
|
||||
# Whom: Angelos D. Keromytis
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.9 1999/02/18 01:15:34 marc Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 1999/02/18 19:27:35 marc Exp $
|
||||
#
|
||||
|
||||
DISTNAME= lsof_4.34_W
|
||||
PKGNAME= lsof-4.34
|
||||
DISTNAME= lsof_4.40_W
|
||||
DIST_SUBDIR= lsof
|
||||
PKGNAME= lsof-4.40
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= angelos@openbsd.org
|
||||
|
||||
MASTER_SITES= ftp://ftp.web.ad.jp/pub/UNIX/tools/lsof/ \
|
||||
MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ \
|
||||
ftp://ftp.crc.doc.ca/packages/lsof/ \
|
||||
ftp://ftp.sunet.se/pub/unix/admin/lsof/
|
||||
|
||||
WRKSRC= ${WRKDIR}/${SRCBALL_NAME}
|
||||
PATCH_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/patches/4.40/ \
|
||||
ftp://ftp.crc.doc.ca/packages/lsof/
|
||||
|
||||
PATCHFILES= arg.c.patch
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_SCRIPT= Configure
|
||||
CONFIGURE_ARGS= -n openbsd
|
||||
@ -23,6 +24,8 @@ CONFIGURE_ARGS= -n openbsd
|
||||
NO_PACKAGE= compile from source to set proper options
|
||||
|
||||
SRCBALL_NAME= ${DISTNAME:S/_W$//}
|
||||
WRKSRC= ${WRKDIR}/${SRCBALL_NAME}
|
||||
|
||||
|
||||
.if ( ${MACHINE_ARCH} == "sparc" )
|
||||
IS_INTERACTIVE= yes
|
||||
|
@ -1 +1,2 @@
|
||||
MD5 (lsof_4.34_W.tar.gz) = d651718c8e1f4a0ecf1fbe4e4911f5bc
|
||||
MD5 (lsof/lsof_4.40_W.tar.gz) = 01cc0f15f47481fa7e247486a730f5ff
|
||||
MD5 (lsof/arg.c.patch) = 83fc82fe3c9917418934b964854b4590
|
||||
|
@ -1,10 +1,11 @@
|
||||
--- lib/Makefile.skel.~1~ Tue Jun 23 06:49:11 1998
|
||||
+++ lib/Makefile.skel Sat Jul 25 13:13:13 1998
|
||||
@@ -8,7 +8,6 @@
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
LIB= liblsof.a
|
||||
|
||||
-CDEF=
|
||||
-CDEF= ${RC_CFLAGS}
|
||||
+CDEF+= ${RC_CFLAGS}
|
||||
CDEFS= ${CDEF} ${CFGF}
|
||||
INCL= ${DINC}
|
||||
CFLAGS= ${DEBUG} ${CDEFS} ${INCL}
|
||||
|
7
sysutils/lsof/pkg/MESSAGE
Normal file
7
sysutils/lsof/pkg/MESSAGE
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
*****
|
||||
* If you wish to allow lsof to be used by other than root you must
|
||||
* make it sgid to the group kmem. However, the code has NOT been
|
||||
* audited... you have been warned.
|
||||
*****
|
||||
|
@ -13,6 +13,7 @@ share/lsof/idrlogin.perl5
|
||||
share/lsof/list_NULf.perl5
|
||||
share/lsof/list_fields.awk
|
||||
share/lsof/list_fields.perl
|
||||
share/lsof/shared.perl5
|
||||
share/lsof/watch_a_file.perl
|
||||
share/lsof/xusers.awk
|
||||
@dirrm share/lsof
|
||||
|
Loading…
Reference in New Issue
Block a user