###
### Thu Jun 17 16:31:59 EST 2004:
### /usr/pkg/bin/bmake bulk-package for ssmtp-2.60.3nb2
### Current pkg count:  16 installed packages: autoconf-2.59 automake-1.8.4 digest-20021220 gettext-lib-0.11.5nb3 gmake-3.80nb3 gtexinfo-4.6nb2 libiconv-1.9.1nb2 libtool-base-1.5.6nb1 m4-1.4nb1 patch-2.5.4nb2 perl-5.8.4 php-4.3.6nb2 php-gettext-4.3.6nb2 pkg_install-info-4.5nb2 squirrelmail-1.4.3a xpkgwedge-1.10
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for ssmtp-2.60.3nb2
===> Cleaning for openssl-0.9.6m
===> Cleaning for perl-5.8.4
===> Cleaning for patch-2.5.4nb2
===> 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
===> Cleaning for libtool-base-1.5.6nb1
BULK> Removing installed packages which are not needed to build ssmtp-2.60.3nb2
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
BULK> ssmtp-2.60.3nb2 requires installed package patch-2.5.4nb2 (devel/patch) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r m4-1.4nb1
BULK> ssmtp-2.60.3nb2 requires installed package libtool-base-1.5.6nb1 (devel/libtool-base) to build.
BULK> ssmtp-2.60.3nb2 requires installed package libiconv-1.9.1nb2 (converters/libiconv) to build.
BULK> ssmtp-2.60.3nb2 requires installed package gettext-lib-0.11.5nb3 (devel/gettext-lib) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r php-gettext-4.3.6nb2
===========================================================================
If you won't be using squirrelmail-1.4.3a any longer, you may want to remove

  * the following directories:

	/var/spool/squirrelmail/data
	/var/spool/squirrelmail
===========================================================================
BULK> ssmtp-2.60.3nb2 requires installed package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) to build.
BULK> ssmtp-2.60.3nb2 requires installed package perl-5.8.4 (lang/perl58) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gtexinfo-4.6nb2
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r php-4.3.6nb2
===========================================================================
If you won't be using php-4.3.6nb2 any longer, you may want to remove

  * the following directories:

	/usr/pkg/lib/php/20020429
===========================================================================
BULK> ssmtp-2.60.3nb2 requires installed package gmake-3.80nb3 (devel/gmake) to build.
BULK> Installing packages which are required to build ssmtp-2.60.3nb2.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/openssl-0.9.6m.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.

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

