diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-03-01 02:16:44 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-03-01 02:16:44 +0000 |
commit | a8f0311426b08a7e696bcc94b0dda43674dd1f1a (patch) | |
tree | 4d5b1283e99dc02ffa0b16085b0305c820658f86 /sysutils | |
parent | b026e1d3c728711e288c1df57e93ca097d71cf72 (diff) |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/scprotect/Makefile | 14 | ||||
-rw-r--r-- | sysutils/scprotect/pkg-plist | 5 |
2 files changed, 6 insertions, 13 deletions
diff --git a/sysutils/scprotect/Makefile b/sysutils/scprotect/Makefile index a75fb8550ae5..63e13821c178 100644 --- a/sysutils/scprotect/Makefile +++ b/sysutils/scprotect/Makefile @@ -12,25 +12,19 @@ COMMENT= Protect process from killing when the swap space is exhausted NO_PACKAGE= Needs to be compiled for specific kernel SSP_UNSAFE= kernel module does not support ssp -KMODDIR?= /boot/modules +USES= kmod -PLIST_SUB= KMODDIR=${KMODDIR} WRKSRC= ${WRKDIR}/${PORTNAME} -MAKE_ENV+= KMODDIR=${KMODDIR} -CFLAGS+=-DWITH_SCPROTECT_LIST +CFLAGS+= -DWITH_SCPROTECT_LIST -#MAN4= scprotect.4 -#MANCOMPRESSED= yes - -NO_STAGE= yes .include <bsd.port.pre.mk> .if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires kernel sources .endif -post-install: - @${CAT} ${PKGMESSAGE} +post-extract: + @cd ${WRKSRC}/kmod && ${RM} -f machine .include <bsd.port.post.mk> diff --git a/sysutils/scprotect/pkg-plist b/sysutils/scprotect/pkg-plist index 74e17d97e676..094a126e4640 100644 --- a/sysutils/scprotect/pkg-plist +++ b/sysutils/scprotect/pkg-plist @@ -1,4 +1,3 @@ etc/rc.d/scprotect -@cwd %%KMODDIR%% -scprotect.ko -@unexec kldxref %%KMODDIR%% +@cwd / +%%KMODDIR%%/scprotect.ko |