diff options
| author | Jan Pavlinec <jan.pavlinec@nic.cz> | 2019-01-18 17:16:59 +0100 |
|---|---|---|
| committer | Jan Pavlinec <jan.pavlinec@nic.cz> | 2019-01-30 23:28:42 +0100 |
| commit | ad2eaec1c84283f1bd273ead975cccaaeaf9509f (patch) | |
| tree | 449746292123d664ab85875999638c6951e9000b /utils | |
| parent | 179b06d76d1c0a0d3cbe60b85565d4e20845f611 (diff) | |
ssdeep: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/ssdeep/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/utils/ssdeep/Makefile b/utils/ssdeep/Makefile new file mode 100644 index 000000000..f089756c2 --- /dev/null +++ b/utils/ssdeep/Makefile @@ -0,0 +1,45 @@ +# +# Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/) +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=ssdeep +PKG_VERSION:=2.14.1 +PKG_RELEASE=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://github.com/ssdeep-project/ssdeep/releases/download/release-$(PKG_VERSION)/ +PKG_HASH:=ff2eabc78106f009b4fb2def2d76fb0ca9e12acf624cbbfad9b3eb390d931313 + +PKG_FIXUP:=autoreconf +PKG_BUILD_PARALLEL:=1 + +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYING +PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz> + +include $(INCLUDE_DIR)/uclibc++.mk +include $(INCLUDE_DIR)/package.mk + +define Package/ssdeep + SECTION:=utils + CATEGORY:=Utilities + TITLE:=A program to compute and match fuzzy hashes + URL:=https://ssdeep-project.github.io/ssdeep + DEPENDS:=$(CXX_DEPENDS) +endef + +define Package/ssdeep/description + ssdeep is a program for computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies. +endef + +define Package/ssdeep/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ssdeep $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,ssdeep)) |
