Created attachment 349140 [details] Archive containing the ebuild and patches; sha1sum: aed4b16f42ba8a9ab1014a861a711b5c11ca1be1 This ebuild installed mapserver-6.2.1 on a recently updated Gentoo box (emerge --sync on Wed May 8 09:06:58 UTC 2013) without errors.
Created attachment 349216 [details, diff] A diff between mapserver-6.0.1.ebuild and mapserver-6.2.1.ebuild Changes: 1. the php_mapserver extension builds as php_mapserver.lo instead of php_mapserver.so 2. Updated patches: rc1-ldflags.patch, rc1-php_ldflags.patch. 3. New patch ax_jni_include_dir.patch: setting JAVA_TOP_DIR to the selected system-vm. 4. mapserver now relies on php-config to find the php includes dir. 5. Removed configure options: --with-agg-svg-symbols and --with-httpd 6. Added configure options: --with-apache-module 7. Libraries are now built under the .libs directory and not all have the .so extension.
Created attachment 349218 [details, diff] 6.2.1_rc1-ldflags.patch
Created attachment 349220 [details, diff] 6.2.1_rc1-php_ldflags.patch
Created attachment 349222 [details, diff] ax_jni_include_dir.patch
Created attachment 349454 [details] A diff between mapserver-6.0.1.ebuild and mapserver-6.2.1.ebuild Bugfix from previous diff: the console tools, like shp2img, are build under .libs, and they are not libraries but executables. Copying them to /usr/bin instead of /usr/lib64.
Created attachment 350272 [details, diff] A diff between mapserver-6.0.1.ebuild and mapserver-6.2.1.ebuild Fixed source path for the mapserv cgi binary.
Using patch 350272 to create a mapserver-6.2.2.ebuild compiles everything fine for me using the following USE flags: (bidi cairo gdal geos mysql opengl perl php postgis proj python threads tiff vhosts xml xslt PHP_TARGETS="php5-3") # /usr/bin/mapserver-config --version 6.2.2 # /usr/bin/mapserver-config --libs -lfreetype -lz -lbz2 -lpng16 -L/usr/lib64 -lgd -L/usr/lib64 -lftgl -lproj -ljpeg -lpng -L/usr//lib -lgif -L/usr/lib64 -lgdal -L/usr/lib64/postgresql-9.3/lib64 -lpq -Wl,-O1 -Wl,--as-needed -rdynamic -L/usr/lib64/mysql -lmysqlclient -L/usr//lib64 -lz -lcrypt -lnsl -lm -L/usr/lib64/ -lssl -lcrypto -lmysqlclient -lcurl -lidn -lrtmp -lz -lssl -lcrypto -lssh2 -lssh2 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -L/usr/lib64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -llber -lldap -lz -L/usr/lib64 -lgeos_c -lpthread -lc -L/usr/lib64 -lxslt -L/usr/lib64 -lexslt -lxml2 -lz -lm -ldl -lfribidi -lglib-2.0 -lm -ldl -lstdc++ -lfreetype -lz -lcairo -lpng16 -lapr-1
The PHP team is deprecating PHP_TARGETS="php5-3". When updating, please target 5.4 or newer.
Last time I checked there were some dependency problems that kept me from using a newer version of PHP, but I don't remember exactly what the situation was. I'll try an update to mapserver-6.4.1 or even to mapserver-7 directly, soon. (As soon as I figure out how to write an ebuild for a package that uses cmake, that is.)
In tree build patched for 5.4 and 5.5. Removing blocker.
BTW, if anyone wants to keep this in Gentoo, you probably should step up and be a proxy maintainer or the security bug may kill it.
author Amy Winston <amynka@gentoo.org> 2016-02-27 12:18:18 (GMT) committer Amy Winston <amynka@gentoo.org> 2016-02-27 12:18:18 (GMT) commit 238b62dfa764bfcc95ed52b1c29e5b19dc6b2be7 sci-geosciences/mapserver: version bump 7.0.0 bug #471250