From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 6/6] nss-myhostname: Convert to git
Date: Tue, 9 Dec 2014 21:55:18 -0800 [thread overview]
Message-ID: <c1472f545458227b5b1066ede5170e55db42972a.1418190513.git.sgw@linux.intel.com> (raw)
In-Reply-To: <cover.1418190513.git.sgw@linux.intel.com>
In-Reply-To: <cover.1418190513.git.sgw@linux.intel.com>
The upstream tarball is no longer available, but the git repo still is, so use it instead
Additionally fix up the Makefile.am to not build the README since it's not a deliverable file
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
.../nss-myhostname-disable-docs.patch | 25 ++++++++++++++++++++++
.../nss-myhostname/nss-myhostname_0.3.bb | 12 ++++++-----
2 files changed, 32 insertions(+), 5 deletions(-)
create mode 100644 meta/recipes-support/nss-myhostname/nss-myhostname/nss-myhostname-disable-docs.patch
diff --git a/meta/recipes-support/nss-myhostname/nss-myhostname/nss-myhostname-disable-docs.patch b/meta/recipes-support/nss-myhostname/nss-myhostname/nss-myhostname-disable-docs.patch
new file mode 100644
index 0000000..0af1903
--- /dev/null
+++ b/meta/recipes-support/nss-myhostname/nss-myhostname/nss-myhostname-disable-docs.patch
@@ -0,0 +1,25 @@
+Index: git/Makefile.am
+===================================================================
+--- git.orig/Makefile.am
++++ git/Makefile.am
+@@ -20,19 +20,10 @@ ACLOCAL_AMFLAGS = -I m4
+
+ lib_LTLIBRARIES = libnss_myhostname.la
+
+-EXTRA_DIST=bootstrap.sh README LICENSE
+-SUBDIRS=doc
++EXTRA_DIST=bootstrap.sh LICENSE
+
+ AM_CPPFLAGS = -include $(top_builddir)/config.h
+
+-MAINTAINERCLEANFILES=README
+-noinst_DATA = README
+-
+-README:
+- rm -f README
+- $(MAKE) -C doc README
+- cd $(srcdir) && ln -s doc/README README
+-
+ homepage: all dist
+ test -d $$HOME/homepage/private
+ mkdir -p $$HOME/homepage/private/projects/nss-myhostname
diff --git a/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb b/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
index bbce9e9..31d3c73 100644
--- a/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
+++ b/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
@@ -3,14 +3,16 @@ DESCRIPTION = "plugin for the GNU Name Service Switch (NSS) functionality of \
the GNU C Library (glibc) providing host name resolution for the locally \
configured system hostname as returned by gethostname(2)."
HOMEPAGE = "http://0pointer.de/lennart/projects/nss-myhostname/"
-LICENSE = "LGPLv2.1"
+LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
-SRC_URI = "http://0pointer.de/lennart/projects/nss-myhostname/nss-myhostname-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "d4ab9ac36c053ab8fb836db1cbd4a48f"
-SRC_URI[sha256sum] = "2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67e7caf2"
+SRCREV = "1df2a0fce427fab7754f6ac572cf68cef2e95696"
+PV = "0.3+git${SRCPV}"
+SRC_URI = "git://git.0pointer.net/nss-myhostname.git \
+ file://nss-myhostname-disable-docs.patch \
+ "
+S = "${WORKDIR}/git"
inherit autotools distro_features_check
# The systemd has its own copy of nss-myhostname
--
1.8.3.1
next prev parent reply other threads:[~2014-12-10 5:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-10 5:55 [PATCH 0/6] Updates and bug fixes Saul Wold
2014-12-10 5:55 ` [PATCH 1/6][v4] procps: Upgrade to 3.3.10 Saul Wold
2014-12-10 5:55 ` [PATCH 2/6] babeltrace: Update to 1.2.4 Saul Wold
2014-12-10 5:55 ` [PATCH 3/6] npth: npth needs pthread in some cases Saul Wold
2014-12-10 5:55 ` [PATCH 4/6] libdaemon: Convert to git Saul Wold
2014-12-10 5:55 ` [PATCH 5/6] libnss-mdns: " Saul Wold
2014-12-10 5:55 ` Saul Wold [this message]
2014-12-23 22:57 ` [PATCH 0/6] Updates and bug fixes Saul Wold
2014-12-24 0:27 ` Richard Purdie
2014-12-24 0:48 ` Saul Wold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c1472f545458227b5b1066ede5170e55db42972a.1418190513.git.sgw@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox