pkgsrc/regress/check-perms/Makefile
rillig 9a544993f5 regress/check-perms: add test for broken CHECK_PERMS_AUTOFIX
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
2019-09-19 23:53:36 +00:00

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"