oniguruma: updated to 6.9.6rc1

Add handling of -revN as plN (instead of .N) and -rcN as rcN in Makefile.
Use the -revN or -rcN naming in DISTFILE, as they are (apparently) created
automatically by GitHub. Munge GITHUB_RELEASE to produce the tag name with
an underscore instead of a hyphen before rev or rc. Munge WRKSRC to strip
both -revN and -rcN.

6.9.6 Release Candidate 1
- In a Unix environment, if you have the POSIX API enabled in
  an earlier version (disabled by default in 6.9.5) and you
  need application binary compatibility with the POSIX API,
  specify "--enable-binary-compatible-posix-api=yes" instead of
  "--enable-posix-api=yes". "--enable-posix-api=yes" only supports
  source-level compatibility for POSIX API since 6.9.6.
- NEW: configure option --enable-binary-compatible-posix-api=[yes/no]
- NEW API: Limiting the maximum number of calls of subexp-call
- NEW API: ONIG_OPTION_NOT_BEGIN_STRING / NOT_END_STRING /
  NOT_BEGIN_POSITION
- Fixed behavior of ONIG_OPTION_NOTBOL / NOTEOL
- Fixed many problems found by OSS-Fuzz
- Fixed many problems found by Coverity
- Fixed CVE-2020-26159
This commit is contained in:
kim 2020-10-07 21:27:17 +00:00
parent bdab147d51
commit e0f0f138d5
2 changed files with 11 additions and 13 deletions

View file

@ -1,25 +1,23 @@
# $NetBSD: Makefile,v 1.17 2020/06/10 13:57:20 hauke Exp $
# $NetBSD: Makefile,v 1.18 2020/10/07 21:27:17 kim Exp $
DISTNAME= onig-6.9.5_rev1
PKGNAME= ${DISTNAME:S/onig/oniguruma/:S/_rev/./}
PKGREVISION= 1
DISTNAME= onig-6.9.6-rc1
PKGNAME= ${DISTNAME:S/onig/oniguruma/:S/-rev/pl/:S/-rc/rc/}
CATEGORIES= textproc devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=kkos/}
GITHUB_PROJECT= oniguruma
GITHUB_RELEASE= v${DISTNAME:S/onig-//}
#GITHUB_RELEASE=v${PKGVERSION_NOREV}
GITHUB_RELEASE= v${DISTNAME:S/onig-//:S/-/_/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/kkos/oniguruma
COMMENT= Regular expressions library
LICENSE= 2-clause-bsd
WRKSRC= ${WRKDIR}/${DISTNAME:S/_rev1//}
WRKSRC= ${WRKDIR}/${DISTNAME:C/-rev..*//:C/-rc..*//}
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-posix-api
CONFIGURE_ARGS+= --enable-binary-compatible-posix-api=yes
PKGCONFIG_OVERRIDE= oniguruma.pc.in
TEST_TARGET= check

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.14 2020/06/08 11:26:32 adam Exp $
$NetBSD: distinfo,v 1.15 2020/10/07 21:27:17 kim Exp $
SHA1 (onig-6.9.5_rev1.tar.gz) = e0e6320303dfedf70b76f30da959d8dea61b72f2
RMD160 (onig-6.9.5_rev1.tar.gz) = bb0cfef914568517d22db0d0547b98f55bee345d
SHA512 (onig-6.9.5_rev1.tar.gz) = d45208f0fc48aab7104601282d68e6d074c0fd74d5791adc35d5b89c7d5a5d34548bff831a606f302e20ae8d5928802bd0965e587f60b162b7cb2b45a66e9c1f
Size (onig-6.9.5_rev1.tar.gz) = 889770 bytes
SHA1 (onig-6.9.6-rc1.tar.gz) = 3632ea80b55edd6744652bb6dcb3259055267789
RMD160 (onig-6.9.6-rc1.tar.gz) = 8a74ecdefc1652f64f0226c308cdc823600e434c
SHA512 (onig-6.9.6-rc1.tar.gz) = 65c77d465c8662b9e0c9ed9cdb8ca77f5d36e37259c6fa9b18b61b0d1de2279cc1df48105b003bf0a0363d24aca0fece1c31c9b92bb0512d725446606df72915
Size (onig-6.9.6-rc1.tar.gz) = 894224 bytes