[Bug 201459] [patch] security/openssl - allow disabling API manpage installation

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 10 18:03:16 UTC 2015


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 at FreeBSD.org
          Reporter: adamw at FreeBSD.org
          Assignee: dinoex at FreeBSD.org
             Flags: maintainer-feedback?(dinoex at 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.


More information about the freebsd-ports-bugs mailing list