Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471250 - sci-geosciences/mapserver-7.0.0 version bump / bug fixes
Summary: sci-geosciences/mapserver-7.0.0 version bump / bug fixes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks: CVE-2013-7262
  Show dependency tree
 
Reported: 2013-05-25 15:57 UTC by Sorin Panca
Modified: 2016-02-27 12:23 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Archive containing the ebuild and patches; sha1sum: aed4b16f42ba8a9ab1014a861a711b5c11ca1be1 (mapserver-6.2.1.tar.bz2,4.16 KB, text/plain)
2013-05-25 15:57 UTC, Sorin Panca
Details
A diff between mapserver-6.0.1.ebuild and mapserver-6.2.1.ebuild (mapserver-6.0.1_to_6.2.1.diff,1.99 KB, patch)
2013-05-26 10:55 UTC, Sorin Panca
Details | Diff
6.2.1_rc1-ldflags.patch (6.2.1_rc1-ldflags.patch,3.50 KB, patch)
2013-05-26 11:03 UTC, Sorin Panca
Details | Diff
6.2.1_rc1-php_ldflags.patch (6.2.1_rc1-php_ldflags.patch,712 bytes, patch)
2013-05-26 11:04 UTC, Sorin Panca
Details | Diff
ax_jni_include_dir.patch (ax_jni_include_dir.patch,544 bytes, patch)
2013-05-26 11:05 UTC, Sorin Panca
Details | Diff
A diff between mapserver-6.0.1.ebuild and mapserver-6.2.1.ebuild (mapserver-6.0.1-to-6.2.1-ebuild.diff,2.33 KB, text/plain)
2013-05-28 15:20 UTC, Sorin Panca
Details
A diff between mapserver-6.0.1.ebuild and mapserver-6.2.1.ebuild (mapserver-6.0.1-to-6.2.1-ebuild.diff,2.13 KB, patch)
2013-06-06 10:41 UTC, Sorin Panca
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sorin Panca 2013-05-25 15:57:28 UTC
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.
Comment 1 Sorin Panca 2013-05-26 10:55:22 UTC
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.
Comment 2 Sorin Panca 2013-05-26 11:03:40 UTC
Created attachment 349218 [details, diff]
6.2.1_rc1-ldflags.patch
Comment 3 Sorin Panca 2013-05-26 11:04:50 UTC
Created attachment 349220 [details, diff]
6.2.1_rc1-php_ldflags.patch
Comment 4 Sorin Panca 2013-05-26 11:05:47 UTC
Created attachment 349222 [details, diff]
ax_jni_include_dir.patch
Comment 5 Sorin Panca 2013-05-28 15:20:52 UTC
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.
Comment 6 Sorin Panca 2013-06-06 10:41:55 UTC
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.
Comment 7 Thomas Beutin 2014-06-29 18:52:57 UTC
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
Comment 8 Brian Evans (RETIRED) gentoo-dev 2014-10-01 16:57:12 UTC
The PHP team is deprecating PHP_TARGETS="php5-3".

When updating, please target 5.4 or newer.
Comment 9 Sorin Panca 2014-10-01 17:12:21 UTC
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.)
Comment 10 Brian Evans (RETIRED) gentoo-dev 2015-02-04 20:01:47 UTC
In tree build patched for 5.4 and 5.5.  Removing blocker.
Comment 11 Brian Evans (RETIRED) gentoo-dev 2015-02-04 20:13:08 UTC
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.
Comment 12 Amy Liffey gentoo-dev 2016-02-27 12:23:57 UTC
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