From nobody@FreeBSD.org  Sun Jun 23 09:00:06 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 9E270E73
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Jun 2013 09:00:06 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 7664C1487
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Jun 2013 09:00:06 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5N905su088898
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Jun 2013 09:00:05 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5N905nL088875;
	Sun, 23 Jun 2013 09:00:05 GMT
	(envelope-from nobody)
Message-Id: <201306230900.r5N905nL088875@oldred.freebsd.org>
Date: Sun, 23 Jun 2013 09:00:05 GMT
From: "r4721@tormail.org" <r4721@tormail.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] fix fetch for comms/minicom
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         179871
>Category:       ports
>Synopsis:       [patch] fix fetch for comms/minicom
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    johans
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 23 09:10:01 UTC 2013
>Closed-Date:    Sun Jun 23 09:32:39 UTC 2013
>Last-Modified:  Sun Jun 23 09:40:00 UTC 2013
>Originator:     r4721@tormail.org
>Release:        
>Organization:
>Environment:
>Description:
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
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: comms/minicom/Makefile
===================================================================
--- comms/minicom/Makefile	(revision 321412)
+++ comms/minicom/Makefile	(working copy)
@@ -5,12 +5,14 @@
 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 LRZSZ NLS
 OPTIONS_DEFAULT=LRZSZ
 LRZSZ_DESC=	Install X/Y/ZMODEM protocol handlers
 
@@ -43,11 +45,7 @@
 
 .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/@; \
Index: comms/minicom/files/patch-minirc.dfl
===================================================================
--- comms/minicom/files/patch-minirc.dfl	(revision 321412)
+++ comms/minicom/files/patch-minirc.dfl	(working copy)
@@ -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


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->johans 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jun 23 09:10:10 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179871 
State-Changed-From-To: open->closed 
State-Changed-By: johans 
State-Changed-When: Sun Jun 23 09:14:41 UTC 2013 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179871 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/179871: commit references a PR
Date: Sun, 23 Jun 2013 09:32:38 +0000 (UTC)

 Author: johans
 Date: Sun Jun 23 09:32:25 2013
 New Revision: 321624
 URL: http://svnweb.freebsd.org/changeset/ports/321624
 
 Log:
   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
 
 Modified:
   head/comms/minicom/Makefile
   head/comms/minicom/files/patch-minirc.dfl
 
 Modified: head/comms/minicom/Makefile
 ==============================================================================
 --- head/comms/minicom/Makefile	Sun Jun 23 08:46:58 2013	(r321623)
 +++ head/comms/minicom/Makefile	Sun Jun 23 09:32:25 2013	(r321624)
 @@ -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@; \
 
 Modified: head/comms/minicom/files/patch-minirc.dfl
 ==============================================================================
 --- head/comms/minicom/files/patch-minirc.dfl	Sun Jun 23 08:46:58 2013	(r321623)
 +++ head/comms/minicom/files/patch-minirc.dfl	Sun Jun 23 09:32:25 2013	(r321624)
 @@ -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
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
