dhcpcd: fix privsep disabling
it was getting enabled implicitly
This commit is contained in:
parent
8d279550bd
commit
a28b13c469
2 changed files with 26 additions and 2 deletions
srcpkgs/dhcpcd
24
srcpkgs/dhcpcd/patches/privsep-ppc-build.patch
Normal file
24
srcpkgs/dhcpcd/patches/privsep-ppc-build.patch
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
From 76ec6a63705e1c3591b4da94c10047a79f0f49db Mon Sep 17 00:00:00 2001
|
||||||
|
From: q66 <daniel@octaforge.org>
|
||||||
|
Date: Sun, 20 Dec 2020 15:16:08 +0100
|
||||||
|
Subject: [PATCH] fix privsep build on ppc*
|
||||||
|
|
||||||
|
---
|
||||||
|
src/privsep-linux.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git src/privsep-linux.c src/privsep-linux.c
|
||||||
|
index e588ecd..9d335ca 100644
|
||||||
|
--- src/privsep-linux.c
|
||||||
|
+++ src/privsep-linux.c
|
||||||
|
@@ -42,6 +42,7 @@
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
+#include <termios.h>
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
#include "if.h"
|
||||||
|
--
|
||||||
|
2.29.2
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'dhcpcd'
|
# Template file for 'dhcpcd'
|
||||||
pkgname=dhcpcd
|
pkgname=dhcpcd
|
||||||
version=9.3.4
|
version=9.3.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=configure
|
build_style=configure
|
||||||
make_check_target=test
|
make_check_target=test
|
||||||
configure_args="
|
configure_args="
|
||||||
--prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --rundir=/run/dhcpcd
|
--prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --rundir=/run/dhcpcd
|
||||||
$(vopt_if privsep --privsepuser=_dhcpcd)"
|
$(vopt_if privsep --privsepuser=_dhcpcd) $(vopt_enable privsep)"
|
||||||
hostmakedepends="ntp pkg-config"
|
hostmakedepends="ntp pkg-config"
|
||||||
makedepends="eudev-libudev-devel"
|
makedepends="eudev-libudev-devel"
|
||||||
short_desc="RFC2131 compliant DHCP client"
|
short_desc="RFC2131 compliant DHCP client"
|
||||||
|
|
Loading…
Reference in a new issue