FreeBSD Bugzilla – Attachment 110581 Details for
Bug 151774
[new port] sysutils/pprotectd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 2.81 KB, created by
Andrey Zonov
on 2010-10-27 11:20:04 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Andrey Zonov
Created:
2010-10-27 11:20:04 UTC
Size:
2.81 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: ># ># . ># ./pkg-descr ># ./Makefile ># ./distinfo ># ./files ># ./files/pprotectd.sh.in ># >echo c - . >mkdir -p . > /dev/null 2>&1 >echo x - ./pkg-descr >sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' >XSelf protected daemon which protect processes from killing by the >Xkernel when memory is exhausted. >X >XA P_PROTECTED flag protects processes from killing by the kernel >Xwhen memory is exhausted. This may be useful for protection many >Xcritical daemons, such as cron, syslogd, inetd, sshd. >X >XWWW: http://zonov.pp.ru/ >0e313719ff012ceaf97a028d51caa8f5 >echo x - ./Makefile >sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' >X# New ports collection makefile for: pprotectd >X# Date created: 15 July 2010 >X# Whom: Andrey Zonov <andrey.zonov@gmail.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= pprotectd >XPORTVERSION= 0.1 >XCATEGORIES= sysutils >XMASTER_SITES= http://zonov.pp.ru/pprotectd/ >X >XMAINTAINER= andrey.zonov@gmail.com >XCOMMENT= Self protected daemon which protect processes from killing by the kernel when memory is exhausted >X >XUSE_RC_SUBR= pprotectd.sh >X >XMAN8= pprotectd.8 >XPLIST_FILES= sbin/pprotectd >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin >X ${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8 >X >X.include <bsd.port.mk> >464ef7c6571951809b23e262cbe26e19 >echo x - ./distinfo >sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' >XMD5 (pprotectd-0.1.tar.gz) = 55ba0b69b9d82ae37163318c1870a409 >XSHA256 (pprotectd-0.1.tar.gz) = 3d6322d79b38cac5e8d77559833bb58d1dd725db8089d9b5c7b7604cadf7d3ab >XSIZE (pprotectd-0.1.tar.gz) = 39455 >aec8793adfd5b7c3f00e62ae41a09ac2 >echo c - ./files >mkdir -p ./files > /dev/null 2>&1 >echo x - ./files/pprotectd.sh.in >sed 's/^X//' >./files/pprotectd.sh.in << '05818d657838a3f6bd70ebf584f57f54' >X#!/bin/sh >X# >X# $FreeBSD$ >X# >X# PROVIDE: pprotectd >X# REQUIRE: LOGIN >X# KEYWORD: shutdown >X# >X# Add the following lines to /etc/rc.conf to enable pprotectd: >X# >X# pprotectd_enable (bool): Set to "NO" by default. >X# Set it to "YES" to enable pprotectd >X# pprotectd_pidfiles (str): Set to "/var/run/cron.pid,/var/run/syslog.pid" by default. >X# Set it to "/var/run/sshd.pid" for example >X# pprotectd_flags (str): Set to "" by default. >X# See pprotectd(8) for pprotectd_flags >X# >X >X. %%RC_SUBR%% >X >Xname="pprotectd" >Xrcvar=`set_rcvar` >X >Xload_rc_config "$name" >X >X: ${pprotectd_enable="NO"} >X: ${pprotectd_pidfiles="/var/run/cron.pid,/var/run/syslog.pid"} >X: ${pprotectd_flags=""} >X >Xcommand="/usr/local/sbin/pprotectd" >Xcommand_args="-F ${pprotectd_pidfiles}" >X >Xrun_rc_command "$1" >05818d657838a3f6bd70ebf584f57f54 >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 151774
: 110581 |
110582
|
110583