###
### Thu Jun 17 15:21:21 EST 2004:
### /usr/pkg/bin/bmake bulk-package for prayer-1.0.8nb3
### Current pkg count:  4 installed packages: digest-20021220 patch-2.5.4nb2 postfix-20040312 xpkgwedge-1.10
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for prayer-1.0.8nb3
===> Cleaning for db4-4.2.52nb1
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
===> Cleaning for zlib-1.2.1nb1
===> Cleaning for imap-uw-2004
===> Cleaning for openssl-0.9.6m
===> Cleaning for perl-5.8.4
===> Cleaning for gmake-3.80nb3
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for gettext-lib-0.11.5nb3
===> Cleaning for libiconv-1.9.1nb2
BULK> Removing installed packages which are not needed to build prayer-1.0.8nb3
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r xpkgwedge-1.10
pkg_delete: package 'xpkgwedge-1.10' doesn't have a prefix
pkg_delete: package 'xpkgwedge-1.10' doesn't have a prefix
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r postfix-20040312
===========================================================================
If you won't be using postfix-20040312 any longer, you may want to remove

  * the following users:   postfix

  * the following groups:  postfix, maildrop

  * the following directories:

	/var/spool/postfix

You may also want to remove any settings in rc.conf that you may have
made in order to use postfix-20040312.
===========================================================================
BULK> prayer-1.0.8nb3 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> Installing packages which are required to build prayer-1.0.8nb3.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/db4-4.2.52nb1.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/libtool-base-1.5.6nb1.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.1nb1.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/imap-uw-2004.tgz

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

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

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

	/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.6m (security/openssl) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/perl-5.8.4.tgz

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

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

	/usr/pkg/lib/perl5/site_perl/5.8.4

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

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

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

	/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.5nb3 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.1nb2 (converters/libiconv) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (prayer-1.0.8nb3)
===> Checking for vulnerabilities in prayer-1.0.8nb3
=> Checksum OK for prayer-1.0.8.tar.gz.
work -> /work/pkgbuild/mail/prayer/work
===> Extracting for prayer-1.0.8nb3
===> Required installed package db4>=4.2.52nb1: db4-4.2.52nb1 found
===> Required installed package zlib>=1.2.1: zlib-1.2.1nb1 found
===> Required installed package imap-uw>=2004: imap-uw-2004 found
===> Required installed package openssl>=0.9.6m: openssl-0.9.6m found
===> Required installed package gmake>=3.78: gmake-3.80nb3 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Required installed package {perl>=5.0,perl-thread>=5.0}: perl-5.8.4 found
==========================================================================
The following variables will affect the build process of this package,
prayer-1.0.8nb3.  Their current value is shown below:

        * SSLBASE (defined)

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
===> Patching for prayer-1.0.8nb3
===> Applying pkgsrc patches for prayer-1.0.8nb3
/usr/bin/find /work/pkgbuild/mail/prayer/work/prayer-1.0.8 -name CVS -type d -print | /usr/bin/sort -r |  /usr/bin/xargs /usr/bin/rm -r
===> Overriding tools for prayer-1.0.8nb3
===> Buildlinking for prayer-1.0.8nb3
===> Configuring for prayer-1.0.8nb3
===> Building for prayer-1.0.8nb3
(cd files; gmake all)
gmake[1]: Entering directory `/work/pkgbuild/mail/prayer/work/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/prayer-1.0.8/files'
(cd prayer; gmake all)
gmake[1]: Entering directory `/work/pkgbuild/mail/prayer/work/prayer-1.0.8/prayer'
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c pool.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c list.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c assoc.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c memblock.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c buffer.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c string.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c config.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c user_agent.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c iostream.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c request.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -DGZIP_ENABLE  -c response.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -DGZIP_ENABLE -c gzip.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c html_common.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c setproctitle.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c ipaddr.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c log.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c os.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c prayer.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -I/usr/kerberos/include \
  -DSSL_ENABLE -DSESSION_CACHE_ENABLE -c prayer_ssl.c
gcc -O -I/usr/pkg/include/db4 -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -I/include/db4 \
  -DDB_ENABLE -c mydb_db3.c
"mydb_db3.c", line 101: syntax error before or at: __attribute__
"mydb_db3.c", line 101: warning: undefined or missing type for: __attribute__
"mydb_db3.c", line 102: warning: old-style declaration or incorrect type for: __attribute__
"mydb_db3.c", line 112: cannot recover from previous errors
cc: acomp failed for mydb_db3.c
gmake[1]: *** [mydb_db3.o] Error 2
gmake[1]: Leaving directory `/work/pkgbuild/mail/prayer/work/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.8nb3 was marked as broken:
-rw-r--r--   1 root     other      11096 Jun 17 15:25 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for prayer
BULK> Marking all packages which depend upon prayer-1.0.8nb3 as broken:
BULK> Build for prayer-1.0.8nb3 was not successful, aborting.