ports/164345: Mk/bsd.licenses.mk framework not suitable for linuxulator ports

Alexander Leidinger netchild at FreeBSD.org
Fri Jan 20 21:50:08 UTC 2012


>Number:         164345
>Category:       ports
>Synopsis:       Mk/bsd.licenses.mk framework not suitable for linuxulator ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 20 21:50:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Leidinger
>Release:        current
>Organization:
FreeBSD
>Environment:
does not matter
>Description:
The net-linux-f10-nss_ldap port exhibits a problem:
 - without NO_LICENSES_INSTALL=yes it creates /compat/linux/share which is not cleaned up on deinstall (it does not exist before install)
 - even with NO_LICENSES_INSTALL it installs /compat/linux/GPLv2 (LICENSE=GPLv2 in Makefile) which is not added to the PLIST (and I wonder if it is supposed to install PREFIX/GPLv2 (I would not expect it, given that there is NO_LICENSES_INSTALL, respectively if it is not there, the license is already installed in PREFIX/share/PORTNAME/) and if yes, why it is not added to the PLIST)

Assumption: the GPLv2 file is installed in PREFIX/GPLv2 because it is created in WRKDIR by the license framework and the bsd.linux-rpm.mk copies all files (except WRKDIR/.*) from there into PREFIX.
>How-To-Repeat:
In net/linux-f10-nss_ldap/Makefile:
  - remove NO_LICENSES_INSTALL
  - remove the RM of the license in post-install
  - install the port
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list