Skip to contentSkip to conversation

sysvinit: make lastb.1 an alternative

PATCH In review Dan McGregor 4 participants 7 messages Apr 12, 2016 – Apr 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 sysvinit: make lastb.1 an alternative

From: Dan McGregor <[email protected]>

util-linux has an alternative for it. Add it to sysvinit too.

---
 meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb +2 -1
index 0f0df85..884857a 100644
@@ -53,9 +53,10 @@ ALTERNATIVE_LINK_NAME[pidof] = "${base_bindir}/pidof"
 ALTERNATIVE_${PN}-sulogin = "sulogin"
 ALTERNATIVE_LINK_NAME[sulogin] = "${base_sbindir}/sulogin"
 
-ALTERNATIVE_${PN}-doc = "mountpoint.1 last.1 mesg.1 wall.1 sulogin.8 utmpdump.1"
+ALTERNATIVE_${PN}-doc = "mountpoint.1 last.1 lastb.1 mesg.1 wall.1 sulogin.8 utmpdump.1"
 
 ALTERNATIVE_LINK_NAME[last.1] = "${mandir}/man1/last.1"
+ALTERNATIVE_LINK_NAME[lastb.1] = "${mandir}/man1/lastb.1"
 ALTERNATIVE_LINK_NAME[mesg.1] = "${mandir}/man1/mesg.1"
 ALTERNATIVE_LINK_NAME[mountpoint.1] = "${mandir}/man1/mountpoint.1"
 ALTERNATIVE_LINK_NAME[sulogin.8] = "${mandir}/man8/sulogin.8"
Signature · 1 line
2.8.1
#1 lore raw

PATCH 2/3 sudo: fix pam config on systemd systems

From: Dan McGregor <[email protected]>

Pam_keyinit revoke causes issues on systemd systems. Make its use optional. This brings it in line with Fedora 23 and Centos 7.

---
 meta/recipes-extended/sudo/files/sudo.pam | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/sudo/files/sudo.pam +1 -1
index 5bc26e7..515eab0 100644
@@ -2,5 +2,5 @@
 auth       include      common-auth
 account    include      common-account
 password   include      common-password
-session    required     pam_keyinit.so revoke
+session    optional     pam_keyinit.so revoke
 session    required     pam_limits.so
Signature · 1 line
2.8.1
#2 lore raw

PATCH 3/3 git: update to 2.8.1

In reply to Dan McGregor

From: Dan McGregor <[email protected]>

---
 meta/recipes-devtools/git/git_2.7.2.bb | 11 -----------
 meta/recipes-devtools/git/git_2.8.1.bb | 11 +++++++++++
 2 files changed, 11 insertions(+), 11 deletions(-)
 delete mode 100644 meta/recipes-devtools/git/git_2.7.2.bb
 create mode 100644 meta/recipes-devtools/git/git_2.8.1.bb
meta/recipes-devtools/git/git_2.7.2.bb deleted +0 -11
deleted file mode 100644
index 3fd7151..0000000
@@ -1,11 +0,0 @@
-require git.inc
-
-EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
-                 ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
-                 "
-EXTRA_OEMAKE += "NO_GETTEXT=1"
-
-SRC_URI[tarball.md5sum] = "162ddc6c9b243899ad67ebd6b1c166b1"
-SRC_URI[tarball.sha256sum] = "58959e3ef3046403216a157dfc683c4d7f0dd83365463b8dd87063ded940a0df"
-SRC_URI[manpages.md5sum] = "7bb067d6363f537b92c3b8b813ff9ed6"
-SRC_URI[manpages.sha256sum] = "e6b5481fd6e24a1d1b155ef17363b313d47025bf6da880737fa872ab78e24f15"
meta/recipes-devtools/git/git_2.8.1.bb new file +11 -0
new file mode 100644
index 0000000..8978b72
@@ -0,0 +1,11 @@
+require git.inc
+
+EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
+                 ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
+                 "
+EXTRA_OEMAKE += "NO_GETTEXT=1"
+
+SRC_URI[tarball.md5sum] = "1a12555182c1e9f781bc30a5c5f9515e"
+SRC_URI[tarball.sha256sum] = "cfc66324179b9ed62ee02833f29d39935f4ab66874125a3ab9d5bb9055c0cb67"
+SRC_URI[manpages.md5sum] = "60552f15a90b9fcdc1b92b222e2d2379"
+SRC_URI[manpages.sha256sum] = "df46de0c172049f935cc3736361b263c5ff289b77077c73053e63ae83fcf43f4"
Signature · 1 line
2.8.1
#3 lore raw

