Patchwork [meta-oe,meta-networking] net-snmp: move to meta-networking and tweak

login
register
mail settings
Submitter Paul Eggleton
Date April 22, 2013, 8:45 a.m.
Message ID <1366620345-6561-1-git-send-email-paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/48615/
State Accepted, archived
Headers show

Comments

Paul Eggleton - April 22, 2013, 8:45 a.m.
* Set SUMMARY instead of DESCRIPTION
* Move SRC_URI checksums under SRC_URI
* Move packaging definitions to the end

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 .../recipes-protocols}/net-snmp/files/ifmib.patch  |    0
 .../recipes-protocols}/net-snmp/files/init         |    0
 .../recipes-protocols}/net-snmp/files/snmpd.conf   |    0
 .../net-snmp/files/snmptrapd.conf                  |    0
 .../net-snmp/net-snmp/snmpd.service                |    0
 .../net-snmp/net-snmp/snmptrapd.service            |    0
 .../net-snmp/net-snmp/systemd-support.patch        |    0
 .../recipes-protocols}/net-snmp/net-snmp_5.7.2.bb  |   23 ++++++++++----------
 8 files changed, 12 insertions(+), 11 deletions(-)
 rename {meta-oe/recipes-extended => meta-networking/recipes-protocols}/net-snmp/files/ifmib.patch (100%)
 rename {meta-oe/recipes-extended => meta-networking/recipes-protocols}/net-snmp/files/init (100%)
 rename {meta-oe/recipes-extended => meta-networking/recipes-protocols}/net-snmp/files/snmpd.conf (100%)
 rename {meta-oe/recipes-extended => meta-networking/recipes-protocols}/net-snmp/files/snmptrapd.conf (100%)
 rename {meta-oe/recipes-extended => meta-networking/recipes-protocols}/net-snmp/net-snmp/snmpd.service (100%)
 rename {meta-oe/recipes-extended => meta-networking/recipes-protocols}/net-snmp/net-snmp/snmptrapd.service (100%)
 rename {meta-oe/recipes-extended => meta-networking/recipes-protocols}/net-snmp/net-snmp/systemd-support.patch (100%)
 rename {meta-oe/recipes-extended => meta-networking/recipes-protocols}/net-snmp/net-snmp_5.7.2.bb (98%)

Patch

diff --git a/meta-oe/recipes-extended/net-snmp/files/ifmib.patch b/meta-networking/recipes-protocols/net-snmp/files/ifmib.patch
similarity index 100%
rename from meta-oe/recipes-extended/net-snmp/files/ifmib.patch
rename to meta-networking/recipes-protocols/net-snmp/files/ifmib.patch
diff --git a/meta-oe/recipes-extended/net-snmp/files/init b/meta-networking/recipes-protocols/net-snmp/files/init
similarity index 100%
rename from meta-oe/recipes-extended/net-snmp/files/init
rename to meta-networking/recipes-protocols/net-snmp/files/init
diff --git a/meta-oe/recipes-extended/net-snmp/files/snmpd.conf b/meta-networking/recipes-protocols/net-snmp/files/snmpd.conf
similarity index 100%
rename from meta-oe/recipes-extended/net-snmp/files/snmpd.conf
rename to meta-networking/recipes-protocols/net-snmp/files/snmpd.conf
diff --git a/meta-oe/recipes-extended/net-snmp/files/snmptrapd.conf b/meta-networking/recipes-protocols/net-snmp/files/snmptrapd.conf
similarity index 100%
rename from meta-oe/recipes-extended/net-snmp/files/snmptrapd.conf
rename to meta-networking/recipes-protocols/net-snmp/files/snmptrapd.conf
diff --git a/meta-oe/recipes-extended/net-snmp/net-snmp/snmpd.service b/meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service
similarity index 100%
rename from meta-oe/recipes-extended/net-snmp/net-snmp/snmpd.service
rename to meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service
diff --git a/meta-oe/recipes-extended/net-snmp/net-snmp/snmptrapd.service b/meta-networking/recipes-protocols/net-snmp/net-snmp/snmptrapd.service
similarity index 100%
rename from meta-oe/recipes-extended/net-snmp/net-snmp/snmptrapd.service
rename to meta-networking/recipes-protocols/net-snmp/net-snmp/snmptrapd.service
diff --git a/meta-oe/recipes-extended/net-snmp/net-snmp/systemd-support.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/systemd-support.patch
similarity index 100%
rename from meta-oe/recipes-extended/net-snmp/net-snmp/systemd-support.patch
rename to meta-networking/recipes-protocols/net-snmp/net-snmp/systemd-support.patch
diff --git a/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb
similarity index 98%
rename from meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb
rename to meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb
index 244f0d8..4c3939a 100644
--- a/meta-oe/recipes-extended/net-snmp/net-snmp_5.7.2.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.bb
@@ -1,12 +1,11 @@ 
-DESCRIPTION = "Various tools relating to the Simple Network Management Protocol"
+SUMMARY = "Various tools relating to the Simple Network Management Protocol"
 HOMEPAGE = "http://www.net-snmp.org/"
 LICENSE = "BSD"
 
