Tue Aug 5 22:32:12 2008 UTC ()
Add some repo ID comments at the top of the files.


(joerg)
diff -r1.1.4.1 -r1.1.4.2 pkgsrc/pkgtools/pkg_install/files/lib/decompress.c
diff -r1.9.8.2 -r1.9.8.3 pkgsrc/pkgtools/pkg_install/files/lib/fexec.c
diff -r1.5.4.1 -r1.5.4.2 pkgsrc/pkgtools/pkg_install/files/lib/iterate.c
diff -r1.3.4.6 -r1.3.4.7 pkgsrc/pkgtools/pkg_install/files/lib/vulnerabilities-file.c

cvs diff -r1.1.4.1 -r1.1.4.2 pkgsrc/pkgtools/pkg_install/files/lib/Attic/decompress.c (expand / switch to unified diff)

--- pkgsrc/pkgtools/pkg_install/files/lib/Attic/decompress.c 2008/08/02 20:33:50 1.1.4.1
+++ pkgsrc/pkgtools/pkg_install/files/lib/Attic/decompress.c 2008/08/05 22:32:12 1.1.4.2
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
 1/* $NetBSD: decompress.c,v 1.1.4.2 2008/08/05 22:32:12 joerg Exp $ */
 2
1/*- 3/*-
2 * Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>. 4 * Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>.
3 * All rights reserved. 5 * All rights reserved.
4 * 6 *
5 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
7 * are met: 9 * are met:
8 * 10 *
9 * 1. Redistributions of source code must retain the above copyright 11 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 12 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright 13 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in 14 * notice, this list of conditions and the following disclaimer in
13 * the documentation and/or other materials provided with the 15 * the documentation and/or other materials provided with the
@@ -27,27 +29,27 @@ @@ -27,27 +29,27 @@
27 * SUCH DAMAGE. 29 * SUCH DAMAGE.
28 */ 30 */
29 31
30#if HAVE_CONFIG_H 32#if HAVE_CONFIG_H
31#include "config.h" 33#include "config.h"
32#endif 34#endif
33 35
34#include <nbcompat.h> 36#include <nbcompat.h>
35 37
36#if HAVE_SYS_CDEFS_H 38#if HAVE_SYS_CDEFS_H
37#include <sys/cdefs.h> 39#include <sys/cdefs.h>
38#endif 40#endif
39 41
40__RCSID("$NetBSD: decompress.c,v 1.1.4.1 2008/08/02 20:33:50 joerg Exp $"); 42__RCSID("$NetBSD: decompress.c,v 1.1.4.2 2008/08/05 22:32:12 joerg Exp $");
41 43
42#ifdef BOOTSTRAP 44#ifdef BOOTSTRAP
43#include "lib.h" 45#include "lib.h"
44 46
45int 47int
46decompress_buffer(const char *input, size_t input_len, char **output, 48decompress_buffer(const char *input, size_t input_len, char **output,
47 size_t *output_len) 49 size_t *output_len)
48{ 50{
49 return 0; 51 return 0;
50} 52}
51 53
52#else 54#else
53 55

cvs diff -r1.9.8.2 -r1.9.8.3 pkgsrc/pkgtools/pkg_install/files/lib/fexec.c (expand / switch to unified diff)

--- pkgsrc/pkgtools/pkg_install/files/lib/fexec.c 2008/08/02 20:33:50 1.9.8.2
+++ pkgsrc/pkgtools/pkg_install/files/lib/fexec.c 2008/08/05 22:32:12 1.9.8.3
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
 1/* $NetBSD: fexec.c,v 1.9.8.3 2008/08/05 22:32:12 joerg Exp $ */
 2
