ldns: add license.

This commit is contained in:
Leah Neukirchen 2017-07-11 20:17:57 +02:00
parent b845ecafe4
commit 7e6fdef076

View file

@ -1,7 +1,7 @@
# Template file for 'ldns' # Template file for 'ldns'
pkgname=ldns pkgname=ldns
version=1.7.0 version=1.7.0
revision=3 revision=4
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-drill --with-examples --disable-dane-ta-usage configure_args="--with-drill --with-examples --disable-dane-ta-usage
--with-trust-anchor=/etc/dns/root.key --with-trust-anchor=/etc/dns/root.key
@ -9,7 +9,7 @@ configure_args="--with-drill --with-examples --disable-dane-ta-usage
hostmakedepends="perl" hostmakedepends="perl"
makedepends="libpcap-devel libressl-devel dnssec-anchors" makedepends="libpcap-devel libressl-devel dnssec-anchors"
short_desc="Modern DNS/DNSSEC library -- utils" short_desc="Modern DNS/DNSSEC library -- utils"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD" license="BSD"
homepage="http://www.nlnetlabs.nl/projects/ldns/" homepage="http://www.nlnetlabs.nl/projects/ldns/"
distfiles="http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${version}.tar.gz" distfiles="http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${version}.tar.gz"
@ -20,9 +20,8 @@ post_extract() {
} }
post_install() { post_install() {
sed -i -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" ${DESTDIR}/usr/bin/ldns-config sed -i -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" ${DESTDIR}/usr/bin/ldns-config
vlicense LICENSE
} }
libldns_package() { libldns_package() {
depends="dnssec-anchors" depends="dnssec-anchors"
short_desc="Modern DNS/DNSSEC library" short_desc="Modern DNS/DNSSEC library"
@ -30,7 +29,6 @@ libldns_package() {
vmove "usr/lib/*.so.*" vmove "usr/lib/*.so.*"
} }
} }
libldns-devel_package() { libldns-devel_package() {
depends="libldns>=${version}_${revision}" depends="libldns>=${version}_${revision}"
short_desc="Modern DNS/DNSSEC library -- development files" short_desc="Modern DNS/DNSSEC library -- development files"