From schweikh@schweikhardt.net  Tue Oct 18 20:54:53 2005
Return-Path: <schweikh@schweikhardt.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F36C416A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 18 Oct 2005 20:54:52 +0000 (GMT)
	(envelope-from schweikh@schweikhardt.net)
Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 90D3E43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 18 Oct 2005 20:54:49 +0000 (GMT)
	(envelope-from schweikh@schweikhardt.net)
Received: by bremen.shuttle.de (Postfix, from userid 10)
	id 5B2803B9D3; Tue, 18 Oct 2005 22:54:48 +0200 (CEST)
Received: from hal9000.schweikhardt.net (localhost [127.0.0.1])
	by hal9000.schweikhardt.net (8.13.4/8.13.4) with ESMTP id j9IKscEM005394
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 18 Oct 2005 22:54:38 +0200 (CEST)
	(envelope-from schweikh@hal9000.schweikhardt.net)
Received: (from schweikh@localhost)
	by hal9000.schweikhardt.net (8.13.4/8.13.4/Submit) id j9IKsb6d005393;
	Tue, 18 Oct 2005 22:54:37 +0200 (CEST)
	(envelope-from schweikh)
Message-Id: <200510182054.j9IKsb6d005393@hal9000.schweikhardt.net>
Date: Tue, 18 Oct 2005 22:54:37 +0200 (CEST)
From: Jens Schweikhardt <schweikh@schweikhardt.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Contrary to ports(7) there is no target "showconfig-recursive"
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         87642
>Category:       ports
>Synopsis:       Contrary to ports(7) there is no target "showconfig-recursive"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    linimon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 18 21:00:26 GMT 2005
>Closed-Date:    Sun Jan 11 11:04:40 UTC 2009
>Last-Modified:  Sun Jan 11 11:10:01 UTC 2009
>Originator:     Jens Schweikhardt
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
Digital Details
>Environment:
System: FreeBSD hal9000.schweikhardt.net 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Tue Oct 11 19:40:20 CEST 2005 toor@hal9000.schweikhardt.net:/share/HEAD/obj/share/HEAD/src/sys/HAL9000 i386


>Description:

>How-To-Repeat:

# man 7 ports
...
     The following targets are not run during the normal install process.

     showconfig       Display OPTIONS config for this port.

     showconfig-recursive
                      Display OPTIONS config for this port and all its depen-

# cd /usr/ports/editors/openoffice.org-2.0-devel
# make showconfig-recursive
make: don't know how to make showconfig-recursive. Stop
# cd /usr/ports/sysutils/samefile
# make showconfig-recursive
make: don't know how to make showconfig-recursive. Stop

>Fix:

	Implement showconfig-recursive (or maybe it's just a typo somewhere
	in the big kahuna? At first glance it looks like it's nowhere in
	bsd.port.mk.)


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Oct 18 23:06:42 GMT 2005 
Responsible-Changed-Why:  
Portmgr territory 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87642 
State-Changed-From-To: open->suspended 
State-Changed-By: kris 
State-Changed-When: Wed Sep 13 23:39:50 UTC 2006 
State-Changed-Why:  
Suspended awaiting patch 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87642 
Responsible-Changed-From-To: portmgr->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri May 25 03:19:31 UTC 2007 
Responsible-Changed-Why:  
I'll work on removing the incorrect documentation. 

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

From: "Andy Kosela" <andy.kosela@gmail.com>
To: bug-followup@FreeBSD.org
Cc: schweikh@schweikhardt.net
Subject: Re: ports/87642: Contrary to ports(7) there is no target "showconfig-recursive"
Date: Sun, 1 Jul 2007 22:43:21 +0200

 ------=_Part_111958_16217911.1183322601048
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Patch for implementing make showconfig-recursive in bsd.port.mk
 
 regards,
 Andy Kosela
 Pythagoras Foundation
 
 "What is that which always is and has no becoming; and what is that
 which is always becoming and never is?" -- Plato
 
 ------=_Part_111958_16217911.1183322601048
 Content-Type: application/octet-stream; name="patch-1.diff"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="patch-1.diff"
 X-Attachment-Id: f_f3lzqbjj
 
 LS0tIGJzZC5wb3J0Lm1rCUZyaSBKdW4gMjkgMTY6MDk6MzkgMjAwNworKysgYnNkLnBvcnQubWsJ
 U3VuIEp1bCAgMSAyMjozMzoyMSAyMDA3CkBAIC03NzEsNiArNzcxLDcgQEAKICMgY29uZmlnLXJl
 Y3Vyc2l2ZQogIwkJCQktIENvbmZpZ3VyZSBvcHRpb25zIGZvciB0aGlzIHBvcnQgZm9yIHRoaXMg
 cG9ydCBhbmQgYWxsIGRlcGVuZGVuY2llcy4KICMgc2hvd2NvbmZpZwktIERpc3BsYXkgb3B0aW9u
 cyBjb25maWcgZm9yIHRoaXMgcG9ydC4KKyMgc2hvd2NvbmZpZy1yZWN1cnNpdmUgLSBEaXNwbGF5
 IG9wdGlvbnMgY29uZmlnIGZvciB0aGlzIHBvcnQgYW5kIGFsbCBkZXBlbmRlbmNpZXMuCiAjIHJt
 Y29uZmlnCQktIFJlbW92ZSB0aGUgb3B0aW9ucyBjb25maWcgZm9yIHRoaXMgcG9ydC4KICMgcm1j
 b25maWctcmVjdXJzaXZlCiAjCQkJCS0gUmVtb3ZlIHRoZSBvcHRpb25zIGNvbmZpZyBmb3IgdGhp
 cyBwb3J0IGFuZCBhbGwgZGVwZW5kZW5jaWVzLgpAQCAtNjE2Niw2ICs2MTY3LDE0IEBACiAJZG9u
 ZQogCUAke0VDSE9fTVNHfSAiPT09PiBVc2UgJ21ha2UgY29uZmlnJyB0byBtb2RpZnkgdGhlc2Ug
 c2V0dGluZ3MiCiAuZW5kaWYKKy5lbmRpZgorCisuaWYgIXRhcmdldChzaG93Y29uZmlnLXJlY3Vy
 c2l2ZSkKK3Nob3djb25maWctcmVjdXJzaXZlOgorICAgICAgICBAJHtFQ0hPX01TR30gIj09PT4g
 VGhlIGZvbGxvd2luZyBjb25maWd1cmF0aW9uIG9wdGlvbnMgYXJlIGF2YWlsYWJsZSBmb3IgJHtQ
 S0dOQU1FfSBhbmQgZGVwZW5kZW5jaWVzIjsKKwlAZm9yIGRpciBpbiAkey5DVVJESVJ9ICQkKCR7
 QUxMLURFUEVORFMtTElTVH0pOyBkbyBcCisJCShjZCAkJGRpcjsgJHtNQUtFfSBzaG93Y29uZmln
 KTsgXAorCWRvbmUKIC5lbmRpZgogCiAuaWYgIXRhcmdldChybWNvbmZpZykK
 ------=_Part_111958_16217911.1183322601048--

From: "Andy Kosela" <andy.kosela@gmail.com>
To: bug-followup@freebsd.org
Cc: schweikh@schweikhardt.net
Subject: Re: ports/87642: Contrary to ports(7) there is no target "showconfig-recursive"
Date: Sun, 1 Jul 2007 23:10:17 +0200

 ------=_Part_112218_24541393.1183324217778
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Somehow gmail garbled my patch file. I'm resending it.
 
 --
 Andy Kosela
 Pythagoras Foundation
 
 "What is that which always is and has no becoming; and what is that
 which is always becoming and never is?" -- Plato
 
 ------=_Part_112218_24541393.1183324217778
 Content-Type: text/plain; name=patch-1.diff.txt; charset=ANSI_X3.4-1968
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_f3m0m0n9
 Content-Disposition: attachment; filename="patch-1.diff.txt"
 
 LS0tIGJzZC5wb3J0Lm1rCUZyaSBKdW4gMjkgMTY6MDk6MzkgMjAwNworKysgYnNkLnBvcnQubWsJ
 U3VuIEp1bCAg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29uZmln
 KTsgXAorCWRvbmUKIC5lbmRpZgogCiAuaWYgIXRhcmdldChybWNvbmZpZykK
 ------=_Part_112218_24541393.1183324217778--

