From owner-freebsd-pkgbase@freebsd.org Wed May 20 16:30:53 2020 Return-Path: Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 049EC2DE1A3 for ; Wed, 20 May 2020 16:30:53 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Ryt33qMvz4QQc for ; Wed, 20 May 2020 16:30:51 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from MacBook-Pro.nomadlogic.org (cpe-23-243-161-111.socal.res.rr.com [23.243.161.111]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 829e40d6 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 20 May 2020 16:30:44 +0000 (UTC) Subject: Re: The new graphics ports and pkg-base To: Grzegorz Junka , freebsd-pkgbase@freebsd.org References: From: Pete Wright Message-ID: Date: Wed, 20 May 2020 09:30:44 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 49Ryt33qMvz4QQc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-2.14 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.81)[-0.811]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_MEDIUM(-0.54)[-0.538]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.49)[-0.486]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[23.243.161.111:received] X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2020 16:30:53 -0000 On 5/20/20 12:45 AM, Grzegorz Junka wrote: > I am trying to understand the impact of distributing ports with > sources on building and packaging base with pkg. > > If I understand correctly, some ports, when installed with pkg, > extract sources, which then supposed to be compiled with the kernel. > > For instance, drm-current-kmod extracts lots of files into > /usr/local/sys/modules/ hrm I am not seeing that behavior on my end: $ pkg list drm-devel-kmod /boot/modules/amdgpu.ko /boot/modules/drm.ko /boot/modules/i915kms.ko /boot/modules/linuxkpi_gplv2.ko /boot/modules/radeonkms.ko /boot/modules/ttm.ko /boot/modules/vboxvideo.ko /boot/modules/vmwgfx.ko /usr/local/share/licenses/drm-devel-kmod-5.2.g20200515/BSD2CLAUSE /usr/local/share/licenses/drm-devel-kmod-5.2.g20200515/GPLv2 /usr/local/share/licenses/drm-devel-kmod-5.2.g20200515/LICENSE /usr/local/share/licenses/drm-devel-kmod-5.2.g20200515/MIT /usr/local/share/licenses/drm-devel-kmod-5.2.g20200515/catalog.mk $ maybe i'm missing something though and this behavior only happens on systems using pkg-base?  i believe there was some discussion about bundling the required source to build drm-kmod locally in a similar fashion as linux dkms, but i'm not sure if that's progressed. cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA