Skip to content

Commit

Permalink
couriertcpd: remove couriertls
Browse files Browse the repository at this point in the history
The code does not compile against current version of neither openssl
nor gnutls.

Bump PKGREVISION.
  • Loading branch information
0-wiz-0 committed Sep 26, 2019
1 parent 5034467 commit 438ee00
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 29 deletions.
3 changes: 1 addition & 2 deletions net/couriertcpd/DESCR
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
This package contains couriertcpd(1), used to daemonize the Courier
services, and couriertls(1) used to provide TLS support for the Courier
services that support them.
services.
13 changes: 3 additions & 10 deletions net/couriertcpd/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.29 2019/07/20 22:46:37 wiz Exp $
# $NetBSD: Makefile,v 1.30 2019/09/26 11:36:55 wiz Exp $

DISTNAME= courier-${COURIER_VERSION}
PKGNAME= ${DISTNAME:S/-/tcpd-/}
PKGREVISION= 8
PKGREVISION= 9
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
EXTRACT_SUFX= .tar.bz2
Expand All @@ -13,7 +13,7 @@ HOMEPAGE= http://www.courier-mta.org/

CONFLICTS= courier-imap<4.1.1

USE_TOOLS+= gmake
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES= c c++

.include "options.mk"
Expand Down Expand Up @@ -55,11 +55,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/tcpd/couriertcpd.html \
${DESTDIR}${DOCDIR}/couriertcpd.html

${INSTALL_PROGRAM} ${WRKSRC}/tcpd/couriertls \
${DESTDIR}${PREFIX}/bin/couriertls
${INSTALL_MAN} ${WRKSRC}/tcpd/couriertls.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/couriertls.1
${INSTALL_DATA} ${WRKSRC}/tcpd/couriertls.html \
${DESTDIR}${DOCDIR}/couriertls.html

.include "../../mk/bsd.pkg.mk"
5 changes: 1 addition & 4 deletions net/couriertcpd/PLIST
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2006/06/26 05:21:17 jlam Exp $
bin/couriertls
@comment $NetBSD: PLIST,v 1.3 2019/09/26 11:36:55 wiz Exp $
man/man1/couriertcpd.1
man/man1/couriertls.1
sbin/couriertcpd
share/doc/courier/couriertcpd.html
share/doc/courier/couriertls.html
15 changes: 2 additions & 13 deletions net/couriertcpd/options.mk
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
# $NetBSD: options.mk,v 1.2 2008/02/21 15:50:29 jlam Exp $
# $NetBSD: options.mk,v 1.3 2019/09/26 11:36:55 wiz Exp $

PKG_OPTIONS_VAR= PKG_OPTIONS.couriertcpd
PKG_SUPPORTED_OPTIONS= courier-gnutls inet6
PKG_SUPPORTED_OPTIONS= inet6
PKG_SUGGESTED_OPTIONS= inet6

.include "../../mk/bsd.options.mk"

###
### Support using GNU TLS as the underlying crypto library; otherwise,
### default to using OpenSSL.
###
.if !empty(PKG_OPTIONS:Mcourier-gnutls)
. include "../../security/gnutls/buildlink3.mk"
CONFIGURE_ARGS+= --with-gnutls
.else
. include "../../security/openssl/buildlink3.mk"
.endif

###
### IPv6 support.
###
Expand Down

0 comments on commit 438ee00

Please sign in to comment.