From nobody Tue Apr 26 17:44:26 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D0A9E1AB4E2C for ; Tue, 26 Apr 2022 17:44:37 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) Received: from mailout5.lrau.net (mailout5.lrau.net [IPv6:2a05:bec0:26:5::73]) (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 "mailout5.lrau.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Knq5J5yJ3z3Gff for ; Tue, 26 Apr 2022 17:44:36 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chaos1.de; s=email1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:To: From:Subject:Mime-Version:Date:Message-Id:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=TDHxxy9IbHsXVfCmRfri6YNjOsL6o6sRwfRCToQodTU=; b=rvJQs+BYUNFmjfo0O1Q/m/QGr4 8DFQTg92bhBuobzT4jDOVSMFrfrCDaABqyU9lagz0ioDMAOn7Ly0j3vMB6yB9TTo98EklrAbQAGut nZyTj+ohkfbKG7qbLRK85DkuvZrkLNWSEYyjCBQFR3VpIqyPzz0Jov+NjWBswx79/nEgal4D5PG+2 9KfLMUOeEhMyi4UVt+/gVHvUIOG0CNZeE9sQS4ZNfMQNaQNtlFOsmRNHnwHgdAwbSg/0JcAC44N4I o2AYljUQWvM+BJ0kD0laAzd5SWplM0r07QtRH8svC4pLMYYGqxBbkV40OjfGFZcgiLwsqElLcNpCM WpZJthsg==; Received: from [2a05:bec0:26:5::74] (helo=imap5.lrau.net) by mailout5.lrau.net with esmtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1njPEh-000Nv5-9S; Tue, 26 Apr 2022 17:44:27 +0000 Received: from Axel.Rau@Chaos1.DE by imap5.lrau.net (Archiveopteryx 3.2.0) with esmtpsa id 1650995066-77511-76508/7/11; Tue, 26 Apr 2022 17:44:26 +0000 Message-Id: <5de0b78b-63c4-3e2c-d3e4-17a0df59a273@Chaos1.DE> Date: Tue, 26 Apr 2022 19:44:26 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: porting Makefiles from Linux Content-Language: de-DE From: Axel Rau To: Dan Mahoney , ports@FreeBSD.org References: <7453893C-18B0-4298-9228-BC27AFCAE9E7@Chaos1.DE> <474C8EA9-9BBA-4319-AF30-73394EAB4AE9@gushi.org> <3E5853D5-56E2-41B6-8E17-325364EF2D84@Chaos1.DE> <94B1CB5F-AA8F-4B0B-AD39-C1612ACE7583@Chaos1.DE> <81D58FDE-0C3A-46FF-9CDF-07E0F06C114C@Chaos1.DE> In-Reply-To: <81D58FDE-0C3A-46FF-9CDF-07E0F06C114C@Chaos1.DE> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Knq5J5yJ3z3Gff X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chaos1.de header.s=email1 header.b=rvJQs+BY; dmarc=none; spf=none (mx1.freebsd.org: domain of Axel.Rau@Chaos1.DE has no SPF policy when checking 2a05:bec0:26:5::73) smtp.mailfrom=Axel.Rau@Chaos1.DE X-Spamd-Result: default: False [-2.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[chaos1.de:s=email1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[chaos1.de]; NEURAL_HAM_SHORT(-1.00)[-0.998]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[chaos1.de:+]; RCPT_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[chaos1.de:dkim]; MLMMJ_DEST(0.00)[ports]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:197071, ipnet:2a05:bec0::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[2a05:bec0:26:5::73:from] X-ThisMailContainsUnwantedMimeParts: N Hi Dan, All, I still have no idea how to convince this Linux beast to install what is=20 in STAGEDIR. STAGEDIR has: # ls -lR stage/usr/local/home2l/ total 24 -rw-r--r-- 1 root wheel 806 Dec 10 19:40 README -rw-r--r-- 1 root wheel 22 Apr 26 11:32 VERSION drwxr-xr-x 3 root wheel 11 Apr 26 11:32 bin -rw-r--r-- 1 root wheel 543 Apr 26 11:29 env.sh drwxr-xr-x 2 root wheel 2 Apr 26 11:32 etc drwxr-xr-x 2 root wheel 3 Apr 26 11:32 install drwxr-xr-x 3 root wheel 3 Apr 26 11:32 lib drwxr-xr-x 4 root wheel 4 Apr 26 11:32 share stage/usr/local/home2l/bin: total 73 drwxr-xr-x 2 root wheel 15 Apr 26 11:32 amd64 -rwxr-xr-x 1 root wheel 1646 Apr 26 11:29 h2l-mkdir.sh . . . I can build the package, but it installs nothing. I know it's bad practice to install into PREFIX/home2l, but for now, I=20 want it isolated from other port installs in PREFIX. Work-in-progress here: https://github.com/mc3/fbsd_local_ports/tree/master/net/home2l Any help appreciated, Axel Am 25.03.22 um 13:43 schrieb Axel Rau: >=20 >=20 >> Am 25.03.2022 um 12:10 schrieb Axel Rau > >: >> >> Hi Dan, All, >> >> should I replace the linux install targets by proper ports plists=20 >> instead of translating each install statement to FreeBSD style = install ? >=20 > Or should I create one port per architecture (amd64, arm embedded or = avr)? >=20 > Please advice, > Axel > PS: What I created up to now is unsatisfactory: > https://github.com/mc3/fbsd_local_ports/tree/master/net/home2l=20 > > --- > PGP-Key:=C2=A0CDE74120 =C2=A0=E2=98=80 =C2=A0computing @ chaos claudius >=20 =2D-=20 PGP-Key: CDE74120 =E2=98=80 computing @ chaos claudius