git: c5423e448757 - main - security/libfcrypto: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Feb 2025 09:38:26 UTC
The branch main has been updated by antoine:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c5423e448757a77bcffda0b9eb301d9c586349ef
commit c5423e448757a77bcffda0b9eb301d9c586349ef
Author: Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2025-02-18 09:37:40 +0000
Commit: Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2025-02-18 09:37:40 +0000
security/libfcrypto: new port
Library for encryption formats
---
security/Makefile | 1 +
security/libfcrypto/Makefile | 29 +++++++++++++++++++++++++++++
security/libfcrypto/distinfo | 3 +++
security/libfcrypto/pkg-descr | 1 +
security/libfcrypto/pkg-plist | 14 ++++++++++++++
5 files changed, 48 insertions(+)
diff --git a/security/Makefile b/security/Makefile
index 5cfd261889ea..2b7ef5dc661a 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -286,6 +286,7 @@
SUBDIR += libcryptui
SUBDIR += libdecaf
SUBDIR += libecc
+ SUBDIR += libfcrypto
SUBDIR += libfido2
SUBDIR += libfprint
SUBDIR += libgcrypt
diff --git a/security/libfcrypto/Makefile b/security/libfcrypto/Makefile
new file mode 100644
index 000000000000..552ff8c9d9ec
--- /dev/null
+++ b/security/libfcrypto/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= libfcrypto
+DISTVERSION= alpha-20240414
+CATEGORIES= security
+MASTER_SITES= https://github.com/libyal/libfcrypto/releases/download/${PORTVERSION:E}/ \
+ LOCAL/antoine
+
+MAINTAINER= antoine@FreeBSD.org
+COMMENT= Library for encryption formats
+WWW= https://github.com/libyal/libfcrypto
+
+LICENSE= LGPL3+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+GNU_CONFIGURE= yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+CONFIGURE_ARGS= --enable-python
+CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config
+USES= libtool pathfix pkgconfig python
+USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
+
+OPTIONS_DEFINE= NLS
+
+NLS_USES= gettext
+NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE}
+NLS_CONFIGURE_OFF= --disable-nls
+
+.include <bsd.port.mk>
diff --git a/security/libfcrypto/distinfo b/security/libfcrypto/distinfo
new file mode 100644
index 000000000000..fecf638d6a8e
--- /dev/null
+++ b/security/libfcrypto/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1739786656
+SHA256 (libfcrypto-alpha-20240414.tar.gz) = 43ea521ca1fd0dab11d23731f070fa5b2856b38f896550fd592ae341c6831f0d
+SIZE (libfcrypto-alpha-20240414.tar.gz) = 629026
diff --git a/security/libfcrypto/pkg-descr b/security/libfcrypto/pkg-descr
new file mode 100644
index 000000000000..84f32f5b75fe
--- /dev/null
+++ b/security/libfcrypto/pkg-descr
@@ -0,0 +1 @@
+libfcrypto is a library for encryption formats.
diff --git a/security/libfcrypto/pkg-plist b/security/libfcrypto/pkg-plist
new file mode 100644
index 000000000000..79a2fc457d9e
--- /dev/null
+++ b/security/libfcrypto/pkg-plist
@@ -0,0 +1,14 @@
+include/libfcrypto.h
+include/libfcrypto/definitions.h
+include/libfcrypto/error.h
+include/libfcrypto/extern.h
+include/libfcrypto/features.h
+include/libfcrypto/types.h
+lib/libfcrypto.a
+lib/libfcrypto.so
+lib/libfcrypto.so.1
+lib/libfcrypto.so.1.0.0
+%%PYTHON_SITELIBDIR%%/pyfcrypto.a
+%%PYTHON_SITELIBDIR%%/pyfcrypto.so
+libdata/pkgconfig/libfcrypto.pc
+share/man/man3/libfcrypto.3.gz