From nobody@FreeBSD.org  Mon May  8 12:55:33 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7213D16A467
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 May 2006 12:55:33 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DCE1343D72
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 May 2006 12:55:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k48CtWZV047308
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 8 May 2006 12:55:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k48CtWfL047295;
	Mon, 8 May 2006 12:55:32 GMT
	(envelope-from nobody)
Message-Id: <200605081255.k48CtWfL047295@www.freebsd.org>
Date: Mon, 8 May 2006 12:55:32 GMT
From: Stefan Pauly <stefan.pauly@fh-mainz.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] textproc/flip: fixing a fetch problem
X-Send-Pr-Version: www-2.3

>Number:         96975
>Category:       ports
>Synopsis:       [PATCH] textproc/flip: fixing a fetch problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 08 13:00:26 GMT 2006
>Closed-Date:    Tue May 09 00:03:53 GMT 2006
>Last-Modified:  Tue May 09 00:03:53 GMT 2006
>Originator:     Stefan Pauly
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
FreeBSD luna.fh-mainz.de 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Jun  3 11:13:56 CEST 2005     st@luna.fh-mainz.de:/usr/obj/usr/src/sys/B03062005  i386
>Description:
Fixing a fetch problem (the port is currently unfetchable).
The new distfile doesn't include debian specific patches anymore.
>How-To-Repeat:

>Fix:
diff -ruN --exclude=CVS /usr/ports/textproc/flip/Makefile ./flip/Makefile
--- /usr/ports/textproc/flip/Makefile	Sat Nov 26 05:47:20 2005
+++ ./flip/Makefile	Fri May  5 17:52:58 2006
@@ -8,9 +8,9 @@
 PORTNAME=	flip
 PORTVERSION=	1.19
 CATEGORIES=	textproc
-MASTER_SITES=	http://ftp.sayclub.co.kr/pub/packages/aixpdslib/flip/RISC/4.3/src/
-DISTNAME=	${PORTNAME}.${PORTVERSION}
-EXTRACT_SUFX=	.tar.Z
+MASTER_SITES=	${MASTER_SITE_DEBIAN_POOL}
+DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
+EXTRACT_SUFX=	.tar.gz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Convert text file line endings between Unix and DOS formats
diff -ruN --exclude=CVS /usr/ports/textproc/flip/distinfo ./flip/distinfo
--- /usr/ports/textproc/flip/distinfo	Tue Jan 24 05:34:16 2006
+++ ./flip/distinfo	Fri May  5 17:17:07 2006
@@ -1,3 +1,3 @@
-MD5 (flip.1.19.tar.Z) = 8441e44212b1c3d2bfa1323afa84aab2
-SHA256 (flip.1.19.tar.Z) = a2d220d5ee8743c177b4232e2bde7ba76ea0880ddba5c7c047b6b5532e1bc878
-SIZE (flip.1.19.tar.Z) = 42208
+MD5 (flip_1.19.orig.tar.gz) = 46a7a6071a7dfb752a81bda81c335785
+SHA256 (flip_1.19.orig.tar.gz) = 231ae8be482bc3fb28839a6de9702b6141b17ca827b5ea1bf13738dc645e7f2f
+SIZE (flip_1.19.orig.tar.gz) = 17795
diff -ruN --exclude=CVS /usr/ports/textproc/flip/files/patch-Makefile ./flip/files/patch-Makefile
--- /usr/ports/textproc/flip/files/patch-Makefile	Thu Jan  1 01:00:00 1970
+++ ./flip/files/patch-Makefile	Fri May  5 17:37:23 2006
@@ -0,0 +1,24 @@
+--- Makefile.org	Sat Jul 14 03:49:52 2001
++++ Makefile	Fri May  5 17:36:41 2006
+@@ -22,8 +22,8 @@
+ 
+ # Where to install executable and manual files on "make install".  The trailing
+ # "/." forces an error message if the destination directory doesn't exist.
+-BINDIR = /usr/local/bin/.
+-MANDIR = /usr/man/man1/.
++BINDIR = /usr/local/bin/
++MANDIR = /usr/local/man/man1/
+ 
+ # CC is compiler, LD is loader (may be same as compiler), CFLAGS are flags
+ # for compiler, LDFLAGS are flags for loader, CFMORE are additional
+@@ -69,8 +69,8 @@
+ 	rm -f *.o core flip
+ 
+ install:
+-	mv flip $(BINDIR)
+-	cp flip.1 $(MANDIR)
++	cp -f flip $(BINDIR)
++	cp -f flip.1 $(MANDIR)
+ 
+ dist: $(DISTFILES)
+ 	-rm -rf $(distdir)
diff -ruN --exclude=CVS /usr/ports/textproc/flip/pkg-descr ./flip/pkg-descr
--- /usr/ports/textproc/flip/pkg-descr	Sun Jul  3 16:19:31 2005
+++ ./flip/pkg-descr	Fri May  5 17:42:40 2006
@@ -5,4 +5,4 @@
 gracefully and no garbage or corrupted files left behind. 'flip' does not
 convert files to a different character set, and it can not handle Apple
 Macintosh line endings (CR only). For that (and more), you can use the 'recode'
-program (package 'recode').
+program (port 'converters/recode').

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Mon May 8 13:05:26 UTC 2006 
Responsible-Changed-Why:  
grab this before jmelo has the chance to do it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96975 
State-Changed-From-To: open->feedback 
State-Changed-By: itetcu 
State-Changed-When: Mon May 8 19:12:32 UTC 2006 
State-Changed-Why:  
Ask for submitter fix. 

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

From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To: Stefan Pauly <stefan.pauly@fh-mainz.de>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/96975: [PATCH] textproc/flip: fixing a fetch problem
Date: Mon, 8 May 2006 22:11:44 +0300

 Your patch is against an old version of the port.
 
 Please check if the problem still exists with the latest version and
 if yes submit a new patch.
 
 Thanks,
 
 -- 
 IOnut - Un^d^dregistered ;) FreeBSD "user"
   "Intellectual Property" is   nowhere near as valuable   as "Intellect"
 
 BOFH excuse #258:
 That's easy to fix, but I can't be bothered
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: itetcu 
State-Changed-When: Tue May 9 00:03:51 UTC 2006 
State-Changed-Why:  
Provide a copy of the current distfile on MASTER_SITE_LOCAL; 
files/patch-Makefile is not needed since install is done via do-install: 
target in port Makefile. But many thanks for your effort and please CC 
me in the future on similiar PRs. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96975 
>Unformatted:
