Skip to content

Commit

Permalink
Update PCRE2 source URLs to use the new repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
catatsuy committed Jan 8, 2024
1 parent 17fa009 commit a8142b9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion alpine/openresty-pcre2/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license="BSD"
#depends=""
makedepends="ccache"
subpackages="$pkgname-dev $pkgname-dbg"
source="https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$pkgver/pcre2-$pkgver.tar.gz"
source="https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$pkgver/pcre2-$pkgver.tar.gz"
builddir="$srcdir/pcre2-$pkgver/"
options="!tracedeps !fhs"

Expand Down
2 changes: 1 addition & 1 deletion deb/openresty-pcre2.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ OPENRESTY_SAAS_PCRE2_VER = 10.42

.PHONY: openresty-pcre2-download
openresty-pcre2-download:
LANG=C LC_ALL='C.UTF-8' wget -nH --cut-dirs=100 --mirror 'https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$(OPENRESTY_SAAS_PCRE2_VER)/pcre2-$(OPENRESTY_SAAS_PCRE2_VER).tar.gz'
LANG=C LC_ALL='C.UTF-8' wget -nH --cut-dirs=100 --mirror 'https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$(OPENRESTY_SAAS_PCRE2_VER)/pcre2-$(OPENRESTY_SAAS_PCRE2_VER).tar.gz'
rm -rf openresty-pcre2_$(OPENRESTY_SAAS_PCRE2_VER)
mkdir -p openresty-pcre2_$(OPENRESTY_SAAS_PCRE2_VER)
tar -xf pcre2-$(OPENRESTY_SAAS_PCRE2_VER).tar.gz --strip-components=1 -C openresty-pcre2_$(OPENRESTY_SAAS_PCRE2_VER)
Expand Down
2 changes: 1 addition & 1 deletion deb/openresty-pcre2/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Priority: optional
Maintainer: OpenResty Admin <admin@openresty.com>
Build-Depends: debhelper (>= 9), coreutils, gcc, make, ccache, sed
Standards-Version: 3.9.8
Homepage: https://github.com/PhilipHazel/pcre2
Homepage: https://github.com/PCRE2Project/pcre2

Package: openresty-pcre2
Architecture: any
Expand Down
4 changes: 2 additions & 2 deletions rpm/SPECS/openresty-pcre2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Summary: Perl-compatible regular expression library
Group: System Environment/Libraries

License: BSD
URL: https://github.com/PhilipHazel/pcre2
Source0: https://github.com/PhilipHazel/pcre2/releases/download/pcre2-%{version}/pcre2-%{version}.tar.gz
URL: https://github.com/PCRE2Project/pcre2
Source0: https://github.com/PCRE2Project/pcre2/releases/download/pcre2-%{version}/pcre2-%{version}.tar.gz

BuildRequires: coreutils, gcc, make
BuildRequires: ccache, sed
Expand Down

0 comments on commit a8142b9

Please sign in to comment.