###
### Sat Feb 7 03:28:25 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.18 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> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r postfix-2.0.18
===========================================================================
If you won't be using postfix-2.0.18 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> /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/db4-4.2.52.tgz
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
=> Checksum OK for prayer-1.0.8.tar.gz.
work.sol9 -> /work/pkgbuild/mail/prayer/work.sol9
===> Extracting for prayer-1.0.8nb1
===> Required installed package db4>=4.2.52: db4-4.2.52 found
===> Required installed package zlib>=1.2.1: zlib-1.2.1 found
===> Required installed package imap-uw>=2002.4: imap-uw-2002.5nb2 found
===> Required installed package openssl>=0.9.6l: openssl-0.9.6l found
===> Required installed package perl>=5.0: perl-5.6.1nb10 found
===> Required installed package gmake>=3.78: gmake-3.80nb2 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
==========================================================================
The following variables will affect the build process of this package,
prayer-1.0.8nb1.  Their current value is shown below:

        * SSLBASE = /usr/pkg
        * SSLCERTS = /usr/pkg/etc/openssl/certs

You may want to abort the process now with CTRL+C and change their value
before continuing.  Be sure to run `bmake clean' after the changes.
==========================================================================
===> Patching for prayer-1.0.8nb1
===> Applying pkgsrc patches for prayer-1.0.8nb1
===> Overriding tools for prayer-1.0.8nb1
===> Buildlinking for prayer-1.0.8nb1
===> Configuring for prayer-1.0.8nb1
===> Building for prayer-1.0.8nb1
(cd files; gmake all)
gmake[1]: Entering directory `/work/pkgbuild/mail/prayer/work.sol9/prayer-1.0.8/files'
perl -pe "s&__PREFIX__&/usr/pkg&; s&__VAR_PREFIX__&/var/spool/prayer&; s&__BIN_DIR__&/usr/pkg/sbin&; s&__PKG_SYSCONFDIR__&/usr/pkg/etc/prayer&;" < ./etc/prayer.cf.SRC > ./etc/prayer.cf
perl -pe "s&__PREFIX__&/usr/pkg&; s&__VAR_PREFIX__&/var/spool/prayer&; s&__BIN_DIR__&/usr/pkg/sbin&; s&__PKG_SYSCONFDIR__&/usr/pkg/etc/prayer&; s&__PRAYER_CONFIG_FILE__&/usr/pkg/etc/prayer/prayer.cf&;" < ./init.d/prayer.SRC > ./init.d/prayer
gmake[1]: Leaving directory `/work/pkgbuild/mail/prayer/work.sol9/prayer-1.0.8/files'
(cd prayer; gmake all)
gmake[1]: Entering directory `/work/pkgbuild/mail/prayer/work.sol9/prayer-1.0.8/prayer'
gcc -O -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /usr/pkg/include/c-client -c pool.c
cc: illegal option -Wall
gmake[1]: *** [pool.o] Error 1
gmake[1]: Leaving directory `/work/pkgbuild/mail/prayer/work.sol9/prayer-1.0.8/prayer'
gmake: *** [all] Error 2
*** Error code 2

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       7957 Feb  7 03:29 .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.