Re: [PATCH 3/3] git: update to 2.8.1

Far too late for master/krogoth, this can be merged after they've branched.

Ross

Quoted 61 lines · Dan McGregor

From: Dan McGregor <[email protected]>

---
 meta/recipes-devtools/git/git_2.7.2.bb | 11 -----------
 meta/recipes-devtools/git/git_2.8.1.bb | 11 +++++++++++
 2 files changed, 11 insertions(+), 11 deletions(-)
 delete mode 100644 meta/recipes-devtools/git/git_2.7.2.bb
 create mode 100644 meta/recipes-devtools/git/git_2.8.1.bb
meta/recipes-devtools/git/git_2.7.2.bb deleted +0 -9
deleted file mode 100644
index 3fd7151..0000000
@@ -1,11 +0,0 @@
-require git.inc
-
-EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
-
 ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
-                 "
-EXTRA_OEMAKE += "NO_GETTEXT=1"
-
-SRC_URI[tarball.md5sum] = "162ddc6c9b243899ad67ebd6b1c166b1"
-SRC_URI[tarball.sha256sum] =

"58959e3ef3046403216a157dfc683c4d7f0dd83365463b8dd87063ded940a0df"

meta/recipes-devtools/git/git_2.7.2.bb deleted +0 -2
-SRC_URI[manpages.md5sum] = "7bb067d6363f537b92c3b8b813ff9ed6"
-SRC_URI[manpages.sha256sum] =

"e6b5481fd6e24a1d1b155ef17363b313d47025bf6da880737fa872ab78e24f15"

meta/recipes-devtools/git/git_2.8.1.bb new file +9 -0
new file mode 100644
index 0000000..8978b72
@@ -0,0 +1,11 @@
+require git.inc
+
+EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
+
 ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
+                 "
+EXTRA_OEMAKE += "NO_GETTEXT=1"
+
+SRC_URI[tarball.md5sum] = "1a12555182c1e9f781bc30a5c5f9515e"
+SRC_URI[tarball.sha256sum] =

"cfc66324179b9ed62ee02833f29d39935f4ab66874125a3ab9d5bb9055c0cb67"

meta/recipes-devtools/git/git_2.8.1.bb new file +2 -0
+SRC_URI[manpages.md5sum] = "60552f15a90b9fcdc1b92b222e2d2379"
+SRC_URI[manpages.sha256sum] =

"df46de0c172049f935cc3736361b263c5ff289b77077c73053e63ae83fcf43f4" --
2.8.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#4 lore raw

Re: [PATCH 3/3] git: update to 2.8.1

Works for me. I'm not in a hurry.

Quoted 68 lines · Ross

Far too late for master/krogoth, this can be merged after they've branched.

Ross

Quoted 61 lines · Dan McGregor

From: Dan McGregor <[email protected]>

---
 meta/recipes-devtools/git/git_2.7.2.bb | 11 -----------
 meta/recipes-devtools/git/git_2.8.1.bb | 11 +++++++++++
 2 files changed, 11 insertions(+), 11 deletions(-)
 delete mode 100644 meta/recipes-devtools/git/git_2.7.2.bb
 create mode 100644 meta/recipes-devtools/git/git_2.8.1.bb