From: "Andy Kosela" <andy.kosela@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/87642: Contrary to ports(7) there is no target "showconfig-recursive"
Date: Mon, 2 Jul 2007 07:45:14 +0200

 --- bsd.port.mk	Fri Jun 29 16:09:39 2007
 +++ bsd.port.mk	Sun Jul  1 22:33:21 2007
 @@ -771,6 +771,7 @@
  # config-recursive
  #				- Configure options for this port for this port and all dependencies.
  # showconfig	- Display options config for this port.
 +# showconfig-recursive - Display options config for this port and all
 dependencies.
  # rmconfig		- Remove the options config for this port.
  # rmconfig-recursive
  #				- Remove the options config for this port and all dependencies.
 @@ -6166,6 +6167,14 @@
  	done
  	@${ECHO_MSG} "===> Use 'make config' to modify these settings"
  .endif
 +.endif
 +
 +.if !target(showconfig-recursive)
 +showconfig-recursive:
 +        @${ECHO_MSG} "===> The following configuration options are
 available for ${PKGNAME} and dependencies";
 +	@for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \
 +		(cd $$dir; ${MAKE} showconfig); \
 +	done
  .endif
 
  .if !target(rmconfig)

From: "Andy Kosela" <andy.kosela@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/87642: Contrary to ports(7) there is no target "showconfig-recursive"
Date: Sat, 23 Aug 2008 20:29:42 +0200

 What is the current status of "showconfig-recursive" in the big kahuna?
 My patch works cleanly against 7-STABLE bsd.port.mk. It implements
 "showconfig-recursive" as documented in ports(7).
 
 Mark, can you take a look at it?
 
 --- bsd.port.mk.bak     2008-08-23 20:05:14.000000000 +0200
 +++ bsd.port.mk 2008-08-23 20:17:32.000000000 +0200
 @@ -758,6 +758,7 @@
  # config-recursive
  #                              - Configure options for this port for
 this port and all dependencies.
  # showconfig   - Display options config for this port.
 +# showconfig-recursive - Display options config for this port and all
 dependencies.
  # rmconfig             - Remove the options config for this port.
  # rmconfig-recursive
  #                              - Remove the options config for this
 port and all dependencies.
 @@ -5944,6 +5945,14 @@
  .endif
  .endif
 
 +.if !target(showconfig-recursive)
 +showconfig-recursive:
 +       @${ECHO_MSG} "===> The following configuration options are
 available for ${PKGNAME} and dependencies";
 +       @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \
 +               (cd $$dir; ${MAKE} showconfig); \
 +       done
 +.endif
 +
  .if !target(rmconfig)
  rmconfig:
  .if defined(OPTIONS) && exists(${OPTIONSFILE})
 
 --
 Andy Kosela
 ora et labora
State-Changed-From-To: suspended->closed 
State-Changed-By: pav 
State-Changed-When: Sun Jan 11 11:04:22 UTC 2009 
State-Changed-Why:  
A target was added 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/87642: commit references a PR
Date: Sun, 11 Jan 2009 11:04:19 +0000 (UTC)

 pav         2009-01-11 11:04:05 UTC
 
   FreeBSD ports repository
 
   Modified files:
     Mk                   bsd.port.mk 
   Log:
   - Remove conditional checks and support for FreeBSD versions prior 6.0-RELEASE
   
   Submitted by:   pav
   
   - Fix COPYTREE_* macros not to change permissions and ownership on files, that
     were already present in the target path
   
   Submitted by:   beech
   
   - Add a showconfig-recursive target, which has been in documentation for years
     but never implemented
   
   PR:             ports/87642, ports/126770
   Submitted by:   Andy Kosela <andy.kosela@gmail.com>
   
   - Fix ignorelist-verbose target (in preparation for duds.verbose)
   
   PR:             ports/127286 (part of)
   Submitted by:   linimon
   
   - Fix OPTIONS dialog to show up for every previously unconfigured port in the
     dependency chain
   
   PR:             ports/127554
   Submitted by:   ale
   
   - Fail, if recursing into a dependency failed to satisfy the dependency object
     (only for :install targets)
   
   PR:             ports/116601
   Submitted by:   edwin
   
   Revision  Changes    Path
   1.606     +46 -26    ports/Mk/bsd.port.mk
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
