--- databases/rubygem-mysql2/Makefile (revision 517251) +++ databases/rubygem-mysql2/Makefile (working copy) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= mysql2 -PORTVERSION= 0.4.10 +PORTVERSION= 0.5.2 CATEGORIES= databases rubygems MASTER_SITES= RG --- databases/rubygem-mysql2/distinfo (revision 517251) +++ databases/rubygem-mysql2/distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1510757747 -SHA256 (rubygem/mysql2-0.4.10.gem) = 38960c148f7b9f7b0f6513c92217b5961396a5f162c1ac1b55890365f8494d62 -SIZE (rubygem/mysql2-0.4.10.gem) = 97792 +TIMESTAMP = 1573467122 +SHA256 (rubygem/mysql2-0.5.2.gem) = 243673f0156444943969a5b5c5095862c4158de74af5ca66163740fe9f6c53a8 +SIZE (rubygem/mysql2-0.5.2.gem) = 99328 --- mail/Makefile (revision 517251) +++ mail/Makefile (working copy) @@ -619,6 +619,7 @@ SUBDIR += rubygem-rmail SUBDIR += rubygem-roadie SUBDIR += rubygem-roadie-rails + SUBDIR += rubygem-roadie-rails52 SUBDIR += rubygem-ruby-qmail SUBDIR += rubygem-tmail SUBDIR += rubygem-vmail --- mail/rubygem-roadie-rails52/Makefile (nonexistent) +++ mail/rubygem-roadie-rails52/Makefile (working copy) @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= roadie-rails +PORTVERSION= 1.3.0 +CATEGORIES= mail rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 52 + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Helper for generating HTML mails in Rails applications + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-railties52>=3.0:www/rubygem-railties52 \ + rubygem-roadie>=3.1:mail/rubygem-roadie + +NO_ARCH= yes +USE_RUBY= yes +USES= gem shebangfix + +SHEBANG_FILES= setup.sh + +.include --- mail/rubygem-roadie-rails52/distinfo (nonexistent) +++ mail/rubygem-roadie-rails52/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522937401 +SHA256 (rubygem/roadie-rails-1.3.0.gem) = 03466cc2fc54726874e93ce3da1c7d37a0b30c72111b3be7e1b316a4aa02750a +SIZE (rubygem/roadie-rails-1.3.0.gem) = 14848 --- mail/rubygem-roadie-rails52/pkg-descr (nonexistent) +++ mail/rubygem-roadie-rails52/pkg-descr (working copy) @@ -0,0 +1,3 @@ +Hooks Roadie into Rails applications to help with HTML email generation. + +WWW: https://github.com/Mange/roadie-rails --- net/rubygem-ruby-openid/Makefile (revision 517251) +++ net/rubygem-ruby-openid/Makefile (working copy) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ruby-openid -PORTVERSION= 2.7.0 +PORTVERSION= 2.9.2 CATEGORIES= net rubygems MASTER_SITES= RG --- net/rubygem-ruby-openid/distinfo (revision 517251) +++ net/rubygem-ruby-openid/distinfo (working copy) @@ -1,2 +1,3 @@ -SHA256 (rubygem/ruby-openid-2.7.0.gem) = fa06086c6b6cefeabf2396594a871cbcf47f99adbd6add62dfa09dade506af5a -SIZE (rubygem/ruby-openid-2.7.0.gem) = 330240 +TIMESTAMP = 1573404087 +SHA256 (rubygem/ruby-openid-2.9.2.gem) = 7f8e39426b9833172a79f4696bc63b66b0d2c766971919a69b3db5be400d17a4 +SIZE (rubygem/ruby-openid-2.9.2.gem) = 331776 --- textproc/Makefile (revision 517251) +++ textproc/Makefile (working copy) @@ -1480,6 +1480,7 @@ SUBDIR += ruby-rttool SUBDIR += ruby-xmlparser SUBDIR += rubygem-actionpack-xml_parser + SUBDIR += rubygem-actionpack-xml_parser52 SUBDIR += rubygem-actionpack-xml_parser1 SUBDIR += rubygem-albino SUBDIR += rubygem-amatch --- textproc/rubygem-actionpack-xml_parser52/Makefile (nonexistent) +++ textproc/rubygem-actionpack-xml_parser52/Makefile (working copy) @@ -0,0 +1,24 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= actionpack-xml_parser +PORTVERSION= 2.0.1 +CATEGORIES= textproc rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 52 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= XML parameters parser for Action Pack + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-actionpack52>=5.2:www/rubygem-actionpack52 \ + rubygem-railties52>=5.2:www/rubygem-railties52 + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include --- textproc/rubygem-actionpack-xml_parser52/distinfo (nonexistent) +++ textproc/rubygem-actionpack-xml_parser52/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1494508637 +SHA256 (rubygem/actionpack-xml_parser-2.0.1.gem) = 40cb461ee99445314ab580a783fb7413580deb8b28113c9e70ecd7c1b334d5e6 +SIZE (rubygem/actionpack-xml_parser-2.0.1.gem) = 6144 --- textproc/rubygem-actionpack-xml_parser52/pkg-descr (nonexistent) +++ textproc/rubygem-actionpack-xml_parser52/pkg-descr (working copy) @@ -0,0 +1,5 @@ +actionpack-xml_parser is an XML parameters parser for Action Pack (removed from +core in Rails 4.0). + +WWW: https://rubyonrails.org/ +WWW: https://github.com/rails/actionpack-xml_parser --- www/redmine/Makefile (revision 517251) +++ www/redmine/Makefile (working copy) @@ -36,6 +36,8 @@ USES= cpe USE_RUBY= yes +CONFLICTS_INSTALL= redmine4 + NO_ARCH= yes NO_BUILD= yes --- www/redmine4/Makefile (nonexistent) +++ www/redmine4/Makefile (working copy) @@ -0,0 +1,97 @@ +# Created by: Bernhard Froehlich +# $FreeBSD$ + +PORTNAME= redmine +PORTVERSION= 4.0.5 +CATEGORIES= www +MASTER_SITES= https://www.redmine.org/releases/ + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Flexible project management web application + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/doc/COPYING + +RUN_DEPENDS= rubygem-bundler>=1.5.0:sysutils/rubygem-bundler \ + rubygem-rails52>=5.2.3:www/rubygem-rails52 \ + rubygem-rouge>=3.12.0:textproc/rubygem-rouge \ + rubygem-request_store>=1.0.5:devel/rubygem-request_store \ + rubygem-mini_mime>=1.0.1:mail/rubygem-mini_mime \ + rubygem-actionpack-xml_parser52>=0:textproc/rubygem-actionpack-xml_parser52 \ + rubygem-roadie-rails52>=1.3.0:mail/rubygem-roadie-rails52 \ + rubygem-mimemagic>=0:misc/rubygem-mimemagic \ + rubygem-mail>=2.7.1:mail/rubygem-mail \ + rubygem-nokogiri>=1.10.0:textproc/rubygem-nokogiri \ + rubygem-i18n>=0.7:devel/rubygem-i18n \ + rubygem-sprockets3>=3.7.2:devel/rubygem-sprockets3 \ + rubygem-rbpdf>=1.19.6:print/rubygem-rbpdf \ + rubygem-net-ldap>=0.16:net/rubygem-net-ldap \ + rubygem-ruby-openid>=2.9.2:net/rubygem-ruby-openid \ + rubygem-rack-openid>=0:www/rubygem-rack-openid \ + rubygem-rake>=0:devel/rubygem-rake + +USES= cpe +USE_RUBY= yes + +CONFLICTS_INSTALL= redmine + +NO_ARCH= yes +NO_BUILD= yes + +USERS= ${WWWOWN} +GROUPS= ${WWWGRP} +PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} +SUB_LIST= RUBY_NAME=${RUBY_NAME} + +OPTIONS_DEFINE= MYSQL POSTGRESQL MARKDOWN RMAGIC THIN +OPTIONS_DEFAULT=MYSQL MARKDOWN RMAGIC THIN +OPTIONS_SUB= yes +POSTGRESQL_DESC=Enable PostgreSQL support +MARKDOWN_DESC= Enable Markdown support +RMAGIC_DESC= Enable Gantt charts support +THIN_DESC= Use Thin WEB server +MYSQL_DESC= MySQL database support (via mysql2 rubygem) +NO_OPTIONS_SORT= yes + +MYSQL_RUN_DEPENDS= rubygem-mysql2>=0.5.0:databases/rubygem-mysql2 +POSTGRESQL_RUN_DEPENDS= rubygem-pg>=1.1.4:databases/rubygem-pg +MARKDOWN_RUN_DEPENDS= rubygem-redcarpet>=3.4.0:textproc/rubygem-redcarpet +RMAGIC_RUN_DEPENDS= rubygem-rmagick>=2.16.0:graphics/rubygem-rmagick +THIN_RUN_DEPENDS= rubygem-thin>=1.6.2:www/rubygem-thin +THIN_SUB_LIST= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} +THIN_VARS= USE_RC_SUBR=redmine + +post-extract: + @${RM} -r ${WRKSRC}/.hgignore ${WRKSRC}/.gitignore ${WRKSRC}/.github \ + ${WRKSRC}/files/delete.me ${WRKSRC}/log/delete.me + @${MV} ${WRKSRC}/config/settings.yml ${WRKSRC}/config/settings.yml.sample + @${MV} ${WRKSRC}/config/database.yml.example ${WRKSRC}/config/database.yml.sample + +post-patch: + @${RM} ${WRKSRC}/Gemfile.orig + +do-install: + ${MKDIR} ${STAGEDIR}${WWWDIR} + ${MKDIR} ${STAGEDIR}${WWWDIR}/bundler.d + ${MKDIR} ${STAGEDIR}${WWWDIR}/log + ${MKDIR} ${STAGEDIR}${WWWDIR}/public/plugin_assets + ${MKDIR} ${STAGEDIR}${WWWDIR}/tmp + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} + ${TOUCH} ${STAGEDIR}${WWWDIR}/Gemfile.lock + +do-install-MYSQL-on: + ${CP} ${FILESDIR}/mysql.rb ${STAGEDIR}${WWWDIR}/bundler.d + +do-install-POSTGRESQL-on: + ${CP} ${FILESDIR}/pg.rb ${STAGEDIR}${WWWDIR}/bundler.d + +do-install-MARKDOWN-on: + ${CP} ${FILESDIR}/markdown.rb ${STAGEDIR}${WWWDIR}/bundler.d + +do-install-RMAGIC-on: + ${CP} ${FILESDIR}/rmagic.rb ${STAGEDIR}${WWWDIR}/bundler.d + +do-install-THIN-on: + ${CP} ${FILESDIR}/thin.rb ${STAGEDIR}${WWWDIR}/bundler.d + +.include --- www/redmine4/bsd.redmine.mk (nonexistent) +++ www/redmine4/bsd.redmine.mk (working copy) @@ -0,0 +1,80 @@ +# Module that simplifies installation of Redmine plugins. +# +# Date created: 2010-09-12 +# Whom: Eygene Ryabinkin +# +# $FreeBSD$ +# +# We're assuming standard plugin installation sequence that is described +# in the https://www.redmine.org/projects/redmine/wiki/Plugins +# +# Basically, we need the following variables to be defined: +# - REDMINE_PLUGIN_NAME: the name of the plugin; +# - WWWDIR: the location of the Redmine installation; +# the default value is ${PREFIX}/www/redmine; +# the directory must lie under ${PREFIX} or such configuration +# will be IGNORE'd; +# - WRKSRC must be set to the root directory of the plugin contents: +# we will copy all objects in this directory to the plugin's +# destination directory, excluding all files named *.orig. +# +# PLIST will be generated automatically, there is no need to worry +# about it. But if you will need to use your own (even the standard +# packaging list in ${PORTDIR}/pkg-plist), set the variable PLIST +# pointing to that file. +# +# You can override the target 'do-build', but in this case, you should +# remember that the target named 'redmine-plugin-plist' does the +# automated generation of the PLIST: use it if you need. +# +# +# Here is an example of a simple Makefile for Redmine plugin: +# {{{ +# PORTNAME= me-the-plugin +# PORTVERSION= 1.0 +# CATEGORIES= www +# MASTER_SITES= http://cool.org.name/some/path/ +# +# MAINTAINER= you@your.org +# COMMENT= Another cool plugin for Redmine +# +# REDMINE_PLUGIN_NAME= redmine_http_auth +# +# .include "${.CURDIR}/../../www/redmine/bsd.redmine.mk" +# }}} + +PKGNAMEPREFIX?= redmine- + +RUN_DEPENDS+= redmine>=2.0:www/redmine + +USE_RUBY= yes +.if !defined(PLIST) +PLIST= ${WRKDIR}/PLIST +_GEN_PLIST= YesPlease +.endif + +WWWDIR?= ${PREFIX}/www/redmine +WWWDIR_REL= ${WWWDIR:S|^${PREFIX}/||} + +.if ${WWWDIR_REL} == ${WWWDIR} +IGNORE= WWWDIR is not a child of PREFIX (${PREFIX}) +.endif + +.if !defined(do-build) +do-build: redmine-plugin-plist + @${DO_NADA} +.endif + +redmine-plugin-plist: +.if defined(_GEN_PLIST) + cd ${WRKSRC} && ${FIND} . -type f | ${GREP} -v '\.orig$$' | ${SED} -e's|^\.|${WWWDIR_REL}/plugins/${REDMINE_PLUGIN_NAME}|' >> ${PLIST} + cd ${WRKSRC} && ${FIND} -d . -empty -type d | ${SED} -e's|^\.|@dir ${WWWDIR_REL}/plugins/${REDMINE_PLUGIN_NAME}|' >> ${PLIST} +.else + @${DO_NADA} +.endif + +do-install: + ${MKDIR} "${STAGEDIR}${WWWDIR}/plugins/${REDMINE_PLUGIN_NAME}" + ${TAR} -C "${WRKSRC}" -cf - --exclude '*.orig' . | ${TAR} -C "${STAGEDIR}${WWWDIR}/plugins/${REDMINE_PLUGIN_NAME}" -xf - + +.include --- www/redmine4/distinfo (nonexistent) +++ www/redmine4/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1573401952 +SHA256 (redmine-4.0.5.tar.gz) = 64eabe6867fd5d14d1b4c584417b9b71fbb9b68a019400eeb03e1f2147c369e8 +SIZE (redmine-4.0.5.tar.gz) = 2519900 --- www/redmine4/files/markdown.rb (nonexistent) +++ www/redmine4/files/markdown.rb (working copy) @@ -0,0 +1, @@ +gem "redcarpet", ">= 3.4.0" --- www/redmine4/files/mysql.rb (nonexistent) +++ www/redmine4/files/mysql.rb (working copy) @@ -0,0 +1, @@ +gem "mysql2", "~> 0.5.0" --- www/redmine4/files/patch-Gemfile (nonexistent) +++ www/redmine4/files/patch-Gemfile (working copy) @@ -0,0 +1,95 @@ +--- Gemfile.orig 2019-10-19 09:33:33.000000000 +0000 ++++ Gemfile 2019-11-10 17:27:57.981223000 +0000 +@@ -3,8 +3,8 @@ source 'https://rubygems.org' + gem "bundler", ">= 1.5.0" + + gem "rails", "5.2.3" +-gem "rouge", "~> 3.3.0" +-gem "request_store", "1.0.5" ++gem "rouge", "~> 3.12.0" ++gem "request_store", ">= 1.0.5" + gem "mini_mime", "~> 1.0.1" + gem "actionpack-xml_parser" + gem "roadie-rails", "~> 1.3.0" +@@ -13,7 +13,7 @@ gem "mail", "~> 2.7.1" + gem "csv", "~> 3.0.1" if RUBY_VERSION >= "2.3" && RUBY_VERSION < "2.6" + + gem "nokogiri", (RUBY_VERSION >= "2.3" ? "~> 1.10.0" : "~> 1.9.1") +-gem "i18n", "~> 0.7.0" ++gem "i18n", ">= 0.7" + gem "xpath", "< 3.2.0" if RUBY_VERSION < "2.3" + + # TODO: Remove the following line when #32223 is fixed +@@ -34,63 +34,6 @@ group :openid do + gem "rack-openid" + end + +-platforms :mri, :mingw, :x64_mingw do +- # Optional gem for exporting the gantt to a PNG file, not supported with jruby +- group :rmagick do +- gem "rmagick", "~> 2.16.0" +- end +- +- # Optional Markdown support, not for JRuby +- group :markdown do +- gem "redcarpet", "~> 3.4.0" +- end +-end +- +-# Include database gems for the adapters found in the database +-# configuration file +-require 'erb' +-require 'yaml' +-database_file = File.join(File.dirname(__FILE__), "config/database.yml") +-if File.exist?(database_file) +- database_config = YAML::load(ERB.new(IO.read(database_file)).result) +- adapters = database_config.values.map {|c| c['adapter']}.compact.uniq +- if adapters.any? +- adapters.each do |adapter| +- case adapter +- when 'mysql2' +- gem "mysql2", "~> 0.5.0", :platforms => [:mri, :mingw, :x64_mingw] +- when /postgresql/ +- gem "pg", "~> 1.1.4", :platforms => [:mri, :mingw, :x64_mingw] +- when /sqlite3/ +- gem "sqlite3", "~>1.3.12", :platforms => [:mri, :mingw, :x64_mingw] +- when /sqlserver/ +- gem "tiny_tds", "~> 1.0.5", :platforms => [:mri, :mingw, :x64_mingw] +- gem "activerecord-sqlserver-adapter", :platforms => [:mri, :mingw, :x64_mingw] +- else +- warn("Unknown database adapter `#{adapter}` found in config/database.yml, use Gemfile.local to load your own database gems") +- end +- end +- else +- warn("No adapter found in config/database.yml, please configure it first") +- end +-else +- warn("Please configure your config/database.yml first") +-end +- +-group :development do +- gem "yard" +-end +- +-group :test do +- gem "rails-dom-testing" +- gem "mocha" +- gem "simplecov", "~> 0.14.1", :require => false +- # For running system tests +- gem 'puma', '~> 3.7' +- gem "capybara", '~> 2.13' +- gem "selenium-webdriver" +-end +- + local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local") + if File.exists?(local_gemfile) + eval_gemfile local_gemfile +@@ -99,4 +42,8 @@ end + # Load plugins' Gemfiles + Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file| + eval_gemfile file ++end ++ ++Dir["#{File.dirname(__FILE__)}/bundler.d/*.rb"].each do |bundle| ++ self.instance_eval(Bundler.read_file(bundle)) + end --- www/redmine4/files/pg.rb (nonexistent) +++ www/redmine4/files/pg.rb (working copy) @@ -0,0 +1, @@ +gem "pg", "~> 1.1.4" --- www/redmine4/files/redmine.in (nonexistent) +++ www/redmine4/files/redmine.in (working copy) @@ -0,0 +1,40 @@ +#!/bin/sh + +# $FreeBSD: head/www/redmine/files/redmine.in 430440 2017-01-03 05:32:37Z swills $ + +# PROVIDE: redmine +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# Add the following line to /etc/rc.conf[.local] to enable redmine +# +# redmine_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable redmine. +# redmine_flags (str): Custom additional arguments to be passed +# to redmine. +# redmine_user (str): User account to run thin with. (default: %%WWWOWN%%) +# redmine_group (str): Group to run thin with. (default: %%WWWGRP%%) + +. /etc/rc.subr + +name="redmine" +rcvar=redmine_enable +command=%%RUBY_NAME%% + +pidfile="%%WWWDIR%%/tmp/pids/thin.pid" + +load_rc_config $name + +# add /usr/local/bin to path +export PATH=$PATH:%%PREFIX%%/bin + +# set defaults +: ${redmine_enable="NO"} +: ${redmine_flags="-a 0.0.0.0 -p 3000 -e production"} +: ${redmine_user="%%WWWOWN%%"} +: ${redmine_group="%%WWWGRP%%"} + +command_args="-d -D -c %%WWWDIR%% -u ${redmine_user} -g ${redmine_group}" +start_cmd="%%PREFIX%%/bin/thin ${command_args} ${redmine_flags} start" + +run_rc_command "$1" --- www/redmine4/files/rmagic.rb (nonexistent) +++ www/redmine4/files/rmagic.rb (working copy) @@ -0,0 +1, @@ +gem "rmagick", "~> 2.16.0" --- www/redmine4/files/thin.rb (nonexistent) +++ www/redmine4/files/thin.rb (working copy) @@ -0,0 +1, @@ +gem "thin", ">= 1.6.2" --- www/redmine4/pkg-descr (nonexistent) +++ www/redmine4/pkg-descr (working copy) @@ -0,0 +1,23 @@ +Redmine is a flexible project management web application +written using Ruby on Rails framework, it is cross-platform +and cross-database. + +Feature Overview: +* Multiple projects support +* Flexible role based access control +* Flexible issue tracking system +* Gantt chart and calendar +* News, documents & files management +* Feeds & email notifications +* Per project wiki +* Per project forums +* Time tracking +* Custom fields for issues, time-entries, projects and users +* SCM integration (SVN, CVS, Git, Mercurial, Bazaar and Darcs) +* Issue creation via email +* Multiple LDAP authentication support +* User self-registration support +* Multilanguage support +* Multiple databases support + +WWW: https://www.redmine.org/ --- www/redmine4/pkg-message (nonexistent) +++ www/redmine4/pkg-message (working copy) @@ -0,0 +1,18 @@ +[ +{ type: install + message: <