All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-systemd][PATCH 11/33] yp-tools, ypbind-mt: move systemd support from meta-systemd back to meta-networking
Date: Sat, 13 Apr 2013 15:29:28 +0200	[thread overview]
Message-ID: <1365859790-20947-11-git-send-email-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <1365859790-20947-1-git-send-email-Martin.Jansa@gmail.com>

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../nis/yp-tools}/domainname.service               |  0
 .../recipes-support/nis/yp-tools_2.12.bb           | 18 +++++++++++++++--
 .../recipes-support/nis/ypbind-mt}/ypbind.service  |  0
 .../recipes-support/nis/ypbind-mt_1.36.bb          | 23 +++++++++++++++++-----
 .../recipes-support/nis/yp-tools_2.12.bbappend     | 19 ------------------
 .../recipes-support/nis/ypbind-mt_1.36.bbappend    | 17 ----------------
 6 files changed, 34 insertions(+), 43 deletions(-)
 rename {meta-systemd/meta-networking/recipes-support/nis/files => meta-networking/recipes-support/nis/yp-tools}/domainname.service (100%)
 rename {meta-systemd/meta-networking/recipes-support/nis/files => meta-networking/recipes-support/nis/ypbind-mt}/ypbind.service (100%)
 delete mode 100644 meta-systemd/meta-networking/recipes-support/nis/yp-tools_2.12.bbappend
 delete mode 100644 meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend

diff --git a/meta-systemd/meta-networking/recipes-support/nis/files/domainname.service b/meta-networking/recipes-support/nis/yp-tools/domainname.service
similarity index 100%
rename from meta-systemd/meta-networking/recipes-support/nis/files/domainname.service
rename to meta-networking/recipes-support/nis/yp-tools/domainname.service
diff --git a/meta-networking/recipes-support/nis/yp-tools_2.12.bb b/meta-networking/recipes-support/nis/yp-tools_2.12.bb
index fb7ebc2..8593c6b 100644
--- a/meta-networking/recipes-support/nis/yp-tools_2.12.bb
+++ b/meta-networking/recipes-support/nis/yp-tools_2.12.bb
@@ -1,7 +1,7 @@
 # This package builds tools to manage NIS
 # The source package is utils/net/NIS/yp-tools
 #
-PR = "r0"
+PR = "r3"
 DESCRIPTION="\
 Network Information Service tools.  \
 This package contains ypcat, ypmatch, ypset, \
@@ -9,9 +9,23 @@ ypwhich, yppasswd, domainname, nisdomainname \
 and ypdomainname."
 
 require nis.inc
-SRC_URI = "http://www.linux-nis.org/download/yp-tools/${BP}.tar.bz2"
+SRC_URI = "http://www.linux-nis.org/download/yp-tools/${BP}.tar.bz2 \
+           file://domainname.service \
+"
 
 SRC_URI[md5sum] = "ce1e06d86caa285fa8cd76fdf103f51e"
 SRC_URI[sha256sum] = "6ae8321666eea7837da343eea90ea30273fb74943ad111d5a4befd2afb252063"
 
 CACHED_CONFIGUREVARS += "ac_cv_prog_STRIP=/bin/true"
+
+inherit systemd
+
+RPROVIDES_${PN} += "${PN}-systemd"
+RREPLACES_${PN} += "${PN}-systemd"
+RCONFLICTS_${PN} += "${PN}-systemd"
+SYSTEMD_SERVICE_${PN} = "domainname.service"
+
+do_install_append() {
+	install -d ${D}${systemd_unitdir}/system
+	install -m 0644 ${WORKDIR}/domainname.service ${D}${systemd_unitdir}/system
+}
diff --git a/meta-systemd/meta-networking/recipes-support/nis/files/ypbind.service b/meta-networking/recipes-support/nis/ypbind-mt/ypbind.service
similarity index 100%
rename from meta-systemd/meta-networking/recipes-support/nis/files/ypbind.service
rename to meta-networking/recipes-support/nis/ypbind-mt/ypbind.service
diff --git a/meta-networking/recipes-support/nis/ypbind-mt_1.36.bb b/meta-networking/recipes-support/nis/ypbind-mt_1.36.bb
index e2f654c..fee934d 100644
--- a/meta-networking/recipes-support/nis/ypbind-mt_1.36.bb
+++ b/meta-networking/recipes-support/nis/ypbind-mt_1.36.bb
@@ -1,7 +1,7 @@
 # This package builds the NIS ypbind daemon
 # The source package is utils/net/NIS/ypbind-mt
 #
-PR = "r0"
+PR = "r3"
 DESCRIPTION="\
 Multithreaded NIS bind service (ypbind-mt).  \
 ypbind-mt is a complete new implementation of a NIS \
@@ -14,12 +14,15 @@ of known secure NIS server (/etc/yp.conf) Binds to \
 the server which answered as first."
 HOMEPAGE="http://www.linux-nis.org/nis/ypbind-mt/index.html"
 
+LIC_FILES_CHKSUM = "file://COPYING;md5=082c9a0886c7c3db1bc862b5b62ffe08"
+
 require nis.inc
 
-SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${BP}.tar.bz2"
+SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${BP}.tar.bz2 \
+           file://ypbind-yocto.init \
+           file://ypbind.service \
+"
 SRC_URI[md5sum] = "135834db97d78ff6d79fdee2810b4056"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=082c9a0886c7c3db1bc862b5b62ffe08"
 SRC_URI[sha256sum] = "0eff76c1849f4b38ea1a60280d8397c4240369c641fe5402ce57edf1a90958c7"
 
 # ypbind-mt now provides all the functionality of ypbind
@@ -27,7 +30,6 @@ SRC_URI[sha256sum] = "0eff76c1849f4b38ea1a60280d8397c4240369c641fe5402ce57edf1a9
 PROVIDES += "ypbind"
 
 CACHED_CONFIGUREVARS = "ac_cv_prog_STRIP=/bin/true"
-SRC_URI += "file://ypbind-yocto.init"
 
 do_install_append () {
     install -d ${D}${sysconfdir}/init.d
@@ -35,5 +37,16 @@ do_install_append () {
 
     install -m 0755 ${WORKDIR}/ypbind-yocto.init ${D}${sysconfdir}/init.d/ypbind
 
+    # TODO, use update-rc.d
     ln -s ../init.d/ypbind ${D}${sysconfdir}/rcS.d/S44ypbind
+
+    install -d ${D}${systemd_unitdir}/system
+    install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system
 }
+
+inherit systemd
+
+RPROVIDES_${PN} += "${PN}-systemd"
+RREPLACES_${PN} += "${PN}-systemd"
+RCONFLICTS_${PN} += "${PN}-systemd"
+SYSTEMD_SERVICE_${PN} = "ypbind.service"
diff --git a/meta-systemd/meta-networking/recipes-support/nis/yp-tools_2.12.bbappend b/meta-systemd/meta-networking/recipes-support/nis/yp-tools_2.12.bbappend
deleted file mode 100644
index d5ea1ca..0000000
--- a/meta-systemd/meta-networking/recipes-support/nis/yp-tools_2.12.bbappend
+++ /dev/null
@@ -1,19 +0,0 @@
-inherit systemd
-
-PRINC := "${@int(PRINC) + 2}"
-
-# look for files in the layer first
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-
-SRC_URI += "file://domainname.service"
-
-RPROVIDES_${PN} += "${PN}-systemd"
-RREPLACES_${PN} += "${PN}-systemd"
-RCONFLICTS_${PN} += "${PN}-systemd"
-SYSTEMD_SERVICE_${PN} = "domainname.service"
-
-do_install_append() {
-	install -d ${D}${systemd_unitdir}/system
-	install -m 0644 ${WORKDIR}/domainname.service ${D}${systemd_unitdir}/system
-}
-
diff --git a/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend b/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
deleted file mode 100644
index 8f11247..0000000
--- a/meta-systemd/meta-networking/recipes-support/nis/ypbind-mt_1.36.bbappend
+++ /dev/null
@@ -1,17 +0,0 @@
-inherit systemd
-
-PRINC := "${@int(PRINC) + 2}"
-
-# look for files in the layer first
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-
-SRC_URI += "file://ypbind.service"
-
-RPROVIDES_${PN} += "${PN}-systemd"
-RREPLACES_${PN} += "${PN}-systemd"
-RCONFLICTS_${PN} += "${PN}-systemd"
-SYSTEMD_SERVICE_${PN} = "ypbind.service"
-do_install_append() {
-	install -d ${D}${systemd_unitdir}/system
-	install -m 0644 ${WORKDIR}/ypbind.service ${D}${systemd_unitdir}/system
-}
-- 
1.8.1.5




  parent reply	other threads:[~2013-04-13 13:47 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-13 13:29 [meta-systemd][PATCH 01/33] keymaps: move bbappend to oe-core subdirectory Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 02/33] dropbear: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 03/33] busybox: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 04/33] rpcbind: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 05/33] at: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 06/33] entrance: move systemd support from meta-systemd back to meta-efl Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 07/33] gdm: move systemd support from meta-systemd back to meta-gnome Martin Jansa
2013-04-14 14:50   ` Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 08/33] mpd: move systemd support from meta-systemd back to meta-multimedia Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 09/33] autofs: move systemd support from meta-systemd back to meta-networking Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 10/33] ntp: " Martin Jansa
2013-04-13 13:29 ` Martin Jansa [this message]
2013-04-13 13:29 ` [meta-systemd][PATCH 12/33] xfce4-session: move systemd support from meta-systemd back to meta-xfce Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 13/33] cloud9: move systemd support from meta-systemd back to meta-oe Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 14/33] dnsmasq: " Martin Jansa
2013-04-14 14:52   ` Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 15/33] udisks: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 16/33] strongswan: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 17/33] gpsd: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 18/33] xserver-nodm-init: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 19/33] net-snmp: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 20/33] xinput-calibrator: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 21/33] cherokee: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 22/33] gateone: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 23/33] atftp: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 24/33] zram: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 25/33] syslog-ng: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 26/33] rsyslog: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 27/33] lxdm: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 28/33] pcsc-lite: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 29/33] networkmanager: " Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 30/33] packagegroup-basic: Drop bbappend from meta-systemd Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 31/33] polkit: move systemd support from meta-systemd back to meta-oe Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 32/33] meta-systemd: drop now unused gitpkgv.bbclass Martin Jansa
2013-04-13 13:29 ` [meta-systemd][PATCH 33/33] layer.conf: remove detection of other layers, now there are only oe-core bbappends Martin Jansa

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=1365859790-20947-11-git-send-email-Martin.Jansa@gmail.com \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.