1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/sysutils/scprotect/Makefile
Dmitry Marakasov 77117efc85 scprotect is implementation of system call for setting or unsetting
P_PROTECTED flag. It's similar to madvise(2) behaviour MADV_PROTECT,
but may be used for already running processes. Also rc.d/scprotect
scripts allow you to set protection flag even if process was
restarted by user.

WWW:	http://dindin.ru/scprotect/

PR:		131423
Submitted by:	Denis Barov <dindin at dindin dot ru>
2009-02-10 23:15:03 +00:00

37 lines
717 B
Makefile

# New ports collection Makefile for: scprotect
# Date created: 5 Feb 2009
# Whom: Denis Barov <dindin@dindin.ru>
#
# $FreeBSD$
#
PORTNAME= scprotect
PORTVERSION= 20090209
CATEGORIES= sysutils kld
MASTER_SITES= http://dindin.ru/download/
MAINTAINER= dindin@dindin.ru
COMMENT= Protect process from killing when the swap space is exhausted
NO_PACKAGE= Needs to be compiled for specific kernel
KMODDIR?= /boot/modules
SRC_BASE?= /usr/src
PLIST_SUB= KMODDIR=${KMODDIR}
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ENV+= KMODDIR=${KMODDIR}
MAN8= scprotect.8
MANCOMPRESSED= maybe
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= requires kernel sources
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>