Skip to content

Instantly share code, notes, and snippets.

@jessereynolds
Created October 28, 2012 11:43
Show Gist options
  • Save jessereynolds/3968401 to your computer and use it in GitHub Desktop.
Save jessereynolds/3968401 to your computer and use it in GitHub Desktop.
apr-1.4.6 is not available on the repository (Joyent 2012Q2)
[root@cp-www ~]# pkgin install ap22-ruby18-passenger-3.0.15
calculating dependencies... done.
nothing to upgrade.
7 packages to be installed: tcp_wrappers-7.6.1nb4 openldap-client-2.4.30 expat-2.1.0 apr-util-1.4.1nb1 apr-1.4.6 apache-2.2.22nb1 ap22-ruby18-passenger-3.0.15 (27M to download, 0B to install)
proceed ? [Y/n] y
downloading packages...
tcp_wrappers-7.6.1nb4.tgz 100% 100KB 100.4KB/s 100.4KB/s 00:01
openldap-client-2.4.30.tgz 100% 1174KB 234.8KB/s 25.1KB/s 00:05
expat-2.1.0.tgz 100% 197KB 98.5KB/s 95.9KB/s 00:02
apr-util-1.4.1nb1.tgz 100% 224KB 224.2KB/s 124.2KB/s 00:01
apr-1.4.6 is not available on the repository
proceed ? [y/N] y
apache-2.2.22nb1.tgz 100% 3963KB 360.3KB/s 402.0KB/s 00:11
ap22-ruby18-passenger-3.0.15.tgz 100% 1177KB 294.3KB/s 147.1KB/s 00:04
installing packages...
installing tcp_wrappers-7.6.1nb4...
installing openldap-client-2.4.30...
openldap-client-2.4.30: copying /opt/local/share/examples/openldap/ldap.conf to /opt/local/etc/openldap/ldap.conf
installing expat-2.1.0...
installing apr-util-1.4.1nb1...
installing apache-2.2.22nb1...
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/extra/httpd-autoindex.conf to /opt/local/etc/httpd/httpd-autoindex.conf
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/extra/httpd-dav.conf to /opt/local/etc/httpd/httpd-dav.conf
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/extra/httpd-default.conf to /opt/local/etc/httpd/httpd-default.conf
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/extra/httpd-info.conf to /opt/local/etc/httpd/httpd-info.conf
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/extra/httpd-languages.conf to /opt/local/etc/httpd/httpd-languages.conf
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/extra/httpd-manual.conf to /opt/local/etc/httpd/httpd-manual.conf
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/extra/httpd-mpm.conf to /opt/local/etc/httpd/httpd-mpm.conf
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/extra/httpd-multilang-errordoc.conf to /opt/local/etc/httpd/httpd-multilang-errordoc.conf
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/extra/httpd-ssl.conf to /opt/local/etc/httpd/httpd-ssl.conf
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/extra/httpd-userdir.conf to /opt/local/etc/httpd/httpd-userdir.conf
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/extra/httpd-vhosts.conf to /opt/local/etc/httpd/httpd-vhosts.conf
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/httpd.conf to /opt/local/etc/httpd/httpd.conf
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/magic to /opt/local/etc/httpd/magic
apache-2.2.22nb1: copying /opt/local/share/examples/httpd/mime.types to /opt/local/etc/httpd/mime.types
apache-2.2.22nb1: setting permissions on /opt/local/sbin/suexec (o=root, g=www, m=4510)
===========================================================================
The following files should be created for apache-2.2.22nb1:
/etc/rc.d/apache (m=0755)
[/opt/local/share/examples/rc.d/apache]
===========================================================================
//////////////////////////////////////////////////////////////////////////////
This package is SMF enabled, which means you can use SMF to 'enable',
'disable' or 'restart' the persistent daemon process, e.g.:
svcadm enable apache:default
The SMF manifest was automatically imported now.
See our wiki on what's SMF and how to use it to your advantage:
http://wiki.joyent.com/display/smart/About+the+Service+Management+Facility
//////////////////////////////////////////////////////////////////////////////
===========================================================================
$NetBSD: MESSAGE,v 1.1 2010/08/02 10:38:16 lukem Exp $
As of Apache 2.2.16, all Apache modules will be built as shared
modules instead of being statically compiled into Apache.
If upgrading from a previous version of Apache, you will need to
add "LoadModule" directives to the your Apache configuration
otherwise you may experience problems.
See /opt/local/share/examples/httpd/httpd.conf for a list of
"LoadModule" directives to be added to /opt/local/etc/httpd/httpd/httpd.conf
that should restore the previous behaviour.
===========================================================================
installing ap22-ruby18-passenger-3.0.15...
===========================================================================
$NetBSD$
The Apache 2 module was successfully installed.
To enable this module, add something like the following lines to
your Apache server configuration file:
LoadModule passenger_module lib/httpd/mod_passenger.so
Then add this to your Apache configuration:
<IfModule mod_passenger.c>
PassengerRoot /opt/local
PassengerRuby /opt/local/bin/ruby18
</IfModule>
After you restart Apache, you are ready to deploy any number of Ruby on Rails
applications on Apache, without any further Ruby on Rails-specific
configuration!
===========================================================================
pkg_install warnings: 0, errors: 3
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
reading local summary...
processing local summary...
updating database: 100%
marking ap22-ruby18-passenger-3.0.15 as non auto-removable
@jessereynolds
Copy link
Author

[root@cp-www ~]# pkgin update
database for http://pkgsrc.joyent.com/sdc6/2012Q2/x86_64/All is up-to-date

@jessereynolds
Copy link
Author

Worked second time round, weird:

[root@cp-www ~]# pkgin install apr
calculating dependencies... done.

nothing to upgrade.
1 packages to be installed: apr-1.4.6 (1314K to download, 0B to install)

proceed ? [Y/n] y
downloading packages...
apr-1.4.6.tgz                                                                    100%  371KB 185.6KB/s 271.2KB/s   00:02    
installing packages...
installing apr-1.4.6...
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
updating database: 100%
marking apr-1.4.6 as non auto-removable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment