New package: procps-ng-3.3.5.
This commit is contained in:
parent
36bb09a5c6
commit
f0921edb1a
|
@ -0,0 +1,41 @@
|
|||
# Configuration file for runtime kernel parameters.
|
||||
# See sysctl.conf(5) for more information.
|
||||
|
||||
# Have the CD-ROM close when you use it, and open when you are done.
|
||||
#dev.cdrom.autoclose = 1
|
||||
#dev.cdrom.autoeject = 1
|
||||
|
||||
# Protection from the SYN flood attack.
|
||||
net.ipv4.tcp_syncookies = 1
|
||||
|
||||
# See evil packets in your logs.
|
||||
#net.ipv4.conf.all.log_martians = 1
|
||||
|
||||
# Never accept redirects or source routes (these are only useful for routers).
|
||||
#net.ipv4.conf.all.accept_redirects = 0
|
||||
#net.ipv4.conf.all.accept_source_route = 0
|
||||
#net.ipv6.conf.all.accept_redirects = 0
|
||||
#net.ipv6.conf.all.accept_source_route = 0
|
||||
|
||||
# Disable packet forwarding.
|
||||
net.ipv4.ip_forward = 0
|
||||
net.ipv6.conf.all.forwarding = 0
|
||||
|
||||
# Tweak the port range used for outgoing connections.
|
||||
#net.ipv4.ip_local_port_range = 32768 61000
|
||||
|
||||
# Tweak those values to alter disk syncing and swap behavior.
|
||||
#vm.vfs_cache_pressure = 100
|
||||
#vm.laptop_mode = 0
|
||||
#vm.swappiness = 60
|
||||
|
||||
# Tweak how the flow of kernel messages is throttled.
|
||||
#kernel.printk_ratelimit_burst = 10
|
||||
#kernel.printk_ratelimit = 5
|
||||
|
||||
# Reboot 600 seconds after kernel panic or oops.
|
||||
#kernel.panic_on_oops = 1
|
||||
#kernel.panic = 600
|
||||
|
||||
# Disable SysRq key to avoid console security issues.
|
||||
kernel.sysrq = 0
|
Binary file not shown.
|
@ -0,0 +1,39 @@
|
|||
# Template file for 'procps-ng'
|
||||
pkgname=procps-ng
|
||||
version=3.3.5
|
||||
revision=1
|
||||
wrksrc="procps-procps"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
short_desc="Utilities for monitoring your system and its processes"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2, LGPL-2.1"
|
||||
homepage="http://gitorious.org/procps"
|
||||
distfiles="http://xbps.nopcode.org/distfiles/${pkgname}-${version}.tar.gz"
|
||||
checksum=d3ac6611af888ef8e4f32f4b60718af77d32d8e3abe07f63d985b3abca332d53
|
||||
|
||||
conf_files="/etc/sysctl.conf"
|
||||
replaces="procps>=0"
|
||||
makedepends="automake gettext-devel pkg-config ncurses-devel"
|
||||
crossmakedepends="ncurses-devel"
|
||||
|
||||
pre_configure() {
|
||||
echo ${version} > .tarball-version
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/sysctl.conf 644 etc
|
||||
|
||||
# provided by coreutils
|
||||
rm ${DESTDIR}/usr/bin/kill
|
||||
rm ${DESTDIR}/usr/share/man/man1/kill.1
|
||||
|
||||
# Create pidof symlink.
|
||||
ln -sfr ${DESTDIR}/usr/bin/pgrep ${DESTDIR}/usr/bin/pidof
|
||||
|
||||
# Remove devel and docs.
|
||||
rm -rf ${DESTDIR}/usr/share/doc \
|
||||
${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
|
||||
|
||||
}
|
Loading…
Reference in New Issue