diff options
Diffstat (limited to 'meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb')
-rw-r--r-- | meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb index e903b9db14..8cf927153f 100644 --- a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb +++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | |||
@@ -6,17 +6,14 @@ SECTION = "console/network" | |||
6 | 6 | ||
7 | LICENSE = "BSD-1-Clause" | 7 | LICENSE = "BSD-1-Clause" |
8 | LIC_FILES_CHKSUM = "file://DISCLAIMER;md5=071bd69cb78b18888ea5e3da5c3127fa" | 8 | LIC_FILES_CHKSUM = "file://DISCLAIMER;md5=071bd69cb78b18888ea5e3da5c3127fa" |
9 | PR ="r10" | ||
10 | |||
11 | DEPENDS += "libnsl2" | ||
12 | 9 | ||
13 | PACKAGES = "${PN}-dbg libwrap libwrap-doc libwrap-dev libwrap-staticdev ${PN} ${PN}-doc" | 10 | PACKAGES = "${PN}-dbg libwrap libwrap-doc libwrap-dev libwrap-staticdev ${PN} ${PN}-doc" |
14 | FILES_libwrap = "${base_libdir}/lib*${SOLIBS}" | 11 | FILES:libwrap = "${base_libdir}/lib*${SOLIBS}" |
15 | FILES_libwrap-doc = "${mandir}/man3 ${mandir}/man5" | 12 | FILES:libwrap-doc = "${mandir}/man3 ${mandir}/man5" |
16 | FILES_libwrap-dev = "${libdir}/lib*${SOLIBSDEV} ${includedir}" | 13 | FILES:libwrap-dev = "${libdir}/lib*${SOLIBSDEV} ${includedir}" |
17 | FILES_libwrap-staticdev = "${libdir}/lib*.a" | 14 | FILES:libwrap-staticdev = "${libdir}/lib*.a" |
18 | FILES_${PN} = "${sbindir}" | 15 | FILES:${PN} = "${sbindir}" |
19 | FILES_${PN}-doc = "${mandir}/man8" | 16 | FILES:${PN}-doc = "${mandir}/man8" |
20 | 17 | ||
21 | SRC_URI = "http://ftp.porcupine.org/pub/security/tcp_wrappers_${PV}.tar.gz \ | 18 | SRC_URI = "http://ftp.porcupine.org/pub/security/tcp_wrappers_${PV}.tar.gz \ |
22 | file://00_man_quoting.diff \ | 19 | file://00_man_quoting.diff \ |
@@ -50,6 +47,7 @@ SRC_URI = "http://ftp.porcupine.org/pub/security/tcp_wrappers_${PV}.tar.gz \ | |||
50 | file://fix_warnings.patch \ | 47 | file://fix_warnings.patch \ |
51 | file://fix_warnings2.patch \ | 48 | file://fix_warnings2.patch \ |
52 | file://0001-Remove-fgets-extern-declaration.patch \ | 49 | file://0001-Remove-fgets-extern-declaration.patch \ |
50 | file://0001-Fix-implicit-function-declaration-warnings.patch \ | ||
53 | " | 51 | " |
54 | 52 | ||
55 | SRC_URI[md5sum] = "e6fa25f71226d090f34de3f6b122fb5a" | 53 | SRC_URI[md5sum] = "e6fa25f71226d090f34de3f6b122fb5a" |
@@ -78,9 +76,9 @@ EXTRA_OEMAKE = "'CC=${CC}' \ | |||
78 | 'EXTRA_CFLAGS=${CFLAGS} -DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len'" | 76 | 'EXTRA_CFLAGS=${CFLAGS} -DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len'" |
79 | 77 | ||
80 | EXTRA_OEMAKE_NETGROUP = "-DNETGROUP -DUSE_GETDOMAIN" | 78 | EXTRA_OEMAKE_NETGROUP = "-DNETGROUP -DUSE_GETDOMAIN" |
81 | EXTRA_OEMAKE_NETGROUP_libc-musl = "-DUSE_GETDOMAIN" | 79 | EXTRA_OEMAKE_NETGROUP:libc-musl = "-DUSE_GETDOMAIN" |
82 | 80 | ||
83 | EXTRA_OEMAKE_append_libc-musl = " 'LIBS='" | 81 | EXTRA_OEMAKE:append:libc-musl = " 'LIBS='" |
84 | 82 | ||
85 | do_compile () { | 83 | do_compile () { |
86 | oe_runmake 'TABLES=-DHOSTS_DENY=\"${sysconfdir}/hosts.deny\" -DHOSTS_ALLOW=\"${sysconfdir}/hosts.allow\"' \ | 84 | oe_runmake 'TABLES=-DHOSTS_DENY=\"${sysconfdir}/hosts.deny\" -DHOSTS_ALLOW=\"${sysconfdir}/hosts.allow\"' \ |
@@ -122,8 +120,8 @@ do_install () { | |||
122 | install -m 0644 $m.8 ${D}${mandir}/man8/ || exit 1 | 120 | install -m 0644 $m.8 ${D}${mandir}/man8/ || exit 1 |
123 | done | 121 | done |
124 | 122 | ||
125 | install -m 0644 ${WORKDIR}/try-from.8 ${D}${mandir}/man8/ | 123 | install -m 0644 ${UNPACKDIR}/try-from.8 ${D}${mandir}/man8/ |
126 | install -m 0644 ${WORKDIR}/safe_finger.8 ${D}${mandir}/man8/ | 124 | install -m 0644 ${UNPACKDIR}/safe_finger.8 ${D}${mandir}/man8/ |
127 | 125 | ||
128 | install -d ${D}${includedir} | 126 | install -d ${D}${includedir} |
129 | install -m 0644 tcpd.h ${D}${includedir}/ | 127 | install -m 0644 tcpd.h ${D}${includedir}/ |
@@ -133,4 +131,4 @@ do_install () { | |||
133 | touch ${D}${sysconfdir}/hosts.deny | 131 | touch ${D}${sysconfdir}/hosts.deny |
134 | } | 132 | } |
135 | 133 | ||
136 | FILES_${PN} += "${sysconfdir}/hosts.allow ${sysconfdir}/hosts.deny" | 134 | FILES:${PN} += "${sysconfdir}/hosts.allow ${sysconfdir}/hosts.deny" |