9a544993f5
The variable CHECK_PERMS_AUTOFIX has been existing since 2006 but is not used in any package. This may be because it is not helpful in any way. When a package sets this variables to yes, the permission errors are not silently fixed, but the build still fails instead. This behavior is not useful in any way and thus needs to be fixed. See https://mail-index.netbsd.org/tech-pkg/2019/08/thread1.html#021828
25 lines
545 B
Makefile
25 lines
545 B
Makefile
# $NetBSD: Makefile,v 1.1 2019/09/19 23:53:36 rillig Exp $
|
|
|
|
DISTNAME= check-perms-1.0
|
|
CATEGORIES= regress
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Ensures that wrong file permissions are fixed
|
|
LICENSE= 2-clause-bsd
|
|
|
|
NO_CHECKSUM= yes
|
|
WRKSRC= ${WRKDIR}
|
|
BUILD_DIRS= # none
|
|
AUTO_MKDIRS= yes
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
do-extract:
|
|
cd ${WRKSRC} && > demo-file && chmod 777 demo-file
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && pax -wr -pp demo-file ${DESTDIR}${PREFIX}/share/regress-check-perms/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|