summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/netcat
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/netcat')
-rw-r--r--meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb12
-rw-r--r--meta-networking/recipes-support/netcat/netcat_0.7.1.bb6
2 files changed, 9 insertions, 9 deletions
diff --git a/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb b/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
index 00eec3ea0..0a30de6a4 100644
--- a/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
+++ b/meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb
@@ -19,14 +19,14 @@ S = "${WORKDIR}/${BPN}-${PV}.orig"
19do_configure[noexec] = "1" 19do_configure[noexec] = "1"
20 20
21do_compile() { 21do_compile() {
22 cd ${S} 22 cd ${S}
23 while read line; do patch -p1 <debian/patches/$line; done <debian/patches/series 23 while read line; do patch -p1 <debian/patches/$line; done <debian/patches/series
24 pkgrel=4 24 pkgrel=4
25 oe_runmake CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${pkgrel}\\\"\"" 25 oe_runmake CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${pkgrel}\\\"\""
26} 26}
27 27
28do_install() { 28do_install() {
29 install -d ${D}${bindir} 29 install -d ${D}${bindir}
30 install -m 755 ${S}/nc ${D}${bindir}/nc.${BPN} 30 install -m 755 ${S}/nc ${D}${bindir}/nc.${BPN}
31} 31}
32ALTERNATIVE_PRIORITY = "50" 32ALTERNATIVE_PRIORITY = "50"
diff --git a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
index 2d98122be..a4805a4c3 100644
--- a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
+++ b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb
@@ -8,7 +8,7 @@ PR = "r3"
8 8
9SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2 \ 9SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2 \
10 file://obsolete_autoconf_macros.patch \ 10 file://obsolete_autoconf_macros.patch \
11 " 11"
12 12
13SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef" 13SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef"
14SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb" 14SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb"
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df0967
16inherit autotools 16inherit autotools
17 17
18do_install_append() { 18do_install_append() {
19 install -d ${D}${bindir} 19 install -d ${D}${bindir}
20 mv ${D}${bindir}/nc ${D}${bindir}/nc.${BPN} 20 mv ${D}${bindir}/nc ${D}${bindir}/nc.${BPN}
21} 21}
22ALTERNATIVE_PRIORITY = "100" 22ALTERNATIVE_PRIORITY = "100"