diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2023-02-16 10:18:32 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-02-18 13:19:36 -0800 |
| commit | d691725280a221f92de9a09fb1beee9100dc90c1 (patch) | |
| tree | 21ef98ffe36b35235592cd083ae7b5ca714ed398 | |
| parent | 941b3bc262dd439eaf4bd6e0f2c7df8ed14c56cf (diff) | |
| download | meta-openembedded-d691725280a221f92de9a09fb1beee9100dc90c1.tar.gz | |
ipcalc: update to 1.0.2
- Now built with meson
- Update the source git repository and home page
https://github.com/nmav/ipcalc redirects to https://gitlab.com/ipcalc/ipcalc
- USE_GEOIP = "no" not necessary in the recipe, already
set by default in the code.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 files changed, 14 insertions, 50 deletions
diff --git a/meta-networking/recipes-support/ipcalc/ipcalc/0001-Makefile-pass-extra-linker-flags.patch b/meta-networking/recipes-support/ipcalc/ipcalc/0001-Makefile-pass-extra-linker-flags.patch deleted file mode 100644 index e95b6f993f..0000000000 --- a/meta-networking/recipes-support/ipcalc/ipcalc/0001-Makefile-pass-extra-linker-flags.patch +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | From 7fd0e0b88df692dfc67335f235a1bb74854a0498 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mariia Movchan <mmovchan@cisco.com> | ||
| 3 | Date: Tue, 6 Mar 2018 16:03:39 +0200 | ||
| 4 | Subject: [PATCH] Makefile: pass extra linker flags | ||
| 5 | |||
| 6 | Fixes | ||
| 7 | ERROR: QA Issue: No GNU_HASH in the elf binary | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | |||
| 11 | Signed-off-by: Mariia Movchan <mmovchan@cisco.com> | ||
| 12 | |||
| 13 | --- | ||
| 14 | Makefile | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/Makefile b/Makefile | ||
| 18 | index 54569c1..798988f 100644 | ||
| 19 | --- a/Makefile | ||
| 20 | +++ b/Makefile | ||
| 21 | @@ -8,7 +8,7 @@ LIBS?= | ||
| 22 | VERSION=0.2.3 | ||
| 23 | CC?=gcc | ||
| 24 | CFLAGS?=-O2 -g -Wall | ||
| 25 | -LDFLAGS=$(LIBS) | ||
| 26 | +LDFLAGS+=$(LIBS) | ||
| 27 | |||
| 28 | ifeq ($(USE_GEOIP),yes) | ||
| 29 | ifeq ($(USE_DYN_GEOIP),yes) | ||
diff --git a/meta-networking/recipes-support/ipcalc/ipcalc_0.2.3.bb b/meta-networking/recipes-support/ipcalc/ipcalc_0.2.3.bb deleted file mode 100644 index efac3c86eb..0000000000 --- a/meta-networking/recipes-support/ipcalc/ipcalc_0.2.3.bb +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | SUMMARY = "Tool to assist in network address calculations for IPv4 and IPv6." | ||
| 2 | HOMEPAGE = "https://github.com/nmav/ipcalc" | ||
| 3 | |||
| 4 | SECTION = "net" | ||
| 5 | |||
| 6 | LICENSE = "GPL-2.0-only" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 8 | |||
| 9 | S = "${WORKDIR}/git" | ||
| 10 | SRCREV = "c3ee70c878b9c5833a77a1f339f1ca4dc6f225c5" | ||
| 11 | SRC_URI = "\ | ||
| 12 | git://github.com/nmav/ipcalc.git;protocol=https;;branch=master \ | ||
| 13 | file://0001-Makefile-pass-extra-linker-flags.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | export USE_GEOIP = "no" | ||
| 17 | |||
| 18 | do_install() { | ||
| 19 | install -d ${D}/${bindir} | ||
| 20 | install -m 0755 ${S}/ipcalc ${D}/${bindir} | ||
| 21 | } | ||
diff --git a/meta-networking/recipes-support/ipcalc/ipcalc_1.0.2.bb b/meta-networking/recipes-support/ipcalc/ipcalc_1.0.2.bb new file mode 100644 index 0000000000..1b7b68a7a0 --- /dev/null +++ b/meta-networking/recipes-support/ipcalc/ipcalc_1.0.2.bb | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | SUMMARY = "Tool to assist in network address calculations for IPv4 and IPv6." | ||
| 2 | HOMEPAGE = "https://gitlab.com/ipcalc/ipcalc" | ||
| 3 | |||
| 4 | SECTION = "net" | ||
| 5 | |||
| 6 | LICENSE = "GPL-2.0-only" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 8 | |||
| 9 | SRC_URI = "git://gitlab.com/ipcalc/ipcalc.git;protocol=https;branch=master" | ||
| 10 | SRCREV = "4c4261a47f355946ee74013d4f5d0494487cc2d6" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | inherit meson | ||
