<commit_before>SUMMARY = "An Enhanced Printer Spooler"
SECTION = "console/utils"
LICENSE = "GPLv2 | Artistic-1.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c6570d8d699af1883db9d0e733ac9bfb"

SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "5901bed95e61d2bea3ba3056056af432"
SRC_URI[sha256sum] = "694a1747a96385b89e93f43343bf35cee5c8c73353a83814106911c99f09de10"

inherit autotools gettext

EXTRA_OECONF = "--disable-ssl --disable-kerberos --enable-force_localhost"
FILES_${PN}-dbg += "${libdir}/lprng/filters/.debug"

do_install_append() {
    mv ${D}/etc/printcap.sample ${D}/etc/printcap
    mv ${D}/etc/lpd/lpd.conf.sample ${D}/etc/lpd/lpd.conf
    mv ${D}/etc/lpd/lpd.perms.sample ${D}/etc/lpd/lpd.perms
}<commit_msg>lprng: disable clear support<commit_after>SUMMARY = "An Enhanced Printer Spooler"
SECTION = "console/utils"
LICENSE = "GPLv2 | Artistic-1.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c6570d8d699af1883db9d0e733ac9bfb"

SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "5901bed95e61d2bea3ba3056056af432"
SRC_URI[sha256sum] = "694a1747a96385b89e93f43343bf35cee5c8c73353a83814106911c99f09de10"

inherit autotools gettext

EXTRA_OECONF = "--disable-ssl --disable-kerberos --enable-force_localhost"
FILES_${PN}-dbg += "${libdir}/lprng/filters/.debug"

# configure: WARNING: Program 'clear' is not found. Set environment CLEAR=no if you do not want to use it
export CLEAR = "no"

do_install_append() {
    mv ${D}/etc/printcap.sample ${D}/etc/printcap
    mv ${D}/etc/lpd/lpd.conf.sample ${D}/etc/lpd/lpd.conf
    mv ${D}/etc/lpd/lpd.perms.sample ${D}/etc/lpd/lpd.perms
}
{'fraction_non_alphanumeric': 0.1603658536585366, 'fraction_numerical': 0.11341463414634147, 'mean_word_length': 5.53784860557769, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '4546015', 'n_tokens_mistral': 825, 'n_tokens_neox': 721, 'n_words': 98}