diff options
Diffstat (limited to 'meta-networking/recipes-support/netcat')
-rw-r--r-- | meta-networking/recipes-support/netcat/netcat-openbsd_1.89.bb | 12 | ||||
-rw-r--r-- | meta-networking/recipes-support/netcat/netcat_0.7.1.bb | 6 |
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" | |||
19 | do_configure[noexec] = "1" | 19 | do_configure[noexec] = "1" |
20 | 20 | ||
21 | do_compile() { | 21 | do_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 | ||
28 | do_install() { | 28 | do_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 | } |
32 | ALTERNATIVE_PRIORITY = "50" | 32 | ALTERNATIVE_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 | ||
9 | SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2 \ | 9 | SRC_URI = "${SOURCEFORGE_MIRROR}/netcat/netcat-${PV}.tar.bz2 \ |
10 | file://obsolete_autoconf_macros.patch \ | 10 | file://obsolete_autoconf_macros.patch \ |
11 | " | 11 | " |
12 | 12 | ||
13 | SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef" | 13 | SRC_URI[md5sum] = "0a29eff1736ddb5effd0b1ec1f6fe0ef" |
14 | SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb" | 14 | SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb" |
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df0967 | |||
16 | inherit autotools | 16 | inherit autotools |
17 | 17 | ||
18 | do_install_append() { | 18 | do_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 | } |
22 | ALTERNATIVE_PRIORITY = "100" | 22 | ALTERNATIVE_PRIORITY = "100" |