Created attachment 147171 [details] sympa-6.1.22.patch - Update to 6.1.22 - Add Net::DNS as stated in changelog for 6.1.21 http://www.sympa.org/distribution/latest-stable/NEWS I'm not sure how to handle %%ETCDIR%%/data_structure.version, as it should not be overwritten by pkg upgrade (to let sympa make his database migration) Port maintainer (crees@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 1.02 (mode: update, diff: SVN)
Hi Geoffroy, You are correct indeed the data_structure.version file should be kept... I'll look into an rc script solution. Chris
*** Bug 194298 has been marked as a duplicate of this bug. ***
Created attachment 148192 [details] Patch updated for 6.1.23
Created attachment 148646 [details] Same patch with a @sample data_structure.version Maybe a mistake, but @sample seems to handle this perfectly… at least works for me® :) Also changed in plist: - @dirrm(try) to @dir to make portlint happy. - removed @owner for libexec/sympa/*: sympa doesn't need write privileges here (do it ?) - changed broken ${CHOWN} from Makefile to "@owner" in plist for %%DATADIR%%/{list_data,bounce,arc} (owned by sympa:sympa for real) - removed .keep files from these folders (wasn't this a workaround for old port-system bug?) HTH,
Created attachment 150700 [details] update + corrections + maintainer Add MAINTAINER=myself as discussed with current maintainer offline
A commit references this bug: Author: crees Date: Fri Dec 19 17:17:24 UTC 2014 New revision: 374954 URL: https://svnweb.freebsd.org/changeset/ports/374954 Log: - Update to 6.1.22 - Add Net::DNS as stated in changelog for 6.1.21 Also changed in plist: - @dirrm(try) to @dir to make portlint happy. - removed @owner for libexec/sympa/*: sympa doesn't need write privileges here (do it ?) - changed broken ${CHOWN} from Makefile to "@owner" in plist for %%DATADIR%%/{list_data,bounce,arc} (owned by sympa:sympa for real) Pass maintainership to submitter (thanks a lot!) PR: ports/193522 Submitted by: Geoffroy Desvernay Changes: head/mail/sympa/Makefile head/mail/sympa/distinfo head/mail/sympa/pkg-plist
Committed. Thanks!
Sorry but at least libexec/sympa/wwsympa-wrapper.fcgi need to be own by sympa user. otherwise, the fastcgi process will not change user to sympa and the following error occur: err [robot ] [client XX.XX.XX.XX] Config error: wwsympa should run with UID 200 (instead of 0). *** Switching to maintenance mode. *** After the chown sympa, the fastcgi process switched correctly to sympa and everything works like before.
Sorry for the delay... You're right, didn't test it under apache… I'll correct this ASAP (hope next week)
owner problem fixed in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198508 with 6.1.24 update.