PKGBUILD 1.3 KB

123456789101112131415161718192021222324252627
  1. # Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
  2. # Maintainer: André Silva <emulatorman@hyperbola.info>
  3. pkgname=dhcpcd-hardened-script
  4. pkgver=0.1
  5. pkgrel=9
  6. pkgdesc="Removes Hostname and resets DUID on bootup to prevent DHCP leaks on the network"
  7. arch=(any)
  8. license=(GPL-2)
  9. depends=('dhcpcd')
  10. optdepends=('logger: message logging support')
  11. source=('dhcpcd_hardened.sh'
  12. 'dhcpcd-hardened.initd'
  13. 'dhcpcd-hardened.run'
  14. 'COPYING')
  15. sha512sums=('cc830d52926752e066bdd05c3e550f9170733593e4c8055ffd644bc5c43c249b1e864a117b45572ad128f7d779880b7f6db1e0bc8899208091cb29852d3d00fb'
  16. 'e63244a2c17ef22ff279b2f6da98c93d8fd356c8118552dea04f82243b9e53445b53330ca269623b3fdc9656e65dc357642a6bef0a99b7b36b9a3bde365cc773'
  17. 'fc9c3c12adecfd1b81517eade4184cc84fcf1a297b24afe7bbeb2e87ca4b75b0902f4cbbb52477517170f26ca153733fafedaf0e660b6ca3182d6e1a21a8731e'
  18. 'aee80b1f9f7f4a8a00dcf6e6ce6c41988dcaedc4de19d9d04460cbfb05d99829ffe8f9d038468eabbfba4d65b38e8dbef5ecf5eb8a1b891d9839cda6c48ee957')
  19. package() {
  20. install -Dm755 dhcpcd_hardened.sh "$pkgdir"/usr/libexec/dhcpcd/dhcpcd_hardened.sh
  21. install -Dm755 dhcpcd-hardened.initd "$pkgdir"/etc/init.d/dhcpcd-hardened
  22. install -Dm755 dhcpcd-hardened.run "$pkgdir"/etc/sv/dhcpcd-hardened/run
  23. install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
  24. }