<commit_before>include $(TOPDIR)/rules.mk

PKG_NAME:=serval-dna
PKG_VERSION:=batphone-release-0.90
PKG_RELEASE=$(PKG_SOURCE_VERSION)

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/servalproject/serval-dna.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_VERSION)
PKG_SOURCE:=$(PKG_SOURCE_VERSION).tar.gz

PKG_FIXUP:=autoreconf

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=

include $(INCLUDE_DIR)/package.mk

define Package/serval-dna
	SECTION:=utils
	CATEGORY:=Utilities
	TITLE:=serval-dna
	DEPENDS:=+libpthread +librt
endef

define Package/serval-dna/description
  Serval Daemon
endef

define Package/serval-dna/install
	$(INSTALL_DIR) $(1)/usr/bin
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/servald $(1)/usr/bin
	$(INSTALL_DIR) $(1)/usr/lib
	$(CP) $(PKG_BUILD_DIR)/libservald.so $(1)/usr/lib/
	$(INSTALL_DIR) $(1)/etc/serval
	$(CP) ./files/etc/serval/serval.conf $(1)/etc/serval/serval.conf
	$(INSTALL_DIR) $(1)/etc/uci-defaults
	$(INSTALL_BIN) ./files/etc/uci-defaults/serval-dna $(1)/etc/uci-defaults/serval-dna
	$(INSTALL_DIR) $(1)/etc/init.d
	$(INSTALL_BIN) ./files/etc/init.d/serval-dna $(1)/etc/init.d/serval-dna
endef

$(eval $(call BuildPackage,serval-dna))


<commit_msg>updated serval-dna to v0.91<commit_after>include $(TOPDIR)/rules.mk

PKG_NAME:=serval-dna
PKG_VERSION:=batphone-release-0.91
PKG_RELEASE=$(PKG_SOURCE_VERSION)

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/servalproject/serval-dna.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_VERSION)
PKG_SOURCE:=$(PKG_SOURCE_VERSION).tar.gz

PKG_FIXUP:=autoreconf

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=

include $(INCLUDE_DIR)/package.mk

define Package/serval-dna
	SECTION:=utils
	CATEGORY:=Utilities
	TITLE:=serval-dna
	DEPENDS:=+libpthread +librt
endef

define Package/serval-dna/description
  Serval Daemon
endef

define Package/serval-dna/install
	$(INSTALL_DIR) $(1)/usr/bin
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/servald $(1)/usr/bin
	$(INSTALL_DIR) $(1)/usr/lib
	$(CP) $(PKG_BUILD_DIR)/libservald.so $(1)/usr/lib/
	$(INSTALL_DIR) $(1)/etc/serval
	$(CP) ./files/etc/serval/serval.conf $(1)/etc/serval/serval.conf
	$(INSTALL_DIR) $(1)/etc/uci-defaults
	$(INSTALL_BIN) ./files/etc/uci-defaults/serval-dna $(1)/etc/uci-defaults/serval-dna
	$(INSTALL_DIR) $(1)/etc/init.d
	$(INSTALL_BIN) ./files/etc/init.d/serval-dna $(1)/etc/init.d/serval-dna
endef

$(eval $(call BuildPackage,serval-dna))



{'fraction_non_alphanumeric': 0.17868589743589744, 'fraction_numerical': 0.011618589743589744, 'mean_word_length': 6.216763005780347, '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': '2334204', 'n_tokens_mistral': 1110, 'n_tokens_neox': 1059, 'n_words': 121}