From owner-svn-ports-all@freebsd.org Wed Oct 26 02:40:34 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63B04C2249B; Wed, 26 Oct 2016 02:40:34 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 21CA186A; Wed, 26 Oct 2016 02:40:34 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9Q2eXMD091157; Wed, 26 Oct 2016 02:40:33 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9Q2eW8r091150; Wed, 26 Oct 2016 02:40:32 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201610260240.u9Q2eW8r091150@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 26 Oct 2016 02:40:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424663 - in head/devel: . libopenbsd libopenbsd/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2016 02:40:34 -0000 Author: jbeich Date: Wed Oct 26 02:40:32 2016 New Revision: 424663 URL: https://svnweb.freebsd.org/changeset/ports/424663 Log: devel/libopenbsd: add new port libopenbsd is a thin compatibility layer intended to allow a limited set of OpenBSD software to compile on other BSDs with little or no modification. Added: head/devel/libopenbsd/ head/devel/libopenbsd/Makefile (contents, props changed) head/devel/libopenbsd/distinfo (contents, props changed) head/devel/libopenbsd/files/ head/devel/libopenbsd/files/patch-Makefile (contents, props changed) head/devel/libopenbsd/files/patch-man (contents, props changed) head/devel/libopenbsd/pkg-descr (contents, props changed) head/devel/libopenbsd/pkg-plist (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Oct 26 02:17:42 2016 (r424662) +++ head/devel/Makefile Wed Oct 26 02:40:32 2016 (r424663) @@ -1323,6 +1323,7 @@ SUBDIR += libolecf SUBDIR += liboobs SUBDIR += liboop + SUBDIR += libopenbsd SUBDIR += libopencm3 SUBDIR += libopensync SUBDIR += libopkele Added: head/devel/libopenbsd/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libopenbsd/Makefile Wed Oct 26 02:40:32 2016 (r424663) @@ -0,0 +1,52 @@ +# $FreeBSD$ + +PORTNAME= libopenbsd +PORTVERSION= r298107 +CATEGORIES= devel +MASTER_SITES= LOCAL/jbeich \ + https://svn.freebsd.org/base/head/lib/${PORTNAME}/:svn + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= imsg and ohash routines from OpenBSD libutil + +LICENSE= ISCL + +USES= uidfix tar:xz +MAKE_ENV= SHLIB_MAJOR=0 NO_PROFILE=1 +MAKE_ARGS= INCLUDEDIR="${PREFIX}/include" LIBDIR="${PREFIX}/lib" \ + MANDIR="${PREFIX}/man/man" +USE_LDCONFIG= yes + +# +# To update snapshot: make makesum BOOTSTRAP= +# Specific snapshot: make makesum SVN_FETCH= PORTVERSION=r1234 +# +.if defined(BOOTSTRAP) +# XXX SED and _MASTER_SITES_svn aren't defined yet +SED?= /usr/bin/sed +SVN_REV!= ${SETENV} LC_ALL=C svn info \ + ${MASTER_SITES:M*\:svn:S/:svn//} | \ + ${SED} -n 's/^Last Changed Rev: //p' +PORTVERSION:= r${SVN_REV} +.else +SVN_REV?= ${PORTVERSION:S/r//} +.endif + +.if defined(BOOTSTRAP) || defined(SVN_FETCH) +FETCH_DEPENDS+= svn:devel/subversion + +do-fetch: + ${MKDIR} ${WRKDIR} + svn export -r${SVN_REV} ${_MASTER_SITES_svn} ${WRKSRC} + (cd ${WRKDIR} && ${TAR} cJvf \ + ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ + --uid 0 --gid 0 ${DISTNAME}) + ${REINPLACE_CMD} -i '' '/^PORTVERSION=/s/r.*/r${SVN_REV}/' \ + ${MASTERDIR}/Makefile +. if ${USER} == ${MAINTAINER:C/@.*//} + -scp ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ + freefall.freebsd.org:public_distfiles/ +. endif +.endif + +.include Added: head/devel/libopenbsd/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libopenbsd/distinfo Wed Oct 26 02:40:32 2016 (r424663) @@ -0,0 +1,3 @@ +TIMESTAMP = 1477213204 +SHA256 (libopenbsd-r298107.tar.xz) = 08621c0034477c892de5b2ae82873c966bd32439689c644ca8d7accd32b9b5b8 +SIZE (libopenbsd-r298107.tar.xz) = 13464 Added: head/devel/libopenbsd/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libopenbsd/files/patch-Makefile Wed Oct 26 02:40:32 2016 (r424663) @@ -0,0 +1,12 @@ +--- Makefile.orig 2016-04-16 07:45:30 UTC ++++ Makefile +@@ -6,7 +6,8 @@ SRCS= getdtablecount.c \ + imsg-buffer.c \ + imsg.c \ + ohash.c +-INTERNALLIB= ++INCS= imsg.h ohash.h ++MAN= imsg_init.3 ohash_init.3 ohash_interval.3 + + CFLAGS+= -I${.CURDIR} + Added: head/devel/libopenbsd/files/patch-man ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libopenbsd/files/patch-man Wed Oct 26 02:40:32 2016 (r424663) @@ -0,0 +1,33 @@ +--- imsg_init.3.orig 2015-11-04 23:52:19 UTC ++++ imsg_init.3 +@@ -46,6 +46,8 @@ + .Nm msgbuf_write , + .Nm msgbuf_drain + .Nd IPC messaging functions ++.Sh LIBRARY ++.Ox Utilities Library (libopenbsd, \-lopenbsd) + .Sh SYNOPSIS + .In sys/types.h + .In sys/queue.h +--- ohash_init.3.orig 2014-07-29 19:46:13 UTC ++++ ohash_init.3 +@@ -30,6 +30,8 @@ + .Nm ohash_next , + .Nm ohash_entries + .Nd light-weight open hashing ++.Sh LIBRARY ++.Ox Utilities Library (libopenbsd, \-lopenbsd) + .Sh SYNOPSIS + .In stdint.h + .In stddef.h +--- ohash_interval.3.orig 2014-07-29 19:46:13 UTC ++++ ohash_interval.3 +@@ -24,6 +24,8 @@ + .Nm ohash_qlookup , + .Nm ohash_qlookupi + .Nd helper functions for open hashing ++.Sh LIBRARY ++.Ox Utilities Library (libopenbsd, \-lopenbsd) + .Sh SYNOPSIS + .In stdint.h + .In stddef.h Added: head/devel/libopenbsd/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libopenbsd/pkg-descr Wed Oct 26 02:40:32 2016 (r424663) @@ -0,0 +1,2 @@ +libopenbsd is a thin compatibility layer intended to allow a limited set of +OpenBSD software to compile on other BSDs with little or no modification. Added: head/devel/libopenbsd/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libopenbsd/pkg-plist Wed Oct 26 02:40:32 2016 (r424663) @@ -0,0 +1,8 @@ +include/imsg.h +include/ohash.h +lib/libopenbsd.a +lib/libopenbsd.so +lib/libopenbsd.so.0 +man/man3/imsg_init.3.gz +man/man3/ohash_init.3.gz +man/man3/ohash_interval.3.gz