From owner-freebsd-ports@freebsd.org Tue Dec 19 00:50:40 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AEC0E97326 for ; Tue, 19 Dec 2017 00:50:40 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1704D79AEF for ; Tue, 19 Dec 2017 00:50:40 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: by mail-io0-x232.google.com with SMTP id l10so11783361ioc.3 for ; Mon, 18 Dec 2017 16:50:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=TC8uY6rTGBM9E9mUX7T7jwh0DY8ad4vhCnYn3kSF1HQ=; b=GFc1IHSPEz3yw+tWvGVkEh33Befl2ANmeOLw0sIx9tqXtSyfUl7wBYFt23WQdh5nIC Nrzt568Qb18C8WeByurWmi1CfWT5yMSG2GaLoA5Fg9pjd1JVIBQ+A4AAIEVSuTs1iujV a/R+F2kqf2Q0RJz8+zPF7S7mPzMLdDxLUWe1LJSZ0bbN+hJAUQBM5g9I6IGRW4hv6q9f kXLTBKBiQe40Ce9Tt9tDfzFW90s+sVT4fj2NCmj221xfmwB5/HJOqST+5SZfR6yq9gfp eV0+x8XN+prj9SiZJkG3wDMwbNyWTPAMr+LaP4q4ud1b4vl8ZhjgayljX2IzlCxWBSRI SkJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=TC8uY6rTGBM9E9mUX7T7jwh0DY8ad4vhCnYn3kSF1HQ=; b=IoPIrjV266sRile/YBGiurc8Nrgo9vgyxZY/SS+uDdBxp7VfY9T90bUBQEPjVio2wv jSYSoXAErB5y+eSGI5tUC5kV5G6wyB8o7XVCGYrXqUkFrlK6/WjguBtUK1yLhQ8RzlpP 6zC+58XpFplMBeGzJqNPUd+N+mjOdivxdgYf610KSbSOAtFF3w0AiBZ05456fQHHOtqB mvAzpsOEzpCyPbXlpjEJoLc7dNv40Kf4ehtuQVDLAq5SdKLQtHpwT0sb/zcIjNpJOT+b VFqj7pOrYtKjqjr/dTn5lMtiFcgLVQb0x5rynHR7xTwdxNN03zbU/YzDClm8yH5AQYWL S1Wg== X-Gm-Message-State: AKGB3mKj5LQh699h4C0GEYrU29FM7E+JiJGzSZQOPj/5411l5G1r4l+J ae2+yOtwnIYLd63q0BzYi9LWTJ4cdrxCfKmDlf3KTg== X-Google-Smtp-Source: ACJfBovIvqkfDbqkQmz7F/QpgEbxNFKma1xSDG9qlXVm10Y0fSfFYotl2ltr4C+EryMphdM+C5W7dWYweMF91Ei0Wrg= X-Received: by 10.107.32.70 with SMTP id g67mr1990768iog.69.1513644639065; Mon, 18 Dec 2017 16:50:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.9.199 with HTTP; Mon, 18 Dec 2017 16:50:38 -0800 (PST) In-Reply-To: References: From: Kurt Buff Date: Mon, 18 Dec 2017 16:50:38 -0800 Message-ID: Subject: Re: A small problem after switching from portmaster to synth To: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2017 00:50:40 -0000 On Mon, Dec 18, 2017 at 2:11 PM, Jonathan Chen wrote: > On 19 December 2017 at 08:52, Kurt Buff wrote: >> I'm seeing a lot of this in the daily security email after switching: >> >> Checking for packages with mismatched checksums: >> db5-5.3.28_6: >> /usr/local/share/doc/db5/api_reference/C/BDB-C_APIReference.pdf >> >> On one of my machines, it goes on for hundreds of lines, mostly for postgresql. > > This is not a synth issue, but possibly a security issue. The security > check is correctly flagging possibly hi-jacked files. You should > forcibly reinstall the port to ensure that the artifacts that the port > builds is what you've got installed on your host. I have to say that > the only lines that have been flagged for me are due to the port > binary altering files configuration files, which should have been > located in /var instead of /usr/local. > > Cheers. > -- > Jonathan Chen I have a file called ports.txt, which I used for portmaster. It contains the master list of ports for this machine, and has the following lines in it: benchmarks/iperf ftp/curl ftp/wget mail/postfix ports-mgmt/pkg ports-mgmt/portmaster security/ike-scan security/nmap security/sslscan www/lynx net/mosh dns/bind-tools security/metasploit sysutils/tmux I tried this, with the following result: root@fbsd01p:~ # synth force /root/ports.txt Regenerating flavor index: this may take a while ... Scanning entire ports tree. progress: 100.00% raised ADA.IO_EXCEPTIONS.NAME_ERROR : file "/var/synth/live_packages/All/" does not exist These are the lines that have me scratching my head on this machine from the daily security email: Checking negative group permissions: find: /usr/ports/devel/pijul/Makefile: No such file or directory find: /usr/ports/devel/pijul/distinfo: No such file or directory find: /usr/ports/devel/pijul/pkg-descr: No such file or directory find: /usr/ports/devel/pijul: No such file or directory find: /usr/ports/devel/ppl/Makefile: No such file or directory find: /usr/ports/devel/ppl/distinfo: No such file or directory find: /usr/ports/devel/ppl/pkg-descr: No such file or directory find: /usr/ports/devel/ppl/pkg-plist: No such file or directory find: /usr/ports/devel/ppl: No such file or directory find: /usr/ports/devel/py-pyopencl/Makefile: No such file or directory find: /usr/ports/devel/py-pyopencl/distinfo: No such file or directory find: /usr/ports/devel/py-pyopencl/files: No such file or directory find: /usr/ports/devel/py-pyopencl/pkg-descr: No such file or directory find: /usr/ports/devel/py-pyopencl: No such file or directory find: /usr/ports/devel/pylint/Makefile: No such file or directory find: /usr/ports/devel/pylint/distinfo: No such file or directory find: /usr/ports/devel/pylint/pkg-descr: No such file or directory find: /usr/ports/devel/pylint/pkg-plist: No such file or directory find: /usr/ports/devel/pylint: No such file or directory find: /usr/ports/devel/rubygem-aws-sdk/Makefile: No such file or directory find: /usr/ports/devel/rubygem-aws-sdk/distinfo: No such file or directory find: /usr/ports/devel/rubygem-aws-sdk/pkg-descr: No such file or directory find: /usr/ports/devel/rubygem-aws-sdk: No such file or directory find: /usr/ports/devel/rubygem-aws-sdk-core/Makefile: No such file or directory find: /usr/ports/devel/rubygem-aws-sdk-core/distinfo: No such file or directory find: /usr/ports/devel/rubygem-aws-sdk-core/pkg-descr: No such file or directory find: /usr/ports/devel/rubygem-aws-sdk-core: No such file or directory find: /usr/ports/devel/rubygem-aws-sdk-resources/Makefile: No such file or directory find: /usr/ports/devel/rubygem-aws-sdk-resources/distinfo: No such file or directory find: /usr/ports/devel/rubygem-aws-sdk-resources/pkg-descr: No such file or directory find: /usr/ports/devel/rubygem-aws-sdk-resources: No such file or directory Checking for packages with mismatched checksums: p5-XML-SAX-0.99_2: /usr/local/lib/perl5/site_perl/XML/SAX/ParserDetails.ini On another machine, it looks like "synth force" is working, but I'm sure it's going to take a while. Kurt