From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 20 21:50:08 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74556106568E for ; Fri, 20 Jan 2012 21:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2BD738FC0C for ; Fri, 20 Jan 2012 21:50:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0KLo8du049532 for ; Fri, 20 Jan 2012 21:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0KLo8ss049531; Fri, 20 Jan 2012 21:50:08 GMT (envelope-from gnats) Resent-Date: Fri, 20 Jan 2012 21:50:08 GMT Resent-Message-Id: <201201202150.q0KLo8ss049531@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Leidinger Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2BE2106564A for ; Fri, 20 Jan 2012 21:48:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id B1DFE8FC12 for ; Fri, 20 Jan 2012 21:48:11 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q0KLmBg0070552 for ; Fri, 20 Jan 2012 21:48:11 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q0KLmBTW070551; Fri, 20 Jan 2012 21:48:11 GMT (envelope-from nobody) Message-Id: <201201202148.q0KLmBTW070551@red.freebsd.org> Date: Fri, 20 Jan 2012 21:48:11 GMT From: Alexander Leidinger To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/164345: Mk/bsd.licenses.mk framework not suitable for linuxulator ports X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2012 21:50:08 -0000 >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: