fa86cd9348
earlier could allow local users to delete files and directories (as the user running fileutils) if the user has write access to part of the tree being moved or deleted. http://online.securityfocus.com/archive/1/260936
40 lines
875 B
Makefile
40 lines
875 B
Makefile
# $OpenBSD: Makefile,v 1.13 2003/02/25 14:35:43 brad Exp $
|
|
|
|
COMMENT= "GNU versions of common file management utilities"
|
|
COMMENT-ls= "colorized GNU 'ls'"
|
|
|
|
V= 4.1
|
|
DISTNAME= fileutils-$V
|
|
CATEGORIES= misc
|
|
|
|
PKGNAME= ${DISTNAME}p1
|
|
PKGNAME-ls= gnuls-$V
|
|
|
|
MAINTAINER= David Lebel <lebel@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=fileutils/}
|
|
|
|
MODULES= gettext
|
|
|
|
# XXX workaround gcc bugs on sparc64
|
|
.if ${MACHINE_ARCH:Msparc64}
|
|
PATCH_LIST= gcc-* patch-*
|
|
.endif
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --program-prefix=g
|
|
|
|
MULTI_PACKAGES= -ls
|
|
|
|
.include <bsd.port.mk>
|