Bug 7188 - SSLeay unable to locate file to patch
Summary: SSLeay unable to locate file to patch
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-07-06 20:20 UTC by Scot W. Hetzel
Modified: 1998-08-26 18:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scot W. Hetzel 1998-07-06 20:20:01 UTC
When building SSLeay with USA_RESIDENT set to YES, the patch for
Makefile.ssl (files/Makefile.patch) will not applied, instead patch
asks for the file to patch instead.

Also, BUILD_DEPENDS should be changed to LIB_DEPENDS in the ports Makefile.  Otherwise, when port will be unble to find the rsaref\\.2\\.
library, and will keep trying to rebuild the rsaref port.

Fix: 

Edit Makefile, and change BUILD_DEPENDS to LIB_DEPENDS
Edit files/Makefile.patch and change both work/SSLeay-0.8.1 to
work/SSLeay-0.8.1b.
How-To-Repeat: Set USA_RESIDENT to YES, make build
Comment 1 Steve Price freebsd_committer freebsd_triage 1998-07-11 01:17:47 UTC
State Changed
From-To: open->closed

Mark Murray fixed this not too long ago. 

Comment 2 Scot W. Hetzel 1998-07-11 01:54:50 UTC
From: Steve Price <steve@FreeBSD.ORG>
>Synopsis: SSLeay unable to locate file to patch
>
>State-Changed-From-To: open->closed
>State-Changed-By: steve
>State-Changed-When: Fri Jul 10 17:17:47 PDT 1998
>State-Changed-Why:
>Mark Murray fixed this not too long ago.
>
I just updated my ports collection and checked the SSLeay port.
This PR is partially closed, ./files/Makefile.patch is fixed, but the
./Makefile is still using BUILD_DEPENDS instead of LIB_DEPENDS.

When it tries to find the rsaref library the Makefile proceed to re-build
it.

Try:

edit /etc/rc.conf and set USA_RESIDENT to YES

cd /usr/ports/security/rsaref
make install
make clean
cd ../SSLeay
make build

It will fail to find the rsaref library and will proceed to rebuild it.
When
the rsaref hits the install stage it will fail because the port is already
installed.

Scot