summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-10-01 15:00:23 +0000
committerStefan Eßer <se@FreeBSD.org>2020-10-01 15:00:23 +0000
commite0fd75cbb6320f7d24040d2f5abb13e4462a011e (patch)
treeec90359d25bad71e33d12e8b97a565779e0ab8f4
parentFix ipv6 (diff)
Fix build with -fno-common
While here add license (ISCL/OpenBSD) with text extracted from source files (identical license text in all files).
Notes
Notes: svn path=/head/; revision=550841
-rw-r--r--net/tableutil/Makefile4
-rw-r--r--net/tableutil/files/LICENSE.txt13
-rw-r--r--net/tableutil/files/patch-conf__variable.h9
3 files changed, 26 insertions, 0 deletions
diff --git a/net/tableutil/Makefile b/net/tableutil/Makefile
index 488e32fbcec8..feec09806223 100644
--- a/net/tableutil/Makefile
+++ b/net/tableutil/Makefile
@@ -3,12 +3,16 @@
PORTNAME= tableutil
PORTVERSION= 0.6
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://expiretable.fnord.se/
MAINTAINER= jameskamlyn@gmail.com
COMMENT= Utility for converting and aggregating lists of IP addresses
+LICENSE= ISCL
+LICENSE_FILE= ${PATCHDIR}/LICENSE.txt
+
PLIST_FILES= bin/tableutil man/man1/tableutil.1.gz
do-install:
diff --git a/net/tableutil/files/LICENSE.txt b/net/tableutil/files/LICENSE.txt
new file mode 100644
index 000000000000..613437689fd8
--- /dev/null
+++ b/net/tableutil/files/LICENSE.txt
@@ -0,0 +1,13 @@
+Copyright (c) 2005 Henrik Gustafsson <henrik.gustafsson@fnord.se>
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/net/tableutil/files/patch-conf__variable.h b/net/tableutil/files/patch-conf__variable.h
new file mode 100644
index 000000000000..a31f0691880e
--- /dev/null
+++ b/net/tableutil/files/patch-conf__variable.h
@@ -0,0 +1,9 @@
+--- conf_variable.h.orig 2005-08-01 08:39:48 UTC
++++ conf_variable.h
+@@ -46,6 +46,5 @@ struct variable *variable_invert(struct variable *rhs)
+ void variable_save_cidr(char *file, struct variable *rhs);
+ void variable_save_range(char *file, struct variable *rhs);
+ void variable_save_single(char *file, struct variable *rhs);
+-variable_list_t variable_list;
+
+ #endif /*_CONF_VARIABLE_H_*/