On 2015/09/22 22:58, George Rosamond wrote:
> Program to do SHA checksums, although may be redundant since I don't
> believe it has functionality beyond cksum(1).

Correct, cksum supports all of these hashes (and more) - so I don't
think it's particularly worth adding this to ports.

But I think it may be useful to give some comments on the Makefile
anyway for your reference, inline below:

| # $OpenBSD: Makefile.template,v 1.72 2015/04/08 17:53:19 sthen Exp $
| 
| COMMENT =             Simple hash program utilizing SHA

OpenBSD standard is to lowercase letter for start of COMMENT except
for proper nouns.

| DISTNAME =            sha-1.0.4
| CATEGORIES =          security
| HOMEPAGE =            http://www.saddi.com/software/sha/
| MAINTAINER =          George Rosamond <[email protected]>
| 
| # BSD
| PERMIT_PACKAGE_CDROM =        Yes
| 
| MASTER_SITES =                http://prdownloads.sourceforge.net/sha/

${MASTER_SITE_SOURCEFORGE:=sha/}

| USE_GMAKE =           Yes

gmake is not needed for this port. (only use this if it's required).

| CONFIGURE_STYLE =     gnu
| 
| NO_TEST =             Yes

it does have a test actually, so you could do this instead:

do-test:
        ${WRKBUILD}/shatest

Reply via email to