Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2019 09:22:09 +0100 (CET)
From:      =?UTF-8?Q?Trond_Endrest=C3=B8l?= <trond.endrestol@ximalas.info>
To:        freebsd-questions@freebsd.org
Subject:   Re: Building "Kleopatra" with debug symbols
Message-ID:  <alpine.BSF.2.21.99999.352.1912150920320.14099@enterprise.ximalas.info>
In-Reply-To: <20191215095045.50135056@demon>
References:  <20191214141334.00001fbf@seibercom.net> <alpine.BSF.2.21.99999.352.1912142047090.14099@enterprise.ximalas.info> <20191215095045.50135056@demon>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 15 Dec 2019 09:50+0300, dmn wrote:

> On Sat, 14 Dec 2019 20:55:36 +0100 (CET)
> Trond Endrestøl <trond.endrestol@ximalas.info> wrote:
> 
> > Option 1:
> > 
> > Create /usr/ports/security/kleopatra/Makefile.local, giving it this 
> > content:
> 
> Is this Makefile.local stuff documented somewhere?

See Mk/bsd.ports.mk.

> > Option 2:
> > 
> > Add the aforementioned line to /etc/make.conf. Don't forget to remove 
> > or comment it out when you have rebuilt Kleopatra, otherwise all
> > ports will be built with debug symbols, leading to huge executables
> > all over /usr/local.
> 
> You can add WITH_DEBUG_PORTS+=security/kleopatra to make.conf to turn
> on debugging symbols just for security/kleopatra port.

Cool, I didn't know that. I better learn myself some new tricks.

-- 
Trond.
From owner-freebsd-questions@freebsd.org  Sun Dec 15 08:25:01 2019
Return-Path: <owner-freebsd-questions@freebsd.org>
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 A95C81E626E
 for <freebsd-questions@mailman.nyi.freebsd.org>;
 Sun, 15 Dec 2019 08:25:01 +0000 (UTC)
 (envelope-from trond.endrestol@ximalas.info)
Received: from enterprise.ximalas.info (enterprise.ximalas.info
 [IPv6:2001:700:1100:1::8])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 47bHWw6hKbz4Hrf
 for <freebsd-questions@freebsd.org>; Sun, 15 Dec 2019 08:25:00 +0000 (UTC)
 (envelope-from trond.endrestol@ximalas.info)
Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1])
 by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id xBF8OuY1061089
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO)
 for <freebsd-questions@freebsd.org>; Sun, 15 Dec 2019 09:24:56 +0100 (CET)
 (envelope-from trond.endrestol@ximalas.info)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info;
 s=default; t=1576398296;
 bh=QB7QkyfY3esOHWKFUiy0gXog3qIKrrU5B8sPVhpYGZA=;
 h=Date:From:To:Subject:In-Reply-To:References;
 b=InTF3n3AwbdRzYeD1RvSSbPoa5C0b4Bx56MAEp2odbbODiwZ2mgpVvQQLovdXT+Ci
 9LivkVB7sA97q6EYwwWK0UTIK/Wp+xah7ecqpnWpGPAlExodWkC3T5soVV765FLe3I
 AG6KfXzqh1pqdYTYZXwfsyP81aS2XCTBhDr68DJrjhtdZuKGjnBeCaOWi+mqr6j/l/
 n057btPmkMVK96ugij2VHYzXjn5Z18FyknWwL6rsmgh6J9e4IkrMOmdw/2WjkmmeC+
 ER8T4I6Q5XIIGtON/Hb989Kvk5AHNxItcSwypJETflIMG5Uz/mKRX43wh8SoMfKFKN
 ikU4n4mTqBrqw==
Received: from localhost (trond@localhost)
 by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id xBF8OuwL061086
 for <freebsd-questions@freebsd.org>; Sun, 15 Dec 2019 09:24:56 +0100 (CET)
 (envelope-from trond.endrestol@ximalas.info)
X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing
 -bs
Date: Sun, 15 Dec 2019 09:24:56 +0100 (CET)
From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= <trond.endrestol@ximalas.info>
Sender: Trond.Endrestol@ximalas.info
To: freebsd-questions@freebsd.org
Subject: Re: Building "Kleopatra" with debug symbols
In-Reply-To: <alpine.BSF.2.21.99999.352.1912150920320.14099@enterprise.ximalas.info>
Message-ID: <alpine.BSF.2.21.99999.352.1912150923280.14099@enterprise.ximalas.info>
References: <20191214141334.00001fbf@seibercom.net>
 <alpine.BSF.2.21.99999.352.1912142047090.14099@enterprise.ximalas.info>
 <20191215095045.50135056@demon>
 <alpine.BSF.2.21.99999.352.1912150920320.14099@enterprise.ximalas.info>
