<commit_before>BuildRequies += $(LibDir)/libevent.la # static-libevent

include ../../Library/GNU.mk

Title=		NSD
Name=		nsd
Version=	4.0.3
Revision=	0
Site=		http://www.nlnetlabs.nl/projects/nsd/
URL=		http://www.nlnetlabs.nl/downloads/nsd
Source=		$(Name)-$(Version).tar.gz
License=	BSD

ReadMeFile=	$(SourceDir)/doc/README
LicenseFile=	$(SourceDir)/LICENSE

GnuConfigureExtra += --sbindir=$(BinDir)

define install_post_hook
rmdir $(InstallDir)/tmp
endef

define test_inner_hook
$(BinDir)/nsd -v 2>&1 | grep $(Version)
otool -L $(BinDir)/nsd | grep ssl
otool -L $(BinDir)/nsd | grep crypto
test -f $(SysConfDir)/nsd/nsd.conf
endef<commit_msg>nsd: Setup NSD to user root.<commit_after>BuildRequies += $(LibDir)/libevent.la # static-libevent

include ../../Library/GNU.mk

Title=		NSD
Name=		nsd
Version=	4.0.3
Revision=	0
Site=		http://www.nlnetlabs.nl/projects/nsd/
URL=		http://www.nlnetlabs.nl/downloads/nsd
Source=		$(Name)-$(Version).tar.gz
License=	BSD

ReadMeFile=	$(SourceDir)/doc/README
LicenseFile=	$(SourceDir)/LICENSE

GnuConfigureExtra += --sbindir=$(BinDir)
GnuConfigureExtra += --with-user=root

define install_post_hook
rmdir $(InstallDir)/tmp
endef

define test_inner_hook
$(BinDir)/nsd -v 2>&1 | grep $(Version)
otool -L $(BinDir)/nsd | grep ssl
otool -L $(BinDir)/nsd | grep crypto
test -f $(SysConfDir)/nsd/nsd.conf
endef
{'fraction_non_alphanumeric': 0.16530156366344007, 'fraction_numerical': 0.008935219657483246, 'mean_word_length': 4.576763485477178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7614509', 'n_tokens_mistral': 552, 'n_tokens_neox': 537, 'n_words': 112}