aboutsummaryrefslogtreecommitdiff
path: root/comms/minicom
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2013-06-23 09:32:25 +0000
committerJohan van Selst <johans@FreeBSD.org>2013-06-23 09:32:25 +0000
commit16d5eddabb84fdbb7258e4617f0d67ced757c17b (patch)
treefddd438187ffd1262df505e3cb9d5b88f66c028a /comms/minicom
parent74ec34440d62a266ae84c80f7f0198eeb3752eba (diff)
downloadports-16d5eddabb84fdbb7258e4617f0d67ced757c17b.tar.gz
ports-16d5eddabb84fdbb7258e4617f0d67ced757c17b.zip
the only MASTER_SITE for comms/minicom is alioth.debian.org, which is currently
returning 406 Not Acceptable if your http(s) request does not include a Accept header of the destination file type or */*. (a missing Accept line should be intepreted as accepting all types). * fix fetching by adding another mirror site * change download urls to ones given on project page * add https mirror * change default device from cuad to cuau (cuad is 7.x and earlier) * remove conditional for 7.x device names: 7.x is no more supported PR: ports/179871 Submitted by: r4721@tormail.org
Notes
Notes: svn path=/head/; revision=321624
Diffstat (limited to 'comms/minicom')
-rw-r--r--comms/minicom/Makefile15
-rw-r--r--comms/minicom/files/patch-minirc.dfl2
2 files changed, 6 insertions, 11 deletions
diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile
index 8b26717b1725..033f4b1f02ed 100644
--- a/comms/minicom/Makefile
+++ b/comms/minicom/Makefile
@@ -5,12 +5,14 @@ PORTNAME= minicom
PORTVERSION= 2.6.2
PORTREVISION= 1
CATEGORIES= comms
-MASTER_SITES= http://alioth.debian.org/frs/download.php/3869/
+MASTER_SITES= https://alioth.debian.org/frs/download.php/file/3869/ \
+ http://alioth.debian.org/frs/download.php/file/3869/ \
+ http://fossies.org/linux/misc/
MAINTAINER= johans@FreeBSD.org
COMMENT= An MS-DOS Telix serial communication program "workalike"
-OPTIONS_DEFINE= LRZSZ
+OPTIONS_DEFINE= DOCS NLS LRZSZ
OPTIONS_DEFAULT=LRZSZ
LRZSZ_DESC= Install X/Y/ZMODEM protocol handlers
@@ -21,8 +23,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-dfl-baud=57600 \
--sysconfdir=${PREFIX}/etc/minicom \
--enable-lock-dir=/var/spool/lock \
- --enable-dfl-port=${MINICOM_DEFAULT_PORT} \
- LDFLAGS="${LDFLAGS}"
+ --enable-dfl-port=/dev/cuau0
MAKE_ARGS+= LIBS+="-liconv -lcurses"
MAN1= minicom.1 runscript.1 ascii-xfr.1 xminicom.1
@@ -43,12 +44,6 @@ PLIST_SUB+= NLS="@comment "
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 800045
-MINICOM_DEFAULT_PORT?= /dev/cuad0
-.else
-MINICOM_DEFAULT_PORT?= /dev/cuau0
-.endif
-
post-patch:
${REINPLACE_CMD} -e "s@/usr/local/bin/@${LOCALBASE}/bin/@; \
s@/sz@/lsz@;s@/sb@/lsb@;s@/sx@/lsx@;s@/rz@/lrz@; \
diff --git a/comms/minicom/files/patch-minirc.dfl b/comms/minicom/files/patch-minirc.dfl
index a6cc21985043..b3839faed9e4 100644
--- a/comms/minicom/files/patch-minirc.dfl
+++ b/comms/minicom/files/patch-minirc.dfl
@@ -3,7 +3,7 @@
@@ -1,2 +1,7 @@
# $Id: minirc.dfl,v 1.1.1.1 2003-03-30 18:55:39 al-guest Exp $
# Machine-generated file - use "minicom -s" to change parameters.
-+pr port /dev/cuad0
++pr port /dev/cuau0
+pu baudrate 9600
+pu bits 8
+pu parity N