From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 30 21:10:12 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC46AFB9 for ; Mon, 30 Dec 2013 21:10:12 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8A9341075 for ; Mon, 30 Dec 2013 21:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rBULACgb098947 for ; Mon, 30 Dec 2013 21:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBULACvj098946; Mon, 30 Dec 2013 21:10:12 GMT (envelope-from gnats) Resent-Date: Mon, 30 Dec 2013 21:10:12 GMT Resent-Message-Id: <201312302110.rBULACvj098946@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D72C4A5E for ; Mon, 30 Dec 2013 21:03:03 +0000 (UTC) Received: from omta01.auone-net.jp (mail-or0-f67.auone-net.jp [106.187.230.67]) by mx1.freebsd.org (Postfix) with ESMTP id 96FC41F9C for ; Mon, 30 Dec 2013 21:03:03 +0000 (UTC) Received: from coppermine.my.domain (ZT028061.ppp.dion.ne.jp [59.128.28.61]) by omta01.auone-net.jp (au one net mail) with ESMTP id 3C5AB9800C9 for ; Tue, 31 Dec 2013 06:03:00 +0900 (JST) Message-Id: <20131231054835.82da58adb1fee48d337b15df@yahoo.com> Date: Tue, 31 Dec 2013 05:48:35 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/185348: sysutils/ftwin: Update to version 0.8.8 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2013 21:10:12 -0000 >Number: 185348 >Category: ports >Synopsis: sysutils/ftwin: Update to version 0.8.8 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 30 21:10:12 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p4 i386 >Organization: >Environment: >Description: - Update to version 0.8.8 Remove file: files/patch-ftwin.c >How-To-Repeat: >Fix: diff -urN /usr/ports/sysutils/ftwin/Makefile sysutils/ftwin/Makefile --- /usr/ports/sysutils/ftwin/Makefile 2013-12-17 07:57:04.000000000 +0900 +++ sysutils/ftwin/Makefile 2013-12-31 00:00:00.000000000 +0900 @@ -1,8 +1,7 @@ # $FreeBSD: head/sysutils/ftwin/Makefile 336648 2013-12-16 17:26:49Z bapt $ PORTNAME= ftwin -PORTVERSION= 0.8.5 -PORTREVISION= 11 +PORTVERSION= 0.8.8 CATEGORIES= sysutils MASTER_SITES= http://files.etoilebsd.net/ftwin/ \ http://download.meroware.org/ftwin/ @@ -10,24 +9,33 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Useful tool to find duplicate files -LIB_DEPENDS= libpuzzle.so:${PORTSDIR}/graphics/libpuzzle \ - libapr-1.so:${PORTSDIR}/devel/apr1 \ - libpcre.so:${PORTSDIR}/devel/pcre +LICENSE= AL2 + +LIB_DEPENDS= libapr-1.so:${PORTSDIR}/devel/apr1 \ + libpcre.so:${PORTSDIR}/devel/pcre \ + libpuzzle.so:${PORTSDIR}/graphics/libpuzzle OPTIONS_DEFINE= DOCS USE_BZIP2= yes -GNU_CONFIGURE= yes -USE_AUTOTOOLS= autoconf aclocal automake autoheader +USE_AUTOTOOLS= aclocal autoheader automake autoconf AUTOMAKE_ARGS= --add-missing -CONFIGURE_ARGS+= --with-puzzle=${LOCALBASE} -PLIST_FILES= bin/ftwin \ - man/man8/ftwin.8.gz -PORTDOCS= AUTHORS EXAMPLES TODO CHANGES KNOWN_BUGS VERSION LICENSE README +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +PORTDOCS= AUTHORS EXAMPLES TODO CHANGES KNOWN_BUGS VERSION README +PLIST_FILES= bin/ftwin man/man8/ftwin.8.gz + +post-patch: + @${REINPLACE_CMD} -e \ + 's|-Werror -g -ggdb|| ; \ + s|-O0||' ${WRKSRC}/Makefile.am post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} +.for i in ${PORTDOCS} + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) +.endfor .include diff -urN /usr/ports/sysutils/ftwin/distinfo sysutils/ftwin/distinfo --- /usr/ports/sysutils/ftwin/distinfo 2013-11-06 21:54:44.000000000 +0900 +++ sysutils/ftwin/distinfo 2013-12-31 00:00:00.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (ftwin-0.8.5.tar.bz2) = 03dec36503b3c781f287b4427e99d9d1ccc704f1d9e11eadcd630e4c29dea0ce -SIZE (ftwin-0.8.5.tar.bz2) = 164234 +SHA256 (ftwin-0.8.8.tar.bz2) = 78ba3c70acc48cbe86a653a15d91ae8e194d6bfd4f9baefc9fd27fa697b2435e +SIZE (ftwin-0.8.8.tar.bz2) = 168461 diff -urN /usr/ports/sysutils/ftwin/files/patch-acinclude-check-cflags-ldflags sysutils/ftwin/files/patch-acinclude-check-cflags-ldflags --- /usr/ports/sysutils/ftwin/files/patch-acinclude-check-cflags-ldflags 2013-11-06 21:54:44.000000000 +0900 +++ sysutils/ftwin/files/patch-acinclude-check-cflags-ldflags 2013-12-31 00:00:00.000000000 +0900 @@ -1,5 +1,5 @@ ---- ./acinclude.m4.orig 2008-11-03 18:03:37.000000000 +0100 -+++ ./acinclude.m4 2009-06-08 11:04:57.456599653 +0200 +--- acinclude.m4.orig 2013-12-18 05:14:54.000000000 +0900 ++++ acinclude.m4 2013-12-18 05:16:15.000000000 +0900 @@ -141,8 +141,8 @@ ]) @@ -11,30 +11,7 @@ [ HAVE_CHECK=yes ], -@@ -173,9 +173,11 @@ - # Make sure we have "puzzle.h". If we don't, it means we probably - # don't have libpuzzle, so don't use it. - # -+ CPPFLAGS="$CPPFLAGS -I$puzzle/include" - AC_CHECK_HEADER(puzzle.h, - [ - # Check if the lib is OK -+ LDFLAGS="$LDFLAGS -L$puzzle/lib" - AC_CHECK_LIB(puzzle, puzzle_init_context, - [ - AC_DEFINE([HAVE_PUZZLE], 1, [for image comparison mode]) -@@ -216,16 +218,18 @@ - # Make sure we have "archive.h". If we don't, it means we probably - # don't have libarchive, so don't use it. - # -+ CPPFLAGS="$CPPFLAGS -I$archive/include" - AC_CHECK_HEADER(archive.h, - [ - # Check if the lib is OK -+ LDFLAGS="$LDFLAGS -L$archive/lib -lmd -lcrypto" - AC_CHECK_LIB(archive, archive_version, - [ - AC_DEFINE([HAVE_ARCHIVE], 1, [for inside archive comparison mode]) +@@ -225,7 +225,7 @@ with_archive=yes ARCHIVE_CPPFLAGS="-I$archive/include" ARCHIVE_LDFLAGS="-L$archive/lib" diff -urN /usr/ports/sysutils/ftwin/files/patch-ftwin.c sysutils/ftwin/files/patch-ftwin.c --- /usr/ports/sysutils/ftwin/files/patch-ftwin.c 2013-11-06 21:54:44.000000000 +0900 +++ sysutils/ftwin/files/patch-ftwin.c 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/ftwin.c.orig 2009-05-21 14:32:32.000000000 +0200 -+++ src/ftwin.c 2013-09-05 08:21:38.056133246 +0200 -@@ -228,7 +228,7 @@ - apr_dir_t *dir; - apr_int32_t statmask = - APR_FINFO_SIZE | APR_FINFO_TYPE | APR_FINFO_USER | APR_FINFO_GROUP | APR_FINFO_UPROT | APR_FINFO_GPROT; -- apr_size_t fname_len; -+ apr_size_t fname_len = 0; - apr_uint32_t hash_value; - apr_status_t status; - int rc; >Release-Note: >Audit-Trail: >Unformatted: