diff options
author | Lucas Magalhães | 2019-04-03 12:11:18 -0300 |
---|---|---|
committer | Lucas Magalhães | 2019-04-03 12:11:18 -0300 |
commit | c08a5779ac34017e6ec2377bb11fc5735d63a782 (patch) | |
tree | 30003112e2ddad5e717bcb361d75fd9067fd9e3f | |
download | aur-c08a5779ac34017e6ec2377bb11fc5735d63a782.tar.gz |
Adding package to AUR
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a27f52077d9c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = passivedns-git + pkgdesc = A network sniffer that logs all DNS server replies for use in a passive DNS setup + pkgver = r275.e126cbb + pkgrel = 1 + url = https://github.com/gamelinux/passivedns + arch = x86_64 + license = GPLv2 + depends = git + depends = binutils + depends = ldns + depends = libpcap + provides = passivedns + source = passivedns::git://github.com/gamelinux/passivedns.git + sha256sums = SKIP + +pkgname = passivedns-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..110e7b37d6a1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Lucas Magalhães <whoisroot@national.shitposting.agency> +_pkgname=passivedns +pkgname=${_pkgname}-git +pkgver=r275.e126cbb +pkgrel=1 +pkgdesc="A network sniffer that logs all DNS server replies for use in a passive DNS setup" +arch=('x86_64') +url="https://github.com/gamelinux/passivedns" +license=('GPLv2') +depends=('git' 'binutils' 'ldns' 'libpcap') +makedepends=() +provides=("${pkgname%-git}") +source=("passivedns::git://github.com/gamelinux/passivedns.git") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd ${_pkgname} + autoreconf --install + ./configure + make +} + +package() { + make install +} |