From nobody Sat Aug 20 16:33:16 2022 X-Original-To: ports-bugs@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 4M941S61Qnz4Zhfx for ; Sat, 20 Aug 2022 16:33:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M941S4Thzz3T5R for ; Sat, 20 Aug 2022 16:33:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M941S3Yv8zdmh for ; Sat, 20 Aug 2022 16:33:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 27KGXGoP083465 for ; Sat, 20 Aug 2022 16:33:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27KGXGwJ083464 for ports-bugs@FreeBSD.org; Sat, 20 Aug 2022 16:33:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265651] [NEW PORT] archivers/zpaqfranz: versioned/snapshot archive Date: Sat, 20 Aug 2022 16:33:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zirias@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661013196; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ioleDQdn0KfgK9+WJy3qzpVb9Lh3n+xX2FxgPdlzA1E=; b=UxCAeL0DTH+WFZzZRRmCgflfKyAbu2mZgR0JoOI1dG9pM9jAHOv8e5nDoYOAJcdVmWZEcN uaP1KDtfvaF9HVtRAgmBvj/yK+0aI/9xFifMa/ithj/HmU9Mc2k4+K9/grpAcLbK29f0kg GxoBZzDcPgjDEQHZ5MvGGTS/CkkB8qkhMgWIvJs9U2ckJUQ6wWLb97APKaNMsTX8XoQ37R srjT902DoxhT+37jPrvOVyVlC+dODrE+FTrYxNrxV8Q1Thz7Kx/bmGnkOO5obk0l/A0pIZ iAbU8Jo9xagyqjH26klK1Z5ofJZcOz3SC7KuOB6pu/bcsrz027K/muFOefW/JA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661013196; a=rsa-sha256; cv=none; b=RHFQRndPYn7/ut0PHhvsm1W9UAewdIdBa8RTU3boeQH6PUU1fwR2PDdIWq/AQGsNH7nF0w NR7aEcUAnikGvr9GFg6gJvAM78uUmL0Go/Gy3LPT3CD6OHgwq75x4csvtaq3gDI3K3N0mb XeOdeuAoOA1ZXxEaqrg3aQt0iFY3KM+7J5qFjg5jRxOFhRPDdQHTEh9AT9pnKA5E9r64+m m5W9BXhPaYd3czyFgu9m4IHAYbFcja19eAI75RMEXs/3ZyspDvlLA6ja/sanKq+QJcPvmD g9dVy1188JvqyBTYS7IhgrfgVbDZCtQQpDoO9OJ4t5LLeG1z7Y0j/xpBxh6RqA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265651 --- Comment #21 from Felix Palmen --- (In reply to Franco Corbelli from comment #20) > If static linking is not allowed on FreeBSD, then let it be dynamic It's not forbidden, but it's typically removed if there is no unavoidable reason. Remember, we're talking about managed packages here. No way required libs will just disappear (except for a user going rogue as root, but that's= not really a concern). In your case, you're only linking libraries from base. T= hose are guaranteed to never receive incompatible changes (but they *might* rece= ive security updates). Linking them statically will have two undesirable effect= s: - you can't control whether security fixes are really applied - you lose reproducible builds when these libs are ever changed So, in this case here, I see no reason for static linking. It's a different story if you want to provide a "portable" binary outside of FreeBSD ports as some kind of rescue tool, there, static linking makes a lot of sense. > I will make another one, almost identical, where the executable will be c= alled > just... dir Almost certainly, this wouldn't be accepted, and people would tell you "add= a symlink to your original port". > Because it happens to remove the executable of zpaqfranz, keeping the one= of > dir. No, this certainly doesn't happen when both are in the same package. Again,= a root user "going rogue" is not a relevant scenario. > When there is a (backup) program update "you" can't just change the execu= table > and that's it, from version 5.3 to 5.4. >=20 > You will need to keep at least two different program versions (the old an= d the > new) and two different backup archives (the old and the new) > [=E2=80=A6] This sounds like a port/package would be unsuitable for your software. Ther= e's no sane way to keep multiple versions installed. You would have to create a= new port for each and every version if that is *really* needed :o Multiple ports can be a strategy (there are ports doing that), but not if e= very single version drops backwards compatibility ... it can't grow forever. --=20 You are receiving this mail because: You are the assignee for the bug.=