The proj-4.8.0_1.tbz package has bad permissions for the file include/projects.h: $ tar tfv proj-4.8.0_1.tbz ... -rw-r----- 0 root wheel 15057 22 Jul 09:37 include/projects.h ... After installing the package using pkg_add it looks the same: $ ls -al /usr/local/include/projects.h -rw-r----- 1 root wheel 15057 22 Jul 09:37 /usr/local/include/projects.h Fix: post-install probably should not use ${CP} but a ${INSTALL...} macro.
Hi, As maintainer of the graphics/proj FreeBSD port can you take a look at and approve the attached patch? It fixes http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184385 and converts the port to use staging.
State Changed From-To: open->feedback
Responsible Changed From-To: freebsd-ports-bugs->tijl Take.
Author: tijl Date: Sun Dec 29 15:09:53 2013 New Revision: 338006 URL: http://svnweb.freebsd.org/changeset/ports/338006 Log: - Fix permissions on include/projects.h. - USES=gmake. - Staging. PR: ports/184385 Approved by: maintainer timeout (2 weeks) Modified: head/graphics/proj/Makefile (contents, props changed) head/graphics/proj/pkg-plist (contents, props changed) Modified: head/graphics/proj/Makefile ============================================================================== --- head/graphics/proj/Makefile Sun Dec 29 15:07:21 2013 (r338005) +++ head/graphics/proj/Makefile Sun Dec 29 15:09:53 2013 (r338006) @@ -3,7 +3,7 @@ PORTNAME= proj PORTVERSION= 4.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics geography MASTER_SITES= ftp://ftp.remotesensing.org/proj/ \ http://download.osgeo.org/proj/ @@ -18,14 +18,10 @@ CONFLICTS= proj4-[0-9]* DATUM_GRID_FILES= proj-datumgrid-1.5.zip GNU_CONFIGURE= yes -USE_GMAKE= yes +USES= gmake USE_LDCONFIG= yes USE_ZIP= yes -MAN1= cs2cs.1 geod.1 proj.1 -MAN3= pj_init.3 - -NO_STAGE= yes post-extract: @${UNZIP_CMD} -q ${DISTDIR}/${DATUM_GRID_FILES} -d ${WRKSRC}/nad @@ -34,6 +30,6 @@ post-patch: ${WRKSRC}/Makefile.in post-install: - ${CP} ${WRKSRC}/src/projects.h ${PREFIX}/include/ + ${INSTALL_DATA} ${WRKSRC}/src/projects.h ${STAGEDIR}${PREFIX}/include .include <bsd.port.mk> Modified: head/graphics/proj/pkg-plist ============================================================================== --- head/graphics/proj/pkg-plist Sun Dec 29 15:07:21 2013 (r338005) +++ head/graphics/proj/pkg-plist Sun Dec 29 15:09:53 2013 (r338006) @@ -12,6 +12,10 @@ lib/libproj.la lib/libproj.so lib/libproj.so.7 libdata/pkgconfig/proj.pc +man/man1/cs2cs.1.gz +man/man1/geod.1.gz +man/man1/proj.1.gz +man/man3/pj_init.3.gz %%DATADIR%%/FL %%DATADIR%%/GL27 %%DATADIR%%/IGNF _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Fixed in r338006.