BULK> Required package perl-5.8.4 (lang/perl58) is already installed
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> Required package gmake-3.80nb3 (devel/gmake) is already installed
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 libtool-base-1.5.6nb1 (devel/libtool-base) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (ssmtp-2.60.3nb2)
===> Checking for vulnerabilities in ssmtp-2.60.3nb2
=> Checksum OK for ssmtp_2.60.3.tar.gz.
work -> /work/pkgbuild/mail/ssmtp/work
===> Extracting for ssmtp-2.60.3nb2
===> 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
==========================================================================
The following variables will affect the build process of this package,
ssmtp-2.60.3nb2.  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.
==========================================================================
/usr/bin/rm -rf /work/pkgbuild/mail/ssmtp/work/ssmtp-2.60/RCS
===> Patching for ssmtp-2.60.3nb2
===> Applying pkgsrc patches for ssmtp-2.60.3nb2
for f in /work/pkgbuild/mail/ssmtp/work/ssmtp-2.60/ssmtp.c /work/pkgbuild/mail/ssmtp/work/ssmtp-2.60/ssmtp.conf ; do		 /usr/bin/mv -f $f $f.orig ;					 /usr/pkg/bin/nbsed "s,/etc/ssl/certs/,/usr/pkg/etc/ssmtp/,g"		 ${f}.orig > ${f} ;				 /usr/bin/rm -f $f.orig ;					 done
for f in /work/pkgbuild/mail/ssmtp/work/ssmtp-2.60/ssmtp.8 ; do					 /usr/bin/mv -f $f $f.orig ;					 /usr/pkg/bin/nbsed "s,/etc/ssmtp/,/usr/pkg/etc/ssmtp/,g"		 $f.orig > $f ; 				 /usr/bin/rm -f $f.orig ;					 done
===> Overriding tools for ssmtp-2.60.3nb2
===> Buildlinking for ssmtp-2.60.3nb2
===> Configuring for ssmtp-2.60.3nb2
creating cache ./config.cache
checking for a BSD compatible install... /usr/ucb/install -c -o root -g root
checking whether ln -s works... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for limits.h... yes
checking for strings.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for obsolete openlog... no
checking for working const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for gethostname in -lnsl... yes
checking for socket in -lsocket... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for gethostname... yes
checking for socket... yes
checking for strdup... yes
checking for strstr... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
===> Building for ssmtp-2.60.3nb2
cc -Wall  -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNSL=1 -DHAVE_LIBSOCKET=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1  -DSSMTPCONFDIR=\"/usr/pkg/etc/ssmtp\" -DCONFIGURATION_FILE=\"/usr/pkg/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/usr/pkg/etc/ssmtp/revaliases\"  -O -I/usr/pkg/include   -I/usr/pkg/include  -c -o ssmtp.o ssmtp.c
"ssmtp.c", line 1280: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned char : "ssmtp.h", line 40
	argument : pointer to char
"ssmtp.c", line 1280: warning: argument #2 is incompatible with prototype:
	prototype: pointer to const unsigned char : "ssmtp.h", line 40
	argument : pointer to char
"ssmtp.c", line 1289: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned char : "ssmtp.h", line 40
	argument : pointer to char
"ssmtp.c", line 1289: warning: argument #2 is incompatible with prototype:
	prototype: pointer to const unsigned char : "ssmtp.h", line 40
	argument : pointer to char
