From nobody Sun Feb 02 12:11:00 2025 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 4Ym7ky6RSwz5mVH6 for ; Sun, 02 Feb 2025 12:11:06 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ym7ky0gwsz3rbC; Sun, 02 Feb 2025 12:11:05 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; none Received: from kalamity.joker.local (124-18-43-234.area1a.commufa.jp [124.18.43.234]) (authenticated bits=0) by www121.sakura.ne.jp (8.17.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 512CB1FV080699; Sun, 2 Feb 2025 21:11:02 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dec.sakura.ne.jp; s=s2405; t=1738498262; bh=KVoqQegcYeiybSOfyama+ZBEhvyBEt1e7J/7dSsEm7Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=oXPZpWE5xMc9ee2OmT7cvBUGo4bIZHGWdppjaTobq4phPL/bzo4RGSVJmL9oEqVhR 7WY+tYdN+153h6SdtJKtioxem8yzQ13Lr/1yCh3cBjIDSClO7X8hsULacRBEUoewfR bhu0aFvKHwixvNq6PGaCVjQsJqUXvYhJ1rx7tksw= Date: Sun, 2 Feb 2025 21:11:00 +0900 From: Tomoaki AOKI To: Xavier Beaudouin Cc: Tatsuki Makino , Kevin Oberman , FreeBSD Mailing List Subject: Re: Strange version inconsistency in Samba t* utils (e.g. talloc) Message-Id: <20250202211100.0531c1b4feeacb273c7b27b6@dec.sakura.ne.jp> In-Reply-To: <1453319087.51758.1738487855881.JavaMail.zimbra@oav.net> References: <1453319087.51758.1738487855881.JavaMail.zimbra@oav.net> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.2) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Ym7ky0gwsz3rbC X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP] On Sun, 2 Feb 2025 10:17:35 +0100 (CET) Xavier Beaudouin wrote: > Hi Tatsuki ! > > > The following two lines exist in INDEX-*. > > > > tdb-1.4.9,1|/usr/ports/databases/tdb|/usr/local|Trivial > > Database|/usr/ports/dat... > > tdb-1.4.10,1|/usr/ports/databases/tdb1410|/usr/local|Trivial > > Database|/usr/port... > > > > I haven't checked which one takes precedence, but I guess it's bad that > > package-name is duplicated. > > I understand, but samba is really picky with their "satellite" libraries. > When you don't use them as embedded tools then you can have strange results > if the version it not the one needed. > For example, net/samba420 needs tdb >= 1.4.10, but other net/samba may not > work with this version. > > This is very unfortunate but also some other tools like sssd2 and sudo may > need this libraries as external when compiled with samba support. > > Kind regards, > Xavier So it would be needed to rename all those libraries to contain its branch (major/minor version) like tevent016.so.0, tevent015.so.0,... on ports. Maybe new USES to handle (auto-patch/reinplace) it would be wanted, too. (Or add the functionalities in Mk/Uses/samba.mk?) Not sure how difficult it would be. At least, PKGNAME should be different. For example, devel/tevent016 should have PKGNAMESUFFIX to be "016" or "-016". So as others. -- Tomoaki AOKI