pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel Make Redmine great again too. General cleanup as...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d5582850aab
branches:  trunk
changeset: 356795:7d5582850aab
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Wed Jan 04 23:05:11 2017 +0000

description:
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

diffstat:

 devel/ruby-redmine-flatly-light-theme/Makefile      |      4 +-
 devel/ruby-redmine-flatly-light-theme/PLIST         |      9 +-
 devel/ruby-redmine-flatly-light-theme/distinfo      |     10 +-
 devel/ruby-redmine/MESSAGE                          |     21 +-
 devel/ruby-redmine/Makefile                         |    138 +-
 devel/ruby-redmine/PLIST                            |  15294 ++++++++++-------
 devel/ruby-redmine/PLIST.mysql                      |     55 +-
 devel/ruby-redmine/PLIST.sqlite3                    |     93 +-
 devel/ruby-redmine/PLIST.unicorn                    |    527 +-
 devel/ruby-redmine/distinfo                         |    307 +-
 devel/ruby-redmine/files/Gemfile.lock               |    154 +-
 devel/ruby-redmine/files/redmine_fix_gems.sh        |     18 +-
 devel/ruby-redmine/files/redmine_migrate_db.sh      |      2 +-
 devel/ruby-redmine/files/vi                         |      1 -
 devel/ruby-redmine/options.mk                       |     12 +-
 devel/ruby-redmine/patches/patch-tilt-1.4.1.gemspec |     14 +
 devel/ruby-redmine_bootstrap_kit/Makefile           |     10 +-
 devel/ruby-redmine_bootstrap_kit/PLIST              |    118 +-
 devel/ruby-redmine_bootstrap_kit/distinfo           |     18 +-
 devel/ruby-redmine_code_review/Makefile             |     12 +-
 devel/ruby-redmine_code_review/distinfo             |     10 +-
 21 files changed, 9647 insertions(+), 7180 deletions(-)

diffs (truncated from 17293 to 300 lines):

diff -r da1d9413b2dd -r 7d5582850aab devel/ruby-redmine-flatly-light-theme/Makefile
--- a/devel/ruby-redmine-flatly-light-theme/Makefile    Wed Jan 04 22:59:29 2017 +0000
+++ b/devel/ruby-redmine-flatly-light-theme/Makefile    Wed Jan 04 23:05:11 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2016/06/09 06:23:39 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2017/01/04 23:05:12 rodent Exp $
 #
 
