. ${BUILDFILE%/*}/common.sh pkgver=20180918 package() { preamble pkgdesc="Parabola server configuration: Make openresolv play nice with configuration management" # #### openresolv # The [resolvconf][openresolv] program (used by netctl, dhcpcd, and # other network managers) manages the /etc/resolv.conf file. A few # programs need to be made aware of this in order to play nice. # # [openresolv]: https://www.parabola.nu/packages/core/any/openresolv/ depends+=(openresolv) # Instruct etckeeper to ignore it. add-file -m755 etc/etckeeper/update-ignore.d/10resolvconf <<-'_EOF_' #!/bin/bash cat >> .gitignore <=5.1.1-1.parabola5') add-file etc/pacman.d/resolvconf.conf <<-'EOF' [options] NoExtract = etc/resolv.conf EOF postamble }