meta/recipes-devtools/git/git_2.7.2.bb deleted +0 -4
deleted file mode 100644
index 3fd7151..0000000
@@ -1,11 +0,0 @@
-require git.inc
-
-EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
-

ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \

meta/recipes-devtools/git/git_2.7.2.bb deleted +0 -5
-                 "
-EXTRA_OEMAKE += "NO_GETTEXT=1"
-
-SRC_URI[tarball.md5sum] = "162ddc6c9b243899ad67ebd6b1c166b1"
-SRC_URI[tarball.sha256sum] =

"58959e3ef3046403216a157dfc683c4d7f0dd83365463b8dd87063ded940a0df"

meta/recipes-devtools/git/git_2.7.2.bb deleted +0 -2
-SRC_URI[manpages.md5sum] = "7bb067d6363f537b92c3b8b813ff9ed6"
-SRC_URI[manpages.sha256sum] =

"e6b5481fd6e24a1d1b155ef17363b313d47025bf6da880737fa872ab78e24f15"

meta/recipes-devtools/git/git_2.8.1.bb new file +4 -0
new file mode 100644
index 0000000..8978b72
@@ -0,0 +1,11 @@
+require git.inc
+
+EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
+

ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \

meta/recipes-devtools/git/git_2.8.1.bb new file +5 -0
+                 "
+EXTRA_OEMAKE += "NO_GETTEXT=1"
+
+SRC_URI[tarball.md5sum] = "1a12555182c1e9f781bc30a5c5f9515e"
+SRC_URI[tarball.sha256sum] =

"cfc66324179b9ed62ee02833f29d39935f4ab66874125a3ab9d5bb9055c0cb67"

meta/recipes-devtools/git/git_2.8.1.bb new file +2 -0
+SRC_URI[manpages.md5sum] = "60552f15a90b9fcdc1b92b222e2d2379"
+SRC_URI[manpages.sha256sum] =

"df46de0c172049f935cc3736361b263c5ff289b77077c73053e63ae83fcf43f4" --
2.8.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#6 lore raw

Re: [PATCH 3/3] git: update to 2.8.1

In reply to Dan McGregor

Passing -M parameter to git format-patch in this case would make better result.

Quoted 52 lines · Dan McGregor

From: Dan McGregor <[email protected]>

---
 meta/recipes-devtools/git/git_2.7.2.bb | 11 -----------
 meta/recipes-devtools/git/git_2.8.1.bb | 11 +++++++++++
 2 files changed, 11 insertions(+), 11 deletions(-)
 delete mode 100644 meta/recipes-devtools/git/git_2.7.2.bb
 create mode 100644 meta/recipes-devtools/git/git_2.8.1.bb
meta/recipes-devtools/git/git_2.7.2.bb deleted +0 -11
deleted file mode 100644
index 3fd7151..0000000
@@ -1,11 +0,0 @@
-require git.inc
-
-EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
-                 ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
-                 "
-EXTRA_OEMAKE += "NO_GETTEXT=1"
-
-SRC_URI[tarball.md5sum] = "162ddc6c9b243899ad67ebd6b1c166b1"
-SRC_URI[tarball.sha256sum] = "58959e3ef3046403216a157dfc683c4d7f0dd83365463b8dd87063ded940a0df"
-SRC_URI[manpages.md5sum] = "7bb067d6363f537b92c3b8b813ff9ed6"
-SRC_URI[manpages.sha256sum] = "e6b5481fd6e24a1d1b155ef17363b313d47025bf6da880737fa872ab78e24f15"
meta/recipes-devtools/git/git_2.8.1.bb new file +11 -0
new file mode 100644
index 0000000..8978b72
@@ -0,0 +1,11 @@
+require git.inc
+
+EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
+                 ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
+                 "
+EXTRA_OEMAKE += "NO_GETTEXT=1"
+
+SRC_URI[tarball.md5sum] = "1a12555182c1e9f781bc30a5c5f9515e"
+SRC_URI[tarball.sha256sum] = "cfc66324179b9ed62ee02833f29d39935f4ab66874125a3ab9d5bb9055c0cb67"
+SRC_URI[manpages.md5sum] = "60552f15a90b9fcdc1b92b222e2d2379"
+SRC_URI[manpages.sha256sum] = "df46de0c172049f935cc3736361b263c5ff289b77077c73053e63ae83fcf43f4"
Signature · 7 lines
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
#5 lore raw