-GITHUB_TAG=    v0.1
+GITHUB_TAG=    v0.1.1
 DISTNAME=      ${GITHUB_TAG}
 PKGNAME=       ${RUBY_PKGPREFIX}-redmine-flatly-light-theme-${DISTNAME:S/v//1}
 GITHUB_PROJECT=        flatly_light_redmine
diff -r da1d9413b2dd -r 7d5582850aab devel/ruby-redmine-flatly-light-theme/PLIST
--- a/devel/ruby-redmine-flatly-light-theme/PLIST       Wed Jan 04 22:59:29 2017 +0000
+++ b/devel/ruby-redmine-flatly-light-theme/PLIST       Wed Jan 04 23:05:11 2017 +0000
@@ -1,14 +1,21 @@
-@comment $NetBSD: PLIST,v 1.1 2015/07/07 12:14:45 rodent Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/01/04 23:05:12 rodent Exp $
 share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/fonts/FontAwesome.otf
 share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/fonts/fontawesome-webfont.eot
 share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/fonts/fontawesome-webfont.svg
 share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/fonts/fontawesome-webfont.ttf
 share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/fonts/fontawesome-webfont.woff
+share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/fonts/fontawesome-webfont.woff2
 share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/javascripts/theme.js
 share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/stylesheets/DMSF.css
+share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/stylesheets/activity.css
 share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/stylesheets/application.css
 share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/stylesheets/buttons.css
 share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/stylesheets/color_tasks.css
 share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/stylesheets/font-awesome.css
+share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/stylesheets/forum.css
+share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/stylesheets/news.css
+share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/stylesheets/pagination.css
+share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/stylesheets/projects.css
+share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/stylesheets/redminebacklogs.css
 share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/stylesheets/theme.css
 @pkgdir share/${RUBY_PKGPREFIX}-redmine/app/public/themes/flatly_light_redmine/images
diff -r da1d9413b2dd -r 7d5582850aab devel/ruby-redmine-flatly-light-theme/distinfo
--- a/devel/ruby-redmine-flatly-light-theme/distinfo    Wed Jan 04 22:59:29 2017 +0000
+++ b/devel/ruby-redmine-flatly-light-theme/distinfo    Wed Jan 04 23:05:11 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 03:29:27 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/01/04 23:05:12 rodent Exp $
 
-SHA1 (ruby-redmine-flatly-light-theme/v0.1.tar.gz) = 584c3a2276e2fc0ffec203496be6b3e9b560dc49
-RMD160 (ruby-redmine-flatly-light-theme/v0.1.tar.gz) = fcc4568c579b0e6d5e9ee45d6115a2535933241f
-SHA512 (ruby-redmine-flatly-light-theme/v0.1.tar.gz) = 853e20d4186007565bb3b832a8306716eacc0452eced8699cf24e7c6d4afcdef1037b306016d5a6833b11784fbbae88bc2241c94d5408e3dcfe9bc291fd0f199
-Size (ruby-redmine-flatly-light-theme/v0.1.tar.gz) = 730498 bytes
+SHA1 (ruby-redmine-flatly-light-theme/v0.1.1.tar.gz) = 4ec1499f1c9067f7a1d58be119c043cdd38b93f3
+RMD160 (ruby-redmine-flatly-light-theme/v0.1.1.tar.gz) = 2dc80761622ac4efbbf12f291e92a0cd9631c10a
+SHA512 (ruby-redmine-flatly-light-theme/v0.1.1.tar.gz) = 2c1cecd62e8c55dd664aa73ce0e50a729d761bed07b09575ad40cdab9d0b844c21c16cc0668beefe5be0d06f0134396307a1e9f7ab9cdd68c092670669bfd7d1
+Size (ruby-redmine-flatly-light-theme/v0.1.1.tar.gz) = 1018392 bytes
diff -r da1d9413b2dd -r 7d5582850aab devel/ruby-redmine/MESSAGE
--- a/devel/ruby-redmine/MESSAGE        Wed Jan 04 22:59:29 2017 +0000
+++ b/devel/ruby-redmine/MESSAGE        Wed Jan 04 23:05:11 2017 +0000
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.2 2015/08/13 12:22:13 ryoon Exp $
+$NetBSD: MESSAGE,v 1.3 2017/01/04 23:05:12 rodent Exp $
 
 To use Redmine with nginx, you will need to perform the following steps.
 
@@ -21,23 +21,8 @@
        > grant all privileges on redmine.* to 'redmine'@'localhost';
        > grant all privileges on redmine_development.* to 'redmine'@'localhost';
 
-4. Write authentication information to
-   ${PREFIX}/${RM_DIR}/app/config/database.yml:
-       # vi ${PREFIX}/${RM_DIR}/app/config/database.yml
-       production:
-         adapter: mysql2
-         database: redmine
-         host: localhost
-         username: redmine
-         password: "redmine_password"
-         encoding: utf8
-       development:
-         adapter: mysql2
-         database: redmine_development
-         host: localhost
-         username: redmine
-         password: "redmine_password"
-         encoding: utf8
+4. Set the database password for the redmine and redmine_development databases
+     in ${PREFIX}/${RM_DIR}/app/config/database.yml;
 
 5. Create secret token and write to
      ${PREFIX}/${RM_DIR}/app/config/configuration.yml and secrets.yml
diff -r da1d9413b2dd -r 7d5582850aab devel/ruby-redmine/Makefile
--- a/devel/ruby-redmine/Makefile       Wed Jan 04 22:59:29 2017 +0000
+++ b/devel/ruby-redmine/Makefile       Wed Jan 04 23:05:11 2017 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2016/12/04 05:17:25 ryoon Exp $
+# $NetBSD: Makefile,v 1.18 2017/01/04 23:05:12 rodent Exp $
 
-DISTNAME=      redmine-3.1.2
+DISTNAME=      redmine-3.3.1
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
-PKGREVISION=   5
 PREV_PKGPATH=  devel/redmine
 CATEGORIES=    devel
 MASTER_SITES=  http://www.redmine.org/releases/
@@ -14,29 +13,39 @@
 
 .include "../../lang/ruby/rubyversion.mk"
 
-GEMS_DISTFILES+=       actionmailer-4.2.4.gem actionpack-4.2.4.gem
+RUBY_VERSIONS_INCOMPATIBLE=    23 # nokogirl version required is broken in 2.3
+
+GEMS_DISTFILES+=       actionmailer-4.2.7.1.gem actionpack-4.2.7.1.gem
 GEMS_DISTFILES+=       actionpack-action_caching-1.1.1.gem
-GEMS_DISTFILES+=       actionpack-xml_parser-1.0.2.gem actionview-4.2.4.gem
-GEMS_DISTFILES+=       activejob-4.2.4.gem activemodel-4.2.4.gem
-GEMS_DISTFILES+=       activerecord-4.2.4.gem activesupport-4.2.4.gem
-GEMS_DISTFILES+=       arel-6.0.3.gem builder-3.2.2.gem bundler-1.10.6.gem
-GEMS_DISTFILES+=       coderay-1.1.0.gem erubis-2.7.0.gem globalid-0.3.6.gem
+GEMS_DISTFILES+=       actionpack-xml_parser-1.0.2.gem actionview-4.2.7.1.gem
+GEMS_DISTFILES+=       activejob-4.2.7.1.gem activemodel-4.2.7.1.gem
+GEMS_DISTFILES+=       activerecord-4.2.7.1.gem activesupport-4.2.7.1.gem
+GEMS_DISTFILES+=       addressable-2.5.0.gem arel-6.0.3.gem builder-3.2.2.gem
+GEMS_DISTFILES+=       bundler-1.10.6.gem capybara-2.11.0.gem
+GEMS_DISTFILES+=       childprocess-0.5.9.gem coderay-1.1.1.gem
+GEMS_DISTFILES+=       css_parser-1.4.7.gem docile-1.1.5.gem
+GEMS_DISTFILES+=       erubis-2.7.0.gem ffi-1.9.14.gem globalid-0.3.7.gem
 GEMS_DISTFILES+=       hike-1.2.3.gem htmlentities-4.3.1.gem i18n-0.7.0.gem
-GEMS_DISTFILES+=       jquery-rails-3.1.4.gem
-GEMS_DISTFILES+=       json-1.8.3.gem loofah-2.0.3.gem mail-2.6.3.gem
-GEMS_DISTFILES+=       mime-types-2.6.2.gem mini_portile-0.6.2.gem
-GEMS_DISTFILES+=       minitest-5.8.3.gem multi_json-1.11.0.gem
-GEMS_DISTFILES+=       net-ldap-0.3.1.gem nokogiri-1.6.6.4.gem
-GEMS_DISTFILES+=       protected_attributes-1.1.3.gem rack-1.6.4.gem
+GEMS_DISTFILES+=       jquery-rails-3.1.4.gem json-1.8.3.gem loofah-2.0.3.gem
+GEMS_DISTFILES+=       mail-2.6.4.gem mime-types-3.1.gem
+GEMS_DISTFILES+=       mime-types-data-3.2016.0521.gem mimemagic-0.3.2.gem
+GEMS_DISTFILES+=       mini_portile2-2.0.0.gem minitest-5.8.3.gem
+GEMS_DISTFILES+=       multi_json-1.12.1.gem net-ldap-0.12.1.gem
+GEMS_DISTFILES+=       nokogiri-1.6.7.2.gem protected_attributes-1.1.3.gem
+GEMS_DISTFILES+=       public_suffix-2.0.4.gem rack-1.6.4.gem
 GEMS_DISTFILES+=       rack-openid-1.4.2.gem rack-test-0.6.3.gem
-GEMS_DISTFILES+=       rails-4.2.4.gem rails-deprecated_sanitizer-1.0.3.gem
+GEMS_DISTFILES+=       rails-4.2.7.1.gem rails-deprecated_sanitizer-1.0.3.gem
 GEMS_DISTFILES+=       rails-dom-testing-1.0.7.gem
-GEMS_DISTFILES+=       rails-html-sanitizer-1.0.2.gem railties-4.2.4.gem
-GEMS_DISTFILES+=       rake-10.4.2.gem rbpdf-1.18.7.gem redcarpet-3.3.3.gem
-GEMS_DISTFILES+=       request_store-1.0.5.gem rmagick-2.15.4.gem
-GEMS_DISTFILES+=       ruby-openid-2.3.0.gem sprockets-3.4.0.gem
-GEMS_DISTFILES+=       sprockets-rails-2.3.3.gem thor-0.19.1.gem
-GEMS_DISTFILES+=       thread_safe-0.3.5.gem tilt-1.4.1.gem tzinfo-1.2.2.gem
+GEMS_DISTFILES+=       rails-html-sanitizer-1.0.3.gem railties-4.2.7.1.gem
+GEMS_DISTFILES+=       rake-10.4.2.gem rbpdf-1.19.0.gem rbpdf-font-1.19.0.gem
+GEMS_DISTFILES+=       redcarpet-3.3.4.gem request_store-1.0.5.gem
+GEMS_DISTFILES+=       rmagick-2.16.0.gem roadie-3.2.0.gem
+GEMS_DISTFILES+=       roadie-rails-1.1.1.gem ruby-openid-2.3.0.gem
+GEMS_DISTFILES+=       selenium-webdriver-3.0.4.gem simplecov-0.9.2.gem
+GEMS_DISTFILES+=       sprockets-3.4.0.gem sprockets-rails-3.2.0.gem
+GEMS_DISTFILES+=       thor-0.19.4.gem thread_safe-0.3.5.gem tilt-1.4.1.gem
+GEMS_DISTFILES+=       tzinfo-1.2.2.gem tzinfo-data-1.2016.10.gem
+GEMS_DISTFILES+=       websocket-1.2.3.gem xpath-2.0.0.gem yard-0.9.5.gem
 
 DISTFILES+=    ${DEFAULT_DISTFILES}
 
@@ -48,68 +57,76 @@
 .endfor
 
 WRKSRC=                ${WRKDIR}
-RM_DIR=                share/${RUBY_NAME}-redmine
+RM_DIR=                share/${RUBY_PKGPREFIX}-redmine
 
 USE_TOOLS+=    bash:run pax pkg-config
 
 REPLACE_RUBY+= builder-3.2.2/lib/*.rb builder-3.2.2/lib/builder/*.rb
 REPLACE_RUBY+= builder-3.2.2/rakelib/tags.rake builder-3.2.2/test/*.rb
-REPLACE_RUBY+= bundler-1.9.1/bin/*
-REPLACE_RUBY+= bundler-1.9.1/lib/bundler/templates/newgem/bin/console.tt
-REPLACE_RUBY+= bundler-1.9.1/lib/bundler/templates/newgem/exe/newgem.tt
-REPLACE_RUBY+= coderay-1.1.0/bin/coderay coderay-1.1.0/test/functional/basic.rb
+REPLACE_RUBY+= bundler-1.10.6/bin/*
+REPLACE_RUBY+= bundler-1.10.6/lib/bundler/templates/newgem/bin/console.tt
+REPLACE_RUBY+= bundler-1.10.6/lib/bundler/templates/newgem/exe/newgem.tt
+REPLACE_RUBY+= coderay-1.1.1/bin/coderay coderay-1.1.1/test/functional/basic.rb
 REPLACE_RUBY+= erubis-2.7.0/benchmark/bench.rb erubis-2.7.0/bin/erubis
 REPLACE_RUBY+= erubis-2.7.0/contrib/erubis erubis-2.7.0/contrib/inline-require
 REPLACE_RUBY+= erubis-2.7.0/setup.rb json-1.8.3/install.rb
 REPLACE_RUBY+= json-1.8.3/tests/*.rb json-1.8.3/tools/server.rb
 REPLACE_RUBY+= loofah-2.0.3/benchmark/benchmark.rb
-REPLACE_RUBY+= mini_portile-0.6.2/lib/mini_portile.rb
-REPLACE_RUBY+= nokogiri-1.6.6.4/bin/nokogiri
-REPLACE_RUBY+= nokogiri-1.6.6.4/ports/patches/sort-patches-by-date
+REPLACE_RUBY+= nokogiri-1.6.7.2/bin/nokogiri
+REPLACE_RUBY+= nokogiri-1.6.7.2/patches/sort-patches-by-date
 REPLACE_RUBY+= rack-1.6.4/bin/rackup rack-1.6.4/test/cgi/rackup_stub.rb
 REPLACE_RUBY+= rack-1.6.4/test/cgi/test rack-1.6.4/test/cgi/test.fcgi
-REPLACE_RUBY+= rails-4.2.4/guides/rails_guides/kindle.rb
-REPLACE_RUBY+= rails-4.2.4/guides/source/initialization.md
-REPLACE_RUBY+= railties-4.2.4/bin/rails
-REPLACE_RUBY+= raindrops-0.13.0/examples/linux-listener-stats.rb
+REPLACE_RUBY+= rails-4.2.7.1/guides/rails_guides/kindle.rb
+REPLACE_RUBY+= rails-4.2.7.1/guides/source/initialization.md
+REPLACE_RUBY+= railties-4.2.7.1/bin/rails
+REPLACE_RUBY+= raindrops-0.17.0/examples/linux-listener-stats.rb
 REPLACE_RUBY+= rake-10.4.2/bin/rake rake-10.4.2/doc/proto_rake.rdoc
 REPLACE_RUBY+= rake-10.4.2/test/test_rake_file_utils.rb
-REPLACE_RUBY+= rbpdf-1.18.7/test/test_helper.rb redcarpet-3.3.3/bin/redcarpet
-REPLACE_RUBY+= redmine-3.0.3/bin/*
-REPLACE_RUBY+= redmine-3.0.3/extra/mail_handler/rdm-mailhandler.rb
-REPLACE_RUBY+= redmine-3.0.3/extra/svn/reposman.rb
-REPLACE_RUBY+= redmine-3.0.3/public/dispatch.fcgi.example
-REPLACE_RUBY+= redmine-3.0.3/script/* rmagick-2.13.4/doc/ex/*.rb
-REPLACE_RUBY+= rmagick-2.13.4/doc/usage.html rmagick-2.13.4/examples/*.rb
-REPLACE_RUBY+= rmagick-2.13.4/test/*.rb ruby-openid-2.3.0/examples/discover
+REPLACE_RUBY+= rbpdf-1.19.0/test/test_helper.rb redcarpet-3.3.4/bin/redcarpet
+REPLACE_RUBY+= redmine-3.3.1/bin/*
+REPLACE_RUBY+= redmine-3.3.1/extra/mail_handler/rdm-mailhandler.rb
+REPLACE_RUBY+= redmine-3.3.1/extra/svn/reposman.rb
+REPLACE_RUBY+= redmine-3.3.1/public/dispatch.fcgi.example
+REPLACE_RUBY+= redmine-3.3.1/script/* rmagick-2.16.0/doc/ex/*.rb
+REPLACE_RUBY+= rmagick-2.16.0/doc/usage.html rmagick-2.16.0/examples/*.rb
+REPLACE_RUBY+= rmagick-2.16.0/test/*.rb ruby-openid-2.3.0/examples/discover
 REPLACE_RUBY+= ruby-openid-2.3.0/examples/rails_openid/public/dispatch.cgi
 REPLACE_RUBY+= ruby-openid-2.3.0/examples/rails_openid/public/dispatch.fcgi
 REPLACE_RUBY+= ruby-openid-2.3.0/examples/rails_openid/public/dispatch.rb
 REPLACE_RUBY+= ruby-openid-2.3.0/examples/rails_openid/script/rails
-REPLACE_RUBY+= sprockets-3.4.0/bin/sprockets thor-0.19.1/bin/thor
+REPLACE_RUBY+= sprockets-3.4.0/bin/sprockets thor-0.19.4/bin/thor
 REPLACE_RUBY+= thread_safe-0.3.5/examples/bench_cache.rb tilt-1.4.1/bin/tilt
-REPLACE_RUBY+= unicorn-4.9.0/GIT-VERSION-GEN
-REPLACE_RUBY+= unicorn-4.9.0/bin/unicorn*
-REPLACE_RUBY+= unicorn-4.9.0/t/bin/content-md5-put
-REPLACE_RUBY+= unicorn-4.9.0/t/bin/sha1sum.rb unicorn-4.9.0/t/bin/unused_listen
-REPLACE_RUBY+= unicorn-4.9.0/test/aggregate.rb
+REPLACE_RUBY+= unicorn-5.2.0/GIT-VERSION-GEN
+REPLACE_RUBY+= unicorn-5.2.0/bin/unicorn*
+REPLACE_RUBY+= unicorn-5.2.0/t/bin/content-md5-put
+REPLACE_RUBY+= unicorn-5.2.0/t/bin/sha1sum.rb unicorn-5.2.0/t/bin/unused_listen
+REPLACE_RUBY+= unicorn-5.2.0/test/aggregate.rb
 
 CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/bundler-*/lib/bundler/templates/*
 CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/rack-*/test/cgi/test.ru
 CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/json-1.8.3/json-java.gemspec
-CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/nokogiri-1.6.6.4/ports/patches/sort-patches-by-date
+CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/nokogiri-1.6.7.2/ports/patches/sort-patches-by-date
 CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/loofah-2.0.3/benchmark/benchmark.rb
 
 # Selenium has Linux .so files.
 CHECK_SHLIBS_SUPPORTED=        no
 
+SUBST_CLASSES+=                pkgcfg
+SUBST_FILES.pkgcfg=    rmagick-2.16.0/ext/RMagick/extconf.rb
+SUBST_MESSAGE.pkgcfg=  Fixing ImageMagick pkg-config paths.
+SUBST_SED.pkgcfg=      -e 's|Magick-config|Magick-config6|g'
+SUBST_SED.pkgcfg+=     -e 's|MagickWand-config|MagickWand-config6|g'
+SUBST_SED.pkgcfg+=     -e 's|MagickWand`|MagickWand-6.Q16`|g'
+SUBST_SED.pkgcfg+=     -e 's|MagickCore|MagickCore-6.Q16|g'
+SUBST_STAGE.pkgcfg=    pre-configure
+
 SUBST_CLASSES+=                rake
 SUBST_STAGE.rake=      pre-configure
 SUBST_MESSAGE.rake=    Replacing path to rake programme.
-SUBST_FILES.rake=      redmine-3.0.3/Rakefile
+SUBST_FILES.rake=      redmine-3.3.1/Rakefile
 SUBST_FILES.rake+=     actionpack-action_caching-1.1.1/Rakefile
 SUBST_FILES.rake+=     ruby-openid-2.3.0/examples/rails_openid/Rakefile
-SUBST_SED.rake=                -e 's,/usr/bin/env rake,${PREFIX}/${RM_DIR}/gems/bin/rake,g'
+SUBST_SED.rake=                -e "s|/usr/bin/env rake|${PREFIX}/${RM_DIR}/gems/bin/rake|g"
 
 SUBST_CLASSES+=                shell
 SUBST_FILES.shell=     ${DESTDIR}${PREFIX}/bin/redmine_*${RUBY_SUFFIX}.sh
@@ -119,13 +136,12 @@
 SUBST_SED.shell+=      -e "s|@RUBY_PKGPREFIX@|${RUBY_PKGPREFIX}|g"
 SUBST_STAGE.shell=     post-install
 
-REPLACE_BASH+= nokogiri-1.6.6.4/build_all nokogiri-1.6.6.4/test_all
-REPLACE_BASH+= bundler-1.9.1/lib/bundler/templates/newgem/bin/setup.tt
+REPLACE_BASH+= nokogiri-1.6.7.2/build_all nokogiri-1.6.7.2/test_all
+REPLACE_BASH+= bundler-1.10.6/lib/bundler/templates/newgem/bin/setup.tt
 
 GEM_HOME=      ${RM_DIR}/gems
 MESSAGE_SUBST+=        RM_DIR=${RM_DIR}
 PLIST_SUBST+=  GEM_HOME=${GEM_HOME}
-PLIST_SUBST+=  RUBY_NAME=${RUBY_NAME}
 
 USE_LANGUAGES= c
 # Do not build internal libxml2 and libxslt.
@@ -154,10 +170,7 @@
 
 GEM_EXTSDIR_NEEDS_SUBDIR=      no
 .include "../../lang/ruby/gem-extract.mk"
-
-# remove rdoc dependency
-pre-configure:
-       ${RUBY} ${.CURDIR}/${UPDATE_GEMSPEC} ${WRKDIR}/tilt-1.4.1.gemspec rdoc:
+UPDATE_GEMSPEC=        ../../lang/ruby/files/update-gemspec.rb
 
 do-build:
 .for _gem_ in ${DISTFILES:M*.gem:S/.gem$//g}
@@ -208,6 +221,9 @@
        ${CHMOD} +x ${DESTDIR}${PREFIX}/bin/redmine_*${RUBY_SUFFIX}.sh
 



Home | Main Index | Thread Index | Old Index