1/*- 3/*-
2 * Copyright (c) 2003 The NetBSD Foundation, Inc. 4 * Copyright (c) 2003 The NetBSD Foundation, Inc.
3 * All rights reserved. 5 * All rights reserved.
4 * 6 *
5 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
6 * by Matthias Scheler. 8 * by Matthias Scheler.
7 * 9 *
8 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
10 * are met: 12 * are met:
11 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright 15 * 2. Redistributions in binary form must reproduce the above copyright
@@ -48,27 +50,27 @@ @@ -48,27 +50,27 @@
48#if HAVE_STDARG_H 50#if HAVE_STDARG_H
49#include <stdarg.h> 51#include <stdarg.h>
50#endif 52#endif
51#if HAVE_STDLIB_H 53#if HAVE_STDLIB_H
52#include <stdlib.h> 54#include <stdlib.h>
53#endif 55#endif
54#if HAVE_UNISTD_H 56#if HAVE_UNISTD_H
55#include <unistd.h> 57#include <unistd.h>
56#endif 58#endif
57 59
58#include "lib.h" 60#include "lib.h"
59 61
60#ifndef lint 62#ifndef lint
61__RCSID("$NetBSD: fexec.c,v 1.9.8.2 2008/08/02 20:33:50 joerg Exp $"); 63__RCSID("$NetBSD: fexec.c,v 1.9.8.3 2008/08/05 22:32:12 joerg Exp $");
62#endif 64#endif
63 65
64static int vfcexec(const char *, int, const char *, va_list); 66static int vfcexec(const char *, int, const char *, va_list);
65 67
66/* 68/*
67 * fork, then change current working directory to path and 69 * fork, then change current working directory to path and
68 * execute the command and arguments in the argv array. 70 * execute the command and arguments in the argv array.
69 * wait for the command to finish, then return the exit status. 71 * wait for the command to finish, then return the exit status.
70 */ 72 */
71int 73int
72pfcexec(const char *path, const char *file, const char **argv) 74pfcexec(const char *path, const char *file, const char **argv)
73{ 75{
74 pid_t child; 76 pid_t child;

cvs diff -r1.5.4.1 -r1.5.4.2 pkgsrc/pkgtools/pkg_install/files/lib/iterate.c (expand / switch to unified diff)

--- pkgsrc/pkgtools/pkg_install/files/lib/iterate.c 2008/08/02 20:33:50 1.5.4.1
+++ pkgsrc/pkgtools/pkg_install/files/lib/iterate.c 2008/08/05 22:32:12 1.5.4.2
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
 1/* $NetBSD: iterate.c,v 1.5.4.2 2008/08/05 22:32:12 joerg Exp $ */
 2
1/*- 3/*-
2 * Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. 4 * Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>.
3 * All rights reserved. 5 * All rights reserved.
4 * 6 *
5 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
7 * are met: 9 * are met:
8 * 10 *
9 * 1. Redistributions of source code must retain the above copyright 11 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 12 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright 13 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in 14 * notice, this list of conditions and the following disclaimer in
13 * the documentation and/or other materials provided with the 15 * the documentation and/or other materials provided with the

cvs diff -r1.3.4.6 -r1.3.4.7 pkgsrc/pkgtools/pkg_install/files/lib/vulnerabilities-file.c (expand / switch to unified diff)

--- pkgsrc/pkgtools/pkg_install/files/lib/vulnerabilities-file.c 2008/08/02 20:33:50 1.3.4.6
+++ pkgsrc/pkgtools/pkg_install/files/lib/vulnerabilities-file.c 2008/08/05 22:32:12 1.3.4.7
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
 1/* $NetBSD: vulnerabilities-file.c,v 1.3.4.7 2008/08/05 22:32:12 joerg Exp $ */
 2
1/*- 3/*-
2 * Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>. 4 * Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>.
3 * All rights reserved. 5 * All rights reserved.
4 * 6 *
5 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
7 * are met: 9 * are met:
8 * 10 *
9 * 1. Redistributions of source code must retain the above copyright 11 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 12 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright 13 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in 14 * notice, this list of conditions and the following disclaimer in
13 * the documentation and/or other materials provided with the 15 * the documentation and/or other materials provided with the
@@ -26,27 +28,27 @@ @@ -26,27 +28,27 @@
26 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE. 29 * SUCH DAMAGE.
28 */ 30 */
29 31
30#if HAVE_CONFIG_H 32#if HAVE_CONFIG_H
31#include "config.h" 33#include "config.h"
32#endif 34#endif
33 35
34#include <nbcompat.h> 36#include <nbcompat.h>
35 37
36#if HAVE_SYS_CDEFS_H 38#if HAVE_SYS_CDEFS_H
37#include <sys/cdefs.h> 39#include <sys/cdefs.h>
38#endif 40#endif
39__RCSID("$NetBSD: vulnerabilities-file.c,v 1.3.4.6 2008/08/02 20:33:50 joerg Exp $"); 41__RCSID("$NetBSD: vulnerabilities-file.c,v 1.3.4.7 2008/08/05 22:32:12 joerg Exp $");
40 42
41#if HAVE_SYS_STAT_H 43#if HAVE_SYS_STAT_H
42#include <sys/stat.h> 44#include <sys/stat.h>
43#endif 45#endif
44#if HAVE_SYS_WAIT_H 46#if HAVE_SYS_WAIT_H
45#include <sys/wait.h> 47#include <sys/wait.h>
46#endif 48#endif
47#include <ctype.h> 49#include <ctype.h>
48#if HAVE_ERR_H 50#if HAVE_ERR_H
49#include <err.h> 51#include <err.h>
50#endif 52#endif
51#include <errno.h> 53#include <errno.h>
52#include <fcntl.h> 54#include <fcntl.h>