User-Agent: Alpine 2.21.99999 (BSF 352 2019-06-22)
OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key
MIME-Version: 1.0
X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=unavailable
 autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 enterprise.ximalas.info
X-Rspamd-Queue-Id: 47bHWw6hKbz4Hrf
X-Spamd-Bar: ---
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=ximalas.info header.s=default header.b=InTF3n3A;
 dmarc=pass (policy=none) header.from=ximalas.info;
 spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates
 2001:700:1100:1::8 as permitted sender)
 smtp.mailfrom=trond.endrestol@ximalas.info
X-Spamd-Result: default: False [-3.88 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 R_DKIM_ALLOW(-0.20)[ximalas.info:s=default];
 FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c];
 TO_MATCH_ENVRCPT_ALL(0.00)[];
 MIME_GOOD(-0.10)[multipart/mixed,text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org];
 TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3];
 HAS_XAW(0.00)[]; DKIM_TRACE(0.00)[ximalas.info:+];
 CTYPE_MIXED_BOGUS(1.00)[];
 DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+];
 RCVD_TLS_LAST(0.00)[];
 ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO];
 IP_SCORE(-1.88)[ip: (-7.59), ipnet: 2001:700::/32(-1.13), asn: 224(-0.67),
 country: NO(-0.01)]
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8BIT
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Dec 2019 08:25:01 -0000

On Sun, 15 Dec 2019 09:22+0100, Trond Endrestøl wrote:

> See Mk/bsd.ports.mk.

It's Mk/bsd.port.mk. My bad.

-- 
Trond.
From owner-freebsd-questions@freebsd.org  Sun Dec 15 10:29:51 2019
Return-Path: <owner-freebsd-questions@freebsd.org>
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 262BD1E8B43
 for <freebsd-questions@mailman.nyi.freebsd.org>;
 Sun, 15 Dec 2019 10:29:51 +0000 (UTC)
 (envelope-from jerry@seibercom.net)
Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com
 [IPv6:2607:f8b0:4864:20::f33])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 47bLHy0f5jz4NtX
 for <freebsd-questions@freebsd.org>; Sun, 15 Dec 2019 10:29:49 +0000 (UTC)
 (envelope-from jerry@seibercom.net)
Received: by mail-qv1-xf33.google.com with SMTP id n8so1512263qvg.11
 for <freebsd-questions@freebsd.org>; Sun, 15 Dec 2019 02:29:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=seibercom.net; s=google;
 h=date:from:to:subject:message-id:in-reply-to:references:reply-to
 :organization:mime-version;
 bh=A+v/HT+q4gPIgjqam0opkMduQ8imhD47sGI6penNmpY=;
 b=cQBclBPU2aM2Fmheue/kxi4hK7h0vLUZF1xPI6oCNwcRoalyyc1lRDPLddcjiuTSZU
 AWliuXsJQCyn3o3Zqr5/4DL2c3d+ca75H7hAAcrQPMq29Y8cvdx43C778sRSlWcHHuFJ
 k/PwHDrjbIPrO9lhBq7turLZD8xKj8kKZ5eRI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
 :references:reply-to:organization:mime-version;
 bh=A+v/HT+q4gPIgjqam0opkMduQ8imhD47sGI6penNmpY=;
 b=eHC0ewOdCippau2rfr/fCmIfQ1mghpLqTn2T3bYMSJejJQwhFNVXp8OgtFvSM/HZO+
 /6ix+EQHuJI9sscqP6xxRDajNcsvcgUNU6Cfc/TH/JbGbgcfdkO5xDsJ3oYcVk5GTHwZ
 TzJMLA3GSMPrPvG08stwX2kNHIwCk1kyDLH2j8hchZWytvMMC2MVJaW6ADTR25EXtQ/x
 nQx++SHjaYJq/D3ErpMeS5S/wXJhC+BPDutore2F/RqyicW0D3gpydJgCab8DrPYurcA
 A76ROi7ss86JCyDPVWTL4gFiQyax1F/kD0kYVFH21JYAcheFKCCTFdkNN3+nJetlmlcJ
 Izhg==
X-Gm-Message-State: APjAAAVB8EqYkuUni7zOIZvamgBRkxOUExBfVPKhEV1wWrCeJCd04Yym
 JWOG0cG17Ht7UeaKYLUOjF7BwKhPjVk=
