Date: Fri, 29 Jan 2016 01:54:02 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Adam Weinberger <adamw@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r407331 - head/net/geoipupdate Message-ID: <20160129015402.GA96343@FreeBSD.org> In-Reply-To: <201601270116.u0R1G1Vl041516@repo.freebsd.org> References: <201601270116.u0R1G1Vl041516@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 27, 2016 at 01:16:01AM +0000, Adam Weinberger wrote: > New Revision: 407331 > URL: https://svnweb.freebsd.org/changeset/ports/407331 > > Log: > Update to 2.2.2. > > Also, use localbase.mk instead of setting CPPFLAGS/LDFLAGS manually, and > use the new two-argument @sample instead of renaming and sed-ing. > > [...] > @@ -1,4 +1,4 @@ > bin/geoipupdate > -@sample etc/GeoIP.conf.sample > +@sample etc/GeoIP.conf etc/GeoIP.conf.default I think you've got it backwards, per what I read in CHANGE@20150926 and running post-install() from +MANIFEST with commands prepended with echo: if ! [ -f /usr/local/etc/GeoIP.conf.default ] /bin/cp -p /usr/local/etc/GeoIP.conf /usr/local/etc/GeoIP.conf.default /bin/chmod u+w /usr/local/etc/GeoIP.conf.default fi Similarly, for pre-deinstall(): if cmp -s /usr/local/etc/GeoIP.conf.default /usr/local/etc/GeoIP.conf rm -f /usr/local/etc/GeoIP.conf.default else You may need to manually remove /usr/local/etc/GeoIP.conf.default ... fi ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160129015402.GA96343>