<commit_before>#
## Copyright (C) 2019 <NAME> <<EMAIL>>
#
## This is free software, licensed under the GNU General Public License v3.
#

include $(TOPDIR)/rules.mk

GIT_COMMIT_DATE:=$(shell git log -n 1 --pretty=%ad --date=short . )
GIT_COMMIT_TSTAMP:=$(shell git log -n 1 --pretty=%at . )

PKG_NAME:=pirania
PKG_VERSION=$(GIT_COMMIT_DATE)-$(GIT_COMMIT_TSTAMP)

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/libremesh/pirania
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=c99c46b597018faff5806682e2f819002014635d
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz

include $(INCLUDE_DIR)/package.mk

define Package/$(PKG_NAME)
	SECTION:=net
	CATEGORY:=Network
	TITLE:=$(PKG_NAME)
	MAINTAINER:=<NAME> <<EMAIL>>
	DEPENDS:= +ip6tables-mod-nat +ipset
	PKGARCH:=all
endef

define Package/$(PKG_NAME)-app
	SECTION:=net
	CATEGORY:=Network
	TITLE:=$(PKG_NAME)-app
	MAINTAINER:=Luandro <<EMAIL>>
	DEPENDS:= +pirania
	PKGARCH:=all
endef
<commit_msg>add uhttpd-mod-lua dependency to pirania<commit_after>#
## Copyright (C) 2019 <NAME> <<EMAIL>>
#
## This is free software, licensed under the GNU General Public License v3.
#

include $(TOPDIR)/rules.mk

GIT_COMMIT_DATE:=$(shell git log -n 1 --pretty=%ad --date=short . )
GIT_COMMIT_TSTAMP:=$(shell git log -n 1 --pretty=%at . )

PKG_NAME:=pirania
PKG_VERSION=$(GIT_COMMIT_DATE)-$(GIT_COMMIT_TSTAMP)

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/libremesh/pirania
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=c99c46b597018faff5806682e2f819002014635d
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz

include $(INCLUDE_DIR)/package.mk

define Package/$(PKG_NAME)
	SECTION:=net
	CATEGORY:=Network
	TITLE:=$(PKG_NAME)
	MAINTAINER:=<NAME> <<EMAIL>>
	DEPENDS:= +ip6tables-mod-nat +ipset +uhttpd-mod-lua
	PKGARCH:=all
endef

define Package/$(PKG_NAME)-app
	SECTION:=net
	CATEGORY:=Network
	TITLE:=$(PKG_NAME)-app
	MAINTAINER:=Luandro <<EMAIL>>
	DEPENDS:= +pirania
	PKGARCH:=all
endef

{'fraction_non_alphanumeric': 0.15716410510659395, 'fraction_numerical': 0.03767972235994051, 'mean_word_length': 6.821705426356589, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '4521385', 'n_tokens_mistral': 926, 'n_tokens_neox': 831, 'n_words': 135}