From nobody Sun Jun 25 15:31:35 2023 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 4Qpw1g3s7Zz4h2Sm for ; Sun, 25 Jun 2023 15:31:35 +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 4Qpw1g2dNCz4cf7 for ; Sun, 25 Jun 2023 15:31:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687707095; 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=yqJ5zs8oODFLp6gH8Wa4mC4GIgpoYQ5r7IN1T+JrEoo=; b=baN2vzqgegdo4esPoj+lbRZZPsm8JUjWzdg6rZsk6dAzNrcBVBp3DnqdMEw/XolyQmKpXn 9s7ctuAlf/O9m+i2lra1F/iOFWr135EenA3kS4qyWYN+bw9VtH0uanFW6xThTALPXV/r4s M9R1ke/tqvLLsq4NBzIhQb8611Rol1UJKMU9XVbQNlbBrjZq/pFoc+h9gvcH4mfzUCyjBq dxF1q8AxDwx4u/fiBcQlurAMYLYgsLFhUxzX5jg3S+YoF6mp68YCdqfSWPtFGeeIk9elMa IGxVmUICZUIKe/YF2K97IisMcvUDjorvmCveJCmR396Uf+IW5S1f79kAn90EvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687707095; a=rsa-sha256; cv=none; b=umKdKvynQOAExFpht5fRFgENyV/lAS+dcJfdWwPl+Ju7uM50xD1ptsE+XHjx1Rk/rHr35u jNIaOAoDq0CMh4WJSD8Q5Jjx9hir6z5HL12QvvQxzUYUJbkh3siJSZHVww7EhN6rC4cf/u /MJNQJeJs5rYw/+yg4SnfxMldDilhLYWlmsmgVpii3EeThO5r2yBAd82YQTZgWTC7IhIbK /htZY84VZ+lyrGCdLutKUEJbfgrr4cbcRjocTKtO14PZZasM4XAwmbdoCiy0u5dX+qG9YY XWEjOLCF8P26ramCVIp7EDBPh4EWTxMyVwskyi43ItLGJ4B9yNdJ4aiwXXJ0Ew== 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 4Qpw1g1gz6zY6r for ; Sun, 25 Jun 2023 15:31:35 +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 35PFVZf5082698 for ; Sun, 25 Jun 2023 15:31:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35PFVZ1x082697 for ports-bugs@FreeBSD.org; Sun, 25 Jun 2023 15:31:35 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 272066] sysutils/scanbd: fix port tool warnings and make sure the scanbd.conf file is a sample Date: Sun, 25 Jun 2023 15:31:35 +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 Some People X-Bugzilla-Who: fuz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fuz@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc flagtypes.name assigned_to 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272066 Robert Clausecker changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fuz@FreeBSD.org, | |trueos@norwegianrockcat.com Flags| |maintainer-feedback?(trueos | |@norwegianrockcat.com) Assignee|ports-bugs@FreeBSD.org |fuz@FreeBSD.org --- Comment #1 from Robert Clausecker --- In scanbd.conf, you should dynamically patch in the correct PREFIX. We sup= port compiling packages for a different PREFIX than /usr/local. For example, you could have a static patch that just puts %%PREFIX%% into the file, then a pre-configure target that does something like ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' .../scanbd.conf to patch in the right PREFIX. There is a trailing space in scanbd.in. I'm not very comfortable with you pointing the default configuration to the examples directory. This directory is meant for examples, not configurati= on that can be hotwired into the tool. Also, examples can be omitted if the p= ort is built without the EXAMPLES option. I'm not sure what a better solution would be. Shall I commit the patch anyway? You can fix these things in a future upda= te. --=20 You are receiving this mail because: You are the assignee for the bug.=