From d0f5a3cc3377dbbe234d928abfc65c6e7cc07f2b Mon Sep 17 00:00:00 2001 From: piernov Date: Fri, 13 Jul 2012 15:52:19 +0200 Subject: procps 3.3.3-1 màj port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- procps/.footprint.i686 | 31 +++++++++++++++++++++++++++++-- procps/.footprint.x86_64 | 31 +++++++++++++++++++++++++++++-- procps/.md5sum.i686 | 5 ++--- procps/.md5sum.x86_64 | 5 ++--- procps/Pkgfile | 33 +++++++++++++++------------------ procps/sysctl.conf | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 123 insertions(+), 28 deletions(-) create mode 100644 procps/sysctl.conf diff --git a/procps/.footprint.i686 b/procps/.footprint.i686 index 3ab69750f..bd10cae6d 100644 --- a/procps/.footprint.i686 +++ b/procps/.footprint.i686 @@ -1,8 +1,8 @@ drwxr-xr-x root/root bin/ -rwxr-xr-x root/root bin/kill -rwxr-xr-x root/root bin/ps -drwxr-xr-x root/root lib/ --rwxr-xr-x root/root lib/libproc-3.2.8.so +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/sysctl.conf drwxr-xr-x root/root sbin/ -rwxr-xr-x root/root sbin/sysctl drwxr-xr-x root/root usr/ @@ -21,7 +21,34 @@ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/vmstat -rwxr-xr-x root/root usr/bin/w -rwxr-xr-x root/root usr/bin/watch +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/proc/ +-rw-r--r-- root/root usr/include/proc/alloc.h +-rw-r--r-- root/root usr/include/proc/devname.h +-rw-r--r-- root/root usr/include/proc/escape.h +-rw-r--r-- root/root usr/include/proc/procps.h +-rw-r--r-- root/root usr/include/proc/pwcache.h +-rw-r--r-- root/root usr/include/proc/readproc.h +-rw-r--r-- root/root usr/include/proc/sig.h +-rw-r--r-- root/root usr/include/proc/slab.h +-rw-r--r-- root/root usr/include/proc/sysinfo.h +-rw-r--r-- root/root usr/include/proc/version.h +-rw-r--r-- root/root usr/include/proc/wchan.h +-rw-r--r-- root/root usr/include/proc/whattime.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libprocps.a +-rwxr-xr-x root/root usr/lib/libprocps.la +lrwxrwxrwx root/root usr/lib/libprocps.so -> libprocps.so.0.0.1 +lrwxrwxrwx root/root usr/lib/libprocps.so.0 -> libprocps.so.0.0.1 +-rwxr-xr-x root/root usr/lib/libprocps.so.0.0.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libprocps.pc drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/doc/ +drwxr-xr-x root/root usr/share/doc/procps-ng/ +-rw-r--r-- root/root usr/share/doc/procps-ng/BUGS +-rw-r--r-- root/root usr/share/doc/procps-ng/FAQ +-rw-r--r-- root/root usr/share/doc/procps-ng/README.top drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man1/ -rw-r--r-- root/root usr/share/man/man1/free.1.gz diff --git a/procps/.footprint.x86_64 b/procps/.footprint.x86_64 index 33d3ee392..bd10cae6d 100644 --- a/procps/.footprint.x86_64 +++ b/procps/.footprint.x86_64 @@ -1,8 +1,8 @@ drwxr-xr-x root/root bin/ -rwxr-xr-x root/root bin/kill -rwxr-xr-x root/root bin/ps -drwxr-xr-x root/root lib64/ --rwxr-xr-x root/root lib64/libproc-3.2.8.so +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/sysctl.conf drwxr-xr-x root/root sbin/ -rwxr-xr-x root/root sbin/sysctl drwxr-xr-x root/root usr/ @@ -21,7 +21,34 @@ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/vmstat -rwxr-xr-x root/root usr/bin/w -rwxr-xr-x root/root usr/bin/watch +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/proc/ +-rw-r--r-- root/root usr/include/proc/alloc.h +-rw-r--r-- root/root usr/include/proc/devname.h +-rw-r--r-- root/root usr/include/proc/escape.h +-rw-r--r-- root/root usr/include/proc/procps.h +-rw-r--r-- root/root usr/include/proc/pwcache.h +-rw-r--r-- root/root usr/include/proc/readproc.h +-rw-r--r-- root/root usr/include/proc/sig.h +-rw-r--r-- root/root usr/include/proc/slab.h +-rw-r--r-- root/root usr/include/proc/sysinfo.h +-rw-r--r-- root/root usr/include/proc/version.h +-rw-r--r-- root/root usr/include/proc/wchan.h +-rw-r--r-- root/root usr/include/proc/whattime.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libprocps.a +-rwxr-xr-x root/root usr/lib/libprocps.la +lrwxrwxrwx root/root usr/lib/libprocps.so -> libprocps.so.0.0.1 +lrwxrwxrwx root/root usr/lib/libprocps.so.0 -> libprocps.so.0.0.1 +-rwxr-xr-x root/root usr/lib/libprocps.so.0.0.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libprocps.pc drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/doc/ +drwxr-xr-x root/root usr/share/doc/procps-ng/ +-rw-r--r-- root/root usr/share/doc/procps-ng/BUGS +-rw-r--r-- root/root usr/share/doc/procps-ng/FAQ +-rw-r--r-- root/root usr/share/doc/procps-ng/README.top drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man1/ -rw-r--r-- root/root usr/share/man/man1/free.1.gz diff --git a/procps/.md5sum.i686 b/procps/.md5sum.i686 index 1f1244fe5..f9770a019 100644 --- a/procps/.md5sum.i686 +++ b/procps/.md5sum.i686 @@ -1,3 +1,2 @@ -2ea4c8e9a2c2a5a291ec63c92d7c6e3b procps-3.2.8-fix_HZ_errors-1.patch -cd1a757e532d93662a7ed71da80e6b58 procps-3.2.8-watch_unicode-1.patch -9532714b6846013ca9898984ba4cd7e0 procps-3.2.8.tar.gz +a236660cc09ad36e0e8a378f448161c3 procps_3.3.3.orig.tar.xz +8f0dc77a04ccda0034462e230d6ae2a3 sysctl.conf diff --git a/procps/.md5sum.x86_64 b/procps/.md5sum.x86_64 index 1f1244fe5..f9770a019 100644 --- a/procps/.md5sum.x86_64 +++ b/procps/.md5sum.x86_64 @@ -1,3 +1,2 @@ -2ea4c8e9a2c2a5a291ec63c92d7c6e3b procps-3.2.8-fix_HZ_errors-1.patch -cd1a757e532d93662a7ed71da80e6b58 procps-3.2.8-watch_unicode-1.patch -9532714b6846013ca9898984ba4cd7e0 procps-3.2.8.tar.gz +a236660cc09ad36e0e8a378f448161c3 procps_3.3.3.orig.tar.xz +8f0dc77a04ccda0034462e230d6ae2a3 sysctl.conf diff --git a/procps/Pkgfile b/procps/Pkgfile index acfc96b63..a8253b3ca 100755 --- a/procps/Pkgfile +++ b/procps/Pkgfile @@ -5,25 +5,22 @@ # Depends on: name=procps -version=3.2.8 -release=2 - -source=(http://procps.sourceforge.net/$name-$version.tar.gz \ - http://www.linuxfromscratch.org/patches/lfs/development/procps-$version-watch_unicode-1.patch \ - http://www.linuxfromscratch.org/patches/lfs/development/procps-3.2.8-fix_HZ_errors-1.patch) +version=3.3.3 +release=1 +source=(http://ftp.debian.org/debian/pool/main/p/procps/${name}_$version.orig.tar.xz + sysctl.conf) build() { - cd $name-$version - patch -Np1 -i ../procps-3.2.8-fix_HZ_errors-1.patch - patch -Np1 -i ../procps-$version-watch_unicode-1.patch - - sed -i -e 's@\*/module.mk@proc/module.mk ps/module.mk@' Makefile - + cd $name-ng-$version + cp ../sysctl.conf . + ./configure --prefix=/usr \ + --libdir=/usr/lib \ + --sysconfdir=/etc \ + --exec-prefix=/ \ + --enable-skill \ + --enable-examples \ + --enable-oomem \ + --enable-w-from make - make DESTDIR=$PKG \ - ldconfig=true \ - man1=$PKG/usr/share/man/man1/ \ - man5=$PKG/usr/share/man/man5/ \ - man8=$PKG/usr/share/man/man8/ install - chmod +w -R $PKG + make DESTDIR=$PKG install } diff --git a/procps/sysctl.conf b/procps/sysctl.conf new file mode 100644 index 000000000..baddd90a6 --- /dev/null +++ b/procps/sysctl.conf @@ -0,0 +1,46 @@ +# /etc/sysctl.conf - Configuration file for setting system variables +# See sysctl.conf (5) for information. + +# you can have the CD-ROM close when you use it, and open +# when you are done. +#dev.cdrom.autoeject = 1 +#dev.cdrom.autoclose = 1 + +# protection from the SYN flood attack +net.ipv4.tcp_syncookies = 1 + +# see the evil packets in your log files +#net.ipv4.conf.all.log_martians = 1 + +# if not functioning as a router, there is no need to accept redirects or source routes +#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 + +# Enable IPv6 Privacy Extensions +net.ipv6.conf.default.use_tempaddr = 2 +net.ipv6.conf.all.use_tempaddr = 2 + +# sets the port range used for outgoing connections +#net.ipv4.ip_local_port_range = 32768 61000 + +# Swapping too much or not enough? Disks spinning up when you'd +# rather they didn't? Tweak these. +#vm.vfs_cache_pressure = 100 +#vm.laptop_mode = 0 +#vm.swappiness = 60 + +#kernel.printk_ratelimit_burst = 10 +#kernel.printk_ratelimit = 5 +#kernel.panic_on_oops = 0 + +# Reboot 600 seconds after a panic +#kernel.panic = 600 + +# Disable SysRq key (note: console security issues) +kernel.sysrq = 0 -- cgit v1.2.3-70-g09d2