From 2c483d560652c7bf28f0503f088d9fd29a74a7fe Mon Sep 17 00:00:00 2001
From: cr6git <quark6@protonmail.com>
Date: Sun, 5 Nov 2017 08:13:56 +0100
Subject: [PATCH] dhcpcd: add missing license (#8577)

---
 srcpkgs/dhcpcd/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/dhcpcd/template b/srcpkgs/dhcpcd/template
index a32b2ec5eec..d65b050be40 100644
--- a/srcpkgs/dhcpcd/template
+++ b/srcpkgs/dhcpcd/template
@@ -1,7 +1,7 @@
 # Template file for 'dhcpcd'
 pkgname=dhcpcd
 version=6.11.5
-revision=4
+revision=5
 lib32disabled=yes
 build_style=configure
 configure_args="--prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --rundir=/run"
@@ -25,4 +25,7 @@ post_install() {
 	# Enable controlgroup by default, to make dhcpcd-ui work.
 	sed -i 's,^#\(controlgroup.*\),\1,' ${DESTDIR}/etc/dhcpcd.conf
 	ln -sf /usr/share/dhcpcd/hooks/10-wpa_supplicant ${DESTDIR}/usr/libexec/dhcpcd-hooks/
+	# License
+	sed 26q control.h > LICENSE
+	vlicense LICENSE
 }