aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-08-07 15:57:05 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-08-07 15:57:05 +0000
commite83854754a044103b918e2bd6f621d5758cd2d08 (patch)
tree7df756ac9183f4bbb4339467fabaa7c4501de7ee
parenta115ff1b97cb4fa61f028cc57987ad6f6a499876 (diff)
downloadalck-e83854754a044103b918e2bd6f621d5758cd2d08.tar.gz
alck-e83854754a044103b918e2bd6f621d5758cd2d08.tar.bz2
Change license to GPLv3
git-svn-id: file:///svnroot/gsc/trunk@271 d2de0444-eb31-0410-8365-af798a554d48
-rw-r--r--ckaliases.c14
-rw-r--r--ckaliases.h14
-rw-r--r--gram.y14
-rw-r--r--lex.l14
4 files changed, 24 insertions, 32 deletions
diff --git a/ckaliases.c b/ckaliases.c
index 7a3cbef..343a52f 100644
--- a/ckaliases.c
+++ b/ckaliases.c
@@ -1,29 +1,27 @@
/* ckaliases - verify syntax of sendmail-style alias files
Copyright (C) 2005 Sergey Poznyakoff
- 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.
+ 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 3 of the License, or (at your
+ option) any later version.
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 for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301 USA. */
+ You should have received a copy of the GNU General Public License along
+ with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#define obstack_chunk_alloc malloc
#define obstack_chunk_free free
#include <obstack.h>
#include "ckaliases.h"
void *
diff --git a/ckaliases.h b/ckaliases.h
index 73ec5ab..8d6546d 100644
--- a/ckaliases.h
+++ b/ckaliases.h
@@ -1,29 +1,27 @@
/* ckaliases - verify syntax of sendmail-style alias files
Copyright (C) 2005 Sergey Poznyakoff
- 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.
+ 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 3 of the License, or (at your
+ option) any later version.
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 for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301 USA. */
+ You should have received a copy of the GNU General Public License along
+ with this program. If not, see <http://www.gnu.org/licenses/>. */
extern char *file_name;
extern int line_num;
void init_lex();
void lex_debug(int n);
void openaliases(char *name);
void openaliases_prefix(char *prefix, char *name);
struct string_list {
struct string_list *next;
char *str;
diff --git a/gram.y b/gram.y
index 50ba014..d20f9d8 100644
--- a/gram.y
+++ b/gram.y
@@ -1,30 +1,28 @@
%{
/* ckaliases - verify syntax of sendmail-style alias files
Copyright (C) 2005 Sergey Poznyakoff
- 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.
+ 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 3 of the License, or (at your
+ option) any later version.
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 for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301 USA. */
+ You should have received a copy of the GNU General Public License along
+ with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <getopt.h>
#include <errno.h>
#include "ckaliases.h"
SLIST *cw_list; /* List of domain names pertaining to Sendmail 'w' class */
static int restricted; /* prohibit use of `special' aliases (pipes, file redirections
and includes */
int verbose; /* Verbose mode */
diff --git a/lex.l b/lex.l
index dfb1793..48f943a 100644
--- a/lex.l
+++ b/lex.l
@@ -1,30 +1,28 @@
%{
/* ckaliases - verify syntax of sendmail-style alias files
Copyright (C) 2005 Sergey Poznyakoff
- 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.
+ 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 3 of the License, or (at your
+ option) any later version.
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 for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301 USA. */
+ You should have received a copy of the GNU General Public License along
+ with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <errno.h>
#include <string.h>
#define obstack_chunk_alloc malloc
#define obstack_chunk_free free
#include <obstack.h>
#include "ckaliases.h"

Return to:

Send suggestions and report system problems to the System administrator.