Bug 114472 - devel/git: bump to 1.5.2.3, fix SHA1 dependency
Summary: devel/git: bump to 1.5.2.3, fix SHA1 dependency
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: Eric Anholt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-10 14:10 UTC by Ed Schouten
Modified: 2007-10-09 22:20 UTC (History)
0 users

See Also:


Attachments
file.diff (1.97 KB, patch)
2007-07-10 14:10 UTC, Ed Schouten
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Schouten 2007-07-10 14:10:02 UTC
Git makes use of SHA1 to perform hashing of changesets. By default, it
makes use of OpenSSL (libcrypto), but it can also use the Mozilla SHA1
library routines.

The Git port doesn't depend on OpenSSL, though it links against it
(-CURRENT box with Git 1.5.2.1):

| /usr/local/bin/git-verify-pack:
|         libz.so.4 => /lib/libz.so.4 (0x28103000)
|         libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28115000)
|         libcrypto.so.5 => /lib/libcrypto.so.5 (0x28203000)
|         libc.so.7 => /lib/libc.so.7 (0x2835b000)

Fix: The following patch bumps Git to 1.5.2.3 (no plist changes) and makes
Git tools link against libmd (RELENG_6 box with the patched port):

| /usr/local/bin/git-verify-pack:
| 	libz.so.3 => /lib/libz.so.3 (0x280f7000)
| 	libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28108000)
| 	libmd.so.3 => /lib/libmd.so.3 (0x281f5000)
| 	libc.so.6 => /lib/libc.so.6 (0x28203000)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-07-10 14:10:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anholt

Over to maintainer
Comment 2 Eric Anholt freebsd_committer freebsd_triage 2007-10-09 22:20:29 UTC
State Changed
From-To: open->closed

Fixed in an alternative way by using USE_OPENSSL.  Thanks for bringing up 
the issue.