[MERGED] libosmo-sccp[master]: stp: Add copyright notice

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Apr 14 16:36:26 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: stp: Add copyright notice
......................................................................


stp: Add copyright notice

Change-Id: I4e074f570eac2e6a0a761f9f5f9c35fa4afa0315
---
M stp/stp_main.c
1 file changed, 12 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/stp/stp_main.c b/stp/stp_main.c
index 267806b..6fbc634 100644
--- a/stp/stp_main.c
+++ b/stp/stp_main.c
@@ -58,8 +58,17 @@
 		log_set_category_filter(osmo_stderr_target, log_cats[i], 1, LOGL_DEBUG);
 }
 
+static const char stp_copyright[] =
+	"Copyright (C) 2015-2017 by Harald Welte <laforge at gnumonks.org>\r\n"
+	"Contributions by Holger Freyther, Neels Hofmeyr\r\n"
+	"License GPLv2+: GNU GPL Version 2 or later <http://gnu.org/licenses/gpl-2.0.html>\r\n"
+	"This is free software: you are free ot change and redistribute it.\r\n"
+	"There is NO WARRANTY, to the extent permitted by law.\r\n\r\n"
+	"Free Software lives by contribution.  If you use this, please contribute!\r\n";
+
 static struct vty_app_info vty_info = {
 	.name	= "osmo-stp",
+	.copyright = stp_copyright,
 	.version = PACKAGE_VERSION,
 	.go_parent_cb = osmo_ss7_vty_go_parent,
 	.is_config_node = osmo_ss7_is_config_node,
@@ -70,6 +79,9 @@
 	char *config_file = "osmo-stp.cfg";
 	int rc;
 
+	fputs(stp_copyright, stdout);
+	fputs("\n", stdout);
+
 	init_logging();
 	osmo_ss7_init();
 	osmo_fsm_log_addr(false);

-- 
To view, visit https://gerrit.osmocom.org/2340
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4e074f570eac2e6a0a761f9f5f9c35fa4afa0315
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list