Summary: | [NEW PORT] comms/snap7: Ethernet S7 PLC communication suite | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | vova |
Component: | Individual Port(s) | Assignee: | Kurt Jaeger <pi> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | mikael, pi |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
URL: | https://sourceforge.net/projects/snap7/ | ||
Attachments: |
Description
vova
2016-12-19 10:54:00 UTC
pkg-descr and README.md say that it works on arm (raspberrypi, bbb..) but the Makefile says that it's only for amd64 i386, can you clarify please? I think you can remove README.md in the shar file. There are 3 portlint warnings, can you fix them? WARN: /root/snap7/pkg-plist: [1]: installing shared libraries, please define USE_LDCONFIG as appropriate WARN: /root/snap7/pkg-plist: [3]: If and only if your port is EXAMPLESDIR-safe (that is, a user can override EXAMPLESDIR when building this port and the port will still work correctly) consider using EXAMPLESDIR macro; if you are unsure if this port is EXAMPLESDIR-safe, then ignore this warning WARN: /root/snap7/pkg-plist: There are only 3 items in the plist. Consider using PLIST_FILES instead of pkg-plist when installing less than 6 items. FATAL: work: be sure to cleanup the working directory before committing the port. Created attachment 178116 [details]
v2, Updated version with changes from MikaelUrankar
Hm... portlint does not complain for me: snap7% portlint . looks fine. % Created attachment 178138 [details]
v3, with added makefile for arm_v6 platform
Created attachment 178139 [details]
v4, Satisfy portlint
(In reply to vova from comment #4) You need to run portlint -AC (cf https://www.freebsd.org/doc/en/books/porters-handbook/book.html#testing-portlint) The file patch-arm_v6_bsd.mk should be named patch-arm__v6__bsd.mk You can remove README.md Created attachment 178182 [details]
v5, add mips architecture support
Created attachment 178742 [details]
v6, satisfy portlint -AC, remove README.md
It looks like your shar file is empty. Created attachment 178763 [details]
v6, satisfy portlint -AC, remove README.md (correct archive)
The version is hardcoded in MASTER_SITES, you can use something like this instead: MASTER_SITES= SF/snap7/${PORTVERSION} Are you sure 'MASTER_SITES= LOCAL/db' is correct? Created attachment 181685 [details]
v7, use SF macro for MASTER_SITES
Port is still actual A commit references this bug: Author: pi Date: Sun Jan 6 13:33:33 UTC 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 Changes: head/comms/Makefile head/comms/snap7/ head/comms/snap7/Makefile head/comms/snap7/distinfo head/comms/snap7/files/ head/comms/snap7/files/patch-arm__v6__bsd.mk head/comms/snap7/files/patch-common.mk head/comms/snap7/files/patch-mips__bsd.mk head/comms/snap7/pkg-descr Committed, thanks! |