aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 20:42:18 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 20:42:18 +0000
commitcb66802470a35292debe07d10ec63710a9929273 (patch)
tree67e2a479b6837367fcdd7ba80e5201bca445c0d3
parentcdbfe1f9a743d32f0da08be17dee6e61a86f8e2c (diff)
downloadports-cb66802470a35292debe07d10ec63710a9929273.tar.gz
ports-cb66802470a35292debe07d10ec63710a9929273.zip
Notes
-rw-r--r--irc/ptlink-ircd/Makefile20
-rw-r--r--irc/ptlink-ircd/distinfo6
-rw-r--r--irc/ptlink-ircd/files/pkg-message.in2
-rw-r--r--irc/ptlink-ircd/files/ptlink-ircd.sh.in2
-rw-r--r--irc/ptlink-ircd/pkg-plist1
5 files changed, 19 insertions, 12 deletions
diff --git a/irc/ptlink-ircd/Makefile b/irc/ptlink-ircd/Makefile
index c004f7449d76..284e9b3339b6 100644
--- a/irc/ptlink-ircd/Makefile
+++ b/irc/ptlink-ircd/Makefile
@@ -6,14 +6,13 @@
#
PORTNAME= IRCd
-PORTVERSION= 6.19.4
-PORTREVISION= 1
+PORTVERSION= 6.19.6
CATEGORIES= irc
MASTER_SITES= ftp://ftp.sunsite.dk/projects/ptlink/ircd/
PKGNAMEPREFIX= PTlink-
DISTNAME= PTlink${PORTVERSION}
-MAINTAINER= dennis@rootxs.org
+MAINTAINER= freebsd@rootxs.org
COMMENT= PTlink IRC daemon
GNU_CONFIGURE= yes
@@ -23,14 +22,21 @@ USE_RC_SUBR= ptlink-ircd.sh
SUB_FILES= pkg-message
SYSCONFDIR= ${PREFIX}/etc/ptlink-ircd
-LOGDIR= ${PREFIX}/var/log
-CONFIGURE_ARGS= --sysconfdir=${SYSCONFDIR} --with-pidfile=${SYSCONFDIR}/ircd.pid
+CONFIGURE_ARGS= --sysconfdir=${SYSCONFDIR} --localstatedir=/var \
+ --with-pidfile=/var/run/ircd.pid
+
+OPTIONS= OPENSSL "Build with OpenSSL" Off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_OPENSSL)
+CONFIGURE_ARGS+=--with-ssl=openssl
+.endif
post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CHOWN} -R ircd:ircd ${SYSCONFDIR}
- @${CHOWN} -R ircd:ircd ${LOGDIR}
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/irc/ptlink-ircd/distinfo b/irc/ptlink-ircd/distinfo
index a77c988e61db..d86e0e69370b 100644
--- a/irc/ptlink-ircd/distinfo
+++ b/irc/ptlink-ircd/distinfo
@@ -1,3 +1,3 @@
-MD5 (PTlink6.19.4.tar.gz) = e7c1ac8e0f6eb5486378b84d3949cc2b
-SHA256 (PTlink6.19.4.tar.gz) = 0011a0ec7fcf59e40456a967fbdf1a69fcfa281139ed06b4cc3ec69e3a9dfa42
-SIZE (PTlink6.19.4.tar.gz) = 786808
+MD5 (PTlink6.19.6.tar.gz) = d585bd03ec0cce559de466abe1a3dcc3
+SHA256 (PTlink6.19.6.tar.gz) = 80a9100b0f0c41c914dda6c576207721fa05bb4a0ccf77c6337d6740d1ce0131
+SIZE (PTlink6.19.6.tar.gz) = 799388
diff --git a/irc/ptlink-ircd/files/pkg-message.in b/irc/ptlink-ircd/files/pkg-message.in
index e01995cb4b31..38b7c6a4286f 100644
--- a/irc/ptlink-ircd/files/pkg-message.in
+++ b/irc/ptlink-ircd/files/pkg-message.in
@@ -6,6 +6,6 @@ Edit the configuration files in %%PREFIX%%/etc/ptlink-ircd to suit
your needs.
Add ircd_enable="YES" to rc.conf and start ircd by running:
-%%PREFIX%%/ptlink-ircd.sh start
+%%PREFIX%%/etc/rc.d/ptlink-ircd start
======================================================================
diff --git a/irc/ptlink-ircd/files/ptlink-ircd.sh.in b/irc/ptlink-ircd/files/ptlink-ircd.sh.in
index 559993d15ae7..8c7898b548f7 100644
--- a/irc/ptlink-ircd/files/ptlink-ircd.sh.in
+++ b/irc/ptlink-ircd/files/ptlink-ircd.sh.in
@@ -18,7 +18,7 @@ ircd_user=${ircd_user-"ircd"}
name="ircd"
rcvar=`set_rcvar`
-pidfile="%%PREFIX%%/etc/ptlink-ircd/ircd.pid"
+pidfile="/var/run/ircd.pid"
command="%%PREFIX%%/bin/ircd"
load_rc_config "$name"
diff --git a/irc/ptlink-ircd/pkg-plist b/irc/ptlink-ircd/pkg-plist
index 147f32ab8210..d0475b0433e6 100644
--- a/irc/ptlink-ircd/pkg-plist
+++ b/irc/ptlink-ircd/pkg-plist
@@ -16,6 +16,7 @@ etc/ptlink-ircd/codepage/translit.cp
etc/ptlink-ircd/help.admin
etc/ptlink-ircd/help.oper
etc/ptlink-ircd/help.user
+etc/ptlink-ircd/hvc.font
etc/ptlink-ircd/ircd.conf
etc/ptlink-ircd/ircd.motd
etc/ptlink-ircd/kline.conf