From 95a5d3211590b6590d7f4c927128f5dff7776ed2 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 4 Jul 2025 22:24:47 +0100 Subject: [PATCH] libpbc: update to 1.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The author writes on https://crypto.stanford.edu/pbc/news.html --- pbc-1.0.0 released Thanks to many contributors for fixes, wrappers, and tests. It’s been over a decade since the last release, and over two since pbc-0.0.0. I had thought this project would have faded into obscurity by now, but I still receive patches occasionally. I challenged myself to build a new release. Miraculously, the old scripts still seem to work, and the only non-trivial edit was renaming a few MinGW invocations in a Makefile. I bumped up the major version number. At the rate I’m going, this could be the last release, and it’d be a shame if the project never reached v1.0! Tue Jun 10 09:15:34 PM PDT 2025 --- Signed-off-by: Daniel Golle --- libs/libpbc/Makefile | 6 +++--- libs/libpbc/patches/010-pass-cflags.patch | 6 +++--- libs/libpbc/patches/020-autoconf-flex-noyywrap.patch | 11 +++++++++++ 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 libs/libpbc/patches/020-autoconf-flex-noyywrap.patch diff --git a/libs/libpbc/Makefile b/libs/libpbc/Makefile index 77e04db347..92c0f5991b 100644 --- a/libs/libpbc/Makefile +++ b/libs/libpbc/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libpbc -PKG_VERSION:=0.5.14 -PKG_RELEASE:=2 +PKG_VERSION:=1.0.0 +PKG_RELEASE:=1 PKG_SOURCE:=pbc-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://crypto.stanford.edu/pbc/files/ -PKG_HASH:=772527404117587560080241cedaf441e5cac3269009cdde4c588a1dce4c23d2 +PKG_HASH:=18275a367283077bafe35f443200499e3b19c4a3754953da2a1b2f0d6b5922dc PKG_BUILD_DIR:=$(BUILD_DIR)/pbc-$(PKG_VERSION) PKG_MAINTAINER:=Daniel Golle diff --git a/libs/libpbc/patches/010-pass-cflags.patch b/libs/libpbc/patches/010-pass-cflags.patch index 078ff83841..e93cfe36f2 100644 --- a/libs/libpbc/patches/010-pass-cflags.patch +++ b/libs/libpbc/patches/010-pass-cflags.patch @@ -1,8 +1,8 @@ --- a/configure.ac +++ b/configure.ac -@@ -10,7 +10,6 @@ AC_CONFIG_SRCDIR([./]) - LT_INIT - #AC_CANONICAL_HOST +@@ -9,7 +9,6 @@ AC_CONFIG_MACRO_DIR([m4]) + AC_CONFIG_SRCDIR([./]) + LT_INIT(win32-dll) -CFLAGS= default_fink_path=/sw diff --git a/libs/libpbc/patches/020-autoconf-flex-noyywrap.patch b/libs/libpbc/patches/020-autoconf-flex-noyywrap.patch new file mode 100644 index 0000000000..144f04a9ea --- /dev/null +++ b/libs/libpbc/patches/020-autoconf-flex-noyywrap.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -75,7 +75,7 @@ AC_PROG_INSTALL + AC_PROG_LN_S + AC_PROG_MAKE_SET + +-AC_PROG_LEX(yywrap) ++AC_PROG_LEX(noyywrap) + if test "x$LEX" != xflex; then + echo "************************" + echo "flex not found" -- 2.30.2