On Sun, Apr 01, 2018 at 07:30:19PM +0200, Jeremie Courreges-Anglas wrote:
> On Sat, Mar 31 2018, Aaron Bieber <aaron@bolddaemon.com> wrote:
> > Hi,
> >
> > Here is a new port: opmsg
> >
> > Description: opmsg is a replacement for gpg which can encrypt/sign/verify
> > your mails or create/verify detached signatures of local files. Even
> > though the opmsg output looks similar, the concept is entirely different.
> >
> > Upstream was kind enough to create tarball releases!
> >
> > OK, clue sticks?
>
> From a quick glance, please:
> - add FIX_EXTRACT_PERMISSIONS=Yes
> to fix build with PORTS_PRIVSEP=Yes
> - use GPLv3+ for the license marker
> - COMPILER = base-clang [ports-clang] ports-gcc
> instead of the lang/clang module
> - no need for DEFS+="-DHAVE_LIBRESSL", LibreSSL should now provide
> DH_set0_key/DH_get0_key
Here is the makefile with the changes (also added NO_TEST=Yes):
# $OpenBSD: Makefile.template,v 1.75 2016/03/20 17:19:49 naddy Exp $
COMMENT = a replacement for gpg which can encrypt/sign/verify
DISTNAME = opmsg-1.78s
EXTRACT_SUFX = .tgz
FIX_EXTRACT_PERMISSIONS = Yes
CATEGORIES = security
HOMEPAGE = https://github.com/stealth/opmsg
MAINTAINER = Aaron Bieber <abieber@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c crypto m
MASTER_SITES = http://stealth.openwall.net/opmsg/
COMPILER = base-clang ports-clang ports-gcc
MAKE_FLAGS = DEFS+="-DHAVE_BN_GENCB_NEW=0"
WRKSRC = ${WRKDIR}/opmsg/src
NO_TEST = Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/opmsg ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opmsg
${INSTALL_DATA} ${WRKSRC}/../sample.config \
${PREFIX}/share/examples/opmsg/sample.config
.include <bsd.port.mk>
>
> --
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
--
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A 4AF0 1F81 112D 62A9 ADCE
No comments:
Post a Comment