From owner-svn-ports-all@freebsd.org Sun Jan 6 13:33:33 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85849148F4DB; Sun, 6 Jan 2019 13:33:33 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2187277302; Sun, 6 Jan 2019 13:33:33 +0000 (UTC) (envelope-from pi@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 11C68FA1; Sun, 6 Jan 2019 13:33:33 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x06DXWEE068453; Sun, 6 Jan 2019 13:33:32 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x06DXVEp068447; Sun, 6 Jan 2019 13:33:31 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201901061333.x06DXVEp068447@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 6 Jan 2019 13:33:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r489494 - in head/comms: . snap7 snap7/files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/comms: . snap7 snap7/files X-SVN-Commit-Revision: 489494 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2187277302 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 06 Jan 2019 13:33:33 -0000 Author: pi Date: Sun Jan 6 13:33:31 2019 New Revision: 489494 URL: https://svnweb.freebsd.org/changeset/ports/489494 Log: New port: comms/snap7 Snap7, through three specialized components: Client and the inedited Server and Partner, allows you to definitively integrate your PC based systems into a PLC automation chain. Designed to transfer large amounts of hi-speed data in industrial facilities, it scales easily, down to small Linux Arm boards such as Raspberry PI. Hi level object oriented wrappers are provided, currently C/C++, .NET/Mono, Pascal, LabVIEW, Python with many source code examples. Very detailed documentation provided. WWW: http://sourceforge.net/projects/snap7/ PR: 215409 Submitted by: vova@fbsd.ru Added: head/comms/snap7/ head/comms/snap7/Makefile (contents, props changed) head/comms/snap7/distinfo (contents, props changed) head/comms/snap7/files/ head/comms/snap7/files/patch-arm__v6__bsd.mk (contents, props changed) head/comms/snap7/files/patch-common.mk (contents, props changed) head/comms/snap7/files/patch-mips__bsd.mk (contents, props changed) head/comms/snap7/pkg-descr (contents, props changed) Modified: head/comms/Makefile Modified: head/comms/Makefile ============================================================================== --- head/comms/Makefile Sun Jan 6 13:28:24 2019 (r489493) +++ head/comms/Makefile Sun Jan 6 13:33:31 2019 (r489494) @@ -164,6 +164,7 @@ SUBDIR += seyon SUBDIR += sms_client SUBDIR += smstools3 + SUBDIR += snap7 SUBDIR += spandsp SUBDIR += splat SUBDIR += sredird Added: head/comms/snap7/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/snap7/Makefile Sun Jan 6 13:33:31 2019 (r489494) @@ -0,0 +1,34 @@ +# Created by: Vladimir Grebenschikov +# $FreeBSD$ + +PORTNAME= snap7 +PORTVERSION= 1.4.2 +CATEGORIES= comms +MASTER_SITES= SF/snap7/${PORTVERSION} +DISTNAME= ${PORTNAME}-full-${PORTVERSION} +EXTRACT_SUFX= .7z + +MAINTAINER= vova@fbsd.ru +COMMENT= Multi-platform Ethernet S7 PLC communication suite + +LICENSE= GPLv3 + +ONLY_FOR_ARCHS= amd64 armv6 i386 mips + +USES= gmake +USE_LDCONFIG= yes + +WRKSRC= ${WRKDIR}/${PORTNAME}-full-${PORTVERSION} +WRKSRC_SUBDIR= build/unix + +MAKE_ARGS= CC=${CC} CXX=${CXX} LinkerName=${CXX} SharedObjectLinkerName="${CXX} -shared -fPIC" + +PLIST_FILES= lib/libsnap7.so include/snap7.h share/examples/snap7/c-cpp/snap7.cpp + +SNAP_ARCH= ${ARCH:S/amd64/x86_64/:S/armv6/arm_v6/} +MAKEFILE= ${SNAP_ARCH}_bsd.mk + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsnap7.so + +.include Added: head/comms/snap7/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/snap7/distinfo Sun Jan 6 13:33:31 2019 (r489494) @@ -0,0 +1,3 @@ +TIMESTAMP = 1546780813 +SHA256 (snap7-full-1.4.2.7z) = 1f4270cde8684957770a10a1d311c226e670d9589c69841a9012e818f7b9f80e +SIZE (snap7-full-1.4.2.7z) = 20591252 Added: head/comms/snap7/files/patch-arm__v6__bsd.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/snap7/files/patch-arm__v6__bsd.mk Sun Jan 6 13:33:31 2019 (r489494) @@ -0,0 +1,18 @@ +--- arm_v6_bsd.mk.orig 2016-12-20 09:52:10 UTC ++++ arm_v6_bsd.mk +@@ -0,0 +1,15 @@ ++## ++## ARMHF V6 tested on ++## - Raspberry board - ++## ++## To improve the build speed in small systems disable -pedantic ++## switch in CXXFLAGS ++## ++TargetCPU :=arm_v6 ++OS :=bsd ++CXXFLAGS := -O3 -g -fPIC -pedantic ++ ++# Standard part ++ ++include common.mk ++ Added: head/comms/snap7/files/patch-common.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/snap7/files/patch-common.mk Sun Jan 6 13:33:31 2019 (r489494) @@ -0,0 +1,21 @@ +--- common.mk.orig 2014-04-16 08:16:20 UTC ++++ common.mk +@@ -22,7 +22,9 @@ LinkOptions := -O3 + IncludePath := $(IncludeSwitch). $(IncludeSwitch)../../src/sys $(IncludeSwitch)../../src/core $(IncludeSwitch)../../src/lib + Libs := $(LibrarySwitch)pthread $(LibrarySwitch)rt + LibPath := $(LibraryPathSwitch). +-LibInstall := /usr/lib ++LibInstall := $(DESTDIR)/$(PREFIX)/lib ++IncInstall := $(DESTDIR)/$(PREFIX)/include ++WrapperInstall := $(DESTDIR)/$(PREFIX)/share/examples/snap7/c-cpp + + ## + ## Common variables (CXXFLAGS varies across platforms) +@@ -108,4 +110,6 @@ clean: + + install: all + cp -f $(OutputFile) $(LibInstall) +- ++ cp -f ../../release/Wrappers/c-cpp/snap7.h $(IncInstall) ++ $(MakeDirCommand) $(WrapperInstall) ++ cp -f ../../release/Wrappers/c-cpp/snap7.cpp $(WrapperInstall) Added: head/comms/snap7/files/patch-mips__bsd.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/snap7/files/patch-mips__bsd.mk Sun Jan 6 13:33:31 2019 (r489494) @@ -0,0 +1,15 @@ +--- mips_bsd.mk.orig 2016-12-20 10:44:15 UTC ++++ mips_bsd.mk +@@ -0,0 +1,12 @@ ++## ++## mips BSD based (FreeBSD etc.) Makefile ++## Use gmake instead of make ++## ++TargetCPU :=mips ++OS :=bsd ++CXXFLAGS := -O3 -fPIC -pedantic ++ ++# Standard part ++ ++include common.mk ++ Added: head/comms/snap7/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/snap7/pkg-descr Sun Jan 6 13:33:31 2019 (r489494) @@ -0,0 +1,13 @@ +Snap7, through three specialized components: Client and the inedited Server +and Partner, allows you to definitively integrate your PC based systems into +a PLC automation chain. + +Designed to transfer large amounts of hi-speed data in industrial facilities, +it scales easily, down to small Linux Arm boards such as Raspberry PI. + +Hi level object oriented wrappers are provided, currently C/C++, .NET/Mono, +Pascal, LabVIEW, Python with many source code examples. + +Very detailed documentation provided. + +WWW: http://sourceforge.net/projects/snap7/