Wednesday, September 26, 2018

Re: [NEW] security/ssss

Denis Fondras <openbsd@ledeuns.net> wrote:
> ssss is an implementation of Shamir's Secret Sharing Scheme. The program suite
> does both: the generation of shares for a known secret, and the reconstruction
> of a secret using user-provided shares.
>
> http://point-at-infinity.org/ssss/

hello

portcheck reports hardcoded paths in Makefile and port-lib-depend-check reports
missing c in WANTLIB

here is a diff to your makefile to fix it

ok solene@ with the diff applied

thank you for porting this, seems very useful :)


--- Makefile.orig Wed Sep 26 16:50:25 2018
+++ Makefile Wed Sep 26 16:51:01 2018
@@ -14,10 +14,10 @@

MASTER_SITES= http://point-at-infinity.org/ssss/

-WANTLIB += gmp
+WANTLIB += c gmp
LIB_DEPENDS = devel/gmp

-MAKE_FLAGS= CC="${CC} -I/usr/local/include -L/usr/local/lib"
+MAKE_FLAGS= CC="${CC} -I${LOCALBASE}/include -L${LOCALBASE}/lib"

ALL_TARGET= ssss-split ssss-combine

No comments:

Post a Comment