mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Update to 8.0.4.
** HEADS UP! ** This major version up includes configuration file format change. Please convert your conserver.cf before using new vewsion. And $USE_RC_SUBR is used in this port. You need to set conserver_enable="YES" to your /etc/rc.conf to use conserver daemon.
This commit is contained in:
parent
5bc48ebfaa
commit
1ac94e519a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92118
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= conserver
|
||||
PORTVERSION= 7.2.7
|
||||
PORTVERSION= 8.0.4
|
||||
CATEGORIES= comms
|
||||
MASTER_SITES= ftp://ftp.conserver.com/conserver/
|
||||
PKGNAMESUFFIX= -com
|
||||
@ -15,9 +15,9 @@ MAINTAINER= kuriyama@FreeBSD.org
|
||||
COMMENT= Application that allows multiple users to watch serial consoles
|
||||
|
||||
GNU_CONFIGURE= YES
|
||||
USE_REINPLACE= yes
|
||||
CONFIGURE_ARGS= --with-master=${DEFAULTHOST} --with-port=${DEFAULTPORT} \
|
||||
--with-libwrap
|
||||
USE_RC_SUBR= yes
|
||||
|
||||
MAN1= console.1
|
||||
MAN5= conserver.cf.5 conserver.passwd.5
|
||||
@ -26,15 +26,13 @@ MAN8= conserver.8
|
||||
DEFAULTPORT?= 782
|
||||
DEFAULTHOST?= localhost
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
SED_SCRIPT= -e 's,%%PREFIX%%,${PREFIX},g' \
|
||||
-e 's,%%RC_SUBR%%,${RC_SUBR},g'
|
||||
|
||||
.if ${ARCH} != "i386"
|
||||
CONFIGURE_ARGS+=--with-64bit
|
||||
.endif
|
||||
post-build:
|
||||
${SED} ${SED_SCRIPT} ${FILESDIR}/conserver.sh >${WRKDIR}/conserver.sh
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} \
|
||||
-e 's@/usr/local/bin@${PREFIX}/sbin@' \
|
||||
${WRKSRC}/conserver/conserver.rc.in
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/conserver.sh ${PREFIX}/etc/rc.d/conserver.sh
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (conserver-7.2.7.tar.gz) = ff22779c9cc53406e948204109879820
|
||||
MD5 (conserver-8.0.4.tar.gz) = 262483c609bc1f534a1590aead1b3479
|
||||
|
24
comms/conserver-com/files/conserver.sh
Normal file
24
comms/conserver-com/files/conserver.sh
Normal file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: conserver
|
||||
# KEYWORD: FreeBSD
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=conserver
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
command=%%PREFIX%%/sbin/conserver
|
||||
pidfile=/var/run/conserver.pid
|
||||
required_files=%%PREFIX%%/etc/conserver.cf
|
||||
|
||||
# set defaults
|
||||
[ -z "$conserver_enable" ] && conserver_enable=NO
|
||||
[ -z "$conserver_flags" ] && conserver_flags="-d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
run_rc_command "$1"
|
@ -1,10 +0,0 @@
|
||||
--- conserver/Makefile.in.orig Sun Aug 24 23:09:39 2003
|
||||
+++ conserver/Makefile.in Sun Aug 24 23:09:51 2003
|
||||
@@ -54,6 +54,6 @@
|
||||
$(MKDIR) $(DESTDIR)$(mandir)/man8
|
||||
$(INSTALL) conserver.man $(DESTDIR)$(mandir)/man8/conserver.8
|
||||
$(MKDIR) $(DESTDIR)$(sysconfdir)
|
||||
- [ -f $(DESTDIR)$(sysconfdir)/conserver.rc ] || $(INSTALL) conserver.rc $(DESTDIR)$(sysconfdir)
|
||||
+ [ -f $(DESTDIR)$(sysconfdir)/conserver.rc ] || $(INSTALL) conserver.rc $(DESTDIR)$(sysconfdir)/rc.d/conserver.sh
|
||||
|
||||
.PHONY: clean distclean install
|
@ -1,3 +1,7 @@
|
||||
sbin/conserver
|
||||
etc/rc.d/conserver.sh
|
||||
bin/console
|
||||
etc/rc.d/conserver.sh
|
||||
%%EXAMPLESDIR%%/conserver.cf
|
||||
%%EXAMPLESDIR%%/conserver.passwd
|
||||
%%EXAMPLESDIR%%/conserver.rc
|
||||
sbin/conserver
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user