upg audit expat ldns

This commit is contained in:
joborun linux 2024-09-04 22:29:18 +03:00
parent 19fd2d91b6
commit 8eb5c88faf
11 changed files with 257 additions and 40 deletions

View file

@ -9,14 +9,15 @@ pkgbase=audit
_name=audit-userspace
pkgname=('audit' 'python-audit')
pkgver=4.0.2
pkgrel=01
pkgrel=02
pkgdesc="Userspace components of the audit framework w/o systemd"
url='https://people.redhat.com/sgrubb/audit'
makedepends=(apparmor glibc krb5 libcap-ng libldap linux-api-headers python swig)
options=(emptydirs)
#options=(emptydirs debug) # comment above options uncomment this to have debug packages produced
source=( https://github.com/linux-audit/$_name/archive/v$pkgver/$_name-v$pkgver.tar.gz
$pkgbase.tmpfiles)
$pkgbase.tmpfiles
$pkgbase-4.0.2-flagtab_h.patch::https://github.com/linux-audit/audit-userspace/commit/6b9b74acba4db9edbab8595474d2323eb7eef51f.patch)
# $pkgbase-4.0-executable_paths.patch) # systemd patch ... irrelevant
_pick() {
@ -33,6 +34,9 @@ prepare() {
# use /usr and /bin merge compatible paths in configs and systemd services
# patch -Np1 -d $pkgbase-userspace-$pkgver -i ../$pkgbase-4.0-executable_paths.patch
# fix weird issue with autotools and an unneeded header file: https://github.com/linux-audit/audit-userspace/issues/390
patch -Np1 -d $pkgbase-userspace-$pkgver -i ../$pkgbase-4.0.2-flagtab_h.patch
cd $_name-$pkgver
autoreconf -fiv
}
@ -118,14 +122,16 @@ arch=(x86_64)
license=(GPL-2.0-or-later LGPL-2.0-or-later)
sha512sums=('558b9211a5dc1062eee98aa7bcd292797f06109a8ee735da1d704bc18d97b0bee93487ef9303404016df2e08cff32d90f1dd056797ac05beaabe3cccb5db5af2'
'1750741755f58d0ae19ed2c30e136d05560dc12ec613a502bad12f47c6b70432d30b3a16f3f1574c8433ad2701428d1c1d567a4d3b55be19abac300310c831d9')
'1750741755f58d0ae19ed2c30e136d05560dc12ec613a502bad12f47c6b70432d30b3a16f3f1574c8433ad2701428d1c1d567a4d3b55be19abac300310c831d9'
7446b2a5c59dd51dfc15a938da4346cdf4c66e7f2ef69aa0510a0b2ed1a59856e1c1e44b40cbd5acc0b47f53f56bf79a807ff7effde2f4f43e6b25ae6467aee4)
b2sums=('27bcc020a41b13f1f0c176ebf513a756a159d0cb6368e2ece261ac507da063f513146cc82e3aa166771a3c0287ec9de01f6da72cf5fd688148b5f226c27822d1'
'549ebbbc9e43277d44d0dc5bfd8ca2926628322d898479171b2707dd004968d036ef792b442548af90ad56dea868a72c88b5cf3bb93ea70cb8bbed82747ad9b5')
'549ebbbc9e43277d44d0dc5bfd8ca2926628322d898479171b2707dd004968d036ef792b442548af90ad56dea868a72c88b5cf3bb93ea70cb8bbed82747ad9b5'
'180305d05867aa481428204b67e3297d376387241b3d365862af49e525d41c2bd8f580144424a262b2751c2dd4d67da5e9012415b1f9b7d8346f4d20f25de6ed')
sha256sums=(642cea2699e961ed2e9c25543f08cf7cc8165b60dae6b9f36a01ae96cc45ff38 # audit-userspace-v4.0.1.tar.gz
0ed3ff18f966f57e62d181705cad44ec0873a50d151dad46ca18a82edaa5589c) # audit.tmpfiles
0ed3ff18f966f57e62d181705cad44ec0873a50d151dad46ca18a82edaa5589c # audit.tmpfiles
8b5cbe2e7671b93f206690109dbda9eb12a5fffaa7437662e15ab4e88bdb71cf)
## aca6dc29c2be6a3b1597cc758357d132ae09390a58c94648857741e7e2bd6451 audit-4.0.2-01-x86_64.pkg.tar.lz
## 7c34751d00ce5a884b2a22db38fe5f95b6a0d42151079b9f6a9790ae973a8993 python-audit-4.0.2-01-x86_64.pkg.tar.lz
## f38409af6439c76f590293b11bcbf7f6e4ae4fdd0ec7494bedbe5dce42f960de audit-4.0.2-02-x86_64.pkg.tar.lz
## a2904fc03c0e6a83faa5cd7443205234aaf7182efb68781360b81044b61acd20 python-audit-4.0.2-02-x86_64.pkg.tar.lz

