PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/utils/dnsmasq/PAGBUILD.yaml main

31 lines Raw ← Back
12345678910111213141516171819202122232425262728293031
pkgname: dnsmasq
pkgver: '2.93'
pkgrel: 2
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:
- gmp
- nettle
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