From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 28 18:50:03 2007 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9776D16A469 for ; Mon, 28 May 2007 18:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 78C6D13C483 for ; Mon, 28 May 2007 18:50:03 +0000 (UTC) (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 l4SIo3D0029069 for ; Mon, 28 May 2007 18:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4SIo3s6029066; Mon, 28 May 2007 18:50:03 GMT (envelope-from gnats) Resent-Date: Mon, 28 May 2007 18:50:03 GMT Resent-Message-Id: <200705281850.l4SIo3s6029066@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, Artem Naluzhny Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF86016A41F for ; Mon, 28 May 2007 18:46:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 93AF313C447 for ; Mon, 28 May 2007 18:46:35 +0000 (UTC) (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 l4SIkZg8052687 for ; Mon, 28 May 2007 18:46:35 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l4SIkZYZ052685; Mon, 28 May 2007 18:46:35 GMT (envelope-from nobody) Message-Id: <200705281846.l4SIkZYZ052685@www.freebsd.org> Date: Mon, 28 May 2007 18:46:35 GMT From: Artem Naluzhny To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/113099: [PATCH] sysutils/libchk may skip $X11BASE now 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: Mon, 28 May 2007 18:50:03 -0000 >Number: 113099 >Category: ports >Synopsis: [PATCH] sysutils/libchk may skip $X11BASE now >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon May 28 18:50:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Artem Naluzhny >Release: 7.0-CURRENT >Organization: >Environment: FreeBSD tut.intra 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon May 21 19:32:01 EEST 2007 root@tut.intra:/usr/obj/usr/src/sys/TUT i386 >Description: Since $X11BASE is a symlink to $LOCALBASE now (xorg 7.2 update), sysutils/libchk can skip searches for executables and libraries in following directories to reduce overall scanning time: $X11BASE/bin, $X11BASE/libexec and $X11BASE/sbin. >How-To-Repeat: >Fix: diff -ruN libchk.bak/Makefile libchk/Makefile --- libchk.bak/Makefile Thu May 25 23:30:08 2006 +++ libchk/Makefile Mon May 28 21:22:49 2007 @@ -7,6 +7,7 @@ PORTNAME= libchk PORTVERSION= 1.9 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \ ${MASTER_SITE_LOCAL} diff -ruN libchk.bak/files/patch-libchk.1 libchk/files/patch-libchk.1 --- libchk.bak/files/patch-libchk.1 Thu Jan 1 03:00:00 1970 +++ libchk/files/patch-libchk.1 Mon May 28 21:26:33 2007 @@ -0,0 +1,30 @@ +--- libchk.1.orig Sun May 2 21:56:10 2004 ++++ libchk.1 Mon May 28 21:25:24 2007 +@@ -1,6 +1,6 @@ + .\" $Idaemons: /home/cvs/libchk/libchk.1,v 1.6 2004/05/02 18:56:10 knu Exp $ + .\" +-.Dd September 2, 2002 ++.Dd May 28, 2007 + .Dt LIBCHK 1 + .Os FreeBSD + .Sh NAME +@@ -37,9 +37,6 @@ + .It Pa $LOCALBASE/bin + .It Pa $LOCALBASE/libexec + .It Pa $LOCALBASE/sbin +-.It Pa $X11BASE/bin +-.It Pa $X11BASE/libexec +-.It Pa $X11BASE/sbin + .El + .Pp + And the directories listed in +@@ -123,9 +120,6 @@ + .It Ev LOCALBASE + The local base directory. (default: + .Pa /usr/local ) +-.It Ev X11BASE +-The X11 base directory. (default: +-.Pa /usr/X11R6 ) + .El + .Sh SEE ALSO + .Xr ldconfig 8 diff -ruN libchk.bak/files/patch-libchk.rb libchk/files/patch-libchk.rb --- libchk.bak/files/patch-libchk.rb Thu Jan 1 03:00:00 1970 +++ libchk/files/patch-libchk.rb Mon May 28 21:27:07 2007 @@ -0,0 +1,30 @@ +--- libchk.rb.orig Fri May 14 20:11:09 2004 ++++ libchk.rb Mon May 28 21:22:24 2007 +@@ -43,7 +43,6 @@ + $strict = false + + $localbase = ENV['LOCALBASE'] || '/usr/local' +- $x11base = ENV['X11BASE'] || '/usr/X11R6' + + $bindirs = [ + "/bin", +@@ -55,9 +54,6 @@ + "#{$localbase}/bin", + "#{$localbase}/libexec", + "#{$localbase}/sbin", +- "#{$x11base}/bin", +- "#{$x11base}/libexec", +- "#{$x11base}/sbin", + ] + + $exclude_dirs = [] +@@ -96,8 +92,7 @@ + opts.def_tail_option ' + Environment Variables [default]: + PATH command search path +- LOCALBASE local base directory [/usr/local] +- X11BASE X11 base directory [/usr/X11R6]' ++ LOCALBASE local base directory [/usr/local]' + + begin + init_global diff -ruN libchk.bak/pkg-descr libchk/pkg-descr --- libchk.bak/pkg-descr Mon Sep 2 15:41:59 2002 +++ libchk/pkg-descr Mon May 28 21:20:55 2007 @@ -11,4 +11,4 @@ libraries that look obsolete. Author: Akinori MUSHA -WWW: http://www.iDaemons.org/cgi-bin/cvsweb.cgi/libchk/ +WWW: http://www.idaemons.org/projects/libchk/ >Release-Note: >Audit-Trail: >Unformatted: