From owner-freebsd-ports@freebsd.org Tue Dec 19 04:58:59 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 C85A6E867A0 for ; Tue, 19 Dec 2017 04:58:59 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ua0-x234.google.com (mail-ua0-x234.google.com [IPv6:2607:f8b0:400c:c08::234]) (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 8B67E64C0C for ; Tue, 19 Dec 2017 04:58:59 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ua0-x234.google.com with SMTP id a25so4867588uak.3 for ; Mon, 18 Dec 2017 20:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=+gROVtv7JqGodARRF2t5dXWSZwVyajQcHeyVjn3tz8Q=; b=OjOF7kKO9zkQrtBbLQ8KOIdFWUd8LepFY2QSUpUuJFfYw9zCJLNxm0Vrcbvf+qVFK2 0wZf6lRRJAAfxER5BR1su8ymmqC0znfUJt9juuKosE3YHqcmVMRK5ll+IX8waTBKUhWE 60EGs43z7qsdSMyxpB7EIZl0UzUBiuwlX1zU9JfPnbVuaG82Ndus+ARlmd5zyBsb50X/ q6K6ruK3WYtH40HtVqkqicEum+b+W3x9bco4TiiTt2fBKtREKNIJIZvJV04uAjmfPJB1 Ic3yVoadlqWB6dleDNXW7uoOJMdWMRFN+DgBvys4w3nvrQct4BQRuXHkFHfDLebLTsSL DI2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=+gROVtv7JqGodARRF2t5dXWSZwVyajQcHeyVjn3tz8Q=; b=mhLXmBHarq1XKeGVP5XGTuo3ExoGsmqhAQrjqwLSoAay08eWkIzjXk0FAhk5yrUIEa ZBNdAXZmAY8nkXGUqhkH8/ogvUD+/MkmunVEFVTP29Nij6+P8N43f6LOQ5q0arvIoq0p cF5mSHz4njGoH1nvrQcscGbLxVKutQ5yg7Lcb6icuRmhLFQwWxZA+934sCFEWjiEmOuW ef/WQCo09/V3x0F2RmEOtEb7xO4ZX4Nawu22OAy/db9UZ5puZYntxLIef+GKJvBl/xiB 7ai4Vcv8q0x3A19QlRY7K36H8bjlvL3ci/hvpk0+krBfXiH1thHzyGueFlg+u/4ecokT celw== X-Gm-Message-State: AKGB3mKXlz+aHb7Pw7JQJbTu8/tEUooR5f7Pu9ErdovVBU0iyNE2O+q/ xY6LBQuizTc1Q3WhDG0T/aciKH77NXR+QQvDtCw= X-Google-Smtp-Source: ACJfBouDgiNjjwy2vHq5CLXRXlBdNRZjHgR50+wQAoOg2KTY1rqVsIse1aVnlg719olvC9FjlKEXcELguXzfwRR2Rnc= X-Received: by 10.176.8.71 with SMTP id b7mr2082451uaf.168.1513659538249; Mon, 18 Dec 2017 20:58:58 -0800 (PST) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.147.156 with HTTP; Mon, 18 Dec 2017 20:58:57 -0800 (PST) In-Reply-To: References: From: Kevin Oberman Date: Mon, 18 Dec 2017 20:58:57 -0800 X-Google-Sender-Auth: 2wQcCz9Pf8Vj2TF4g8VEiAIAcC8 Message-ID: Subject: Re: A small problem after switching from portmaster to synth To: Kurt Buff Cc: FreeBSD Ports ML Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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 04:58:59 -0000 PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 On Mon, Dec 18, 2017 at 4:50 PM, Kurt Buff wrote: > 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 I also see this with Checking for packages with mismatched checksums: urwfonts-ttf-1.0.7b18_6: /usr/local/share/fonts/urwfonts-ttf/fonts.dir urwfonts-ttf-1.0.7b18_6: /usr/local/share/fonts/urwfonts-ttf/fonts.scale I tried re-installing the port, but the messages have not changed. I really should have dome more to trackit down as it is potentially serious, but have not gotten around to it. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com