1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/irc/ircd-hybrid/Makefile
Diane Bruce 61d8d7f968 Update to 8.2.13 and fix as per robertames@hotmail.com PR
#######################################################################
Reminder for package maintainers of ircd-hybrid: ircd-hybrid now has
GnuTLS support as of version 8.2.13
#######################################################################

Bug report from robertames@hotmail.com

When shutting down ircd-hybrid, a confusing error is displayed
stating the pid file does not exist:

# /usr/local/etc/rc.d/ircd-hybrid stop
Stopping ircd_hybrid.
Waiting for PIDS: 14504.
rm: /var/run/ircd/ircd.pid: No such file or directory

This is because after ircd correctly cleans up it's pid file, the
rc script tries to delete the non existing file.  In the rc script,
stop_postcmd is not needed.

PR:		ports/224977
Submitted by:	robertames@hotmail.com
2018-01-10 19:28:04 +00:00

51 lines
1.1 KiB
Makefile

# Created by: David Taylor <davidt@yadt.co.uk>
# $FreeBSD$
PORTNAME= ircd-hybrid
PORTVERSION= 8.2.22
CATEGORIES= irc ipv6
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= db@FreeBSD.org
COMMENT= Fast irc daemon with a number of new features
LICENSE= GPLv2
INSTALL_IGNORES= ircu-* ircd-rat* charby*
# :keepla because port uses lt_dlopen
USES= cpe gmake libtool:keepla tar:tgz
GNU_CONFIGURE= yes
USERS= ircd
GROUPS= ${USERS}
USE_RC_SUBR= ircd-hybrid
SUB_FILES= pkg-message
PLIST_SUB= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= OPENSSL HALFOPS ASSERT
OPTIONS_DEFAULT=OPENSSL
ASSERT_CONFIGURE_ENABLE= assert
ASSERT_DESC= Enable parts of the debugging code
HALFOPS_CONFIGURE_ENABLE= halfops
HALFOPS_DESC= Enable halfops on the server
OPENSSL_DESC= Enable openssl - allows use of CHALLENGE and encrypted links
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENSSL}
USES += ssl
CONFIGURE_ARGS+= --enable-openssl=${OPENSSLBASE}
.endif
CONFIGURE_ARGS+= \
--sysconfdir=${PREFIX}/etc/ircd-hybrid \
--datarootdir=${PREFIX}/share/${PORTNAME}-${PORTVERSION} \
--localstatedir=/var
.include <bsd.port.mk>