3da3d78940
- added "experimental" support for delayed encryption (option -nN) - add tlswrapper-smtp (STARTTLS support for old inetd-style SMTP servers)
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2022/01/15 19:04:24 schmonz Exp $
|
|
|
|
GITHUB_PROJECT= tlswrapper
|
|
GITHUB_TAG= 20220114
|
|
DISTNAME= ${GITHUB_PROJECT}
|
|
PKGNAME= ${GITHUB_PROJECT}-${GITHUB_TAG}
|
|
CATEGORIES= security net
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=janmojzis/}
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= https://github.com/janmojzis/tlswrapper/
|
|
COMMENT= UCSPI/inetd-style TLS encryption wrapper
|
|
#LICENSE= # TODO: (see mk/license.mk)
|
|
|
|
TEST_TARGET= test
|
|
|
|
BUILD_DEFS+= VARBASE TLSWRAPPER_CHROOT
|
|
OWN_DIRS+= ${TLSWRAPPER_CHROOT}
|
|
MAKE_ENV+= EMPTYDIR=${TLSWRAPPER_CHROOT:Q}
|
|
|
|
LDFLAGS.SunOS+= -lsocket
|
|
|
|
INSTALLATION_DIRS= bin man/man1 share/examples/${PKGBASE}
|
|
|
|
do-install:
|
|
cd ${WRKSRC}; \
|
|
${INSTALL_DATA} examples.md \
|
|
${DESTDIR}${PREFIX}/share/examples/${PKGBASE}; \
|
|
for i in tlswrapper tlswrapper-smtp tlswrapper-tcp; do \
|
|
${INSTALL_PROGRAM} $${i} \
|
|
${DESTDIR}${PREFIX}/bin; \
|
|
${INSTALL_MAN} man/$${i}.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \
|
|
done
|
|
|
|
.include "../../security/bearssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|