mail/akpop3d: unbreak port, un-expire

While here, default-enable SSL option.

PR:		241776
Submitted by:	takefu@airport.fm
MFH:		2020Q2 (blanket, fixing BROKEN= port)
This commit is contained in:
Matthias Andree 2020-05-02 17:45:45 +00:00
parent e0f2f99415
commit 421f9604e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533697
2 changed files with 28 additions and 6 deletions

View file

@ -4,15 +4,11 @@
PORTNAME= akpop3d
PORTVERSION= 0.7.7
CATEGORIES= mail
MASTER_SITES= http://www.synflood.at/akpop3d/
MASTER_SITES= https://synflood.at/akpop3d/
MAINTAINER= ports@FreeBSD.org
COMMENT= POP3 daemon aimed to be small and secure
BROKEN= unfetchable
DEPRECATED= Broken for more than 6 months
EXPIRATION_DATE= 2020-05-05
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
@ -21,13 +17,19 @@ GNU_CONFIGURE= yes
PLIST_FILES= bin/akpop3d man/man8/akpop3d.8.gz
OPTIONS_DEFINE= SSL
OPTIONS_DEFINE= SSL
OPTIONS_DEFAULT= SSL
SSL_USES= ssl
SSL_CONFIGURE_WITH= openssl=${OPENSSLBASE}
SSL_CPPFLAGS= -I${OPENSSLBASE}/include
SSL_LDFLAGS= -L${OPENSSLBASE}/lib
USE_RC_SUBR= akpop3d
pre-patch:
@${REINPLACE_CMD} -e "s,STRLCPY_h,STRLCPY_H," ${WRKSRC}/strlcpy.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/akpop3d ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/akpop3d.8 ${STAGEDIR}${MANPREFIX}/man/man8

View file

@ -0,0 +1,20 @@
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: akpop3d
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
name=akpop3d
rcvar=akpop3d_enable
command="%%PREFIX%%/bin/${name}"
command_args="-d -l0"
pidfile="/var/run/${name}.pid"
load_rc_config $name
run_rc_command "$1"