Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2019 17:35:21 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518856 - in head/comms/qico: . files
Message-ID:  <201912021735.xB2HZLbR060011@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eugen
Date: Mon Dec  2 17:35:21 2019
New Revision: 518856
URL: https://svnweb.freebsd.org/changeset/ports/518856

Log:
  comms/qico: update to 0.59.1
  
  Multiple changes including:
  
  - supports BinkP;
  - switch to Github;
  - pass maintainership to submitter;
  - add LICENSE;
  - configuration files moved to ${PREFIX}/etc/fido;
  - etc.
  
  Submitted by:	Sergey Anohin <admin@5034.ru> (based on)

Deleted:
  head/comms/qico/files/
Modified:
  head/comms/qico/Makefile
  head/comms/qico/distinfo
  head/comms/qico/pkg-descr
  head/comms/qico/pkg-plist

Modified: head/comms/qico/Makefile
==============================================================================
--- head/comms/qico/Makefile	Mon Dec  2 17:03:18 2019	(r518855)
+++ head/comms/qico/Makefile	Mon Dec  2 17:35:21 2019	(r518856)
@@ -2,41 +2,88 @@
 # $FreeBSD$
 
 PORTNAME=	qico
-PORTVERSION=	0.49.10.3
+PORTVERSION=	0.59.1
 CATEGORIES=	comms
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-0.49.10-p3
-DISTNAME=	${PORTNAME}-0.49.10-p3
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	admin@5034.ru
 COMMENT=	FidoNet Technology Network (FTN) compatible mailer for Unix systems
 
-USES=	tar:bzip2
+LICENSE=	BSD4CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		autoreconf
+USE_GITHUB=	yes
+GH_ACCOUNT=	kosfango
+GH_PROJECT=	qico
+GH_TAGNAME=	15673bf
+
 GNU_CONFIGURE=	yes
 
-.if defined(WITH_QICO_AMIGA4D)
-CONFIGURE_ARGS+=	--enable-aso
+CONFDIR?=	${PREFIX}/etc/fido/qico
+QBASEDIR?=	/var/spool/fido/qico
+QLOGDIR?=	/var/log/fido/qico
+PLIST_SUB=	QBASEDIR=${QBASEDIR} QLOGDIR=${QLOGDIR}
+
+.if defined(WITH_OPENLOCK)
+CONFIGURE_ARGS+=	--with-lock-style=open
 .endif
+CONFIGURE_ARGS+=	--with-config=${CONFDIR}/qico.conf \
+			--with-default-speed=115200
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 
-.if defined(WITH_QICO_MORDA)
-PLIST_SUB+=	WITH_QICO_MORDA=""
+DOCS=		Changes FAQ README
+EXAMPLES=	koi8r_866.cp onchat qhistory qico.xpm qlinks sfreq \
+		stat.run synctime test.pl tossing
+
+MANS=		qcc.8 qctl.8 qico.8
+OPTIONS_DEFINE=	QCC PERL HYDRA
+QCC_DESC=	Build Qico control center (qcc)
+PERL_DESC=	Enable Perl-hooks support
+HYDRA_DESC=	Enable Hydra 4K/8K/16K protocol extensions
+OPTIONS_DEFAULT=	PERL QCC
+
+.include <bsd.port.options.mk>
+
+.if !${PORT_OPTIONS:MQCC}
+CONFIGURE_ARGS+=--disable-qcc
+PLIST_SUB+=	QCC="@comment "
 .else
-CONFIGURE_ARGS+=	--disable-qcc
-PLIST_SUB+=	WITH_QICO_MORDA="@comment "
+PLIST_SUB+=	QCC=""
 .endif
 
-OPTIONS_DEFINE=	DOCS
+.if ${PORT_OPTIONS:MPERL}
+CONFIGURE_ARGS+=--enable-perl
+USES+=		perl5
+.endif
 
-.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MHYDRA}
+CONFIGURE_ARGS+=--enable-hydra8k
+.endif
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/qico.conf.sample ${STAGEDIR}${PREFIX}/etc/
-	${INSTALL_PROGRAM} ${WRKSRC}/src/qico ${STAGEDIR}${PREFIX}/libexec/
-.if defined(WITH_QICO_MORDA)
+.for i in ${QLOGDIR} ${QBASEDIR}/fbox ${QBASEDIR}/inbound/unknown \
+		${QBASEDIR}/outbound ${QBASEDIR}/qstoutb
+	${MKDIR} ${STAGEDIR}${i}
+.endfor
+	${MKDIR} ${STAGEDIR}${CONFDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/src/qico ${STAGEDIR}${PREFIX}/sbin/
+	${INSTALL_PROGRAM} ${WRKSRC}/src/qctl ${STAGEDIR}${PREFIX}/bin/
+.if ${PORT_OPTIONS:MQCC}
 	${INSTALL_PROGRAM} ${WRKSRC}/src/qcc ${STAGEDIR}${PREFIX}/bin/
 .endif
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/qico
-	${INSTALL_DATA} ${WRKSRC}/FAQ ${STAGEDIR}${PREFIX}/share/doc/qico/FAQ.ru
-	${INSTALL_DATA} ${WRKSRC}/README \
-		${STAGEDIR}${PREFIX}/share/doc/qico/README.ru
+	${INSTALL_DATA} ${WRKSRC}/qico.conf.sample ${STAGEDIR}${CONFDIR}/qico.conf.sample
+	${INSTALL_DATA} ${WRKSRC}/qico.substs.sample ${STAGEDIR}${CONFDIR}/qico.substs.sample
+	${INSTALL_DATA} ${WRKSRC}/qico.passwd.sample ${STAGEDIR}${CONFDIR}/qico.passwd.sample
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for i in ${DOCS}
+	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}.ru
+.endfor
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+.for i in ${EXAMPLES}
+	${INSTALL_DATA} ${WRKSRC}/stuff/${i} ${STAGEDIR}${EXAMPLESDIR}/${i}
+.endfor
+.for i in ${MANS}
+	${INSTALL_MAN} ${WRKSRC}/man/${i} ${STAGEDIR}${PREFIX}/man/man8/${i}
+.endfor
 
 .include <bsd.port.mk>

