From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 12 00:21:16 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECF4C16A412 for ; Sun, 12 Nov 2006 00:21:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BC8343D7F for ; Sun, 12 Nov 2006 00:20:50 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kAC0KWHU083826 for ; Sun, 12 Nov 2006 00:20:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kAC0KW1A083825; Sun, 12 Nov 2006 00:20:32 GMT (envelope-from gnats) Resent-Date: Sun, 12 Nov 2006 00:20:32 GMT Resent-Message-Id: <200611120020.kAC0KW1A083825@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, Rong-En Fan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EAAF16A403; Sun, 12 Nov 2006 00:17:27 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB38E43D86; Sun, 12 Nov 2006 00:17:02 +0000 (GMT) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.13.8/8.13.8) with ESMTP id kAC0GqmH089559; Sun, 12 Nov 2006 08:16:52 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.13.8/8.13.8/Submit) id kAC0GqJY004577; Sun, 12 Nov 2006 08:16:52 +0800 (CST) (envelope-from rafan) Message-Id: <200611120016.kAC0GqJY004577@svm.csie.ntu.edu.tw> Date: Sun, 12 Nov 2006 08:16:52 +0800 (CST) From: Rong-En Fan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: ache@FreeBSD.org Subject: ports/105421: [PATCH] news/tin: Use misc/mime-support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 00:21:16 -0000 >Number: 105421 >Category: ports >Synopsis: [PATCH] news/tin: Use misc/mime-support >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: Sun Nov 12 00:20:31 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Rong-En Fan >Release: FreeBSD 6.2-PRERELEASE amd64 >Organization: NTU CSIE >Environment: >Description: This port installs etc/mime.support if it does not exist. However, we have misc/mime-support which contains more mime types than the one in tin package. If one installs tin first, then installs a port that depends on mime-support. It results stale dependency of misc/mime-support. The patch makes tin to use misc/mime-support instead of installing its own version. Port maintainer (ache@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- tin-1.8.2_1.patch begins here --- Index: Makefile =================================================================== RCS file: /big/freebsd-cvsup/ncvs/ports/news/tin/Makefile,v retrieving revision 1.136 diff -u -u -r1.136 Makefile --- Makefile 27 May 2006 01:23:27 -0000 1.136 +++ Makefile 12 Nov 2006 00:14:41 -0000 @@ -7,6 +7,7 @@ PORTNAME= tin PORTVERSION= 1.8.2 +PORTREVISION= 1 CATEGORIES+= news ipv6 MASTER_SITES= http://mirrors.rcn.net/pub/news/tin/stable/ \ ftp://ftp.stikman.com/pub/tin/stable/ \ @@ -18,6 +19,7 @@ LIB_DEPENDS= uu.3:${PORTSDIR}/converters/uulib \ pcre.0:${PORTSDIR}/devel/pcre +RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support USE_BZIP2= yes USE_GETTEXT= yes @@ -115,9 +117,5 @@ if [ ! -f ${PREFIX}/etc/tin.defaults ] ; then \ ${CP} ${PREFIX}/etc/tin.defaults.dist ${PREFIX}/etc/tin.defaults; \ fi - cd ${WRKSRC}/doc; ${INSTALL_DATA} mime.types ${PREFIX}/etc/tin.mime.types.dist - if [ ! -f ${PREFIX}/etc/mime.types ] ; then \ - ${CP} ${PREFIX}/etc/tin.mime.types.dist ${PREFIX}/etc/mime.types; \ - fi .include Index: pkg-plist =================================================================== RCS file: /big/freebsd-cvsup/ncvs/ports/news/tin/pkg-plist,v retrieving revision 1.18 diff -u -u -r1.18 pkg-plist --- pkg-plist 16 Mar 2006 11:37:30 -0000 1.18 +++ pkg-plist 12 Nov 2006 00:14:41 -0000 @@ -7,11 +7,8 @@ bin/url_handler.sh bin/w2r.pl @unexec if cmp -s %D/etc/tin.defaults %D/etc/tin.defaults.dist; then rm -f %D/etc/tin.defaults; fi -@unexec if cmp -s %D/etc/mime.types %D/etc/tin.mime.types.dist; then rm -f %D/etc/mime.types; fi etc/tin.defaults.dist @exec [ -f %B/tin.defaults ] || cp %B/%f %B/tin.defaults -etc/tin.mime.types.dist -@exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types share/locale/de/LC_MESSAGES/tin.mo share/locale/en_GB/LC_MESSAGES/tin.mo share/locale/et/LC_MESSAGES/tin.mo --- tin-1.8.2_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: