]>
git.ipfire.org Git - thirdparty/strongswan.git/blob - src/_copyright/_copyright.c
038e60e8715cb5e3987a66b2be90f85034a7b625
3 * (just avoids having the info in more than one place in the source)
4 * Copyright (C) 2001 Henry Spencer.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 #include <sys/types.h>
26 static const char *copyright
[] = {
27 "Copyright (C) 1999-2013",
28 " Henry Spencer, D. Hugh Redelmeier, Michael Richardson, Ken Bantoft,",
29 " Stephen J. Bevan, JuanJo Ciarlante, Thomas Egerer, Heiko Hund,",
30 " Mathieu Lafon, Stephane Laroche, Kai Martius, Stephan Scholz,",
31 " Tuomo Soini, Herbert Xu.",
33 " Martin Berner, Marco Bertossa, David Buechi, Ueli Galizzi,",
34 " Christoph Gysin, Andreas Hess, Patric Lichtsteiner, Michael Meier,",
35 " Andreas Schleiss, Ariane Seiler, Mario Strasser, Lukas Suter,",
36 " Roger Wegmann, Simon Zwahlen,",
37 " ZHW Zuercher Hochschule Winterthur (Switzerland).",
39 " Philip Boetschi, Tobias Brunner, Christoph Buehler, Reto Buerki,",
40 " Sansar Choinyambuu, Adrian Doerig, Andreas Eigenmann, Giuliano Grassi,",
41 " Reto Guadagnini, Fabian Hartmann, Noah Heusser, Jan Hutter,",
42 " Thomas Kallenberg, Patrick Loetscher, Daniel Roethlisberger,",
43 " Adrian-Ken Rueegsegger, Ralf Sager, Joel Stillhart, Daniel Wydler,",
45 " HSR Hochschule fuer Technik Rapperswil (Switzerland).",
47 " Martin Willi (revosec AG), Clavister (Sweden).",
49 "This program is free software; you can redistribute it and/or modify it",
50 "under the terms of the GNU General Public License as published by the",
51 "Free Software Foundation; either version 2 of the License, or (at your",
52 "option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.",
54 "This program is distributed in the hope that it will be useful, but",
55 "WITHOUT ANY WARRANTY; without even the implied warranty of",
56 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General",
57 "Public License (file COPYING in the distribution) for more details.",
61 char usage
[] = "Usage: ipsec _copyright";
62 struct option opts
[] = {
63 {"help", 0, NULL
, 'h',},
64 {"version", 0, NULL
, 'v',},
68 char me
[] = "ipsec _copyright"; /* for messages */
71 main(int argc
, char *argv
[])
76 const char **notice
= copyright
;
79 library_init(NULL
, "_copyright");
80 atexit(library_deinit
);
82 while ((opt
= getopt_long(argc
, argv
, "", opts
, NULL
)) != EOF
)
85 printf("%s\n", usage
);
87 case 'v': /* version */
88 printf("%s strongSwan "VERSION
"\n", me
);
95 if (errflg
|| optind
!= argc
) {
96 fprintf(stderr
, "%s\n", usage
);
100 for (co
= notice
; *co
!= NULL
; co
++)