From owner-freebsd-questions@freebsd.org Wed Apr 8 18:11:13 2020 Return-Path: Delivered-To: freebsd-questions@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 565892B7F0F for ; Wed, 8 Apr 2020 18:11:13 +0000 (UTC) (envelope-from viktormadarasz@SDF.ORG) Received: from mx.sdf.org (mx.sdf.org [205.166.94.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.sdf.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48yC5C4b3Wz4SfT for ; Wed, 8 Apr 2020 18:11:11 +0000 (UTC) (envelope-from viktormadarasz@SDF.ORG) Received: from otaku.sdf.org (IDENT:viktormadarasz@otaku.sdf.org [205.166.94.8]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 038IAxDc015120 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 8 Apr 2020 18:10:59 GMT Date: Wed, 8 Apr 2020 18:10:59 +0000 (UTC) From: Viktor Madarasz To: Polytropon cc: Evilham , freebsd-questions@freebsd.org Subject: Re: Question (fwd) In-Reply-To: <20200408200149.8d6464a3.freebsd@edvax.de> Message-ID: References: <20200408200149.8d6464a3.freebsd@edvax.de> User-Agent: Alpine 2.21 (NEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 48yC5C4b3Wz4SfT X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of viktormadarasz@SDF.ORG has no SPF policy when checking 205.166.94.20) smtp.mailfrom=viktormadarasz@SDF.ORG X-Spamd-Result: default: False [-1.25 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.940,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[SDF.ORG]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.97)[-0.973,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-0.24)[ip: (-0.77), ipnet: 205.166.94.0/24(-0.38), asn: 14361(-0.01), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[20.94.166.205.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14361, ipnet:205.166.94.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2020 18:11:13 -0000 Thanks Polytropon Lot of nice information in the response.. Well the only thing it reminds me is the system slackware used called Slackbuilds.. seems remotely similar.. Go read .... On Wed, 8 Apr 2020, Polytropon wrote: > Date: Wed, 8 Apr 2020 20:01:49 +0200 > From: Polytropon > To: Viktor Madarasz > Cc: Evilham , freebsd-questions@freebsd.org > Subject: Re: Question (fwd) > > On Wed, 8 Apr 2020 15:43:27 +0000 (UTC), Viktor Madarasz wrote: >> Very nicely written article I liked it ... I also saw there is a FreeBSD >> Porting Manual/Handbook > > Yes, that is the "FreeBSD Porter's Handbook": > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ > > It contains a general description of the framework and tools > you will be using when porting an application to FreeBSD. > > > >> By the look of it with my untrained eye it looked a lot like shell >> scripting and following a given syntax and cheking builds and update >> dependencies ---> this with my eyes without having a clue so dont judge me >> on that :) > > You are basically right. The ports infrastructure uses both > shell scripts and Makefile (with BSD make) to accomplish a > wide set of goals. See the ports collection itself as a > "collection of recipes on how to obtain, build, install, > update, remove, or modify applications". THere are also > some files with specific content that act as a "port > description". An outline of how this works can be found > in the porter's handbook mentioned above. > > > >> I always thought porting would mean to bring something over which does not >> exist .. from zero .. like SecureCRT (has it open thats why, its a closed >> source SSH/Terminal emulator has windows/mac os / linux versions ) and >> figure out how to make it work on FreeBSD ** without it existing in any >> form of port or binary for FreeBSD ** > > That's not fully correct. In some cases, ports are unique to > FreeBSD - a comparable program does not exist anywhere else. > A port can also be a program originally written for Linux, > with patches, now available on FreeBSD. But a port can also > be a device driver, released by the manufacturer, in binary > form - no sources involved. > > Whenever you build a port, the end result typically is a > pkg-style package. This package can then be installed. Don't > be fooled by "make install" maybe suggesting something else - > no, it exactly does that: build a package to be installed. > In many cases, it compiles some source, maybe installs > required dependencies (build dependencies and runtime > dependencies), but sometimes it just fetches a binary blob > from a specified source. > > > >> Where can I go to get some more step by step and training materials on >> this Porting thing? IRC? other mail list? Telegram chat? > >> From the "lists.freebsd.org Mailing Lists" directory, the > list "freebsd-ports - Porting software to FreeBSD" sounds > quite suitable. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > viktormadarasz@sdf.org SDF Public Access UNIX System - http://sdf.org