Changeset View
Changeset View
Standalone View
Standalone View
head/security/cops/Makefile
Show All 22 Lines | |||||
EXECUTABLE= home.chk user.chk is_writable crc crc_check \ | EXECUTABLE= home.chk user.chk is_writable crc crc_check \ | ||||
addto clearfiles filewriters members tilde is_able | addto clearfiles filewriters members tilde is_able | ||||
C_SRC= home.chk.c user.chk.c is_able.c is_something.c \ | C_SRC= home.chk.c user.chk.c is_able.c is_something.c \ | ||||
addto.c clearfiles.c filewriters.c members.c tilde.c \ | addto.c clearfiles.c filewriters.c members.c tilde.c \ | ||||
crc.c crc_check.c | crc.c crc_check.c | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -i '' -e 's|${perl_OLD_CMD}|${perl_CMD}|' \ | @${REINPLACE_CMD} -i '' -e 's|/usr/bin/perl|${perl_CMD}|' \ | ||||
${WRKSRC}/perl/cops | ${WRKSRC}/perl/cops | ||||
pre-build: | pre-build: | ||||
${SED} \ | ${SED} \ | ||||
-e 's,^SECURE=/usr/foo/bar,SECURE=${PREFIX}/cops,g' \ | -e 's,^SECURE=/usr/foo/bar,SECURE=${PREFIX}/cops,g' \ | ||||
-e '/^$$SECURE\/passwd\.chk.*/d' \ | -e '/^$$SECURE\/passwd\.chk.*/d' \ | ||||
-e 's,SECURE_USERS="foo@bar\.edu",SECURE_USERS="root@localhost",g' \ | -e 's,SECURE_USERS="foo@bar\.edu",SECURE_USERS="root@localhost",g' \ | ||||
-e 's/passwd\.chk pass.chk //g' \ | -e 's/passwd\.chk pass.chk //g' \ | ||||
Show All 10 Lines |