cc -Wall  -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNSL=1 -DHAVE_LIBSOCKET=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1  -DSSMTPCONFDIR=\"/usr/pkg/etc/ssmtp\" -DCONFIGURATION_FILE=\"/usr/pkg/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/usr/pkg/etc/ssmtp/revaliases\"  -O -I/usr/pkg/include   -I/usr/pkg/include  -c -o arpadate.o arpadate.c
cc -Wall  -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNSL=1 -DHAVE_LIBSOCKET=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1 -DHAVE_SSL=1 -DINET6=1  -DSSMTPCONFDIR=\"/usr/pkg/etc/ssmtp\" -DCONFIGURATION_FILE=\"/usr/pkg/etc/ssmtp/ssmtp.conf\" -DREVALIASES_FILE=\"/usr/pkg/etc/ssmtp/revaliases\"  -O -I/usr/pkg/include   -I/usr/pkg/include  -c -o base64.o base64.c
cc -o ssmtp ssmtp.o arpadate.o base64.o -lsocket -lnsl  -lssl -lcrypto
=> Fixing buildlink references in files-to-be-installed.
/usr/pkg/bin/nbsed  -e s!@PREFIX@!/usr/pkg!g  -e s!@LOCALBASE@!/usr/pkg!g  -e s!@X11BASE@!/usr/openwin!g  -e s!@DEPOTBASE@!/usr/pkg/packages!g  -e s!@PKG_SYSCONFBASE@!/usr/pkg/etc!g  -e s!@PKG_SYSCONFDEPOTBASE@!!g  -e s!@PKG_SYSCONFBASEDIR@!/usr/pkg/etc!g  -e s!@PKG_SYSCONFDIR@!/usr/pkg/etc/ssmtp!g  -e s!@CONF_DEPENDS@!!g  -e s!@PKGBASE@!ssmtp!g  -e s!@PKG_INSTALLATION_TYPE@!overwrite!g  -e s!@PKG_USERS@!!g  -e s!@PKG_USER_HOME@!/nonexistent!g  -e s!@PKG_USER_SHELL@!/usr/bin/false!g  -e s!@PKG_GROUPS@!!g  -e s!@SPECIAL_PERMS@!!g  -e s!@CONF_FILES@!/usr/pkg/share/examples/ssmtp/ssmtp.conf\ /usr/pkg/etc/ssmtp/ssmtp.conf\ /usr/pkg/share/examples/ssmtp/revaliases\ /usr/pkg/etc/ssmtp/revaliases!g  -e s!@CONF_FILES_MODE@!0644!g  -e s!@CONF_FILES_PERMS@!!g  -e s!@SUPPORT_FILES@!!g  -e s!@SUPPORT_FILES_MODE@!0644!g  -e s!@SUPPORT_FILES_PERMS@!!g  -e s!@RCD_SCRIPTS@!!g  -e s!@RCD_SCRIPTS_MODE@!0755!g  -e s!@RCD_SCRIPTS_DIR@!/etc/rc.d!g  -e s!@RCD_SCRIPTS_EXAMPLEDIR@!/usr/pkg/etc/rc.d!g  -e s!@RCD_SCRIPTS_SHELL@!/bin/ksh!g  -e s!@MAKE_DIRS@!!g  -e s!@MAKE_DIRS_PERMS@!!g  -e s!@OWN_DIRS@!!g  -e s!@OWN_DIRS_PERMS@!!g  -e s!@PKG_CREATE_USERGROUP@!YES!g  -e s!@PKG_CONFIG@!YES!g  -e s!@PKG_RCD_SCRIPTS@!NO!g  -e s!@PKG_REGISTER_SHELLS@!YES!g  -e s!@PKG_SHELL@!!g  -e s!@AWK@!/usr/bin/nawk!g  -e s!@BASENAME@!/usr/bin/basename!g  -e s!@CAT@!/usr/bin/cat!g  -e s!@CHGRP@!/usr/bin/chgrp!g  -e s!@CHMOD@!/usr/bin/chmod!g  -e s!@CHOWN@!/usr/bin/chown!g  -e s!@CMP@!cmp!g  -e s!@CP@!/usr/bin/cp!g  -e s!@DIRNAME@!/usr/bin/dirname!g  -e s!@ECHO@!/usr/ucb/echo!g  -e s!@ECHO_N@!/usr/ucb/echo\ -n!g  -e s!@EGREP@!/usr/xpg4/bin/grep\ -E!g  -e s!@EXPR@!/usr/xpg4/bin/expr!g  -e s!@FALSE@!/usr/bin/false!g  -e s!@FIND@!/usr/bin/find!g  -e s!@GREP@!/usr/xpg4/bin/grep!g  -e s!@GROUPADD@!/usr/sbin/groupadd!g  -e s!@GTAR@!/usr/pkg/bin/tar!g  -e s!@HEAD@!/usr/bin/head!g  -e s!@ID@!/usr/xpg4/bin/id!g  -e s!@INSTALL_INFO@!!g  -e s!@LINKFARM@!/usr/pkg/sbin/linkfarm!g  -e s!@LN@!/usr/bin/ln!g  -e s!@LS@!/usr/bin/ls!g  -e s!@MKDIR@!/usr/bin/mkdir\ -p!g  -e s!@MV@!/usr/bin/mv!g  -e s!@PERL5@!/usr/pkg/bin/perl!g  -e s!@PKG_ADMIN@!/usr/pkg/sbin/pkg_admin!g  -e s!@PKG_INFO@!/usr/pkg/sbin/pkg_info!g  -e s!@RM@!/usr/bin/rm!g  -e s!@RMDIR@!/usr/bin/rmdir!g  -e s!@SED@!/usr/pkg/bin/nbsed!g  -e s!@SETENV@!/usr/bin/env!g  -e s!@SH@!/bin/ksh!g  -e s!@SORT@!/usr/bin/sort!g  -e s!@SU@!/usr/bin/su!g  -e s!@TEST@!/usr/bin/test!g  -e s!@TOUCH@!/usr/bin/touch!g  -e s!@TR@!/usr/bin/tr!g  -e s!@TRUE@!/usr/bin/true!g  -e s!@USERADD@!/usr/sbin/useradd!g  -e s!@XARGS@!/usr/bin/xargs!g /usr/pkgsrc/mail/ssmtp/files/mailer.conf		 > /work/pkgbuild/mail/ssmtp/work/mailer.conf
===> Installing for ssmtp-2.60.3nb2
/usr/ucb/install -c -o root -g root -d -m 755 /usr/pkg/sbin
/usr/ucb/install -c -o root -g root -s -m 755 ssmtp /usr/pkg/sbin/ssmtp
/usr/ucb/install -c -o root -g root -d -m 755 /usr/pkg/man/man8
/usr/ucb/install -c -o root -g root -m 644 ./ssmtp.8 /usr/pkg/man/man8/ssmtp.8
/usr/ucb/install -c -o root -g root -d -m 755 /usr/pkg/etc/ssmtp
/usr/ucb/install -d -o root -g root -m 755 /usr/pkg/share/examples/ssmtp
/usr/ucb/install -c -o root -g root -m 444 /work/pkgbuild/mail/ssmtp/work/ssmtp-2.60/ssmtp.conf /usr/pkg/share/examples/ssmtp
/usr/ucb/install -c -o root -g root -m 444 /work/pkgbuild/mail/ssmtp/work/ssmtp-2.60/revaliases /usr/pkg/share/examples/ssmtp
/usr/ucb/install -c -o root -g root -m 444 /work/pkgbuild/mail/ssmtp/work/mailer.conf /usr/pkg/share/examples/ssmtp

