aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2021-06-14 16:55:59 +0200
committerJakub Jirutka <jakub@jirutka.cz>2021-06-14 15:14:12 +0000
commit95db00e2aceb0fc992a3f827fadae5f434b3cd35 (patch)
treec73b0e9e2df50cf71c6d9dac586ae152b48012df
parentff8a72c8190a6a3e06a9dfe11e9efc55a404132d (diff)
downloadaports-95db00e2aceb0fc992a3f827fadae5f434b3cd35.tar.gz
aports-95db00e2aceb0fc992a3f827fadae5f434b3cd35.tar.bz2
aports-95db00e2aceb0fc992a3f827fadae5f434b3cd35.tar.xz
main/dhcp: security upgrade to 4.4.2_p1
-rw-r--r--main/dhcp/APKBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD
index 455967c60a..8e9e8daafd 100644
--- a/main/dhcp/APKBUILD
+++ b/main/dhcp/APKBUILD
@@ -1,8 +1,8 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=dhcp
-pkgver=4.4.2
+pkgver=4.4.2_p1
_realver=${pkgver/_p/-P}
-pkgrel=3
+pkgrel=0
pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)"
url="https://www.isc.org/"
arch="all"
@@ -18,10 +18,10 @@ pkggroups="dhcp"
makedepends="krb5-dev linux-headers openldap-dev perl"
install="$pkgname.pre-install"
subpackages="
+ $pkgname-dbg
$pkgname-doc
$pkgname-openrc
$pkgname-libs-static
- $pkgname-dbg
$pkgname-dev
dhclient
dhcrelay
@@ -30,7 +30,7 @@ subpackages="
$pkgname-server-ldap:server_ldap
"
source="
- http://downloads.isc.org/isc/$pkgname/$_realver/$pkgname-$_realver.tar.gz
+ https://downloads.isc.org/isc/dhcp/$_realver/dhcp-$_realver.tar.gz
01-dhclient-script-fix-bare-ip.patch
02-dhclient-script-remove-bashisms.patch
dhcp-3.0-fix-perms.patch
@@ -42,10 +42,12 @@ source="
dhcpd.confd
dhcpd.initd
"
-
+builddir="$srcdir/$pkgname-$_realver"
makedepends="$makedepends $_depends_dhclient $_depends_server_ldap $_depends_server_vanilla"
# secfixes:
+# 4.4.2_p1-r0:
+# - CVE-2021-25217
# 4.4.1-r0:
# - CVE-2018-5732
# - CVE-2018-5733
@@ -192,7 +194,8 @@ static() {
# BE0E 9748 B718 253A 28BB 89FF F1B1 1BF0 5CF0 2E57
# "
-sha512sums="c3dee2cf6e4b43d519d4bc89e9b8b12a6e3747d8c4edc0f83d4a88355a483b91a5f7d2353a3c0a2f37f88704fd2f64478ac5161ca72b10c42cebcb92907afa40 dhcp-4.4.2.tar.gz
+sha512sums="
+924e8b44f288361dbe837987869e57b929c73cb5e4af37cb2d7b19bca5ea8594048fb41c0792fede003188185f61b25befbc2ccda42f1f68e6b6bc22ef44b040 dhcp-4.4.2-P1.tar.gz
17e2b9588ee5d1bd9acb9c2e30f7a28308d29c9e797c2be14c1feff52e6e231ce8a94535f18badff1342aff4ae4003aab986e0f0473f0cd280292fdab044b148 01-dhclient-script-fix-bare-ip.patch
a70e4a7e80ee65c8ced6b61db80f7ccd0f35015b5cccf2e7c51705ae129230aa49ba9926bb88f7418018e7a112c2a40451f24b88e04464b590ff20091e8d8709 02-dhclient-script-remove-bashisms.patch
d5697a56fbbff25199962608986e7ffb533ed4afd3e344e3c79d2010dda73cc0b088f06c454e9f0c69eb054e09a374455fa71d3f73306e0c98fa76df4dd321b7 dhcp-3.0-fix-perms.patch
@@ -202,4 +205,5 @@ d1dce58875793316761f168e29feddc1d3454d1d917d063d43ae102b7b6aab256c3cb420478335c5
ce62693cb483616844bb6774f9046af6a1a210e35cfaa59ab3bd12f68d50176714a324e92538b35139110b78191866f65b30d6979d8a45f7b68e572e7a1e8427 dhcrelay.initd
fd15dbaa4c61c3c26f407bf13dde859470a1adba134da064b653ccc152ce42635ee8de2fe113ae21ba8470e97e3caad8c1a47b69eb25e5e92b40e26790b96f6d dhcrelay.confd
7b7a77b7826b475a4113ebeee54501ce417cc56e85754301a82a185d88b4713d198f615a366e63e0e2b0aef988c8137dcd1e18c4036d993378257079da17693d dhcpd.confd
-1f78c4f64a891012b4de029c50934b284ad80313959e06b0f29416f33a9e4f0deca8b61e9224a683a92faf8a08e8b7c075bc6e833ab73b6305c0d6d9712d0baf dhcpd.initd"
+1f78c4f64a891012b4de029c50934b284ad80313959e06b0f29416f33a9e4f0deca8b61e9224a683a92faf8a08e8b7c075bc6e833ab73b6305c0d6d9712d0baf dhcpd.initd
+"