From ede8a52a170fd619d163af8a2e0f87d47c67430c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Apestegu=C3=ADa?= Date: Fri, 12 Mar 2021 11:14:09 +0000 Subject: net-mgmt/irrtoolset: Unbreak in 12.2-STABLE And possibly in other places. Remove files/ missed in previous update and fix LICENSE permissions. PR: 254213 Submitted by: rkoberman@gmail.com (maintainer) Reported by: terry-freebsd@glaver.org --- net-mgmt/irrtoolset/Makefile | 2 ++ net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l | 11 --------- net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y | 31 ------------------------- 3 files changed, 2 insertions(+), 42 deletions(-) delete mode 100644 net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l delete mode 100644 net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y (limited to 'net-mgmt') diff --git a/net-mgmt/irrtoolset/Makefile b/net-mgmt/irrtoolset/Makefile index ad5350ac5196..1508dc89ae85 100644 --- a/net-mgmt/irrtoolset/Makefile +++ b/net-mgmt/irrtoolset/Makefile @@ -10,7 +10,9 @@ COMMENT= Suite of routing policy tools to interact with the IRR LICENSE= MIT GPLv2+ RIPE_NCC LICENSE_COMB= multi +LICENSE_NAME_RIPE_NCC= RIPE NCC license LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE_PERMS_RIPE_NCC= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= autoreconf bison gmake libtool GNU_CONFIGURE= yes diff --git a/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l b/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l deleted file mode 100644 index e3409a5e00c2..000000000000 --- a/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l +++ /dev/null @@ -1,11 +0,0 @@ ---- src/rpsl/rpsl.l.orig 2012-07-31 12:10:39 UTC -+++ src/rpsl/rpsl.l -@@ -713,7 +713,7 @@ void handle_object_error(const char *s, - current_object->errors += buffer; - } - --void rpslerror(const char *, ...) { -+void rpslerror(void *, const char *, ...) { - if (current_attribute) { - current_attribute->errorLine = errorLine; - current_attribute->errorColon = errorColon - yyleng; diff --git a/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y b/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y deleted file mode 100644 index 7fece1407165..000000000000 --- a/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y +++ /dev/null @@ -1,31 +0,0 @@ ---- src/rpsl/rpsl.y.orig 2012-07-31 12:10:39 UTC -+++ src/rpsl/rpsl.y -@@ -75,7 +75,7 @@ extern void handle_object_error(const ch - extern void handle_warning(const char *, ...); - extern int yylex(); - char *token_name(int token_id); --void rpslerror(const char *s, ...); -+void rpslerror(void *, const char *s, ...); - Attr *changeCurrentAttr(Attr *b); - void handleArgumentTypeError(char *attr, const char *method, int position, - const RPType *correctType, -@@ -83,7 +83,6 @@ void handleArgumentTypeError(char *attr, - const AttrMethod *searchMethod(const AttrRPAttr *rp_attr, const char *method, ItemList *args); - - /* argument to yyparse result of parsing should be stored here */ --#define YYPARSE_PARAM object - #define yyschema schema - #define enable_yy_parser_debugging enable_rpsl_parser_debugging - -@@ -91,8 +90,9 @@ extern Object *current_object; - - %} - --%name-prefix="rpsl" --%output="rpsl.y.cc" -+%name-prefix "rpsl" -+%output "rpsl.y.cc" -+%parse-param {void *object} - - %expect 1 - -- cgit v1.2.3