===> Installing configuration/support files for ssmtp-2.60.3nb2

	/usr/pkg/etc/ssmtp/ssmtp.conf
	/usr/pkg/etc/ssmtp/revaliases

===========================================================================
You may wish to customize the following files for ssmtp-2.60.3nb2:

	/usr/pkg/etc/ssmtp/ssmtp.conf
	/usr/pkg/etc/ssmtp/revaliases
===========================================================================
===> Please note the following:

===========================================================================
$NetBSD: MESSAGE,v 1.2 2003/06/19 22:01:46 jlam Exp $

*BEFORE* using the program, you will need to edit the following files:

	/usr/pkg/etc/ssmtp/ssmtp.conf
	/usr/pkg/etc/ssmtp/revaliases

especially the variables `mailhub' and `hostname' in ssmtp.conf.  You may
optionally install:

	/usr/pkg/share/examples/ssmtp/mailer.conf

as /etc/mailer.conf to use ssmtp in place of the system sendmail.
===========================================================================

===> Registering installation for ssmtp-2.60.3nb2
ssmtp-2.60.3nb2 requires installed package openssl-0.9.6m
/usr/pkg/sbin/ssmtp: 	libssl.so.300.1 =>	 (file not found)
	libcrypto.so.300.1 =>	 (file not found)
*** The above programs/libs will not find the listed shared libraries
    at runtime. Please fix the package (add -Wl,-R.../lib in the right places)!
*** Error code 1

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

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

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

Stop.
bmake: stopped in /usr/pkgsrc/mail/ssmtp
BULK> ssmtp-2.60.3nb2 was marked as broken:
-rw-r--r--   1 root     other      14201 Jun 17 16:34 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for ssmtp
Running /usr/pkg/sbin/pkg_delete -K /var/db/pkg ssmtp-2.60.3nb2
BULK> Marking all packages which depend upon ssmtp-2.60.3nb2 as broken:
BULK> Build for ssmtp-2.60.3nb2 was not successful, aborting.