+ PKG_PATH=/data/packages/SmartOS/upstream/trunk/All + /opt/tools/sbin/pkg_add -K /var/opt/pkg/.pkgdb digest-20220214 mktools-20220614 cwrappers-20220403 checkperms-1.12 ruby31-redmine50-5.0.9 pkg_add: package `mktools-20220614' already recorded as installed pkg_add: package `cwrappers-20220403' already recorded as installed openssl-3.3.1: /etc/opt/pkg/openssl/openssl.cnf already exists xmlcatmgr-2.2nb1: /etc/opt/pkg/sgml/catalog already exists xmlcatmgr-2.2nb1: /etc/opt/pkg/xml/catalog already exists xmlcatmgr-2.2nb1: copying /opt/pkg/share/examples/xmlcatmgr/catalog.share.sgml to /opt/pkg/share/sgml/catalog xmlcatmgr-2.2nb1: copying /opt/pkg/share/examples/xmlcatmgr/catalog.share.xml to /opt/pkg/share/xml/catalog gettext-lib-0.22.5: copying /opt/pkg/share/examples/gettext/locale.alias to /opt/pkg/lib/locale/locale.alias fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/10-hinting-full.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/10-scale-bitmap-fonts.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/10-sub-pixel-none.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/10-yes-antialias.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/11-lcdfilter-default.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/11-lcdfilter-none.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/20-unhint-small-vera.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/30-metric-aliases.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/30-pkgsrc-aliases.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/40-nonlatin.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/45-generic.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/45-latin.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/48-spacing.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/49-sansserif.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/50-user.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/51-local.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/60-generic.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/60-latin.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/65-fonts-persian.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/65-nonlatin.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/69-unifont.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/70-no-bitmap-webfonts.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/80-delicious.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/90-synthetic.conf already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/conf.d/README already exists fontconfig-2.15.0: /etc/opt/pkg/fontconfig/fonts.conf already exists dbus-1.14.10: Creating group ``dbus'' dbus-1.14.10: Creating user ``dbus'' dbus-1.14.10: setting permissions on /opt/pkg/libexec/dbus-daemon-launch-helper (o=root, g=dbus, m=4511) =========================================================================== This package has SMF support. You may use svcadm(1M) to 'enable', 'disable' or 'restart' services. To enable the instance(s) for this package, run: /usr/sbin/svcadm enable svc:/pkgsrc/dbus:default Use svcs(1) to check on service status. See smf(5) for more information. svccfg: Could not connect to repository server: repository server unavailable. =========================================================================== =========================================================================== This package has SMF support. You may use svcadm(1M) to 'enable', 'disable' or 'restart' services. To enable the instance(s) for this package, run: /usr/sbin/svcadm enable svc:/pkgsrc/mdnsresponder:default Use svcs(1) to check on service status. See smf(5) for more information. svccfg: Could not connect to repository server: repository server unavailable. =========================================================================== libpaper-2.2.5: /etc/opt/pkg/papersize already exists libpaper-2.2.5: /etc/opt/pkg/paperspecs already exists p11-kit-0.25.5: /etc/opt/pkg/pkcs11.conf already exists No schema files found: doing nothing. ImageMagick-7.1.1.35: /etc/opt/pkg/ImageMagick-7/colors.xml already exists ImageMagick-7.1.1.35: /etc/opt/pkg/ImageMagick-7/delegates.xml already exists ImageMagick-7.1.1.35: /etc/opt/pkg/ImageMagick-7/log.xml already exists ImageMagick-7.1.1.35: /etc/opt/pkg/ImageMagick-7/mime.xml already exists ImageMagick-7.1.1.35: /etc/opt/pkg/ImageMagick-7/policy.xml already exists ImageMagick-7.1.1.35: /etc/opt/pkg/ImageMagick-7/thresholds.xml already exists ImageMagick-7.1.1.35: /etc/opt/pkg/ImageMagick-7/type-dejavu.xml already exists ImageMagick-7.1.1.35: /etc/opt/pkg/ImageMagick-7/type-ghostscript.xml already exists ImageMagick-7.1.1.35: /etc/opt/pkg/ImageMagick-7/type-windows.xml already exists ImageMagick-7.1.1.35: /etc/opt/pkg/ImageMagick-7/type.xml already exists ruby31-redmine50-5.0.9: Creating group ``www'' ruby31-redmine50-5.0.9: Creating user ``www'' ruby31-redmine50-5.0.9: copying /dev/null to /opt/pkg/share/ruby31-redmine50/Gemfile.lock ruby31-redmine50-5.0.9: copying /opt/pkg/share/examples/ruby31-redmine50/additional_environment.rb.example to /opt/pkg/share/ruby31-redmine50/config/additional_environment.rb ruby31-redmine50-5.0.9: copying /opt/pkg/share/examples/ruby31-redmine50/configuration.yml.example to /opt/pkg/share/ruby31-redmine50/config/configuration.yml ruby31-redmine50-5.0.9: copying /opt/pkg/share/examples/ruby31-redmine50/database.yml.example to /opt/pkg/share/ruby31-redmine50/config/database.yml ruby31-redmine50-5.0.9: copying /opt/pkg/share/examples/ruby31-redmine50/unicorn.rb.example to /opt/pkg/share/ruby31-redmine50/config/unicorn.rb =========================================================================== $NetBSD: MESSAGE,v 1.2 2022/01/16 14:22:06 taca Exp $ Note that this is a minimal package. The original ruby-3.1.6 distribution includes more extension libraries, some of which are provided as separate packages: devel/ruby-readline: readline module =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.1.1.1 2010/09/12 04:04:26 taca Exp $ To use rake2thor command, please install these packages: devel/ruby-parsetree devel/ruby2ruby =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.3 2020/10/05 23:22:04 gdt Exp $ To interoperate with older kerberos realms, you may need to set allow_weak_crypto = true in the [libdefaults] section of your krb5.conf file =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.2 2023/05/30 14:23:59 taca Exp $ To use Redmine with nginx, you will need to perform the following steps. 1. If you want to use with MySQL server (by default), install databases/mysql5[6|7]-* and enable it. Then, create the database. 2. Install nginx httpd server, www/nginx. 3. Setup Redmine database: $ mysql -u root -p > create database redmine character set utf8; > create database redmine_development character set utf8; > create user 'redmine'@'localhost' identified by 'redmine_password'; > grant all privileges on redmine.* to 'redmine'@'localhost'; > grant all privileges on redmine_development.* to 'redmine'@'localhost'; 4. Set the database password for the redmine and redmine_development databases in /opt/pkg/share/ruby31-redmine50/config/database.yml; 5. Create secret token and write to /opt/pkg/share/ruby31-redmine50/config/configuration.yml # redmine50_generate_secret_token31.sh # vi config/configuration.yml [...] secret_token: 'YOUR_SECRET_KEY' [...] 6. Import some data to Redmine database, select your locale, and migrate the DB: # redmine50_migrate_db31.sh 7. Setup nginx. # vi /opt/pkg/etc/nginx/nginx.conf http { upstream unicorn_redmine { server unix:/opt/pkg/share/ruby31-redmine50/unicorn.redmine.sock fail_timeout=0; } server { listen 80; server_name localhost; root /opt/pkg/share/ruby31-redmine50; try_files $uri @unicorn_redmine; location @unicorn_redmine { proxy_set_header Host $http_host; proxy_pass http://unicorn_redmine; } error_page 500 502 503 504 /50x.html; location = /50x.html { root share/examples/nginx/html; } } 8. Start Redmine with Unicorn. # /opt/pkg/etc/rc.d/redmine50_unicorn31 start 9. Start nginx. # /opt/pkg/etc/rc.d/nginx start 10. Access Redmine with username: admin and password: admin. ===========================================================================