summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-04-07 15:10:20 -0700
committerArmin Kuster <akuster808@gmail.com>2018-04-13 12:43:39 -0700
commitd46d50c5756a7f0666b3744782d8c01944edd28f (patch)
treef0dbc635077ce5e153f928a41f1ea663d63d647a /meta-oe
parentaaee985fb5acd4fe6dc818053e2a05e6a065cd10 (diff)
downloadmeta-openembedded-d46d50c5756a7f0666b3744782d8c01944edd28f.tar.gz
vlock: refresh patches
WARNING: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: checking file Makefile checking file configure Hunk #3 succeeded at 232 (offset -4 lines). Hunk #4 succeeded at 356 (offset -5 lines). checking file src/vlock-main.c Hunk #1 succeeded at 112 with fuzz 1 (offset 1 line). Hunk #2 succeeded at 184 (offset 1 line). Hunk #3 succeeded at 194 (offset 1 line). Hunk #4 succeeded at 223 (offset 1 line). among others Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch30
-rw-r--r--meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch35
-rw-r--r--meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch19
3 files changed, 58 insertions, 26 deletions
diff --git a/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch b/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch
index ee0d074de..2412bb8de 100644
--- a/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch
+++ b/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch
@@ -1,13 +1,23 @@
1From f71cc920528c3496b0118964ebbcf5440cda4ed1 Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Wed, 16 Aug 2017 13:37:40 +0800
4Subject: [PATCH] vlock: add new recipe
5
1Upstream-Status: Inappropriate [configuration] 6Upstream-Status: Inappropriate [configuration]
2 7
3written by: Jeff Polk <jeff.polk@windriver.com> 8written by: Jeff Polk <jeff.polk@windriver.com>
4Signed-off-by: Jackie Huang <jackie.huang@windriver.com> 9Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
5 10
6Index: vlock-2.2.2/man/vlock.1 11---
7=================================================================== 12 man/vlock.1 | 5 -----
8--- vlock-2.2.2.orig/man/vlock.1 2010-07-26 14:12:42.000000000 -0400 13 src/vlock.sh | 5 -----
9+++ vlock-2.2.2/man/vlock.1 2010-07-26 14:13:06.000000000 -0400 14 2 files changed, 10 deletions(-)
10@@ -111,11 +111,6 @@ 15
16diff --git a/man/vlock.1 b/man/vlock.1
17index 0d29b49..01cb944 100644
18--- a/man/vlock.1
19+++ b/man/vlock.1
20@@ -111,11 +111,6 @@ enter your password at the password prompt. If this variable is unset or set
11 to an invalid value or 0 no timeout is used. \fBWarning\fR: If this value is 21 to an invalid value or 0 no timeout is used. \fBWarning\fR: If this value is
12 too low, you may not be able to unlock your session. 22 too low, you may not be able to unlock your session.
13 .PP 23 .PP
@@ -19,11 +29,11 @@ Index: vlock-2.2.2/man/vlock.1
19 .SH SECURITY 29 .SH SECURITY
20 See the SECURITY file in the \fBvlock\fR distribution for more information. 30 See the SECURITY file in the \fBvlock\fR distribution for more information.
21 .PP 31 .PP
22Index: vlock-2.2.2/src/vlock.sh 32diff --git a/src/vlock.sh b/src/vlock.sh
23=================================================================== 33index 75f1369..f572776 100644
24--- vlock-2.2.2.orig/src/vlock.sh 2010-07-26 14:12:32.000000000 -0400 34--- a/src/vlock.sh
25+++ vlock-2.2.2/src/vlock.sh 2010-07-26 14:13:33.000000000 -0400 35+++ b/src/vlock.sh
26@@ -35,11 +35,6 @@ 36@@ -35,11 +35,6 @@ This TTY is now locked.
27 37
28 ${VLOCK_ENTER_PROMPT}" 38 ${VLOCK_ENTER_PROMPT}"
29 39
diff --git a/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch b/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch
index 6e8a6a9fd..3a344b236 100644
--- a/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch
+++ b/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch
@@ -1,8 +1,21 @@
1From 17e5c8d32abc214aea408f0837be41e88bce7eb2 Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Wed, 16 Aug 2017 13:37:40 +0800
4Subject: [PATCH] vlock: add new recipe
5
1Upstream-Status: Pending 6Upstream-Status: Pending
2 7
3written by: Jeff Polk <jeff.polk@windriver.com> 8written by: Jeff Polk <jeff.polk@windriver.com>
4Signed-off-by: Jackie Huang <jackie.huang@windriver.com> 9Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
5 10
11---
12 Makefile | 4 ++++
13 configure | 9 +++++++++
14 src/vlock-main.c | 8 ++++++++
15 3 files changed, 21 insertions(+)
16
17diff --git a/Makefile b/Makefile
18index 4eeb42a..834cd2c 100644
6--- a/Makefile 19--- a/Makefile
7+++ b/Makefile 20+++ b/Makefile
8@@ -126,6 +126,10 @@ ifeq ($(AUTH_METHOD),shadow) 21@@ -126,6 +126,10 @@ ifeq ($(AUTH_METHOD),shadow)
@@ -16,6 +29,8 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
16 ifeq ($(ENABLE_PLUGINS),yes) 29 ifeq ($(ENABLE_PLUGINS),yes)
17 vlock-main: plugins.o plugin.o module.o process.o script.o tsort.o list.o 30 vlock-main: plugins.o plugin.o module.o process.o script.o tsort.o list.o
18 # -rdynamic is needed so that the all plugin can access the symbols from console_switch.o 31 # -rdynamic is needed so that the all plugin can access the symbols from console_switch.o
32diff --git a/configure b/configure
33index d5d84d6..1303598 100755
19--- a/configure 34--- a/configure
20+++ b/configure 35+++ b/configure
21@@ -44,6 +44,7 @@ Optional Features: 36@@ -44,6 +44,7 @@ Optional Features:
@@ -36,7 +51,7 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
36 pam|shadow) 51 pam|shadow)
37 if [ "$2" = "yes" ] ; then 52 if [ "$2" = "yes" ] ; then
38 if [ -n "$auth_method" ] && [ "$auth_method" != "$1" ] ; then 53 if [ -n "$auth_method" ] && [ "$auth_method" != "$1" ] ; then
39@@ -232,6 +232,7 @@ set_defaults() { 54@@ -228,6 +232,7 @@ set_defaults() {
40 AUTH_METHOD="pam" 55 AUTH_METHOD="pam"
41 ENABLE_ROOT_PASSWORD="yes" 56 ENABLE_ROOT_PASSWORD="yes"
42 ENABLE_PLUGINS="yes" 57 ENABLE_PLUGINS="yes"
@@ -44,9 +59,7 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
44 SCRIPTS="" 59 SCRIPTS=""
45 60
46 VLOCK_GROUP="vlock" 61 VLOCK_GROUP="vlock"
47@@ -356,10 +356,14 @@ ENABLE_PLUGINS = ${ENABLE_PLUGINS} 62@@ -353,6 +358,10 @@ MODULES = ${MODULES}
48 # which plugins should be build
49 MODULES = ${MODULES}
50 # which scripts should be installed 63 # which scripts should be installed
51 SCRIPTS = ${SCRIPTS} 64 SCRIPTS = ${SCRIPTS}
52 65
@@ -57,12 +70,12 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
57 # root's group 70 # root's group
58 ROOT_GROUP = ${ROOT_GROUP} 71 ROOT_GROUP = ${ROOT_GROUP}
59 72
60 # group for privileged plugins 73diff --git a/src/vlock-main.c b/src/vlock-main.c
61 VLOCK_GROUP = ${VLOCK_GROUP} 74index 008f6f0..108ce8b 100644
62--- a/src/vlock-main.c 75--- a/src/vlock-main.c
63+++ b/src/vlock-main.c 76+++ b/src/vlock-main.c
64@@ -111,7 +111,9 @@ static void restore_terminal(void) 77@@ -112,7 +112,9 @@ static void restore_terminal(void)
65 (void) tcsetattr(STDIN_FILENO, TCSANOW, &term); 78 (void) tcsetattr(STDIN_FILENO, TCSANOW, &old_term);
66 } 79 }
67 80
68+#ifdef ENABLE_FAIL_COUNT 81+#ifdef ENABLE_FAIL_COUNT
@@ -71,7 +84,7 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
71 84
72 static void auth_loop(const char *username) 85 static void auth_loop(const char *username)
73 { 86 {
74@@ -181,7 +183,9 @@ static void auth_loop(const char *userna 87@@ -182,7 +184,9 @@ static void auth_loop(const char *username)
75 } 88 }
76 #endif 89 #endif
77 90
@@ -81,7 +94,7 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
81 } 94 }
82 95
83 /* Free timeouts memory. */ 96 /* Free timeouts memory. */
84@@ -189,11 +193,13 @@ static void auth_loop(const char *userna 97@@ -190,11 +194,13 @@ static void auth_loop(const char *username)
85 free(prompt_timeout); 98 free(prompt_timeout);
86 } 99 }
87 100
@@ -95,7 +108,7 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
95 108
96 #ifdef USE_PLUGINS 109 #ifdef USE_PLUGINS
97 static void call_end_hook(void) 110 static void call_end_hook(void)
98@@ -216,7 +222,9 @@ int main(int argc, char *const argv[]) 111@@ -217,7 +223,9 @@ int main(int argc, char *const argv[])
99 if (username == NULL) 112 if (username == NULL)
100 fatal_perror("vlock: could not get username"); 113 fatal_perror("vlock: could not get username");
101 114
diff --git a/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch b/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch
index 4ce0abc71..460b29249 100644
--- a/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch
+++ b/meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch
@@ -1,13 +1,22 @@
1From fcec4e7fe899f8c0077b3004eeccb7292a945a67 Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Wed, 16 Aug 2017 13:37:40 +0800
4Subject: [PATCH] vlock: add new recipe
5
1Upstream-Status: Pending 6Upstream-Status: Pending
2 7
3written by: Jeff Polk <jeff.polk@windriver.com> 8written by: Jeff Polk <jeff.polk@windriver.com>
4Signed-off-by: Jackie Huang <jackie.huang@windriver.com> 9Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
5 10
6Index: vlock-2.2.2/src/auth-pam.c 11---
7=================================================================== 12 src/auth-pam.c | 3 +++
8--- vlock-2.2.2.orig/src/auth-pam.c 2010-06-14 14:38:51.000000000 -0400 13 1 file changed, 3 insertions(+)
9+++ vlock-2.2.2/src/auth-pam.c 2010-06-14 14:39:12.000000000 -0400 14
10@@ -148,6 +148,9 @@ 15diff --git a/src/auth-pam.c b/src/auth-pam.c
16index 5cf93f6..c5cc67a 100644
17--- a/src/auth-pam.c
18+++ b/src/auth-pam.c
19@@ -148,6 +148,9 @@ bool auth(const char *user, struct timespec *timeout)
11 20
12 if (pam_status != PAM_SUCCESS) { 21 if (pam_status != PAM_SUCCESS) {
13 fprintf(stderr, "vlock: %s\n", pam_strerror(pamh, pam_status)); 22 fprintf(stderr, "vlock: %s\n", pam_strerror(pamh, pam_status));