From owner-freebsd-ports@freebsd.org Wed Jan 17 23:30:20 2018 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 7FE73EBF422 for ; Wed, 17 Jan 2018 23:30:20 +0000 (UTC) (envelope-from dave@horsfall.org) Received: from viclamta02p.bpe.bigpond.com (viclamta02p.bpe.bigpond.com [203.38.21.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "", Issuer "Openwave Messaging Inc." (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 41E2E6815B for ; Wed, 17 Jan 2018 23:30:16 +0000 (UTC) (envelope-from dave@horsfall.org) Received: from smtp.telstra.com ([10.10.26.4]) by viclafep18p-svc.bpe.nexus.telstra.com.au with ESMTP id <20180117231022.GSKU15755.viclafep18p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com> for ; Thu, 18 Jan 2018 10:10:22 +1100 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedtvddrtdefgddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfupfevtfgpvffgnffuvfftteenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffujgfkfhgfgggtsehttddttddtredvnecuhfhrohhmpeffrghvvgcujfhorhhsfhgrlhhluceouggrvhgvsehhohhrshhfrghllhdrohhrgheqnecuffhomhgrihhnpehhohhrshhfrghllhdrohhrghenucfkphepuddutddrudeguddrudelfedrvdeffeenucfrrghrrghmpehhvghloheprghnvghurhhinhdrhhhorhhsfhgrlhhlrdhorhhgpdhinhgvthepuddutddrudeguddrudelfedrvdeffedpmhgrihhl X-RG-VS-CLASS: clean Received: from aneurin.horsfall.org (110.141.193.233) by smtp.telstra.com (9.0.019.22-1) id 5A170C18096757D5 for freebsd-ports@freebsd.org; Thu, 18 Jan 2018 10:10:22 +1100 Received: from aneurin.horsfall.org (localhost [127.0.0.1]) by aneurin.horsfall.org (8.15.2/8.15.2) with ESMTP id w0HNAMbx066867 for ; Thu, 18 Jan 2018 10:10:22 +1100 (EST) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by aneurin.horsfall.org (8.15.2/8.15.2/Submit) with ESMTP id w0HNAKHe066864 for ; Thu, 18 Jan 2018 10:10:22 +1100 (EST) (envelope-from dave@horsfall.org) X-Authentication-Warning: aneurin.horsfall.org: dave owned process doing -bs Date: Thu, 18 Jan 2018 10:10:20 +1100 (EST) From: Dave Horsfall To: FreeBSD Ports Subject: Re: Mailman has mismatched checksums In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (BSF 202 2017-01-01) X-GPG-Public-Key: http://www.horsfall.org/gpgkey.pub X-GPG-Fingerprint: 05B4 FFBC 0218 B438 66E0 587B EF46 7357 EF5E F58B X-Home-Page: http://www.horsfall.org/ X-Witty-Saying: "chmod 666 the_mode_of_the_beast" MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII 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: Wed, 17 Jan 2018 23:30:20 -0000 On Tue, 16 Jan 2018, Ted Hatfield wrote: > My best guess is that some time in the past I changed the variables > DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST in the Defaults.py file rather > than mm_cfg.py, and the files Defaults.py and Defaults.pyc didn't change > when I did a pkg update. After further investigation (a complete removal of Mailman, updated the "locate" database, and confirmed that not a skerrick of Mailman was left on the server), I did another installation of the package (not the port), and stood back and waited for the overnight check. And... Checking for packages with mismatched checksums: mailman-2.1.25: /usr/local/mailman/Mailman/Defaults.py mailman-2.1.25: /usr/local/mailman/Mailman/Defaults.pyc Suspicious (since *I* hadn't touched anything), I looked further, and found: DEFAULT_EMAIL_HOST = 'aneurin.horsfall.org' DEFAULT_URL_HOST = 'aneurin.horsfall.org' DEFAULT_URL_PATTERN = 'http://%s/mailman/' In other words, the installation gratuitously changes a file that by its own admission should not be changed, and then the system has the hide to complain that it has been changed i.e. it installs itself as pre-corrupted... I'm surprised that this breakage hasn't been noted until now. -- Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer."