libpe: package version 0.81

libpe is the PE library used by pev - the PE file toolkit purely written in C
and available to many platforms. The features include:

 * Support for both 32 and 64-bits PE files.
 * ssdeep support (built-in libfuzzy).
 * Disassemble support (built-in libudis86).
 * Imphash support.
 * Crypographic digests calculation (using OpeenSSL).
This commit is contained in:
khorben 2021-05-29 23:23:42 +00:00
parent 5bdef1d26a
commit de97a04c29
5 changed files with 80 additions and 0 deletions

8
security/libpe/DESCR Normal file
View file

@ -0,0 +1,8 @@
libpe is the PE library used by pev - the PE file toolkit purely written in C
and available to many platforms. The features include:
* Support for both 32 and 64-bits PE files.
* ssdeep support (built-in libfuzzy).
* Disassemble support (built-in libudis86).
* Imphash support.
* Crypographic digests calculation (using OpeenSSL).

28
security/libpe/Makefile Normal file
View file

@ -0,0 +1,28 @@
# $NetBSD: Makefile,v 1.1 2021/05/29 23:23:42 khorben Exp $
DISTNAME= ${GITHUB_PROJECT}-0.81
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=merces/}
GITHUB_PROJECT= libpe
GITHUB_TAG= ce39b127328e3863e08163962f7ecc768eb2555e
MAINTAINER= khorben@defora.org
HOMEPAGE= https://pev.sourceforge.io/
COMMENT= The PE library used by pev - the PE file toolkit
LICENSE= gnu-lgpl-v3
USE_TOOLS+= gmake
MAKE_FLAGS+= DESTDIR=${DESTDIR}
MAKE_FLAGS+= prefix=${PREFIX}
INSTALLATION_DIRS= include/libpe
post-install:
for include in ${WRKSRC}/include/libpe/*.h; do \
${INSTALL_DATA} $${include} ${DESTDIR}${PREFIX}/include/libpe; \
done
.include "../../devel/pcre/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

22
security/libpe/PLIST Normal file
View file

@ -0,0 +1,22 @@
@comment $NetBSD: PLIST,v 1.1 2021/05/29 23:23:42 khorben Exp $
include/libpe/dir_import.h
include/libpe/dir_resources.h
include/libpe/dir_security.h
include/libpe/directories.h
include/libpe/error.h
include/libpe/exports.h
include/libpe/hashes.h
include/libpe/hdr_coff.h
include/libpe/hdr_dos.h
include/libpe/hdr_optional.h
include/libpe/imports.h
include/libpe/macros.h
include/libpe/ordlookup.h
include/libpe/pe.h
include/libpe/resources.h
include/libpe/sections.h
include/libpe/utils.h
include/libpe/utlist.h
lib/libpe.so
lib/libpe.so.1
lib/libpe.so.1.0

View file

@ -0,0 +1,16 @@
# $NetBSD: buildlink3.mk,v 1.1 2021/05/29 23:23:42 khorben Exp $
BUILDLINK_TREE+= libpe
.if !defined(LIBPE_BUILDLINK3_MK)
LIBPE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libpe+= libpe>=0.81
BUILDLINK_ABI_DEPENDS.libpe+= libpe>=0.81
BUILDLINK_PKGSRCDIR.libpe?= ../../security/libpe
.include "../../devel/pcre/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.endif # LIBPE_BUILDLINK3_MK
BUILDLINK_TREE+= -libpe

6
security/libpe/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2021/05/29 23:23:42 khorben Exp $
SHA1 (libpe-0.81-ce39b127328e3863e08163962f7ecc768eb2555e.tar.gz) = 6133ae26c435774639c378f5c6d25018a9513878
RMD160 (libpe-0.81-ce39b127328e3863e08163962f7ecc768eb2555e.tar.gz) = 242869de4af6d7a222fbce1b38938e98382fec48
SHA512 (libpe-0.81-ce39b127328e3863e08163962f7ecc768eb2555e.tar.gz) = 3d05f896c710e2daffe34503409d9a2201d86fa14dad722aa14c23bb84cc88e45ff38a8e2746766f194e8b9b54bb9b07ae64b5bf7d8fd928db27fa895ea101c2
Size (libpe-0.81-ce39b127328e3863e08163962f7ecc768eb2555e.tar.gz) = 123068 bytes