Page MenuHomeFreeBSD

security/sha1collisiondetection - tool to detect SHA-1 collisions
ClosedPublic

Authored by jrm on Mar 14 2017, 1:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 25 2024, 2:00 PM
Unknown Object (File)
Nov 23 2024, 7:15 AM
Unknown Object (File)
Nov 21 2024, 4:34 AM
Unknown Object (File)
Nov 20 2024, 12:01 AM
Unknown Object (File)
Nov 7 2024, 5:47 PM
Unknown Object (File)
Nov 5 2024, 8:21 AM
Unknown Object (File)
Oct 16 2024, 8:34 AM
Unknown Object (File)
Oct 15 2024, 12:38 AM
Subscribers

Details

Summary

security/sha1collisiondetection - tool to detect SHA-1 collisions

Remaining port issues:

  • Using MAKE_ARGS+=PREFIX=${STAGEDIR}${PREFIX} puts everything in the correct staging locations, but the binaries link to the full staging paths for the shared libraries.
  • Manually staging with INSTALL_PROGRAM gives errors when stripping the binaries (strip:...security/sha1collisiondetection/work/stage/usr/local/bin/sha1dcsum: File format not recognized).

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 8046
Build 8233: arc lint + arc unit

Event Timeline

security/sha1collisiondetection/Makefile
2

Please don't add new ports with Created by lines.

23

s/+=/=/

32–40

Don't add commented-out bits.

Also, as a side note, NEVER, EVER, use do-install and post-install at the same time, just use do-install.

Update from work-in-progress to something that installs.

This revision was automatically updated to reflect the committed changes.
jrm marked an inline comment as done.

INSTALL_PROGRAM is only for binaries. If you get errors, it's most likely the files with error are scripts and should be installed with INSTALL_SCRIPT.

As it builds itself, it feels like it should be able to install itself. What kind of errors do you get when you try to install it with the provided build framework ? Have you tried USES=desthack ?

security/sha1collisiondetection/Makefile
33–34

No need for the ./ here.

I don't think DESTHACK will help. The port isn't using GNU configure.

Removing the do-install target and the line that sets ALL_TARGET gives http://pkg.awarnach.mathstat.dal.ca/data/11amd64-default/2017-03-14_11h49m49s/logs/errors/sha1collisiondetection-1.0.2.log.

The above plus adding MAKE_ARGS=PREFIX=${STAGEDIR}${PREFIX} and manually stripping the binaries and shared library gives http://pkg.awarnach.mathstat.dal.ca/data/11amd64-default/2017-03-14_12h02m32s/logs/errors/sha1collisiondetection-1.0.2.log.