summaryrefslogtreecommitdiff
path: root/core/bzip2
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /core/bzip2
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'core/bzip2')
-rw-r--r--core/bzip2/.footprint25
-rw-r--r--core/bzip2/.signature6
-rw-r--r--core/bzip2/MAKEPKG52
3 files changed, 83 insertions, 0 deletions
diff --git a/core/bzip2/.footprint b/core/bzip2/.footprint
new file mode 100644
index 0000000..dbc4320
--- /dev/null
+++ b/core/bzip2/.footprint
@@ -0,0 +1,25 @@
+drwxr-xr-x root/root bin/
+-rwxr-xr-x root/root bin/bunzip2
+-rwxr-xr-x root/root bin/bzcat
+-rwxr-xr-x root/root bin/bzdiff
+-rwxr-xr-x root/root bin/bzgrep
+-rwxr-xr-x root/root bin/bzip2
+-rwxr-xr-x root/root bin/bzip2recover
+-rwxr-xr-x root/root bin/bzmore
+lrwxrwxrwx root/root bin/bzcmp -> /ports/core/bzip2/work/pkg//bin/bzdiff
+lrwxrwxrwx root/root bin/bzegrep -> /ports/core/bzip2/work/pkg//bin/bzgrep
+lrwxrwxrwx root/root bin/bzfgrep -> /ports/core/bzip2/work/pkg//bin/bzgrep
+lrwxrwxrwx root/root bin/bzless -> /ports/core/bzip2/work/pkg//bin/bzmore
+drwxr-xr-x root/root include/
+-rw-r--r-- root/root include/bzlib.h
+drwxr-xr-x root/root lib/
+-rwxr-xr-x root/root lib/libbz2.so.1.0.8
+lrwxrwxrwx root/root lib/libbz2.so -> libbz2.so.1.0.8
+lrwxrwxrwx root/root lib/libbz2.so.1.0 -> libbz2.so.1.0.8
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/bzip2.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/bunzip2.1.gz -> bzip2.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/bzcat.1.gz -> bzip2.1.gz
diff --git a/core/bzip2/.signature b/core/bzip2/.signature
new file mode 100644
index 0000000..f7d851d
--- /dev/null
+++ b/core/bzip2/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mDcoJVwixaVvL+B43BD0W6qOnph2uXIDFy4N/pJTjXL+3VMm5O3jcMfHWG3fKCxOHGurM8zpCKQqitk2nvIZagQ=
+
+SHA256 (MAKEPKG) = 3da6f416b4cffe5c3b582f6ed956a0cbd3099ce8038d4e83711aad3ee879349f
+SHA256 (.footprint) = bfd858e79494d115a8dd709bb3b47ad383fbb0a1ec91efed6feea8ecee6ccb11
+SHA256 (bzip2-1.0.8.tar.gz) = ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269
+SHA256 (bzip2#1.0.8-1.pkg.tar.gz) = 281fb107f0828e1883ec1f7471eb32f68c07211a57ecc3aa0436e7ae97b35572
diff --git a/core/bzip2/MAKEPKG b/core/bzip2/MAKEPKG
new file mode 100644
index 0000000..96e8179
--- /dev/null
+++ b/core/bzip2/MAKEPKG
@@ -0,0 +1,52 @@
+#!/bin/mkpkg
+# description: Block-sorting file compressor
+# url: https://sourceware.org/bzip2
+
+# license: bzip2-1.0.6
+
+name=bzip2
+version=1.0.8
+release=1
+source=(https://sourceware.org/pub/bzip2/bzip2-$version.tar.gz)
+depends=()
+makedeps=()
+
+sha256sums=(
+ "ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269"
+)
+
+build() {
+ cd bzip2-$version
+
+ # Build shared library
+ make -f Makefile-libbz2_so CC=clang
+ make CC=clang
+
+ # Install
+ make PREFIX=$PKG/ install
+
+ # Install shared library
+ install -m 755 libbz2.so.$version $PKG/lib/
+ ln -s libbz2.so.$version $PKG/lib/libbz2.so.1.0
+ ln -s libbz2.so.$version $PKG/lib/libbz2.so
+
+ # Move headers to /include
+ mv $PKG/include/* $PKG/include/ 2>/dev/null || true
+
+ # Remove static library
+ rm -f $PKG/lib/libbz2.a
+
+ # Remove man dir if wrong location
+ rm -rf $PKG/man
+ mkdir -p $PKG/usr/share/man/man1
+ install -m 644 bzip2.1 $PKG/usr/share/man/man1/
+ ln -s bzip2.1 $PKG/usr/share/man/man1/bunzip2.1
+ ln -s bzip2.1 $PKG/usr/share/man/man1/bzcat.1
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh