pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security



Module Name:    pkgsrc
Committed By:   nros
Date:           Mon Jul  3 13:43:29 UTC 2023

Modified Files:
        pkgsrc/security: Makefile
        pkgsrc/security/botan3: Makefile
Added Files:
        pkgsrc/security/botan3: Makefile.common
        pkgsrc/security/py-botan3: DESCR Makefile PLIST

Log Message:
Add py-botan3 version 3.0.0
Python bindings for botan3.
Using a separate package for
the python binding makes it
possible to install for more
than one python version.


To generate a diff of this commit:
cvs rdiff -u -r1.904 -r1.905 pkgsrc/security/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/botan3/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/security/botan3/Makefile.common
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-botan3/DESCR \
    pkgsrc/security/py-botan3/Makefile pkgsrc/security/py-botan3/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/Makefile
diff -u pkgsrc/security/Makefile:1.904 pkgsrc/security/Makefile:1.905
--- pkgsrc/security/Makefile:1.904      Mon Jun 26 11:41:13 2023
+++ pkgsrc/security/Makefile    Mon Jul  3 13:43:28 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.904 2023/06/26 11:41:13 wiz Exp $
+# $NetBSD: Makefile,v 1.905 2023/07/03 13:43:28 nros Exp $
 #
 
 COMMENT=       Security and cryptography tools and libraries
@@ -434,6 +434,7 @@ SUBDIR+=    py-authlib
 SUBDIR+=       py-backports.ssl_match_hostname
 SUBDIR+=       py-bandit
 SUBDIR+=       py-bcrypt
+SUBDIR+=       py-botan3
 SUBDIR+=       py-certbot
 SUBDIR+=       py-certbot-apache
 SUBDIR+=       py-certbot-dns-digitalocean

Index: pkgsrc/security/botan3/Makefile
diff -u pkgsrc/security/botan3/Makefile:1.3 pkgsrc/security/botan3/Makefile:1.4
--- pkgsrc/security/botan3/Makefile:1.3 Sat Jul  1 12:29:50 2023
+++ pkgsrc/security/botan3/Makefile     Mon Jul  3 13:43:28 2023
@@ -1,15 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2023/07/01 12:29:50 nros Exp $
+# $NetBSD: Makefile,v 1.4 2023/07/03 13:43:28 nros Exp $
 
-DISTNAME=      Botan-3.0.0
-PKGNAME=       ${DISTNAME:S/Botan/botan3/}
-CATEGORIES=    security
-MASTER_SITES=  https://botan.randombit.net/releases/
-EXTRACT_SUFX=  .tar.xz
+.include "Makefile.common"
 
-MAINTAINER=    nros%NetBSD.org@localhost
-HOMEPAGE=      https://botan.randombit.net/
+PKGNAME=       ${DISTNAME:S/Botan/botan3/}
 COMMENT=       Portable, easy to use, and efficient C++ crypto library (v3)
-LICENSE=       2-clause-bsd
 
 DEPENDS+=      mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts
 

Added files:

Index: pkgsrc/security/botan3/Makefile.common
diff -u /dev/null pkgsrc/security/botan3/Makefile.common:1.1
--- /dev/null   Mon Jul  3 13:43:29 2023
+++ pkgsrc/security/botan3/Makefile.common      Mon Jul  3 13:43:28 2023
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile.common,v 1.1 2023/07/03 13:43:28 nros Exp $
+# used by security/py-botan3/Makefile
+
+DISTNAME=      Botan-3.0.0
+CATEGORIES=    security
+MASTER_SITES=  https://botan.randombit.net/releases/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    nros%NetBSD.org@localhost
+HOMEPAGE=      https://botan.randombit.net/
+LICENSE=       2-clause-bsd
+
+DISTINFO_FILE= ../../security/botan3/distinfo
+PATCHDIR=      ../../security/botan3/patches

Index: pkgsrc/security/py-botan3/DESCR
diff -u /dev/null pkgsrc/security/py-botan3/DESCR:1.1
--- /dev/null   Mon Jul  3 13:43:29 2023
+++ pkgsrc/security/py-botan3/DESCR     Mon Jul  3 13:43:28 2023
@@ -0,0 +1 @@
+Python bindings for botan3
Index: pkgsrc/security/py-botan3/Makefile
diff -u /dev/null pkgsrc/security/py-botan3/Makefile:1.1
--- /dev/null   Mon Jul  3 13:43:29 2023
+++ pkgsrc/security/py-botan3/Makefile  Mon Jul  3 13:43:28 2023
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2023/07/03 13:43:28 nros Exp $
+
+.include "../../security/botan3/Makefile.common"
+
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/Botan/botan3/}
+COMMENT=       Python bindings for botan3
+
+NO_CONFIGURE=  yes
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${PYSITELIB}
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/src/python/botan3.py \
+               ${DESTDIR}${PREFIX}/${PYSITELIB}
+
+.include "../../lang/python/extension.mk"
+.include "../../security/botan3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/py-botan3/PLIST
diff -u /dev/null pkgsrc/security/py-botan3/PLIST:1.1
--- /dev/null   Mon Jul  3 13:43:29 2023
+++ pkgsrc/security/py-botan3/PLIST     Mon Jul  3 13:43:28 2023
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2023/07/03 13:43:28 nros Exp $
+${PYSITELIB}/botan3.py



Home | Main Index | Thread Index | Old Index