From owner-freebsd-ports@freebsd.org Wed Dec 26 19:05:11 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBC951359BF5 for ; Wed, 26 Dec 2018 19:05:11 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail.inka.de (quechua.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A99E28E0CB; Wed, 26 Dec 2018 19:05:10 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from localhost by mail.inka.de with local-rmail id 1gcEUN-0007ay-C0; Wed, 26 Dec 2018 20:05:07 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.15.2/8.15.2) with ESMTP id wBQJ04Tf001826; Wed, 26 Dec 2018 20:00:04 +0100 (CET) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.15.2/8.15.2/Submit) id wBQJ03lp001825; Wed, 26 Dec 2018 20:00:03 +0100 (CET) (envelope-from naddy) Date: Wed, 26 Dec 2018 20:00:03 +0100 From: Christian Weisgerber To: Adam Weinberger Cc: freebsd-ports@freebsd.org, johans@freebsd.org Subject: Re: INN users beware of ino_t change FreeBSD 11 to 12 Message-ID: <20181226190003.GA1628@lorvorc.mips.inka.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.1 (2018-12-01) X-Rspamd-Queue-Id: A99E28E0CB X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.22 / 15.00]; ARC_NA(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.99)[0.993,0]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[inka.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.995,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.inka.de]; NEURAL_SPAM_LONG(1.00)[0.996,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(1.35)[ip: (3.55), ipnet: 2a04:c9c7::/32(1.77), asn: 202113(1.42), country: DE(-0.01)] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2018 19:05:12 -0000 Adam Weinberger: > > User of INN (news/inn) should be aware of an issue when upgrading > > from FreeBSD 11 to 12 with an existing news spool. > > Thanks for this! Can you please add this to /usr/ports/UPDATING? I can do that. Is UPDATING the right place? I also considered pkg-message, but if you install lots of packages, like I did, important notices get lost in all the spam about lack of maintainer etc. Here's what I have for UPDATING. I picked the 12.0 release date as date. The sample command is very convoluted, but the port can be built with different layouts and if you execute su -fm as root, you'll get csh. -------------------- 20181211: AFFECTS: users of news/inn when upgrading to FreeBSD 12 AUTHOR: naddy@FreeBSD.org When upgrading from FreeBSD 11 to 12, a change in the size of the ino_t type causes a binary incompatibility in the overview database if the default tradindexed format is used. After upgrading the inn package, remove the overview/group.index file and regenerate the history and overview database with makehistory(8) before starting innd. # echo '. /usr/local/news/lib/innshellvars && \ rm -f $OVERVIEWDIR/group.index && \ $NEWSBIN/makehistory -O -s `wc -l <$HISTORY`' | \ su -fm news -c '/bin/sh -s' -- Christian "naddy" Weisgerber naddy@mips.inka.de