summaryrefslogtreecommitdiff
path: root/nonprism/dhcpcd-hardened-script/PKGBUILD
blob: 747559cd0103440b50886e1a4d5cf2f052a24f5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697

pkgname=dhcpcd-hardened-script
pkgver=0.1
pkgrel=1
pkgdesc="Removes Hostname and resets DUID to prevent DHCP leaks on the network"
arch=(any)
license=(GPL2)
depends=('dhcpcd')
source=('dhcpcd_hardened.sh'
'dhcpcd-hardened-script.service')
sha512sums=('3f14d58fe05ab521594f2f48aaf0124c019b079a7fad267b70e5e0fd8cc08860edbaebeb68149de1599355845c17e4f5229d7664b74604e70d3f36b18c05b63a'
'cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e')
whirlpoolsums=('01a554f1dad6a49adf99faea21fc4e622a2af3f0d4001b80adde30daf255e46f69d22cd94142d70d5984bcd7ac234e38bab507c919827709d799e6d808c02b2d'
'19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3')

package() {
  install -Dm755 dhcpcd_hardened.sh "$pkgdir"/usr/lib/dhcpcd/dhcpcd_hardened.sh
  install -Dm644 "$srcdir/dhcpcd-hardened-script.service"    "$pkgdir/usr/lib/systemd/system/dhcpcd-hardened-script.service"
}