aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeneral Jack O'Neill <StarGate_One@outlook.com>2020-09-01 17:18:13 -0400
committerGitHub <noreply@github.com>2020-09-01 14:18:13 -0700
commitd29602bf0bef96ce71941ab58ca00a33ea5457fb (patch)
tree70b6b2d6c60f47372e183a16e9013ed69ae1f059
parent684b5e8c8d0a85e193995e4eac9a4547c172ac6d (diff)
downloadvcpkg-d29602bf0bef96ce71941ab58ca00a33ea5457fb.tar.gz
vcpkg-d29602bf0bef96ce71941ab58ca00a33ea5457fb.zip
[bzip2] Add SHA512 hash check (#13242)
-rw-r--r--ports/bzip2/CONTROL4
-rw-r--r--ports/bzip2/portfile.cmake3
-rw-r--r--ports/bzip2/vcpkg.json8
3 files changed, 10 insertions, 5 deletions
diff --git a/ports/bzip2/CONTROL b/ports/bzip2/CONTROL
deleted file mode 100644
index b79a4950b..000000000
--- a/ports/bzip2/CONTROL
+++ /dev/null
@@ -1,4 +0,0 @@
-Source: bzip2
-Version: 1.0.8
-Homepage: http://www.bzip.org/
-Description: High-quality data compressor.
diff --git a/ports/bzip2/portfile.cmake b/ports/bzip2/portfile.cmake
index 97b5c3258..19314eb0e 100644
--- a/ports/bzip2/portfile.cmake
+++ b/ports/bzip2/portfile.cmake
@@ -1,7 +1,8 @@
vcpkg_from_git(
OUT_SOURCE_PATH SOURCE_PATH
URL https://sourceware.org/git/bzip2.git
- REF 75a94bea3918e612b879d6a11ca64b8689526147
+ REF 75a94bea3918e612b879d6a11ca64b8689526147 # REFERENCE BZIP2 VERSION 1.0.8
+ SHA512 4611105f9090477b5f6f6dbd303a282099df71644e04d8a998ef81de487f6c8cac4c0ec1283ad737f6767c51f1e3b4e24e2ee021c6dd085925617d9ed145b2ba
PATCHES
fix-import-export-macros.patch
)
diff --git a/ports/bzip2/vcpkg.json b/ports/bzip2/vcpkg.json
new file mode 100644
index 000000000..8c7520de8
--- /dev/null
+++ b/ports/bzip2/vcpkg.json
@@ -0,0 +1,8 @@
+{
+ "name": "bzip2",
+ "version-string": "1.0.8",
+ "port-version": 1,
+ "description": "bzip2 is a freely available, patent free, high-quality data compressor. It typically compresses files to within 10% to 15% of the best available techniques (the PPM family of statistical compressors), whilst being around twice as fast at compression and six times faster at decompression.",
+ "homepage": "https://sourceware.org/bzip2/",
+ "documentation": "https://sourceware.org/bzip2/docs.html"
+}