mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Convert security/libsodium to USES=libtool and bump dependent ports
- Run "make check" from regression-test target - dns/curvedns: white space fixes
This commit is contained in:
parent
29294a05c4
commit
f9f95f0c52
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361088
@ -1,14 +1,19 @@
|
||||
# Created by: Leo Vandewoestijne <freebsd@dns-lab.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= curvedns
|
||||
PORTVERSION= 0.88.b
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= dns
|
||||
DISTNAME= curvedns-0.88-unstable
|
||||
PORTNAME= curvedns
|
||||
PORTVERSION= 0.88.b
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= dns
|
||||
DISTNAME= curvedns-0.88-unstable
|
||||
|
||||
MAINTAINER= vsevolod@FreeBSD.org
|
||||
COMMENT= Forwarder adding DNSCurve to an authoritative nameserver
|
||||
COMMENT= Forwarder adding DNSCurve to an authoritative nameserver
|
||||
|
||||
LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev \
|
||||
libsodium.so:${PORTSDIR}/security/libsodium
|
||||
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools
|
||||
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= vstakhov
|
||||
@ -17,22 +22,15 @@ GH_COMMIT= a88e27e
|
||||
|
||||
ALL_TARGET= targets
|
||||
|
||||
LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev \
|
||||
libsodium.so:${PORTSDIR}/security/libsodium
|
||||
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools
|
||||
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
USERS= bind
|
||||
GROUPS= bind
|
||||
CURVE_UID= 53
|
||||
CURVE_GID= 53
|
||||
USERS= bind
|
||||
GROUPS= bind
|
||||
CURVE_UID= 53
|
||||
CURVE_GID= 53
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/curvedns ${WRKSRC}/curvedns-keygen ${STAGEDIR}${PREFIX}/bin/
|
||||
@ -43,4 +41,4 @@ do-install:
|
||||
${ECHO_CMD} ${CURVE_GID} > ${STAGEDIR}${PREFIX}/etc/curvedns/env/GID
|
||||
${CHMOD} 0700 ${STAGEDIR}${PREFIX}/etc/curvedns/env
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= dnscrypt-proxy
|
||||
PORTVERSION= 1.4.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= http://download.dnscrypt.org/dnscrypt-proxy/ \
|
||||
http://www.dns-lab.com/downloads/dnscrypt-proxy/
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= toxcore
|
||||
PORTVERSION= 0.140630
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-im net-p2p
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= libzmq4
|
||||
PORTVERSION= 4.0.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://download.zeromq.org/
|
||||
DISTNAME= zeromq-${DISTVERSION}
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= libsodium
|
||||
PORTVERSION= 0.4.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://download.dnscrypt.org/libsodium/releases/
|
||||
|
||||
@ -11,22 +12,19 @@ COMMENT= Library to build higher-level cryptographic tools
|
||||
LICENSE= ISCL
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= libtool pathfix pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
USES= pkgconfig
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PORTDOCS= AUTHORS README.markdown THANKS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC} && ${MAKE} check
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
regression-test: build
|
||||
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
|
||||
${MAKEFILE} ${MAKE_ARGS} check)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -51,8 +51,8 @@ include/sodium/randombytes_sysrandom.h
|
||||
include/sodium/utils.h
|
||||
include/sodium/version.h
|
||||
lib/libsodium.a
|
||||
lib/libsodium.la
|
||||
lib/libsodium.so
|
||||
lib/libsodium.so.9
|
||||
lib/libsodium.so.4
|
||||
lib/libsodium.so.4.5.0
|
||||
libdata/pkgconfig/libsodium.pc
|
||||
@dirrmtry include/sodium
|
||||
|
Loading…
Reference in New Issue
Block a user