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: na...@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                          na...@mips.inka.de
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to