vlock: add new recipe
PATCH v2 1/1 vlock: add new recipe
From: Jackie Huang <[email protected]>
vlock is a program to lock one or more
sessions on the Linux console.
--- .../vlock/vlock-2.2.3/disable_vlockrc.patch | 37 +++++++ .../vlock/vlock-2.2.3/vlock-no_tally.patch | 107 +++++++++++++++++++++ .../recipes-extended/vlock/vlock-2.2.3/vlock_pam | 3 + .../vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch | 19 ++++ meta-oe/recipes-extended/vlock/vlock_2.2.3.bb | 59 ++++++++++++ 5 files changed, 225 insertions(+) create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch create mode 100644 meta-oe/recipes-extended/vlock/vlock_2.2.3.bb
meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch new file +37 -0
@@ -0,0 +1,37 @@ +Upstream-Status: Inappropriate [configuration] + +written by: Jeff Polk <[email protected]> +Signed-off-by: Jackie Huang <[email protected]> + +Index: vlock-2.2.2/man/vlock.1 +=================================================================== +--- vlock-2.2.2.orig/man/vlock.1 2010-07-26 14:12:42.000000000 -0400 ++++ vlock-2.2.2/man/vlock.1 2010-07-26 14:13:06.000000000 -0400 +@@ -111,11 +111,6 @@ + to an invalid value or 0 no timeout is used. \fBWarning\fR: If this value is + too low, you may not be able to unlock your session. + .PP +-.SH FILES +-.B ~/.vlockrc +-.IP +-This file is read by \fBvlock\fR on startup if it exists. All the variables +-mentioned above can be set here. + .SH SECURITY + See the SECURITY file in the \fBvlock\fR distribution for more information. + .PP +Index: vlock-2.2.2/src/vlock.sh +=================================================================== +--- vlock-2.2.2.orig/src/vlock.sh 2010-07-26 14:12:32.000000000 -0400 ++++ vlock-2.2.2/src/vlock.sh 2010-07-26 14:13:33.000000000 -0400 +@@ -35,11 +35,6 @@ + + ${VLOCK_ENTER_PROMPT}" + +-# Read user settings. +-if [ -r "${HOME}/.vlockrc" ] ; then +- . "${HOME}/.vlockrc" +-fi +- + # "Compile" time variables. + VLOCK_MAIN="%PREFIX%/sbin/vlock-main" + VLOCK_VERSION="%VLOCK_VERSION%"
meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch new file +107 -0
107 lines not on this page · raw message
meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam new file +3 -0
@@ -0,0 +1,3 @@ +# Use the default auth and account policies for vlock +auth include common-auth +account include common-account
meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch new file +19 -0
@@ -0,0 +1,19 @@ +Upstream-Status: Pending + +written by: Jeff Polk <[email protected]> +Signed-off-by: Jackie Huang <[email protected]> + +Index: vlock-2.2.2/src/auth-pam.c +=================================================================== +--- vlock-2.2.2.orig/src/auth-pam.c 2010-06-14 14:38:51.000000000 -0400 ++++ vlock-2.2.2/src/auth-pam.c 2010-06-14 14:39:12.000000000 -0400 +@@ -148,6 +148,9 @@ + + if (pam_status != PAM_SUCCESS) { + fprintf(stderr, "vlock: %s\n", pam_strerror(pamh, pam_status)); ++ } else { ++ pam_status = pam_acct_mgmt(pamh, 0); ++ if (pam_status == PAM_SUCCESS) pam_setcred(pamh, PAM_REINITIALIZE_CRED); + } + + end:
meta-oe/recipes-extended/vlock/vlock_2.2.3.bb new file +59 -0
59 lines not on this page · raw message
Signature · 1 line
2.11.0
Quoted 25 lines · On Tue, Aug 15, 2017 at 10:37 PM, <[email protected]> wrote:
From: Jackie Huang <[email protected]>
vlock is a program to lock one or more
sessions on the Linux console.Signed-off-by Jackie Huang <[email protected]>--- .../vlock/vlock-2.2.3/disable_vlockrc.patch | 37 +++++++ .../vlock/vlock-2.2.3/vlock-no_tally.patch | 107 +++++++++++++++++++++ .../recipes-extended/vlock/vlock-2.2.3/vlock_pam | 3 + .../vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch | 19 ++++ meta-oe/recipes-extended/vlock/vlock_2.2.3.bb | 59 ++++++++++++ 5 files changed, 225 insertions(+) create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch create mode 100644 meta-oe/recipes-extended/vlock/vlock_2.2.3.bbmeta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch new file +0
-0
meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch line 3
Quoted 3 lines
meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch new file +3
-0@@ -0,0 +1,37 @@ +Upstream-Status: Inappropriate [configuration] + +written by: Jeff Polk <[email protected]>
I think a SOB is better than inventing another tag.
Quoted 35 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, August 17, 2017 01:12
To: Huang, Jie (Jackie)
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH v2] vlock: add new recipeQuoted 9 lines · On Tue, Aug 15, 2017 at 10:37 PM, <[email protected]> wrote:
From: Jackie Huang <[email protected]>
vlock is a program to lock one or more
sessions on the Linux console.Signed-off-by Jackie Huang <[email protected]>--- .../vlock/vlock-2.2.3/disable_vlockrc.patch | 37 +++++++ .../vlock/vlock-2.2.3/vlock-no_tally.patch | 107+++++++++++++++++++++
Quoted 5 lines
.../recipes-extended/vlock/vlock-2.2.3/vlock_pam | 3 + .../vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch | 19 ++++ meta-oe/recipes-extended/vlock/vlock_2.2.3.bb | 59 ++++++++++++ 5 files changed, 225 insertions(+) create mode 100644 meta-oe/recipes-extended/vlock/vlock-
2.2.3/disable_vlockrc.patchQuoted 1 line
create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch
Quoted 2 lines
create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam create mode 100644 meta-oe/recipes-extended/vlock/vlock-
2.2.3/vlock_pam_tally2_reset.patchReview
Quoted 3 lines
create mode 100644 meta-oe/recipes-extended/vlock/vlock_2.2.3.bb(quoted diff) +0
-0
b/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch
Quoted 10 lines
meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch line 3
Quoted 8 lines
new file mode 100644
index 000000000..ee0d074demeta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch new file +3
-0@@ -0,0 +1,37 @@ +Upstream-Status: Inappropriate [configuration] + +written by: Jeff Polk <[email protected]>I think a SOB is better than inventing another tag.
I just follow the guideline:
http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Importing_from_Elsewhere
"""
It is also necessary to document the original author of the change. You should indicate the original author by simply stating "written by" or "posted to the ... mailing list by". You must not add a Signed-off-by: tag line with their name, only the original author may add their own Signed-off-by: tag line. """
Thanks,
Jackie
Quoted 46 lines · Jie (Jackie)
Quoted 35 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, August 17, 2017 01:12
To: Huang, Jie (Jackie)
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH v2] vlock: add new recipeQuoted 9 lines · On Tue, Aug 15, 2017 at 10:37 PM, <[email protected]> wrote:
From: Jackie Huang <[email protected]>
vlock is a program to lock one or more
sessions on the Linux console.Signed-off-by Jackie Huang <[email protected]>--- .../vlock/vlock-2.2.3/disable_vlockrc.patch | 37 +++++++ .../vlock/vlock-2.2.3/vlock-no_tally.patch | 107+++++++++++++++++++++
Quoted 5 lines
.../recipes-extended/vlock/vlock-2.2.3/vlock_pam | 3 + .../vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch | 19 ++++ meta-oe/recipes-extended/vlock/vlock_2.2.3.bb | 59 ++++++++++++ 5 files changed, 225 insertions(+) create mode 100644 meta-oe/recipes-extended/vlock/vlock-
2.2.3/disable_vlockrc.patchQuoted 1 line
create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch
Quoted 2 lines
create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam create mode 100644 meta-oe/recipes-extended/vlock/vlock-
2.2.3/vlock_pam_tally2_reset.patchReview
Quoted 3 lines
create mode 100644 meta-oe/recipes-extended/vlock/vlock_2.2.3.bb(quoted diff) +0
-0
b/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patchQuoted 10 lines
meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch line 3
Quoted 8 lines
new file mode 100644
index 000000000..ee0d074demeta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch new file +3
-0@@ -0,0 +1,37 @@ +Upstream-Status: Inappropriate [configuration] + +written by: Jeff Polk <[email protected]>I think a SOB is better than inventing another tag.
Quoted 7 lines
I just follow the guideline:
http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Importing_from_Elsewhere"""
It is also necessary to document the original author of the change. You should indicate the original author by simply stating "written by" or "posted to the ... mailing list by". You must not add a Signed-off-by: tag line with their name, only the original author may add their own Signed-off-by: tag line. """
I wasn't suggesting that you add SOB for someone else. I was suggesting to not have original author attribution so close to the format for Signed-off-by, tested-off-by etc. Something like
Original Patch from: < source >
where source is publicly listed URL where the patch is posted.
Quoted 2 lines
Thanks,
Jackie
Quoted 72 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, August 17, 2017 09:02
To: Huang, Jie (Jackie)
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH v2] vlock: add new recipeQuoted 25 lines · Jie (Jackie)
Quoted 25 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, August 17, 2017 01:12
To: Huang, Jie (Jackie)
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH v2] vlock: add new recipeQuoted 9 lines · On Tue, Aug 15, 2017 at 10:37 PM, <[email protected]> wrote:
From: Jackie Huang <[email protected]>
vlock is a program to lock one or more
sessions on the Linux console.Signed-off-by Jackie Huang <[email protected]>--- .../vlock/vlock-2.2.3/disable_vlockrc.patch | 37 +++++++ .../vlock/vlock-2.2.3/vlock-no_tally.patch | 107+++++++++++++++++++++
Quoted 5 lines
.../recipes-extended/vlock/vlock-2.2.3/vlock_pam | 3 + .../vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch | 19 ++++ meta-oe/recipes-extended/vlock/vlock_2.2.3.bb | 59 ++++++++++++ 5 files changed, 225 insertions(+) create mode 100644 meta-oe/recipes-extended/vlock/vlock-Quoted 4 lines
Quoted 4 lines
2.2.3/disable_vlockrc.patchQuoted 1 line
create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch
Quoted 1 line
create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
create mode 100644 meta-oe/recipes-extended/vlock/vlock-
2.2.3/vlock_pam_tally2_reset.patchReview
Quoted 3 lines
create mode 100644 meta-oe/recipes-extended/vlock/vlock_2.2.3.bb(quoted diff) +0
-0
2.2.3/disable_vlockrc.patchQuoted 12 lines
Quoted 11 lines
b/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patchmeta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch line 3
Quoted 8 lines
new file mode 100644
index 000000000..ee0d074demeta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch new file +3
-0@@ -0,0 +1,37 @@ +Upstream-Status: Inappropriate [configuration] + +written by: Jeff Polk <[email protected]>I think a SOB is better than inventing another tag.
Quoted 2 lines
I just follow the guideline:
http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Imp
orting_from_ElsewhereQuoted 3 lines
"""
It is also necessary to document the original author of the change. You shouldindicate the original author by simply stating "written by" or "posted to the ... mailing list by". You must not add a Signed-off-by: tag line with their name, only the original author may add their own Signed-off-by: tag line.
Quoted 2 lines
"""
Quoted 7 lines
I wasn't suggesting that you add SOB for someone else. I was suggesting to not have original author attribution so close to the format for Signed-off-by, tested-off-by etc. Something like
Original Patch from: < source >
where source is publicly listed URL where the patch is posted.
I got the patch from our internal layer and the author is no longer in our company, what is the suggesting way if I can't find a public URL for this?
Thanks,
Jackie
Quoted 4 lines
Quoted 4 lines
Thanks,
Jackie
Quoted 76 lines · Jie (Jackie)
Quoted 76 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, August 17, 2017 09:02
To: Huang, Jie (Jackie)
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH v2] vlock: add new recipeQuoted 25 lines · Jie (Jackie)
Quoted 25 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, August 17, 2017 01:12
To: Huang, Jie (Jackie)
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH v2] vlock: add new recipeQuoted 9 lines · On Tue, Aug 15, 2017 at 10:37 PM, <[email protected]> wrote:
From: Jackie Huang <[email protected]>
vlock is a program to lock one or more
sessions on the Linux console.Signed-off-by Jackie Huang <[email protected]>--- .../vlock/vlock-2.2.3/disable_vlockrc.patch | 37 +++++++ .../vlock/vlock-2.2.3/vlock-no_tally.patch | 107+++++++++++++++++++++
Quoted 5 lines
.../recipes-extended/vlock/vlock-2.2.3/vlock_pam | 3 + .../vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch | 19 ++++ meta-oe/recipes-extended/vlock/vlock_2.2.3.bb | 59 ++++++++++++ 5 files changed, 225 insertions(+) create mode 100644 meta-oe/recipes-extended/vlock/vlock-Quoted 4 lines
Quoted 4 lines
2.2.3/disable_vlockrc.patchQuoted 1 line
create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-no_tally.patch
Quoted 1 line
create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
create mode 100644 meta-oe/recipes-extended/vlock/vlock-
2.2.3/vlock_pam_tally2_reset.patchReview
Quoted 3 lines
create mode 100644 meta-oe/recipes-extended/vlock/vlock_2.2.3.bb(quoted diff) +0
-0
2.2.3/disable_vlockrc.patchQuoted 12 lines
Quoted 11 lines
b/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patchmeta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch line 3
Quoted 8 lines
new file mode 100644
index 000000000..ee0d074demeta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patch new file +3
-0@@ -0,0 +1,37 @@ +Upstream-Status: Inappropriate [configuration] + +written by: Jeff Polk <[email protected]>I think a SOB is better than inventing another tag.
Quoted 2 lines
I just follow the guideline:
http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Imp
orting_from_ElsewhereQuoted 3 lines
"""
It is also necessary to document the original author of the change. You shouldindicate the original author by simply stating "written by" or "posted to the ... mailing list by". You must not add a Signed-off-by: tag line with their name, only the original author may add their own Signed-off-by: tag line.
Quoted 2 lines
"""
I wasn't suggesting that you add SOB for someone else. I was suggesting to not have original author attribution so close to the format for Signed-off-by, tested-off-by etc. Something like
Quoted 7 lines
Quoted 3 lines
Original Patch from: < source >
where source is publicly listed URL where the patch is posted.
I got the patch from our internal layer and the author is no longer in our company, what is the suggesting way if I can't find a public URL for this?
you have to consult your company's upstreaming policy.
Quoted 7 lines
Thanks,
JackieQuoted 4 lines
Quoted 4 lines
Thanks,
Jackie
Quoted 94 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, August 17, 2017 10:16
To: Huang, Jie (Jackie)
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH v2] vlock: add new recipeQuoted 30 lines · Jie (Jackie)
Quoted 30 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, August 17, 2017 09:02
To: Huang, Jie (Jackie)
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH v2] vlock: add new recipeQuoted 19 lines · Jie (Jackie)
Quoted 19 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, August 17, 2017 01:12
To: Huang, Jie (Jackie)
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH v2] vlock: add new recipeQuoted 9 lines · On Tue, Aug 15, 2017 at 10:37 PM, <[email protected]> wrote:
From: Jackie Huang <[email protected]>
vlock is a program to lock one or more
sessions on the Linux console.Signed-off-by Jackie Huang <[email protected]>--- .../vlock/vlock-2.2.3/disable_vlockrc.patch | 37 +++++++ .../vlock/vlock-2.2.3/vlock-no_tally.patch | 107Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
+++++++++++++++++++++
Quoted 5 lines
.../recipes-extended/vlock/vlock-2.2.3/vlock_pam | 3 + .../vlock/vlock-2.2.3/vlock_pam_tally2_reset.patch | 19 ++++ meta-oe/recipes-extended/vlock/vlock_2.2.3.bb | 59 ++++++++++++ 5 files changed, 225 insertions(+) create mode 100644 meta-oe/recipes-extended/vlock/vlock-
2.2.3/disable_vlockrc.patchQuoted 1 line
create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock-
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
no_tally.patch
Quoted 1 line
create mode 100644 meta-oe/recipes-extended/vlock/vlock-2.2.3/vlock_pam
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
create mode 100644 meta-oe/recipes-extended/vlock/vlock-
2.2.3/vlock_pam_tally2_reset.patchQuoted 2 lines
create mode 100644 meta-oe/recipes-extended/vlock/vlock_2.2.3.bbQuoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Review
Quoted 1 line
(quoted diff) +0
-0
2.2.3/disable_vlockrc.patchQuoted 5 lines
Quoted 5 lines
b/meta-oe/recipes-extended/vlock/vlock-2.2.3/disable_vlockrc.patchmeta-oe/recipes-extended/vlock/vlock-
Quoted 4 lines
new file mode 100644
index 000000000..ee0d074demeta-oe/recipes-extended/vlock/vlock- new file +0
-0
2.2.3/disable_vlockrc.patchQuoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 6 lines
meta-oe/recipes-extended/vlock/vlock- line 3
Quoted 4 lines
meta-oe/recipes-extended/vlock/vlock- new file +3
-0@@ -0,0 +1,37 @@ +Upstream-Status: Inappropriate [configuration] + +written by: Jeff Polk <[email protected]>I think a SOB is better than inventing another tag.
I just follow the guideline:
http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Imp
Quoted 4 lines
Quoted 4 lines
orting_from_ElsewhereQuoted 3 lines
"""
It is also necessary to document the original author of the change. Youshould
Quoted 2 lines
Quoted 2 lines
indicate the original author by simply stating "written by" or "posted to the ... mailing list by". You must not add a Signed-off-by: tag line with their name,
only
Quoted 10 lines
Quoted 10 lines
the original author may add their own Signed-off-by: tag line.
Quoted 2 lines
"""
I wasn't suggesting that you add SOB for someone else. I was suggesting to not have original author attribution so close to the format for Signed-off-by, tested-off-by etc. Something like
Original Patch from: < source >
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
where source is publicly listed URL where the patch is posted.
I got the patch from our internal layer and the author is no longer in our
company,
Quoted 2 lines
what is the suggesting way if I can't find a public URL for this?
you have to consult your company's upstreaming policy.
Ok, thanks!
Thanks,
Jackie
Quoted 9 lines
Quoted 9 lines
Thanks,
JackieQuoted 4 lines
Quoted 4 lines
Thanks,
Jackie