svn commit: r361987 - in head/security: . signify signify/files

Alexey Dokuchaev danfe at FreeBSD.org
Wed Jul 16 09:56:52 UTC 2014


On Tue, Jul 15, 2014 at 05:48:40PM +0000, Kurt Jaeger wrote:
> New Revision: 361987
> URL: http://svnweb.freebsd.org/changeset/ports/361987
> QAT: https://qat.redports.org/buildarchive/r361987/
> 
> Log:
>   New port: security/signify
>   
>   'signify' from OpenBSD as of July 15 2014, with the necessary plumbing
>   cobbled together from the OpenBSD CVS to make it compile under Linux.

Sorry, but this is very poor work.

> +COMMENT=	OpenBSD signify ported by fefe

Who/what is "fefe"?  Organization, person, robot, a giant mushroom?

> +do-install:
> +	${CP} ${WRKSRC}/signify ${STAGEDIR}${PREFIX}/bin

Why INSTALL_PROGRAM was not used instead?  It does some nice things like
ensuring correct permissions and stripping of executables.

> +-CC=gcc -D_GNU_SOURCE -D_BSD_SOURCE -DHAVE_SYS_SYSCALL_H
> ++CC=clang -D_GNU_SOURCE -D_BSD_SOURCE -DHAVE_SYS_SYSCALL_H

You realise that there are FreeBSD releases that are still GCC-based?  Why
clang is even required for this port?  Even if it is (which I really doubt)
it should've been set via MAKE_ARGS instead of the privial patch file, and
correct USES=compiler:... provided as well.

> + CFLAGS=-Os -pipe

We generally try to uphold our CFLAGS (also easier to do via MAKE_ARGS than
to patch Makefile in simple cases like this one).

> +++ head/security/signify/pkg-plist	Tue Jul 15 17:48:40 2014	(r361987)
> @@ -0,0 +1 @@
> +bin/signify

One-line pkg-plist, in 2014?  (Hint: PLIST_FILES).

./danfe


More information about the svn-ports-head mailing list