| Name |
patch |
| Description |
Utility to apply diffs to files |
| Version |
2.8-r0 |
| Package Base |
patch |
| Homepage |
https://www.gnu.org/software/patch/patch.html |
| Maintainers |
[] |
| Contributors |
['Sören Tempel <soeren+alpine@soeren-tempel.net>'] |
| Distro-repo |
https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/patch |
| Sources |
['https://ftp.gnu.org/gnu/patch/patch-2.8-r0.tar.xz'] |
| Dependencies |
['libc.musl-x86_64.so.1'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
[] |
| Provides |
['cmd:patch=2.8-r0'] |
| Builddate |
08-04-2025 17:25:32 |
| Architecture |
x86_64 |
| Distro-Version |
v3.22 |
| Licenses |
['GPL-3.0-or-later'] |
| Hash |
Q1Avc9p3m1sbf0oLs3Vuhvxyp26nE= |
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
maintainer="Natanael Copa <ncopa@alpinelinux.org>"
pkgname=patch
pkgver=2.8
pkgrel=0
pkgdesc="Utility to apply diffs to files"
url="https://www.gnu.org/software/patch/patch.html"
arch="all"
license="GPL-3.0-or-later"
checkdepends="diffutils ed"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/patch/patch-$pkgver.tar.xz"
# secfixes:
# 2.7.6-r7:
# - CVE-2019-20633
# 2.7.6-r6:
# - CVE-2018-1000156
# - CVE-2019-13638
# - CVE-2018-20969
# 2.7.6-r5:
# - CVE-2019-13636
# 2.7.6-r2:
# - CVE-2018-6951
# 2.7.6-r4:
# - CVE-2018-6952
build() {
gl_cv_func_gettimeofday_clobber=no \
gl_cv_func_tzset_clobber=no \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
d689d696660a662753e8660792733c3be0a94c76abfe7a28b0f9f70300c3a42d6437d081553a59bfde6e1b0d5ee13ed89be48d0b00b6da2cadbfc14a15ada603 patch-2.8.tar.xz
"