Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2017 13:04:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219274] Improve Scripts/check-stagedir.sh to handle nested 'info/dir's
Message-ID:  <bug-219274-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219274

            Bug ID: 219274
           Summary: Improve Scripts/check-stagedir.sh to handle nested
                    'info/dir's
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: gerald@FreeBSD.org
                CC: bapt@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org,
                    portmgr@FreeBSD.org
 Attachment #182589 maintainer-approval?(portmgr@FreeBSD.org)
             Flags:
                CC: portmgr@FreeBSD.org

Created attachment 182589
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182589&action=
=3Dedit
Proposed patch

After

  r370199 | bapt | 2014-10-06 18:13:15 +0000 (Mon, 06 Oct 2014) | 5 lines

  Comment out info/dir files
  indexinfo is taking care of generating it at package installation time

many ports such as the lang/gcc* family had entries such as

  @comment info/gcc%%SUFFIX%%/dir

When I now removed this for lang/gcc5-devel (r439213),=20
Scripts/check-stagedir.sh started to warn

  Error: Orphaned: info/gcc5/dir

Looking into the script there already is whitelisting in place for
these info's dir files in general, alas not for ports that need to
use a subdirectory to avoid conflicts between different versions:

  # Handle whitelisting
        while read path; do
                case "${path}" in
                *.bak) ;;
                *.orig) ;;
                :
                */info/dir|info/dir) ;;

This patch takes care of that.  Okay?

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219274-13>