Modified: head/comms/qico/distinfo
==============================================================================
--- head/comms/qico/distinfo	Mon Dec  2 17:03:18 2019	(r518855)
+++ head/comms/qico/distinfo	Mon Dec  2 17:35:21 2019	(r518856)
@@ -1,2 +1,3 @@
-SHA256 (qico-0.49.10-p3.tar.bz2) = 50f227f46573af54f86dc6d10d32ef2eb9663b5b330c623d5245b2935c6051d8
-SIZE (qico-0.49.10-p3.tar.bz2) = 229434
+TIMESTAMP = 1574981929
+SHA256 (kosfango-qico-0.59.1-15673bf_GH0.tar.gz) = 8852b31a178b319a393c275ea89e251a7dcab33e04c089f54c7529988e7ed82b
+SIZE (kosfango-qico-0.59.1-15673bf_GH0.tar.gz) = 363215

Modified: head/comms/qico/pkg-descr
==============================================================================
--- head/comms/qico/pkg-descr	Mon Dec  2 17:03:18 2019	(r518855)
+++ head/comms/qico/pkg-descr	Mon Dec  2 17:35:21 2019	(r518856)
@@ -1,9 +1,11 @@
-Qico is an FidoNet Technology Network (FTN) compatible mailer for Unix systems.
-It has slightly different architecture than ifcico.
+Qico is an FidoNet Technology Network (FTN) compatible mailer.
+It can work via TCP/IP as well as on modem links.
+Look at sample configs for more information.
 
 Features:
 
   * Support for EMSI, ZModem, ZedZap, Hydra
+  * Support for BinkP
   * Support for 4D Binkley-style, Amiga-style outbound, fileboxes
   * Daemon mode for outgoing calls
   * Substs with support for hidden-lines

Modified: head/comms/qico/pkg-plist
==============================================================================
--- head/comms/qico/pkg-plist	Mon Dec  2 17:03:18 2019	(r518855)
+++ head/comms/qico/pkg-plist	Mon Dec  2 17:35:21 2019	(r518856)
@@ -1,5 +1,31 @@
-%%WITH_QICO_MORDA%%bin/qcc
-etc/qico.conf.sample
-libexec/qico
-%%PORTDOCS%%%%DOCSDIR%%/FAQ.ru
-%%PORTDOCS%%%%DOCSDIR%%/README.ru
+@dir %%DOCSDIR%%
+@dir %%EXAMPLESDIR%%
+@dir %%QBASEDIR%%/fbox
+@dir %%QBASEDIR%%/inbound/unknown
+@dir %%QBASEDIR%%/inbound
+@dir %%QBASEDIR%%/outbound
+@dir %%QBASEDIR%%/qstoutb
+@dir %%QLOGDIR%%
+@dir etc/fido/qico
+@sample etc/fido/qico/qico.conf.sample
+@sample etc/fido/qico/qico.passwd.sample
+@sample etc/fido/qico/qico.substs.sample
+%%DOCSDIR%%/Changes.ru
+%%DOCSDIR%%/FAQ.ru
+%%DOCSDIR%%/README.ru
+%%EXAMPLESDIR%%/koi8r_866.cp
+%%EXAMPLESDIR%%/onchat
+%%EXAMPLESDIR%%/qhistory
+%%EXAMPLESDIR%%/qico.xpm
+%%EXAMPLESDIR%%/qlinks
+%%EXAMPLESDIR%%/sfreq
+%%EXAMPLESDIR%%/stat.run
+%%EXAMPLESDIR%%/synctime
+%%EXAMPLESDIR%%/test.pl
+%%EXAMPLESDIR%%/tossing
+%%QCC%%bin/qcc
+%%QCC%%man/man8/qcc.8.gz
+bin/qctl
+man/man8/qctl.8.gz
+man/man8/qico.8.gz
+sbin/qico



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912021735.xB2HZLbR060011>