<commit_before>SUMMARY = "Simple mDNS client/server library in Golang"
HOMEPAGE = "https://github.com/hashicorp/mdns"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=cb04212e101fbbd028f325e04ad45778"

DEPENDS += "go-cross dns"

PKG_NAME = "github.com/hashicorp/mdns"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "2b439d37011456df8ff83a70ffd1cd6046410113"

S = "${WORKDIR}/git"

do_install() {
    install -d ${D}${prefix}/local/go/src/${PKG_NAME}
    cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
}

SYSROOT_PREPROCESS_FUNCS += "mdns_sysroot_preprocess"
<commit_msg>mdns: fix QA warning of host uid contamination<commit_after>SUMMARY = "Simple mDNS client/server library in Golang"
HOMEPAGE = "https://github.com/hashicorp/mdns"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=cb04212e101fbbd028f325e04ad45778"

DEPENDS += "go-cross dns"

PKG_NAME = "github.com/hashicorp/mdns"
SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "2b439d37011456df8ff83a70ffd1cd6046410113"

S = "${WORKDIR}/git"

do_install() {
    install -d ${D}${prefix}/local/go/src/${PKG_NAME}
    install -m 0644 ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
}

SYSROOT_PREPROCESS_FUNCS += "mdns_sysroot_preprocess"

{'fraction_non_alphanumeric': 0.16763969974979148, 'fraction_numerical': 0.08673894912427023, 'mean_word_length': 5.557377049180328, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2481265', 'n_tokens_mistral': 575, 'n_tokens_neox': 520, 'n_words': 76}