Re: [PATCH 3/3] git: update to 2.8.1

In reply to Dan McGregor

On the other hand, AFAICT we are currently still vulnerable to a remote code execution issue:

https://ma.ttias.be/remote-code-execution-git-versions-client-server-2-7-1-cve-2016-2324-cve-2016-2315/

Given we provide git for native use in the buildtools as well as on target I think we really ought to be addressing this before release. Whether we should do that by upgrading to 2.7.4 or attempting to apply patches I'm not sure.

Cheers,
Paul

Quoted 70 lines · On Tue, 12 Apr 2016 13:48:26 Dan McGregor wrote:

Works for me. I'm not in a hurry.

Quoted 67 lines · Ross

Far too late for master/krogoth, this can be merged after they've branched.

Ross

Quoted 61 lines · Dan McGregor

From: Dan McGregor <[email protected]>

---

 meta/recipes-devtools/git/git_2.7.2.bb | 11 -----------
 meta/recipes-devtools/git/git_2.8.1.bb | 11 +++++++++++
 2 files changed, 11 insertions(+), 11 deletions(-)
 delete mode 100644 meta/recipes-devtools/git/git_2.7.2.bb
 create mode 100644 meta/recipes-devtools/git/git_2.8.1.bb
meta/recipes-devtools/git/git_2.7.2.bb deleted +0 -4
deleted file mode 100644
index 3fd7151..0000000
@@ -1,11 +0,0 @@
-require git.inc
-
-EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
-

ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \

meta/recipes-devtools/git/git_2.7.2.bb deleted +0 -5
-                 "
-EXTRA_OEMAKE += "NO_GETTEXT=1"
-
-SRC_URI[tarball.md5sum] = "162ddc6c9b243899ad67ebd6b1c166b1"
-SRC_URI[tarball.sha256sum] =

"58959e3ef3046403216a157dfc683c4d7f0dd83365463b8dd87063ded940a0df"

meta/recipes-devtools/git/git_2.7.2.bb deleted +0 -2
-SRC_URI[manpages.md5sum] = "7bb067d6363f537b92c3b8b813ff9ed6"
-SRC_URI[manpages.sha256sum] =

"e6b5481fd6e24a1d1b155ef17363b313d47025bf6da880737fa872ab78e24f15"

meta/recipes-devtools/git/git_2.8.1.bb new file +4 -0
new file mode 100644
index 0000000..8978b72
@@ -0,0 +1,11 @@
+require git.inc
+
+EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
+

ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \

meta/recipes-devtools/git/git_2.8.1.bb new file +5 -0
+                 "
+EXTRA_OEMAKE += "NO_GETTEXT=1"
+
+SRC_URI[tarball.md5sum] = "1a12555182c1e9f781bc30a5c5f9515e"
+SRC_URI[tarball.sha256sum] =

"cfc66324179b9ed62ee02833f29d39935f4ab66874125a3ab9d5bb9055c0cb67"

meta/recipes-devtools/git/git_2.8.1.bb new file +2 -0
+SRC_URI[manpages.md5sum] = "60552f15a90b9fcdc1b92b222e2d2379"
+SRC_URI[manpages.sha256sum] =

"df46de0c172049f935cc3736361b263c5ff289b77077c73053e63ae83fcf43f4" --
2.8.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre