Bug 202005

Summary: [PATCH] Update security/tor-devel to 0.2.7.2-alpha
Product: Ports & Packages Reporter: Neel Chauhan <nc>
Component: Individual Port(s)Assignee: Brendan Fabeny <bf>
Status: Closed DUPLICATE    
Severity: Affects Many People CC: bf, freebsd-vheg, nc
Priority: --- Keywords: easy, patch, patch-ready
Version: LatestFlags: bugzilla: maintainer-feedback? (bf)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to update security/tor-devel to 0.2.7.2-alpha
none
Poudriere build log for security/tor-devel 0.2.7.2-alpha
none
Updated patch for security/tor-devel 0.2.7.2-alpha
none
Poudriere build log for security/tor-devel 0.2.7.2-alpha on FreeBSD 9.3
none
Poudriere build log for security/tor-devel 0.2.7.2-alpha on FreeBSD 10.2 none

Description Neel Chauhan freebsd_committer freebsd_triage 2015-07-31 12:29:34 UTC
Created attachment 159410 [details]
Patch to update security/tor-devel to 0.2.7.2-alpha

Hi,
I have a patch to update the port security/tor-devel to 0.2.7.2-alpha. The poudriere build log will be uploaded shortly.

Keep in mind that tor-devel 0.2.7.2-alpha now requires OpenSSL 1.0 or higher. I have added the lines to the Makefile which checks for the version of FreeBSD, and if it's FreeBSD 8 or 9, if the OpenSSL port is installed.
Thanks,
Neel Chauhan
Comment 1 Neel Chauhan freebsd_committer freebsd_triage 2015-07-31 12:30:27 UTC
Created attachment 159411 [details]
Poudriere build log for security/tor-devel 0.2.7.2-alpha

Also, here is the poudriere build log.
-Neel
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2015-07-31 13:52:29 UTC
Perhaps adding 'Please define WITH_OPENSSL_PORT=foo' to the IGNORE message would help users recover from the failure.

Longer term, this feels like something bsd.openssl.mk should handle, perhaps allowing ports to ask for, or to look for a particular minimum version.
Comment 3 Neel Chauhan freebsd_committer freebsd_triage 2015-09-15 15:13:27 UTC
Created attachment 161067 [details]
Updated patch for security/tor-devel 0.2.7.2-alpha

Hi,
I have a updated patch for security/tor-devel 0.2.7.2-alpha, which is attached. I have decided to change these lines:

.if ${OSVERSION} < 1000000 && !defined(WITH_OPENSSL_PORT)
IGNORE=		tor-devel requires OpenSSL 1.0.0+
.endif

to this:

.if ${OSVERSION} < 1000000
WITH_OPENSSL_PORT=	yes
.endif

Tell me what you think.
I will upload the poudriere build logs for FreeBSD 9.3 and 10.2 shortly.

Thanks,
Neel Chauhan
Comment 4 Neel Chauhan freebsd_committer freebsd_triage 2015-09-15 15:13:52 UTC
Created attachment 161068 [details]
Poudriere build log for security/tor-devel 0.2.7.2-alpha on FreeBSD 9.3
Comment 5 Neel Chauhan freebsd_committer freebsd_triage 2015-09-15 15:14:15 UTC
Created attachment 161069 [details]
Poudriere build log for security/tor-devel 0.2.7.2-alpha on FreeBSD 10.2
Comment 6 Neel Chauhan freebsd_committer freebsd_triage 2015-09-28 17:28:21 UTC

*** This bug has been marked as a duplicate of bug 203421 ***