###
### Tue Jan 27 02:30:44 EST 2004:
### bmake bulk-package for prayer-1.0.8nb1
### Current pkg count:  4 installed packages: digest-20021220 patch-2.5.4nb2 postfix-2.0.16 xpkgwedge-1.9
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for prayer-1.0.8nb1
===> Cleaning for db4-4.2.52
===> Cleaning for libtool-base-1.4.20010614nb19
===> Cleaning for patch-2.5.4nb2
===> Cleaning for zlib-1.2.1
===> Cleaning for imap-uw-2002.5nb2
===> Cleaning for openssl-0.9.6l
===> Cleaning for perl-5.6.1nb10
===> Cleaning for gmake-3.80nb2
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for gettext-lib-0.11.5nb2
===> Cleaning for libiconv-1.9.1nb1
BULK> Removing installed packages which are not needed to build prayer-1.0.8nb1
BULK> Keeping BULK_PREREQ: xpkgwedge-1.9 (pkgtools/xpkgwedge)
BULK> prayer-1.0.8nb1 requires installed package digest-20021220 (pkgtools/digest
pkgtools/rdigest) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r postfix-2.0.16
===========================================================================
If you won't be using postfix-2.0.16 any longer, you may want to remove

  * the following users:   postfix

  * the following groups:  postfix, maildrop

  * the following directories:

	/var/spool/postfix
===========================================================================
BULK> prayer-1.0.8nb1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> Installing packages which are required to build prayer-1.0.8nb1.
BULK> warning: /packages/SunOS/5.9/sparc/All/db4-4.2.52.tgz does not exist.  It will be rebuilt.
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/libtool-base-1.4.20010614nb19.tgz
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/zlib-1.2.1.tgz
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/imap-uw-2002.5nb2.tgz

===> Installing configuration/support files for openssl-0.9.6l

	/usr/pkg/etc/openssl/openssl.cnf

===========================================================================
You may wish to customize the following files for openssl-0.9.6l:

	/usr/pkg/etc/openssl/openssl.cnf
===========================================================================

===========================================================================
$NetBSD: MESSAGE,v 1.5 2003/09/22 03:13:58 grant Exp $

If upgrading from SSLeay, you will need to copy your ssleay.cnf (used for
creating certificate requests with "ca") into
/usr/pkg/etc/openssl/openssl.cnf.

If installing from scratch, you may want to take a look
at /usr/pkg/share/examples/openssl/openssl.cnf copy it
to /usr/pkg/etc/openssl/openssl.cnf, and customize it.

===========================================================================


===========================================================================
$NetBSD: MESSAGE,v 1.2 2003/09/16 19:16:44 jmmv Exp $

Add the following to /etc/services (if not already there):

 imap		143/tcp		# Internet Message Access Protocol
 imap		143/udp
 imaps		993/tcp		# imap4 protocol over TLS/SSL
 imaps		993/udp		# imap4 protocol over TLS/SSL
 pop3s		995/tcp		# pop3 protocol over TLS/SSL (was spop3)
 pop3s		995/udp		# pop3 protocol over TLS/SSL (was spop3)

Add the following to /etc/inetd.conf:

 imap   stream  tcp     nowait  root    /usr/pkg/libexec/imapd    imapd
 imaps  stream  tcp     nowait  root    /usr/pkg/libexec/imapd    imapd
 pop2   stream  tcp     nowait  root    /usr/pkg/libexec/ipop2d   ipop2d
 pop3   stream  tcp     nowait  root    /usr/pkg/libexec/ipop3d   ipop3d
 pop3s  stream  tcp     nowait  root    /usr/pkg/libexec/ipop3d   ipop3d

In order to use SSL, you will need to configure a certificate and store it
in the /usr/pkg/etc/openssl/certs directory, using the imapd.pem name.
If you want to use an existing certificate, say from Apache, just copy it
there (you may need to concatenate .key and .crt files together).

To put the changes into effect, make inetd reload its configuration:
On NetBSD 1.5 or later:
	/etc/rc.d/inetd reload
on earlier NetBSD releases:
	kill -HUP `cat /var/run/inetd.pid`

===========================================================================

BULK> Required package openssl-0.9.6l (security/openssl) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/perl-5.6.1nb10.tgz

===========================================================================
$NetBSD: MESSAGE,v 1.4 2004/01/08 19:18:00 jlam Exp $

perl-5.6.1nb10 will use the following directory as the default
location of the site-specific Perl modules:

	/usr/pkg/lib/perl5/site_perl/5.6.1

===========================================================================

BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/gmake-3.80nb2.tgz

===> Installing configuration/support files for libiconv-1.9.1nb1

	/usr/pkg/lib/charset.alias
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> Required package gettext-lib-0.11.5nb2 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.1nb1 (converters/libiconv) is already installed
BULK> Required package xpkgwedge-1.9 (pkgtools/xpkgwedge) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
bmake package (prayer-1.0.8nb1)
===> Checking for vulnerabilities in prayer-1.0.8nb1
=> prayer-1.0.8.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch prayer-1.0.8.tar.gz from ftp://ftp.csx.cam.ac.uk/pub/software/email/prayer/.
=> [519741 bytes]
=> Checksum OK for prayer-1.0.8.tar.gz.
work.sol9 -> /work/pkgbuild/mail/prayer/work.sol9
===> Extracting for prayer-1.0.8nb1
===> Required package db4>=4.2.52: NOT found
===> Verifying bulk-install for ../../databases/db4
BULK> Package db4-4.2.52 not built yet, packaging...
bmake bulk-package PRECLEAN=no
BULK> *** Package db4-4.2.52 seems broken and needs attention:
-rw-r--r--   1 root     other      91636 Jan 24 02:57 .broken.html
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/databases/db4
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/databases/db4
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/prayer
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/prayer
BULK> prayer-1.0.8nb1 was marked as broken:
-rw-r--r--   1 root     other       6439 Jan 27 02:32 .broken.html
bmake deinstall
===> Deinstalling for prayer
BULK> Marking all packages which depend upon prayer-1.0.8nb1 as broken:
BULK> Build for prayer-1.0.8nb1 was not successful, aborting.