Skip to contentSkip to conversation

musl-nscd: add package

PATCH Superseded akuster 2 participants 3 messages Oct 8, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

akuster

author
#0 lore raw

PATCH 1/1 musl-nscd: add package

---
 .../recipes-devtools/musl/musl-nscd_git.bb    | 37 +++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/musl/musl-nscd_git.bb
meta-oe/recipes-devtools/musl/musl-nscd_git.bb new file +37 -0
new file mode 100644
index 0000000000..50df6706fc
@@ -0,0 +1,37 @@
+# Copyright (C) 2020 Armin Kuster <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Musl-nscd is an implementation of the NSCD protocol, suitable for use with musl and with standard NSS modules"
+HOMEPAGE = "https://github.com/pikhq/musl-nscd"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=9bf479a145bcaff8489e743da58afeee"
+SECTION = "utils"
+
+PV = "1.0.2"
+
+CFLAGS += "-fcommon"
+
+SRCREV = "8f278675e1b6a3a02c8ee1b8ca000f80570dc5d6"
+SRC_URI = "git://github.com/pikhq/musl-nscd"
+
+UPSTREAM_CHECK_COMMITS = "1"
+
+inherit autotools-brokensep
+
+S = "${WORKDIR}/git"
+
+do_configure () {
+    ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
+}
+
+do_compile () {
+    oe_runmake
+}
+
+do_install () {
+    make DESTDIR=${D} install
+}
+
+INSANE_SKIP_${PN} = "already-stripped"
+
+COMPATIBLE_HOST = ".*-musl.*"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 38 lines · akuster
---
 .../recipes-devtools/musl/musl-nscd_git.bb    | 37 +++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/musl/musl-nscd_git.bb
meta-oe/recipes-devtools/musl/musl-nscd_git.bb new file +25 -0
new file mode 100644
index 0000000000..50df6706fc
@@ -0,0 +1,37 @@
+# Copyright (C) 2020 Armin Kuster <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Musl-nscd is an implementation of the NSCD protocol, suitable for use with musl and with standard NSS modules"
+HOMEPAGE = "https://github.com/pikhq/musl-nscd"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=9bf479a145bcaff8489e743da58afeee"
+SECTION = "utils"
+
+PV = "1.0.2"
+
+CFLAGS += "-fcommon"
+
+SRCREV = "8f278675e1b6a3a02c8ee1b8ca000f80570dc5d6"
+SRC_URI = "git://github.com/pikhq/musl-nscd"
+
+UPSTREAM_CHECK_COMMITS = "1"
+
+inherit autotools-brokensep
+
+S = "${WORKDIR}/git"
+
+do_configure () {
+    ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
+}

meta-oe/recipes-devtools/musl/musl-nscd_git.bb line 35

Quoted 10 lines
meta-oe/recipes-devtools/musl/musl-nscd_git.bb new file +10 -0
+
+do_compile () {
+    oe_runmake
+}
+
+do_install () {
+    make DESTDIR=${D} install
+}
+
+INSANE_SKIP_${PN} = "already-stripped"

If you remove

LDFLAGS = -s
from config.mak.dist then you won't need to skip this error.

Quoted 8 lines
meta-oe/recipes-devtools/musl/musl-nscd_git.bb new file +2 -1
+
+COMPATIBLE_HOST = ".*-musl.*"
--

2.17.1

author
#2 lore raw
Quoted 50 lines · Khem Raj
Quoted 37 lines · akuster
---
 .../recipes-devtools/musl/musl-nscd_git.bb    | 37 +++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/musl/musl-nscd_git.bb
meta-oe/recipes-devtools/musl/musl-nscd_git.bb new file +25 -0
new file mode 100644
index 0000000000..50df6706fc
@@ -0,0 +1,37 @@
+# Copyright (C) 2020 Armin Kuster <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Musl-nscd is an implementation of the NSCD protocol, suitable for use with musl and with standard NSS modules"
+HOMEPAGE = "https://github.com/pikhq/musl-nscd"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=9bf479a145bcaff8489e743da58afeee"
+SECTION = "utils"
+
+PV = "1.0.2"
+
+CFLAGS += "-fcommon"
+
+SRCREV = "8f278675e1b6a3a02c8ee1b8ca000f80570dc5d6"
+SRC_URI = "git://github.com/pikhq/musl-nscd"
+
+UPSTREAM_CHECK_COMMITS = "1"
+
+inherit autotools-brokensep
+
+S = "${WORKDIR}/git"
+
+do_configure () {
+    ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
+}

meta-oe/recipes-devtools/musl/musl-nscd_git.bb line 35

Quoted 10 lines
meta-oe/recipes-devtools/musl/musl-nscd_git.bb new file +10 -0
+
+do_compile () {
+    oe_runmake
+}
+
+do_install () {
+    make DESTDIR=${D} install
+}
+
+INSANE_SKIP_${PN} = "already-stripped"

If you remove

Quoted 2 lines

LDFLAGS = -s
from config.mak.dist then you won't need to skip this error.

Sure, but I like skipping. its faster than walking.

Ill send V2.

-armin

Quoted 9 lines
Quoted 9 lines
meta-oe/recipes-devtools/musl/musl-nscd_git.bb new file +2 -1
+
+COMPATIBLE_HOST = ".*-musl.*"
--

2.17.1