X-Google-Smtp-Source: APXvYqzjiIQwU3WvpMVYv0Xtbe+d7wTUurKuBnSaF+vdTrLoP/Qaisw5No2IaRS0LMzUH7LT+/+v3A==
X-Received: by 2002:a0c:990d:: with SMTP id h13mr21449582qvd.247.1576405783229; 
 Sun, 15 Dec 2019 02:29:43 -0800 (PST)
Received: from scorpio.seibercom.net (cpe-174-109-225-250.nc.res.rr.com.
 [174.109.225.250])
 by smtp.gmail.com with ESMTPSA id o16sm3652057qkj.91.2019.12.15.02.29.42
 for <freebsd-questions@freebsd.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 15 Dec 2019 02:29:42 -0800 (PST)
Received: from scorpio (localhost [127.0.0.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 (Authenticated sender: jerry@seibercom.net)
 by scorpio.seibercom.net (Postfix) with ESMTPSA id 47bLHn1M2kz1Shk
 for <freebsd-questions@freebsd.org>; Sun, 15 Dec 2019 05:29:41 -0500 (EST)
Date: Sun, 15 Dec 2019 05:29:31 -0500
From: "Gerard E. Seibert" <jerry@seibercom.net>
To: freebsd-questions@freebsd.org
Subject: Re: Building "Kleopatra" with debug symbols
Message-ID: <20191215052931.76ba2cb9@scorpio>
In-Reply-To: <20191215095045.50135056@demon>
References: <20191214141334.00001fbf@seibercom.net>
 <alpine.BSF.2.21.99999.352.1912142047090.14099@enterprise.ximalas.info>
 <20191215095045.50135056@demon>
Reply-To: freebsd-questions@freebsd.org
Organization: seibercom.net
X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd11.3)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/7FAFGwQ4/I+g++C_kiyl+N5"; protocol="application/pgp-signature"
X-Rspamd-Queue-Id: 47bLHy0f5jz4NtX
X-Spamd-Bar: /
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=seibercom.net header.s=google header.b=cQBclBPU;
 dmarc=none;
 spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates
 2607:f8b0:4864:20::f33 as permitted sender) smtp.mailfrom=jerry@seibercom.net
X-Spamd-Result: default: False [0.07 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[];
 HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org];
 R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36];
 TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[];
 RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[seibercom.net:+];
 SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+,1:+,2:~];
 IP_SCORE(-0.83)[ipnet: 2607:f8b0::/32(-2.20), asn: 15169(-1.91), country:
 US(-0.05)]; REPLYTO_EQ_TO_ADDR(5.00)[];
 ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
 RECEIVED_SPAMHAUS_PBL(0.00)[250.225.109.174.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net
 : 127.0.0.10]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 R_DKIM_ALLOW(-0.20)[seibercom.net:s=google];
 FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 NEURAL_HAM_LONG(-1.00)[-1.000,0];
 MIME_GOOD(-0.20)[multipart/signed,text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org];
 DMARC_NA(0.00)[seibercom.net]; RCPT_COUNT_ONE(0.00)[1];
 MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Dec 2019 10:29:51 -0000

--Sig_/7FAFGwQ4/I+g++C_kiyl+N5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sun, 15 Dec 2019 09:50:45 +0300, dmn stated:

//truncated//

>You can add WITH_DEBUG_PORTS+=3Dsecurity/kleopatra to make.conf to turn
>on debugging symbols just for security/kleopatra port.

A) I did not know that. I never saw it documented either; although, it
obviously must be somewhere.

B) Will that work in the "/usr/local/etc/poudriere.d/make.conf" file?

--=20
Jerry

--Sig_/7FAFGwQ4/I+g++C_kiyl+N5
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl32CwsACgkQOHMGOIfe
xWTouwgAyUcA2w3tDKpzhpthA5d6PSmjL/euUcyO1Sy0E6w1yqxZLGZflYeL+vKw
xnePv9YLtUDtkw2tanMP1G1sivvy01eFy2bym3ddXgMJSyfm8aJ6B5636bCn15x6
qFQvat0DJWK0WohQJ01jOvz49LK540oS6i1CMb8IqwsUIsENzz3hwM/3vxAMaLW9
g6gxDZNDGEClWIub8pyy9MWebIkIC56j0ujdwZyhulUxyE3RHhZTHdNjN7Vp3OpK
LWnZ+mZ6iw+Ly7txm0dwhUmQdjTvd+U1DoV8ArCR1Q49MgllihjQj07EQ0y/IZRo
Y8G4roUFa1FvwLZUQlcq9iPHX8+DdQ==
=EsZS
-----END PGP SIGNATURE-----

--Sig_/7FAFGwQ4/I+g++C_kiyl+N5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.99999.352.1912150920320.14099>