diff options
author | Steven Honeyman | 2017-06-20 10:28:00 +0100 |
---|---|---|
committer | Steven Honeyman | 2017-06-20 10:28:00 +0100 |
commit | 3280129b56be1349df7e82a3178cbe81aaea5bc7 (patch) | |
tree | da0ca4db501b7a809eabfbc70749f2dda8c7f320 | |
parent | 34d716f0f25bbaf326429cc15e01c0d1ff3ab97d (diff) | |
download | aur-netboot.tar.gz |
Allow running without root
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | netboot.install | 3 |
3 files changed, 8 insertions, 3 deletions
@@ -1,10 +1,11 @@ # Generated by mksrcinfo v8 -# Thu Dec 24 12:52:46 UTC 2015 +# Tue Jun 20 09:27:02 UTC 2017 pkgbase = netboot pkgdesc = a simple PXE-compatible DHCP and TFTP server pkgver = 20100119 - pkgrel = 2 + pkgrel = 3 url = http://brokestream.com/netboot.html + install = netboot.install arch = i686 arch = x86_64 license = BSD @@ -3,7 +3,7 @@ pkgname=netboot pkgver=20100119 -pkgrel=2 +pkgrel=3 pkgdesc="a simple PXE-compatible DHCP and TFTP server" arch=(i686 x86_64) url="http://brokestream.com/netboot.html" @@ -11,6 +11,7 @@ license=(BSD) depends=(glibc) makedepends=(gcc) source=(http://brokestream.com/netboot.c) +install=netboot.install build() { cd $srcdir diff --git a/netboot.install b/netboot.install new file mode 100644 index 000000000000..56e8502bd233 --- /dev/null +++ b/netboot.install @@ -0,0 +1,3 @@ +post_install() { + setcap 'CAP_NET_BIND_SERVICE+ep' /usr/bin/netboot +} |