Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2015 18:03:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201459] [patch] security/openssl - allow disabling API manpage installation
Message-ID:  <bug-201459-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 201459
           Summary: [patch] security/openssl - allow disabling API manpage
                    installation
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dinoex@FreeBSD.org
          Reporter: adamw@FreeBSD.org
          Assignee: dinoex@FreeBSD.org
             Flags: maintainer-feedback?(dinoex@FreeBSD.org)
          Keywords: patch

Created attachment 158586
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158586&action=edit
API_MAN

The openssl port contains a lot of manpages. About 1500 of them, to be precise.
For many (most?) users, we just need the libraries, not the API manpages, and
it'd be nice to not have to install them.

The attached patch is pretty simple, it just adds an API_MAN option (defaults
to ON) that controls whether the man3 pages are installed. It shouldn't change
the default package at all (so it shouldn't need a PORTREVISION bump). It
doesn't affect the man1 manpages.

While here, I also cleaned up the @dir handling in the plist. So, it removes
all the @dirrm/@dirrmtry stuff, and only lists @dir for empty directories.

With this patch and API_MAN off, the installation goes from 1,647 files to 168
files, and reduces the resulting package size by 37%.

Installing the manpages won't cause the earth to stop turning, but I thought
it'd be a nice option to have.

-- 
You are receiving this mail because:
You are the assignee for the bug.



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