bug#326: stunnel build on chroot fails

Jac Kersing <[email protected]>
Newsgroups gmane.linux.bbc.bugs
Message-ID <[email protected]>
Package: net/stunnel
Version: 4.03

In order to be able to build the stunnel package in the chroot environment 
the BUILDDEPS need to specify openssl. (BUILDDEPS = crypto/openssl)

If not make complains:
<snip>
openssl req -new -x509 -days 365 -nodes -config ./stunnel.cnf \
        -out stunnel.pem -keyout stunnel.pem; \
test 0 -eq 0 || openssl gendh $RND 512 >> stunnel.pem
/bin/sh: openssl: command not found
openssl x509 -subject -dates -fingerprint -noout \
        -in stunnel.pem
make[3]: openssl: Command not found
make[3]: *** [stunnel.pem] Error 127
make[3]: Leaving directory 
`/home/bbc3/gar/net/stunnel/work/main.d/stunnel-4.03/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/bbc3/gar/net/stunnel/work/main.d/stunnel-4.03'
make[1]: *** [build-work/main.d/stunnel-4.03/Makefile] Error 2
make[1]: Leaving directory `/home/bbc3/gar/net/stunnel'
make: *** [../../net/stunnel/cookies/main.d/install] Error 2

Regards,

Jac

-- 
 Jac Kersing            Technical Consultant   The-Box Development
 [email protected]                         http://www.the-box.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.