commit 044132260e3aaa09c226a82376bf8b2ca4dd28be
parent dabd51ddfda8ee4248b0f49500a036a29e1d4856
Author: sin <sin@2f30.org>
Date: Tue, 23 Feb 2016 14:41:41 +0000
Add LICENSE
Given that we have more than a single source file, add a LICENSE file
to cover everything.
Diffstat:
4 files changed, 16 insertions(+), 17 deletions(-)
diff --git a/LICENSE b/LICENSE
@@ -0,0 +1,13 @@
+© 2016 Dimitris Papastamos <sin@2f30.org>
+
+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/Makefile b/Makefile
@@ -29,7 +29,7 @@ uninstall:
dist: clean
mkdir -p sbm-$(VERSION)
- cp Makefile arg.h sbm-plot sbm.1 sbm.c sbm-$(VERSION)
+ cp LICENSE Makefile arg.h sbm-plot sbm.1 sbm.c sbm-$(VERSION)
tar -cf sbm-$(VERSION).tar sbm-$(VERSION)
gzip sbm-$(VERSION).tar
rm -rf sbm-$(VERSION)
diff --git a/sbm-plot b/sbm-plot
@@ -1,4 +1,5 @@
#!/bin/sh
+# See LICENSE file for copyright and license details.
command -v gnuplot >/dev/null || {
echo gnuplot is not installed 1>&2
diff --git a/sbm.c b/sbm.c
@@ -1,19 +1,4 @@
-/*
- * Copyright (c) 2016 Dimitris Papastamos <sin@2f30.org>
- *
- * 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.
- */
-
+/* See LICENSE file for copyright and license details. */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>