From nobody Wed Sep 13 14:06:29 2023 X-Original-To: freebsd-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 4Rm2Lc5NVjz4t7g9 for ; Wed, 13 Sep 2023 14:06:32 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rm2Lc4ySpz4Tjh; Wed, 13 Sep 2023 14:06:32 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694613992; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nKXQKXQZ8sVIPMggjY+cPOnVuBX+5QoPabTa/XFaEck=; b=upiAsUkGtv2HDcLfRfLaiakWPOg1pCeLcqBxpmGYJin2DeuNYWSkxrAd2gyDtCJsw/XgCf dSn8xr+DOkBB0IuRP9i5YjYQRJfgiJsj+lRCdcIzM6zKYDTWrrCn7grXdi2gqbPJnx1+fw TQW58G+VMSTNuvkNGa+0peFqVO2g4tjJGYRYkIfuOlQG/7mPW+fhrl3RVHAc5MFkhB3jHi QxP6ftTeRUPbhvdN9tsKLwi/Z1BiBBUgMKWSnX+6KnCiVQ6zM4IGTHn1j1p9+uqcdvC2Up 5z6x0YjqaQtZ2tXdQxVeMpBV+79IPJ/xJl/CF+uTs4cK65FNFBvy4oMaoUl/GQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694613992; a=rsa-sha256; cv=none; b=t49FgrsXxWngUWzNzn2/xBJ01q1wTXnsbHqdaX+LJHmuEHZEE1MMi2iyTbExjS7xZZx1NF PgfzAer8kLvbHFYNTvWwHEUwPHtcIb0sPr7QLtx+O9Xt1Gd7apWiZU6sBxRQSsyxg/LTxY R2Wm8Nq/3pz8twT66CkJgfBlyE2pINElVM/jb9FSjUvIWIAgzxN2d06za8Ct9kixI0LVJb ewQmg6ZZh+qOp1rlff6PtXrB0V65jxY1mNBHYFfJD1pufzaiNP3N3VFUUR994hEaMmtQ50 2e31CSbIMVvK1EITTf2YoA+SEcwd6zmASBtufmlHWWplmIeEaA9Ht+WitKwOjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694613992; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nKXQKXQZ8sVIPMggjY+cPOnVuBX+5QoPabTa/XFaEck=; b=oDyiWOcalejGZAJ/aJmXhRQAD3HdV6ChfbCwRYXDBev75ImAKBSHbXP3VIkzdn1NqDkTLs 84dLTOhv4vNLcVWoYEkbgeXR4t4Qy3KV7Z60kNVeMTxAruYqGMuAH6En1+8ZcyTv38ZaZv DBxlZaClN/zRyTq17BRsJa6huWNyYcfRymRjiRNpmj37+4uxLB6rd4g0qBG+91M7jiYgvD lI7ZdzvXV2QUMpCTG9wQSLuf5Y4vyT4kDHxKT8edt/ECFYhvMl4ykP2lriMulnM5epmxcm YO0cid2w3VQhuTk3Q6Gr0FCOsbjt+YFvqr18WKyc0O1pU7T7blrRHog3v0VXBg== Received: from aniel.nours.eu (nours.eu [IPv6:2001:41d0:8:3a4d::1]) (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 did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Rm2Lc3GBbzyd0; Wed, 13 Sep 2023 14:06:32 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id 9DE6C151CB4; Wed, 13 Sep 2023 16:06:29 +0200 (CEST) Date: Wed, 13 Sep 2023 16:06:29 +0200 From: Baptiste Daroussin To: Gordon Bergling Cc: freebsd-ports@freebsd.org Subject: Re: Creating ports with utilisation of bsd.prog.mk Message-ID: <4rhwcbjivgsslbb7ve256c24dmkclzjv5wpx6ppo5nw45kqw3j@2kygxmbf2wxp> References: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Sep 13, 2023 at 03:42:14PM +0200, Gordon Bergling wrote: > Hi, > > I would like to create two ports for software I have ported to FreeBSD. > > These two ports are classical 4.4BSD software that ship NetBSD and OpenBSD per default > can could benefit FreeBSD users. > > The first one ist bsd-spell [1] and the other one is bsd-vacation [2]. > > The code it self is straight forward, but I am unsure about the the Makefiles. > > In base they compiling just fine, but for a port I am > unsure if the inclusion of bsd.prog.mk is suitable for the port. > > Has anyone an advise on this topic. The sources are relativly simple, > and I could rewrite the Makefiles if neccessary. > > Any help is very appreciated. > > --Gordon > > [1] https://github.com/gbergling/bsdspell > [2] https://github.com/gbergling/bsd-vacation/tree/main There are plenty of ports relying on bsd.port.mk which are in the ports tree. The ports tree knows how to deal with them, you will need for sure USES=uidfix, maybe other things, look a for example ftp/freebsd-ftpd but there are many others. Bapt