diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-05-15 17:12:59 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-06-11 17:33:32 +0200 |
commit | 4a54860986e34f46183eebe60d7af767de7ddf25 (patch) | |
tree | dd936f666834541dfde95ed84ddf826ad34f0ae4 /src | |
parent | ee3026a1e270d73042b245ed5de1c8dcb24cf698 (diff) | |
download | strongswan-4a54860986e34f46183eebe60d7af767de7ddf25.tar.bz2 strongswan-4a54860986e34f46183eebe60d7af767de7ddf25.tar.xz |
_copyright: Replicate copyright text here instead of calling libfreeswan.
Diffstat (limited to 'src')
-rw-r--r-- | src/_copyright/Makefile.am | 3 | ||||
-rw-r--r-- | src/_copyright/_copyright.c | 35 |
2 files changed, 34 insertions, 4 deletions
diff --git a/src/_copyright/Makefile.am b/src/_copyright/Makefile.am index 405e08b3d..915b57421 100644 --- a/src/_copyright/Makefile.am +++ b/src/_copyright/Makefile.am @@ -2,7 +2,6 @@ ipsec_PROGRAMS = _copyright _copyright_SOURCES = _copyright.c INCLUDES = \ --I$(top_srcdir)/src/libfreeswan \ -I$(top_srcdir)/src/libstrongswan -_copyright_LDADD = $(top_builddir)/src/libfreeswan/libfreeswan.a $(top_builddir)/src/libstrongswan/libstrongswan.la +_copyright_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la diff --git a/src/_copyright/_copyright.c b/src/_copyright/_copyright.c index 072998345..358a97aef 100644 --- a/src/_copyright/_copyright.c +++ b/src/_copyright/_copyright.c @@ -21,9 +21,40 @@ #include <unistd.h> #include <getopt.h> -#include <freeswan.h> #include <library.h> +static const char *copyright[] = { + "Copyright (C) 1999-2012 Henry Spencer, Richard Guy Briggs,", + " D. Hugh Redelmeier, Sandy Harris, Claudia Schmeing,", + " Michael Richardson, Angelos D. Keromytis, John Ioannidis,", + "", + " Ken Bantoft, Stephen J. Bevan, JuanJo Ciarlante, Mathieu Lafon,", + " Stephane Laroche, Kai Martius, Stephan Scholz, Tuomo Soini, Herbert Xu,", + "", + " Martin Berner, Marco Bertossa, David Buechi, Ueli Galizzi,", + " Christoph Gysin, Andreas Hess, Patric Lichtsteiner, Michael Meier,", + " Andreas Schleiss, Ariane Seiler, Mario Strasser, Lukas Suter,", + " Roger Wegmann, Simon Zwahlen,", + " ZHW Zuercher Hochschule Winterthur (Switzerland).", + "", + " Philip Boetschi, Tobias Brunner, Sansar Choinyambuu, Adrian Doerig,", + " Andreas Eigenmann, Fabian Hartmann, Noah Heusser, Jan Hutter,", + " Thomas Kallenberg, Daniel Roethlisberger, Joel Stillhart, Martin Willi,", + " Daniel Wydler, Andreas Steffen,", + " HSR Hochschule fuer Technik Rapperswil (Switzerland).", + "", + "This program is free software; you can redistribute it and/or modify it", + "under the terms of the GNU General Public License as published by the", + "Free Software Foundation; either version 2 of the License, or (at your", + "option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.", + "", + "This program is distributed in the hope that it will be useful, but", + "WITHOUT ANY WARRANTY; without even the implied warranty of", + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General", + "Public License (file COPYING in the distribution) for more details.", + NULL, +}; + char usage[] = "Usage: ipsec _copyright"; struct option opts[] = { {"help", 0, NULL, 'h',}, @@ -39,7 +70,7 @@ main(int argc, char *argv[]) int opt; extern int optind; int errflg = 0; - const char **notice = ipsec_copyright_notice(); + const char **notice = copyright; const char **co; library_init(NULL); |