View file

@ -14,7 +14,7 @@ pkgname=(
python-audit
)
pkgver=4.0.2
pkgrel=1
pkgrel=2
pkgdesc='Userspace components of the audit framework'
url='https://people.redhat.com/sgrubb/audit'
arch=(x86_64)
@ -37,13 +37,16 @@ source=(
https://github.com/linux-audit/$_name/archive/v$pkgver/$_name-v$pkgver.tar.gz
$pkgbase.tmpfiles
$pkgbase-4.0-executable_paths.patch
$pkgbase-4.0.2-flagtab_h.patch::https://github.com/linux-audit/audit-userspace/commit/6b9b74acba4db9edbab8595474d2323eb7eef51f.patch
)
sha512sums=('558b9211a5dc1062eee98aa7bcd292797f06109a8ee735da1d704bc18d97b0bee93487ef9303404016df2e08cff32d90f1dd056797ac05beaabe3cccb5db5af2'
'1750741755f58d0ae19ed2c30e136d05560dc12ec613a502bad12f47c6b70432d30b3a16f3f1574c8433ad2701428d1c1d567a4d3b55be19abac300310c831d9'
'78d0289c5ea37bf28fecf43db7d83f1f754f2ac58a70667c8d720b0e5be51afca35f86861ba1abdea4833a4be8fbcfc05801240a2493904ab8ea4d2be5ca32e7')
'78d0289c5ea37bf28fecf43db7d83f1f754f2ac58a70667c8d720b0e5be51afca35f86861ba1abdea4833a4be8fbcfc05801240a2493904ab8ea4d2be5ca32e7'
'7446b2a5c59dd51dfc15a938da4346cdf4c66e7f2ef69aa0510a0b2ed1a59856e1c1e44b40cbd5acc0b47f53f56bf79a807ff7effde2f4f43e6b25ae6467aee4')
b2sums=('27bcc020a41b13f1f0c176ebf513a756a159d0cb6368e2ece261ac507da063f513146cc82e3aa166771a3c0287ec9de01f6da72cf5fd688148b5f226c27822d1'
'549ebbbc9e43277d44d0dc5bfd8ca2926628322d898479171b2707dd004968d036ef792b442548af90ad56dea868a72c88b5cf3bb93ea70cb8bbed82747ad9b5'
'4cfeb5d47218e77d693d2645de49c9867abe10bf185b1315d526d0410e93a8c5967cdff107eefbefcd4760c6ccbdd010bd47e2ef1cb8b3970f86910f1ba50e3f')
'4cfeb5d47218e77d693d2645de49c9867abe10bf185b1315d526d0410e93a8c5967cdff107eefbefcd4760c6ccbdd010bd47e2ef1cb8b3970f86910f1ba50e3f'
'180305d05867aa481428204b67e3297d376387241b3d365862af49e525d41c2bd8f580144424a262b2751c2dd4d67da5e9012415b1f9b7d8346f4d20f25de6ed')
_pick() {
local p="$1" f d; shift
@ -59,6 +62,9 @@ prepare() {
# use /usr and /bin merge compatible paths in configs and services
patch -Np1 -d $pkgbase-userspace-$pkgver -i ../$pkgbase-4.0-executable_paths.patch
# fix weird issue with autotools and an unneeded header file: https://github.com/linux-audit/audit-userspace/issues/390
patch -Np1 -d $pkgbase-userspace-$pkgver -i ../$pkgbase-4.0.2-flagtab_h.patch
cd $_name-$pkgver
autoreconf -fiv
}

View file

@ -0,0 +1,198 @@
From 6b9b74acba4db9edbab8595474d2323eb7eef51f Mon Sep 17 00:00:00 2001
From: Steve Grubb <ausearch.1@gmail.com>
Date: Tue, 3 Sep 2024 17:46:00 -0400
Subject: [PATCH] Try to solve Issue #390
See the issue for details. Shor story is that there is some kind of
collision between the two generated flag_tabs.h file. No idea what's
causing it, but the file being deleted was only for RHEL 4 so it is
no longer needed. Deleting it should end the collision.
---
auparse/Makefile.am | 20 +++----------------
auparse/flagtab.h | 33 -------------------------------
auparse/interpret.c | 47 +--------------------------------------------
auparse/typetab.h | 2 +-
4 files changed, 5 insertions(+), 97 deletions(-)
delete mode 100644 auparse/flagtab.h
diff --git a/auparse/Makefile.am b/auparse/Makefile.am
index 28805ed4f..80a13824d 100644
--- a/auparse/Makefile.am
+++ b/auparse/Makefile.am
@@ -1,5 +1,5 @@
# Makefile.am --
-# Copyright 2006-08,2011-18 Red Hat Inc.
+# Copyright 2006-08,2011-18,2024 Red Hat Inc.
# All Rights Reserved.
#
# This library is free software; you can redistribute it and/or
@@ -56,7 +56,7 @@ message.c:
BUILT_SOURCES = accesstabs.h captabs.h clocktabs.h clone-flagtabs.h \
epoll_ctls.h famtabs.h fcntl-cmdtabs.h fsconfigs.h \
- flagtabs.h icmptypetabs.h ipctabs.h ipccmdtabs.h\
+ icmptypetabs.h ipctabs.h ipccmdtabs.h\
ioctlreqtabs.h ipoptnametabs.h ip6optnametabs.h \
mmaptabs.h mounttabs.h nfprototabs.h open-flagtabs.h \
persontabs.h prctl_opttabs.h pktoptnametabs.h \
@@ -72,7 +72,7 @@ BUILT_SOURCES = accesstabs.h captabs.h clocktabs.h clone-flagtabs.h \
noinst_PROGRAMS = gen_accesstabs_h gen_captabs_h gen_clock_h \
gen_clone-flagtabs_h \
gen_epoll_ctls_h gen_famtabs_h gen_fcntl-cmdtabs_h \
- gen_flagtabs_h gen_fsconfigs_h gen_ioctlreqtabs_h \
+ gen_fsconfigs_h gen_ioctlreqtabs_h \
gen_icmptypetabs_h gen_ipctabs_h gen_ipccmdtabs_h\
gen_ipoptnametabs_h gen_ip6optnametabs_h gen_nfprototabs_h \
gen_mmaptabs_h gen_mounttabs_h \
@@ -167,20 +167,6 @@ gen_famtabs_h$(BUILD_EXEEXT): LDFLAGS=$(LDFLAGS_FOR_BUILD)
famtabs.h: gen_famtabs_h Makefile
./gen_famtabs_h --i2s fam > $@
-gen_flagtabs_h_SOURCES = ../lib/gen_tables.c ../lib/gen_tables.h flagtab.h
-# ../auparse/ is used to avoid using ../lib/flagtab.h
-gen_flagtabs_h_CFLAGS = '-DTABLE_H="../auparse/flagtab.h"'
-$(gen_flagtabs_h_OBJECTS): CC=$(CC_FOR_BUILD)
-$(gen_flagtabs_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD)
-$(gen_flagtabs_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
-$(gen_flagtabs_h_OBJECTS): LDFLAGS=$(LDFLAGS_FOR_BUILD)
-gen_flagtabs_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD)
-gen_flagtabs_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD)
-gen_flagtabs_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
-gen_flagtabs_h$(BUILD_EXEEXT): LDFLAGS=$(LDFLAGS_FOR_BUILD)
-flagtabs.h: gen_flagtabs_h Makefile
- ./gen_flagtabs_h --i2s-transtab flag > $@
-
gen_fcntl_cmdtabs_h_SOURCES = ../lib/gen_tables.c ../lib/gen_tables.h \
fcntl-cmdtab.h
gen_fcntl_cmdtabs_h_CFLAGS = '-DTABLE_H="fcntl-cmdtab.h"'
diff --git a/auparse/flagtab.h b/auparse/flagtab.h
deleted file mode 100644
index 7e1146d61..000000000
--- a/auparse/flagtab.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/* flagtab.h --
- * Copyright 2007,2012 Red Hat Inc., Durham, North Carolina.
- * All Rights Reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * Authors:
- * Steve Grubb <sgrubb@redhat.com>
- * Location: these are only for the RHEL4 kernel
- */
-
-_S(0x0001, "follow" )
-_S(0x0002, "directory" )
-_S(0x0004, "continue" )
-_S(0x0010, "parent" )
-_S(0x0020, "noalt" )
-_S(0x0040, "atomic" )
-_S(0x0100, "open" )
-_S(0x0200, "create" )
-_S(0x0400, "access" )
-
diff --git a/auparse/interpret.c b/auparse/interpret.c
index fe372864b..dd91d524c 100644
--- a/auparse/interpret.c
+++ b/auparse/interpret.c
@@ -94,7 +94,6 @@
#include "epoll_ctls.h"
#include "famtabs.h"
#include "fcntl-cmdtabs.h"
-#include "flagtabs.h"
#include "fsconfigs.h"
#include "ipctabs.h"
#include "ipccmdtabs.h"
@@ -1369,44 +1368,6 @@ static const char *print_sockaddr(const char *val)
return out;
}
-/* This is only used in the RHEL4 kernel */
-static const char *print_flags(const char *val)
-{
- int flags, cnt = 0;
- size_t i;
- char *out, buf[sizeof(flag_strings)+FLAG_NUM_ENTRIES+1];
-
- errno = 0;
- flags = strtoul(val, NULL, 16);
- if (errno) {
- if (asprintf(&out, "conversion error(%s)", val) < 0)
- out = NULL;
- return out;
- }
- if (flags == 0) {
- if (asprintf(&out, "none") < 0)
- out = NULL;
- return out;
- }
- buf[0] = 0;
- for (i=0; i<FLAG_NUM_ENTRIES; i++) {
- if (flag_table[i].value & flags) {
- if (!cnt) {
- strcat(buf,
- flag_strings + flag_table[i].offset);
- cnt++;
- } else {
- strcat(buf, ",");
- strcat(buf,
- flag_strings + flag_table[i].offset);
- }
- }
- }
- if (buf[0] == 0)
- snprintf(buf, sizeof(buf), "0x%s", val);
- return strdup(buf);
-}
-
static const char *print_promiscuous(const char *val)
{
int ival;
@@ -3228,10 +3189,7 @@ int auparse_interp_adjust_type(int rtype, const char *name, const char *val)
type = AUPARSE_TYPE_ESCAPED;
else
type = AUPARSE_TYPE_UNCLASSIFIED;
- } else if (rtype == AUDIT_PATH && *name =='f' &&
- strcmp(name, "flags") == 0)
- type = AUPARSE_TYPE_FLAGS;
- else if (rtype == AUDIT_MQ_OPEN && strcmp(name, "mode") == 0)
+ } else if (rtype == AUDIT_MQ_OPEN && strcmp(name, "mode") == 0)
type = AUPARSE_TYPE_MODE_SHORT;
else if (rtype == AUDIT_CRYPTO_KEY_USER && strcmp(name, "fp") == 0)
type = AUPARSE_TYPE_UNCLASSIFIED;
@@ -3330,9 +3288,6 @@ char *auparse_do_interpretation(int type, const idata *id,
case AUPARSE_TYPE_SOCKADDR:
out = print_sockaddr(id->val);
break;
- case AUPARSE_TYPE_FLAGS:
- out = print_flags(id->val);
- break;
case AUPARSE_TYPE_PROMISC:
out = print_promiscuous(id->val);
break;
diff --git a/auparse/typetab.h b/auparse/typetab.h
index b944f6e75..34a74b089 100644
--- a/auparse/typetab.h
+++ b/auparse/typetab.h
@@ -73,7 +73,7 @@ _S(AUPARSE_TYPE_PERM, "perm" )
_S(AUPARSE_TYPE_PERM, "perm_mask" )
_S(AUPARSE_TYPE_MODE, "mode" )
_S(AUPARSE_TYPE_SOCKADDR, "saddr" )
-//_S(AUPARSE_TYPE_FLAGS, "flags" )
+//_S(AUPARSE_TYPE_FLAGS, "flags" ) deprecated - RHEL4
_S(AUPARSE_TYPE_PROMISC, "prom" )
_S(AUPARSE_TYPE_PROMISC, "old_prom" )
_S(AUPARSE_TYPE_CAPABILITY, "capability" )

View file

@ -4,4 +4,3 @@ autoconf
automake
apparmor

View file

@ -6,22 +6,25 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=expat
pkgver=2.6.2
pkgrel=01
pkgver=2.6.3
pkgrel=02
pkgdesc='An XML parser library'
url="https://libexpat.github.io/"
_url="https://github.com/libexpat/libexpat"
depends=(glibc filesystem)
makedepends=(cmake )
makedepends=(cmake git)
provides=(libexpat.so)
# options=(debug) # uncomment if you want developers' debug pkg created
source=(https://github.com/libexpat/libexpat/releases/download/R_${pkgver//./_}/$pkgname-$pkgver.tar.bz2{,.asc})
#source=(https://github.com/libexpat/libexpat/releases/download/R_${pkgver//./_}/$pkgname-$pkgver.tar.bz2{,.asc})
source=($pkgname::git+$_url?signed=R_${pkgver//./_})
source=($pkgname::git+$_url?signed#tag=R_${pkgver//./_})
build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
-W no-dev \
-B build \
-S $pkgname-$pkgver
-S $pkgname/$pkgname
make VERBOSE=1 -C build
}
@ -32,8 +35,9 @@ check() {
package() {
DESTDIR="$pkgdir" cmake --install build
install -vDm 644 $pkgname-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
install -vDm 644 $pkgname-$pkgver/{AUTHORS,Changes,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
install -vDm 644 $pkgname/$pkgname/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
install -vDm 644 $pkgname/$pkgname/{AUTHORS,Changes,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
}
#---- arch license gpg-key & sha256sums ----
@ -43,9 +47,9 @@ arch=(x86_64)
license=(MIT)
validpgpkeys=(3176EF7DB2367F1FCA4F306B1F9B0E909AF37285) # Sebastian Pipping
sha512sums=('d4845acf87f1b14a5bedeac8effbc4d292f7a1fafa28ea3159f74ccaeef19af3ad48a0398367c2a6e45b9a151c3c3f59b462922d5a615846ab11b9a144b09e91')
b2sums=('57bb71f8ad2211127281d22ffebdb1cb1b023081eb83eca2843c9e6b99d3ad4570cc885889a9d80c90c4a8e9c8d5331c04b4f61e711bb0546cb4234636255106')
sha256sums=(a4039c739df7bfdc1f95b3793d0dcd9f40f054a95f52cd4ec58a374d4c6f488a) # expat
sha256sums=(9c7c1b5dcbc3c237c500a8fb1493e14d9582146dd9b42aa8d3ffb856a3b927e0 # expat-2.6.2.tar.bz2
ebedb658c5663588f34729634f0729932d73c10ae6d758149cec2eef993d6dfb) # expat-2.6.2.tar.bz2.asc
## 484e832ce365226b014b9920bf7b6e443e51ca6161cbd87ac77a57c130ecc486 expat-2.6.2-01-x86_64.pkg.tar.lz
## aef154161c8b92ee8ab438ed6d04acab2b424629b7e96087b801195d6fbe3dfe expat-2.6.3-02-x86_64.pkg.tar.lz

View file

@ -4,20 +4,22 @@
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=expat
pkgver=2.6.2
pkgrel=1
pkgver=2.6.3
pkgrel=2
pkgdesc="An XML parser library"
arch=(x86_64)
url="https://libexpat.github.io/"
_url="https://github.com/libexpat/libexpat"
license=(MIT)
depends=(glibc)
makedepends=(cmake)
makedepends=(
cmake
git
)
provides=(libexpat.so)
source=(https://github.com/libexpat/libexpat/releases/download/R_${pkgver//./_}/$pkgname-$pkgver.tar.bz2{,.asc})
sha512sums=('15811413e92a632272188781cc3f2a9e52ed62f6edfad9b2eeeca0946e53132b6c9ca6dc460eda766d6a4e68e5920128335d705f9556b5aa3f77593658780470'
'SKIP')
b2sums=('9b518cf768e53b177fd933d37686a76c4a1bd1e2829cf414f8f9c054901f61d6445232eb4d4502e888507efa12a48d8ace206fbabac5d2ca5365f0437e971fd8'
'SKIP')
source=($pkgname::git+$_url?signed#tag=R_${pkgver//./_})
sha512sums=('d4845acf87f1b14a5bedeac8effbc4d292f7a1fafa28ea3159f74ccaeef19af3ad48a0398367c2a6e45b9a151c3c3f59b462922d5a615846ab11b9a144b09e91')
b2sums=('57bb71f8ad2211127281d22ffebdb1cb1b023081eb83eca2843c9e6b99d3ad4570cc885889a9d80c90c4a8e9c8d5331c04b4f61e711bb0546cb4234636255106')
validpgpkeys=(3176EF7DB2367F1FCA4F306B1F9B0E909AF37285) # Sebastian Pipping
build() {
@ -25,7 +27,7 @@ build() {
-B build
-D CMAKE_BUILD_TYPE=None
-D CMAKE_INSTALL_PREFIX=/usr
-S $pkgname-$pkgver
-S $pkgname/$pkgname
-W no-dev
)
@ -39,6 +41,6 @@ check() {
package() {
DESTDIR="$pkgdir" cmake --install build
install -vDm 644 $pkgname-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
install -vDm 644 $pkgname-$pkgver/{AUTHORS,Changes,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
install -vDm 644 $pkgname/$pkgname/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
install -vDm 644 $pkgname/$pkgname/{AUTHORS,Changes,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
}

View file

@ -1 +1 @@
rm -rf {pkg,src,*bz2*}
rm -rf {pkg,src,ex*bz2*,expat}

View file

@ -1,3 +1,3 @@
cmake
git

View file

@ -7,13 +7,14 @@
pkgname=ldns
pkgver=1.8.3
pkgrel=02
pkgrel=03
pkgdesc='Fast DNS library supporting recent RFCs'
url='https://www.nlnetlabs.nl/projects/ldns/'
arch=('x86_64')
depends=('openssl' 'dnssec-anchors')
optdepends=('libpcap: ldns-dpa tool')
makedepends=('libpcap')
provides=('drill' 'libldns.so')
source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc})
build() {
@ -45,4 +46,5 @@ validpgpkeys=('DC34EE5DB2417BCC151E5100E5F8F8212F77A498') # Willem Toorop
sha256sums=(c3f72dd1036b2907e3a56e6acf9dfb2e551256b3c1bbd9787942deeeb70e7860 # ldns-1.8.3.tar.gz
b872fb26a76591af93a73c0dda6532d5dc4c236fec05512f81e81cb2687ef65f) # ldns-1.8.3.tar.gz.asc
## b3d04be668680ab65fcb4879a6305c5eb505205982d01a8955471fda90593605 ldns-1.8.3-03-x86_64.pkg.tar.lz

View file

@ -4,12 +4,13 @@
pkgname=ldns
pkgver=1.8.3
pkgrel=2
pkgrel=3
pkgdesc='Fast DNS library supporting recent RFCs'
url='https://www.nlnetlabs.nl/projects/ldns/'
license=('custom:BSD')
arch=('x86_64')
depends=('openssl' 'dnssec-anchors')
provides=('drill' 'libldns.so')
optdepends=('libpcap: ldns-dpa tool')
makedepends=('libpcap')
source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc})

View file

@ -1,3 +1,2 @@
dnssec-anchors