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 <[email protected]> --- .../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 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
