🔒 Repository is read-only – file editing is disabled.

recipes/utils/dnsmasq/PAGBUILD.yaml main

29 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829
pkgname: dnsmasq
pkgver: '2.93'
pkgrel: 1
pkgdesc: 'Dnsmasq provides network infrastructure for small networks: DNS, DHCP, router advertisement and network boot.'
url: 'https://thekelleys.org.uk/dnsmasq'
arch: x86_64
depends: []
makedepends:
- nettle
source:
- 'https://thekelleys.org.uk/dnsmasq/${pkgname}-${pkgver}.tar.xz'
- ${pkgname}-config.patch
- dnsmasq.init
sha256sums:
- SKIP
- SKIP
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  patch -p1 -i ../${pkgname}-config.patch
  make COPTS="-DHAVE_DNSSEC" PREFIX=/usr
  make COPTS="-DHAVE_DNSSEC" PREFIX=/usr BINDIR=/usr/bin DESTDIR=${PKGDIR} install

  install -d ${PKGDIR}/{var/lib/dhcp,etc,usr/share/dnsmasq}
  install -m 644 dnsmasq.conf.example ${PKGDIR}/etc/dnsmasq.conf
  install -m 644 trust-anchors.conf ${PKGDIR}/usr/share/dnsmasq/
package: |
  true