-SRC_URI[md5sum] = "5bddd02e2f82b62daa79f82717737a14"
-SRC_URI[sha256sum] = "09ed31b4cc1f3c0411ef9a16eff79ef3b30d89c32ca46d5a01a41826c4ceb816"
-
 LIC_FILES_CHKSUM = "file://README;beginline=3;endline=8;md5=7f7f00ba639ac8e8deb5a622ea24634e"
 
+DEPENDS = "openssl libnl pciutils"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \
         file://init \
         file://snmpd.conf \
@@ -17,13 +16,8 @@  SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \
         file://ifmib.patch \
 "
 
-DEPENDS = "openssl libnl pciutils"
-RDEPENDS_${PN}-server-snmpd += "net-snmp-mibs"
-RDEPENDS_${PN}-server-snmptrapd += "net-snmp-server-snmpd"
-RDEPENDS_${PN}-server += "net-snmp-server-snmpd net-snmp-server-snmptrapd"
-RDEPENDS_${PN}-client += "net-snmp-mibs"
-RDEPENDS_${PN}-dev = "net-snmp-client (= ${EXTENDPKGV}) net-snmp-server (= ${EXTENDPKGV})"
-RRECOMMENDS_${PN}-dbg = "net-snmp-client (= ${EXTENDPKGV}) net-snmp-server (= ${EXTENDPKGV})"
+SRC_URI[md5sum] = "5bddd02e2f82b62daa79f82717737a14"
+SRC_URI[sha256sum] = "09ed31b4cc1f3c0411ef9a16eff79ef3b30d89c32ca46d5a01a41826c4ceb816"
 
 inherit autotools update-rc.d siteinfo systemd
 
@@ -97,6 +91,13 @@  SYSTEMD_PACKAGES = "${PN}-server-snmpd \
 SYSTEMD_SERVICE_${PN}-server-snmpd = "snmpd.service"
 SYSTEMD_SERVICE_${PN}-server-snmptrapd =  "snmptrapd.service"
 
+RDEPENDS_${PN}-server-snmpd += "net-snmp-mibs"
+RDEPENDS_${PN}-server-snmptrapd += "net-snmp-server-snmpd"
+RDEPENDS_${PN}-server += "net-snmp-server-snmpd net-snmp-server-snmptrapd"
+RDEPENDS_${PN}-client += "net-snmp-mibs"
+RDEPENDS_${PN}-dev = "net-snmp-client (= ${EXTENDPKGV}) net-snmp-server (= ${EXTENDPKGV})"
+RRECOMMENDS_${PN}-dbg = "net-snmp-client (= ${EXTENDPKGV}) net-snmp-server (= ${EXTENDPKGV})"
+
 RPROVIDES_${PN}-server-snmpd += "${PN}-server-snmpd-systemd"
 RREPLACES_${PN}-server-snmpd += "${PN}-server-snmpd-systemd"
 RCONFLICTS_${PN}-server-snmpd += "${PN}-server-snmpd-systemd"