summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/procps/procps
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2014-12-05 23:38:51 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-11 11:34:57 +0000
commit40304fc6b913051ee4a32c68d2fe5f2d04272fd2 (patch)
treea0e6a3879a5c74416166e8de070fd808ad9b77e3 /meta/recipes-extended/procps/procps
parent6bcd295f71928ef35bb58b716eef8b3995431688 (diff)
downloadpoky-40304fc6b913051ee4a32c68d2fe5f2d04272fd2.tar.gz
procps: Upgrade to 3.3.10
This is now the procps-ng version cleaned up patches added to fix up usrbin_execprefix in OE-Core Add CPPFLAGS to allow seperate build directory works [YOCTO #6952] (From OE-Core rev: 8a9b9a323f4363e27138077e3e3dce8139a36708) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/procps/procps')
-rw-r--r--meta/recipes-extended/procps/procps/fix-configure.patch19
-rw-r--r--meta/recipes-extended/procps/procps/sysctl.conf64
2 files changed, 83 insertions, 0 deletions
diff --git a/meta/recipes-extended/procps/procps/fix-configure.patch b/meta/recipes-extended/procps/procps/fix-configure.patch
new file mode 100644
index 0000000000..934ae80954
--- /dev/null
+++ b/meta/recipes-extended/procps/procps/fix-configure.patch
@@ -0,0 +1,19 @@
1
2exec_prefix is /usr default in OE-Core
3
4Upstream-Status: Inappropriate [embedded specific]
5
6Signed-off-by: Saul Wold <sgw@linux.intel.com>
7Index: procps-ng-3.3.10/configure.ac
8===================================================================
9--- procps-ng-3.3.10.orig/configure.ac
10+++ procps-ng-3.3.10/configure.ac
11@@ -70,7 +70,7 @@ AC_FUNC_MMAP
12 AC_FUNC_REALLOC
13 AC_FUNC_STRTOD
14
15-usrbin_execdir='${exec_prefix}/usr/bin'
16+usrbin_execdir='${exec_prefix}/bin'
17 AC_SUBST([usrbin_execdir])
18
19 AM_GNU_GETTEXT_VERSION([0.14.1])
diff --git a/meta/recipes-extended/procps/procps/sysctl.conf b/meta/recipes-extended/procps/procps/sysctl.conf
new file mode 100644
index 0000000000..34e7488bf7
--- /dev/null
+++ b/meta/recipes-extended/procps/procps/sysctl.conf
@@ -0,0 +1,64 @@
1# This configuration file is taken from Debian.
2#
3# /etc/sysctl.conf - Configuration file for setting system variables
4# See sysctl.conf (5) for information.
5#
6
7#kernel.domainname = example.com
8
9# Uncomment the following to stop low-level messages on console
10#kernel.printk = 4 4 1 7
11
12##############################################################3
13# Functions previously found in netbase
14#
15
16# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
17# Turn on Source Address Verification in all interfaces to
18# prevent some spoofing attacks
19net.ipv4.conf.default.rp_filter=1
20net.ipv4.conf.all.rp_filter=1
21
22# Uncomment the next line to enable TCP/IP SYN cookies
23#net.ipv4.tcp_syncookies=1
24
25# Uncomment the next line to enable packet forwarding for IPv4
26#net.ipv4.ip_forward=1
27
28# Uncomment the next line to enable packet forwarding for IPv6
29#net.ipv6.conf.all.forwarding=1
30
31
32###################################################################
33# Additional settings - these settings can improve the network
34# security of the host and prevent against some network attacks
35# including spoofing attacks and man in the middle attacks through
36# redirection. Some network environments, however, require that these
37# settings are disabled so review and enable them as needed.
38#
39# Ignore ICMP broadcasts
40#net.ipv4.icmp_echo_ignore_broadcasts = 1
41#
42# Ignore bogus ICMP errors
43#net.ipv4.icmp_ignore_bogus_error_responses = 1
44#
45# Do not accept ICMP redirects (prevent MITM attacks)
46#net.ipv4.conf.all.accept_redirects = 0
47#net.ipv6.conf.all.accept_redirects = 0
48# _or_
49# Accept ICMP redirects only for gateways listed in our default
50# gateway list (enabled by default)
51# net.ipv4.conf.all.secure_redirects = 1
52#
53# Do not send ICMP redirects (we are not a router)
54#net.ipv4.conf.all.send_redirects = 0
55#
56# Do not accept IP source route packets (we are not a router)
57#net.ipv4.conf.all.accept_source_route = 0
58#net.ipv6.conf.all.accept_source_route = 0
59#
60# Log Martian Packets
61#net.ipv4.conf.all.log_martians = 1
62#
63
64#kernel.shmmax = 141762560