FreeBSD Bugzilla – Attachment 93508 Details for
Bug 131423
[NEW PORT] sysutils/scprotect: Protect process from killing when the swap space is exhausted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 2.89 KB, created by
Denis Barov
on 2009-02-05 15:30:03 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Denis Barov
Created:
2009-02-05 15:30:03 UTC
Size:
2.89 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># scprotect/pkg-message ># scprotect/pkg-descr ># scprotect/distinfo ># scprotect/pkg-plist ># scprotect/Makefile ># >echo x - scprotect/pkg-message >sed 's/^X//' >scprotect/pkg-message << '3a59d76a232f2bd601ee37c1bb5fbef5' >X >X******************************************************************************* >X* This port contains a prebuilt kernel module. Due to the ever changing * >X* nature of FreeBSD it may be necessary to rebuild the module after a kernel * >X* source update. To do this reinstall the port. * >X******************************************************************************* >X >XAlso you may set for example >X >Xscprotect_enable="YES" >Xscprotect_progs="sshd named" >X >Xto protect those application even they was restarted >3a59d76a232f2bd601ee37c1bb5fbef5 >echo x - scprotect/pkg-descr >sed 's/^X//' >scprotect/pkg-descr << 'bb549abe3d968316567cf3bce07483dc' >Xscprotect is implementation of system call for setting or unsetting >XP_PROTECTED flag. It's similar to madvise(2) behaviour MADV_PROTECT, >Xbut may be used for already running processes. Also rc.d/scprotect >Xscripts allow you to set protection flag even if process was >Xrestarted by user. >X >XWWW: http://dindin.ru/scprotect/ >bb549abe3d968316567cf3bce07483dc >echo x - scprotect/distinfo >sed 's/^X//' >scprotect/distinfo << 'e64d0fc48577c701d346b7edb7867b42' >XMD5 (scprotect-20090205.tar.gz) = 378f0cddd1308d2e6a4a622b8d5b47dd >XSHA256 (scprotect-20090205.tar.gz) = e190e1cb332b44c763c772cc2abd5eed993ccb24ebe96f7cf417de8c6e180c11 >XSIZE (scprotect-20090205.tar.gz) = 4659 >e64d0fc48577c701d346b7edb7867b42 >echo x - scprotect/pkg-plist >sed 's/^X//' >scprotect/pkg-plist << 'b0d70fb6c79faa772a9fd7e7ad554972' >Xbin/scprotect >Xetc/rc.d/scprotect >X@cwd / >X%%KMODDIR%%/scprotect.ko >b0d70fb6c79faa772a9fd7e7ad554972 >echo x - scprotect/Makefile >sed 's/^X//' >scprotect/Makefile << 'dd7eff44bbafd2ea74f1ec53587acdcb' >X# New ports collection Makefile for: scprotect >X# Date created: 5 Feb 2009 >X# Whom: Denis Barov <dindin@dindin.ru> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= scprotect >XPORTVERSION= 20090205 >XCATEGORIES= sysutils kld >XMASTER_SITES= http://dindin.ru/download/ >X >XMAINTAINER= dindin@dindin.ru >XCOMMENT= Protect process from killing when the swap space is exhausted >X >XNO_PACKAGE= Depends on kernel >X >XKMODDIR= /boot/modules >X >XPLIST_SUB= KMODDIR=${KMODDIR} >XWRKSRC= ${WRKDIR}/${PORTNAME} >X >XMAKE_ENV+= KMODDIR=${KMODDIR} >X >XMAN8= scprotect.8 >XMANCOMPRESSED= maybe >X >X.include <bsd.port.pre.mk> >X >Xpre-fetch: >X.if !exists(${SRC_BASE}/sys/Makefile) >XIGNORE= requires kernel sources >X.endif >X >Xpost-install: >X @${CAT} ${PKGMESSAGE} >X >X.include <bsd.port.post.mk> >dd7eff44bbafd2ea74f1ec53587acdcb >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 131423
: 93508