pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc
Module Name: pkgsrc
Committed By: manu
Date: Tue Apr 28 15:22:43 UTC 2020
Modified Files:
pkgsrc/doc: CHANGES-2020
pkgsrc/net: Makefile
Added Files:
pkgsrc/net/openrrcp: DESCR Makefile PLIST distinfo
pkgsrc/net/openrrcp/patches: patch-lib_libcli.c
patch-src_Makefile-helper.sh patch-src_rtl83xx.c
Log Message:
Add OpenRRCP 0.2.1
RRCP(Realtek Remote Configuration Protocol) is protocol for making some
specific low-cost dumb ethernet switches act like more expensive managed
switches with no or little hardware modifications.
OpenRRCP is an open-source cross-platform RRCP-based toolset, that is
able to configure and fetch status from such ethernet switches.
WWW: http://openrrcp.org.ru/
To generate a diff of this commit:
cvs rdiff -u -r1.2614 -r1.2615 pkgsrc/doc/CHANGES-2020
cvs rdiff -u -r1.1321 -r1.1322 pkgsrc/net/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/openrrcp/DESCR pkgsrc/net/openrrcp/Makefile \
pkgsrc/net/openrrcp/PLIST pkgsrc/net/openrrcp/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/openrrcp/patches/patch-lib_libcli.c \
pkgsrc/net/openrrcp/patches/patch-src_Makefile-helper.sh \
pkgsrc/net/openrrcp/patches/patch-src_rtl83xx.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/doc/CHANGES-2020
diff -u pkgsrc/doc/CHANGES-2020:1.2614 pkgsrc/doc/CHANGES-2020:1.2615
--- pkgsrc/doc/CHANGES-2020:1.2614 Tue Apr 28 13:53:57 2020
+++ pkgsrc/doc/CHANGES-2020 Tue Apr 28 15:22:42 2020
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2020,v 1.2614 2020/04/28 13:53:57 nikita Exp $
+$NetBSD: CHANGES-2020,v 1.2615 2020/04/28 15:22:42 manu Exp $
Changes to the packages collection and infrastructure in 2020:
@@ -3748,3 +3748,4 @@ Changes to the packages collection and i
Updated math/py-lmfit to 1.0.0 [adam 2020-04-28]
Added devel/go-pkgconfig version 0.0.0.20170226 [nikita 2020-04-28]
Added security/libgabe version 1.0 [nikita 2020-04-28]
+ Added net/openrrcp 0.2.1 [manu 2020-04-28]
Index: pkgsrc/net/Makefile
diff -u pkgsrc/net/Makefile:1.1321 pkgsrc/net/Makefile:1.1322
--- pkgsrc/net/Makefile:1.1321 Tue Apr 21 11:34:16 2020
+++ pkgsrc/net/Makefile Tue Apr 28 15:22:42 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1321 2020/04/21 11:34:16 wiz Exp $
+# $NetBSD: Makefile,v 1.1322 2020/04/28 15:22:42 manu Exp $
#
COMMENT= Networking tools
@@ -457,6 +457,7 @@ SUBDIR+= openconnect
SUBDIR+= openh323
SUBDIR+= openntpd
SUBDIR+= openresolv
+SUBDIR+= openrrcp
SUBDIR+= openrsync
SUBDIR+= openslp
SUBDIR+= openvmps
Added files:
Index: pkgsrc/net/openrrcp/DESCR
diff -u /dev/null pkgsrc/net/openrrcp/DESCR:1.1
--- /dev/null Tue Apr 28 15:22:43 2020
+++ pkgsrc/net/openrrcp/DESCR Tue Apr 28 15:22:43 2020
@@ -0,0 +1,8 @@
+RRCP(Realtek Remote Configuration Protocol) is protocol for making some
+specific low-cost dumb ethernet switches act like more expensive managed
+switches with no or little hardware modifications.
+
+OpenRRCP is an open-source cross-platform RRCP-based toolset, that is
+able to configure and fetch status from such ethernet switches.
+
+WWW: http://openrrcp.org.ru/
Index: pkgsrc/net/openrrcp/Makefile
diff -u /dev/null pkgsrc/net/openrrcp/Makefile:1.1
--- /dev/null Tue Apr 28 15:22:43 2020
+++ pkgsrc/net/openrrcp/Makefile Tue Apr 28 15:22:43 2020
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2020/04/28 15:22:43 manu Exp $
+
+DISTNAME= openrrcp-0.2.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openrrcp/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= RealTek Remote Control Protocol tools
+LICENSE= gnu-gpl-v2
+
+INSTALL_DIRS= src
+
+
+.include "../../net/libdnet/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/openrrcp/PLIST
diff -u /dev/null pkgsrc/net/openrrcp/PLIST:1.1
--- /dev/null Tue Apr 28 15:22:43 2020
+++ pkgsrc/net/openrrcp/PLIST Tue Apr 28 15:22:43 2020
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/28 15:22:43 manu Exp $
+bin/rrcpcli
+bin/rtl8316b
+bin/rtl8324
+bin/rtl8326
+bin/rtl83xx
+bin/rtl83xx_asus_gigax_1024p
+bin/rtl83xx_compex_ps2216
+bin/rtl83xx_compex_ps2216_6d
+bin/rtl83xx_compex_ps2216_6dp
+bin/rtl83xx_compex_sds1224
+bin/rtl83xx_dlink_des1016d
+bin/rtl83xx_dlink_des1024d_b1
+bin/rtl83xx_dlink_des1024d_c1
+bin/rtl83xx_edimax_es-3116p
+bin/rtl83xx_ovislink_fsh2402gt
+bin/rtl83xx_repotec_g3224x
+bin/rtl83xx_signamax_065-7531a
+bin/rtl83xx_zyxel_es116p
Index: pkgsrc/net/openrrcp/distinfo
diff -u /dev/null pkgsrc/net/openrrcp/distinfo:1.1
--- /dev/null Tue Apr 28 15:22:43 2020
+++ pkgsrc/net/openrrcp/distinfo Tue Apr 28 15:22:43 2020
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2020/04/28 15:22:43 manu Exp $
+
+SHA1 (openrrcp-0.2.1.tar.gz) = 410a2734f188aba17c41d06bd51dbad9999bf32f
+RMD160 (openrrcp-0.2.1.tar.gz) = 030aea6b5ce380a09610d0b4f5dbfe0ef3a74b14
+SHA512 (openrrcp-0.2.1.tar.gz) = 4b9d087fd9da6db565c6d612c51a8087c0c8cf7443a3e67d8800aadb900fd6c499d15880b7765006a8b16345cb5fa824bb125018a164d1c6de5945bfc4f867e3
+Size (openrrcp-0.2.1.tar.gz) = 71513 bytes
+SHA1 (patch-lib_libcli.c) = 0f3bb2da61463b97ecc2fd9cf55302afcb3195cf
+SHA1 (patch-src_Makefile-helper.sh) = 76ebb28ada7dee0159f1ec9ada593d12fa9bc9f8
+SHA1 (patch-src_rtl83xx.c) = dcf1c7fc8c0de9733e0aaca75521e85c8a4534f6
Index: pkgsrc/net/openrrcp/patches/patch-lib_libcli.c
diff -u /dev/null pkgsrc/net/openrrcp/patches/patch-lib_libcli.c:1.1
--- /dev/null Tue Apr 28 15:22:43 2020
+++ pkgsrc/net/openrrcp/patches/patch-lib_libcli.c Tue Apr 28 15:22:43 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_libcli.c,v 1.1 2020/04/28 15:22:43 manu Exp $
+
+Fix build for missing struct timeval definition
+
+--- lib/libcli.c.orig 2020-04-27 17:08:53.316497742 +0200
++++ lib/libcli.c 2020-04-27 17:18:12.464903450 +0200
+@@ -10,8 +10,9 @@
+ #include <string.h>
+ #include <ctype.h>
+ #include <unistd.h>
+ #include <regex.h>
++#include <time.h>
+ #include "libcli.h"
+ // vim:sw=8 ts=8
+
+ enum cli_states
Index: pkgsrc/net/openrrcp/patches/patch-src_Makefile-helper.sh
diff -u /dev/null pkgsrc/net/openrrcp/patches/patch-src_Makefile-helper.sh:1.1
--- /dev/null Tue Apr 28 15:22:43 2020
+++ pkgsrc/net/openrrcp/patches/patch-src_Makefile-helper.sh Tue Apr 28 15:22:43 2020
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_Makefile-helper.sh,v 1.1 2020/04/28 15:22:43 manu Exp $
+
+Add runtime search path for libdnet
+
+Also, this software crashses with -O2 and works with -g, which does not
+helps for debugging.
+
+--- src/Makefile-helper.sh.orig 2020-04-27 17:26:24.128386613 +0200
++++ src/Makefile-helper.sh 2020-04-27 17:17:53.896676336 +0200
+@@ -7,9 +7,9 @@
+ exit;
+ fi;
+
+ if test "$sys" = "NetBSD"; then
+- echo -n "-s -Wall -O2 -ldnet -lpcap -I/usr/pkg/include -L/usr/pkg/lib"
++ echo -n "-s -Wall -g -ldnet -lpcap -I${PREFIX}/include -L${PREFIX}/lib -R${PREFIX}/lib"
+ exit;
+ fi;
+
+ if test "$sys" = "FreeBSD"; then
Index: pkgsrc/net/openrrcp/patches/patch-src_rtl83xx.c
diff -u /dev/null pkgsrc/net/openrrcp/patches/patch-src_rtl83xx.c:1.1
--- /dev/null Tue Apr 28 15:22:43 2020
+++ pkgsrc/net/openrrcp/patches/patch-src_rtl83xx.c Tue Apr 28 15:22:43 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_rtl83xx.c,v 1.1 2020/04/28 15:22:43 manu Exp $
+
+Patch from the FreeBSD port
+
+--- src/rtl83xx.c.orig 2008-06-03 06:14:18.000000000 +0400
++++ src/rtl83xx.c 2008-06-27 15:59:44.000000000 +0400
+@@ -180,7 +180,7 @@
+ dest_mac[4],
+ dest_mac[5],
+ r ? "":"not ");
+- _exit(!r);
++ exit(!r);
+ }
+
+ void print_vlan_status(int show_vid){
Home |
Main Index |
Thread Index |
Old Index