pkgsrc/devel/ruby-redmine/files/redmine_fix_gems.sh
rodent d6c261f9b0 Make Redmine great again too. General cleanup as well as updating all the
package to latest stable. There's a security issue with nokogiri that's
resolved with this update. This package was tested extensively not only
for build/install but also for functionality. If anyone has problems with
it, please let me know.

Full changelogs (very long) are here:

http://www.redmine.org/projects/redmine/wiki/Changelog_3_3
http://www.redmine.org/projects/redmine/wiki/Changelog_3_2
http://www.redmine.org/projects/redmine/wiki/Changelog_3_1
2017-01-04 23:05:11 +00:00

20 lines
771 B
Bash

#!/bin/sh
GEM_HOME=@PREFIX@/share/@RUBY_PKGPREFIX@-redmine/gems
GEM_PATH=@PREFIX@/share/@RUBY_PKGPREFIX@-redmine/gems
PATH=@PREFIX@/sbin:@PREFIX@/bin:${PATH}
NOKOGIRI_USE_SYSTEM_LIBRARIES=yes
export GEM_HOME GEM_PATH PATH NOKOGIRI_USE_SYSTEM_LIBRARIES
cd @PREFIX@/share/@RUBY_PKGPREFIX@-redmine/app
@GEM@ pristine nokogiri --version 1.6.7.2 -- --use-system-libraries --with-xml2-onfig=@PREFIX@/bin/xml2-config --with-libxslt-config=@PREFIX@/bin/xslt-config
@GEM@ pristine ffi --version 1.9.14
@GEM@ pristine json --version 1.8.3
@GEM@ pristine kgio --version 2.11.0
@GEM@ pristine mysql2 --version 0.3.21
@GEM@ pristine raindrops --version 0.17.0
@GEM@ pristine redcarpet --version 3.3.4
@GEM@ pristine rmagick --version 2.16.0
@GEM@ pristine unicorn --version 5.2.0