Browse Source

Add license

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
master
David Oberhollenzer 3 years ago
parent
commit
20aea96396
  1. 13
      LICENSE
  2. 1
      include/command.h
  3. 1
      include/compressor.h
  4. 1
      include/filelist/image_entry.h
  5. 1
      include/pkgformat.h
  6. 1
      include/pkgio.h
  7. 1
      include/pkgreader.h
  8. 1
      include/pkgwriter.h
  9. 1
      include/util/hashtable.h
  10. 1
      include/util/input_file.h
  11. 1
      include/util/util.h
  12. 1
      lib/filelist/dump_toc.c
  13. 1
      lib/filelist/image_entry.c
  14. 1
      lib/filelist/image_entry_sort.c
  15. 1
      lib/util/canonicalize_name.c
  16. 1
      lib/util/fileproc.c
  17. 1
      lib/util/hashtable.c
  18. 1
      lib/util/input_file.c
  19. 1
      lib/util/mkdir_p.c
  20. 1
      lib/util/read_retry.c
  21. 1
      lib/util/write_retry.c
  22. 1
      main/cmd/buildstrategy/buildstrategy.c
  23. 1
      main/cmd/buildstrategy/buildstrategy.h
  24. 1
      main/cmd/dump/dump.c
  25. 1
      main/cmd/dump/dump.h
  26. 1
      main/cmd/dump/dump_header.c
  27. 1
      main/cmd/help.c
  28. 1
      main/cmd/install/collect.c
  29. 1
      main/cmd/install/install.c
  30. 1
      main/cmd/install/install.h
  31. 1
      main/cmd/install/pkglist.c
  32. 1
      main/cmd/install/tsort.c
  33. 1
      main/cmd/pack/desc.c
  34. 1
      main/cmd/pack/filelist.c
  35. 1
      main/cmd/pack/pack.c
  36. 1
      main/cmd/pack/pack.h
  37. 1
      main/cmd/pack/write_files.c
  38. 1
      main/cmd/pack/write_hdr.c
  39. 1
      main/cmd/pack/write_toc.c
  40. 1
      main/cmd/unpack.c
  41. 1
      main/command.c
  42. 1
      main/compressor.c
  43. 1
      main/compressors/lzma.c
  44. 1
      main/compressors/none.c
  45. 1
      main/compressors/zlib.c
  46. 1
      main/pkg.c
  47. 1
      main/pkg_unpack.c
  48. 1
      main/pkgio_rd_image_entry.c
  49. 1
      main/pkgreader.c
  50. 1
      main/pkgwriter.c

13
LICENSE

@ -0,0 +1,13 @@
Copyright (c) 2019 David Oberhollenzer <goliath@infraroot.at>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

1
include/command.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef COMMAND_H
#define COMMAND_H

1
include/compressor.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef COMPRESSOR_H
#define COMPRESSOR_H

1
include/filelist/image_entry.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef IMAGE_ENTRY_H
#define IMAGE_ENTRY_H

1
include/pkgformat.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef PKG_FORMAT_H
#define PKG_FORMAT_H

1
include/pkgio.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef PKGIO_H
#define PKGIO_H

1
include/pkgreader.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef PKGREADER_H
#define PKGREADER_H

1
include/pkgwriter.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef PKGWRITER_H
#define PKGWRITER_H

1
include/util/hashtable.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef HASH_TABLE_H
#define HASH_TABLE_H

1
include/util/input_file.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef INPUT_FILE_H
#define INPUT_FILE_H

1
include/util/util.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef UTIL_H
#define UTIL_H

1
lib/filelist/dump_toc.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <sys/sysmacros.h>
#include <sys/types.h>
#include <sys/stat.h>

1
lib/filelist/image_entry.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <sys/stat.h>
#include <stdlib.h>
#include <stdio.h>

1
lib/filelist/image_entry_sort.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <sys/stat.h>
#include <string.h>

1
lib/util/canonicalize_name.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <string.h>
#include "util/util.h"

1
lib/util/fileproc.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <stdlib.h>
#include <string.h>
#include <ctype.h>

1
lib/util/hashtable.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <stdint.h>
#include <stdlib.h>
#include <string.h>

1
lib/util/input_file.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <string.h>
#include <stdio.h>
#include <ctype.h>

1
lib/util/mkdir_p.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>

1
lib/util/read_retry.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <unistd.h>
#include <errno.h>

1
lib/util/write_retry.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <unistd.h>
#include <errno.h>

1
main/cmd/buildstrategy/buildstrategy.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "buildstrategy.h"
typedef int (*line_handler_t)(const char *filename, size_t linenum,

1
main/cmd/buildstrategy/buildstrategy.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef BUILDSTRATEGY_H
#define BUILDSTRATEGY_H

1
main/cmd/dump/dump.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "dump.h"
static const struct option long_opts[] = {

1
main/cmd/dump/dump.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef DUMP_H
#define DUMP_H

1
main/cmd/dump/dump_header.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "dump.h"
static const char *dependency_type[] = {

1
main/cmd/help.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <string.h>
#include <stdlib.h>
#include <ctype.h>

1
main/cmd/install/collect.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "install.h"
int collect_dependencies(int repofd, struct pkg_dep_list *list)

1
main/cmd/install/install.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "install.h"
static const struct option long_opts[] = {

1
main/cmd/install/install.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef INSTALL_H
#define INSTALL_H

1
main/cmd/install/pkglist.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "install.h"
struct pkg_dep_node *append_pkg(struct pkg_dep_list *list, const char *name)

1
main/cmd/install/tsort.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "install.h"
static void remove_dependency(struct pkg_dep_list *list,

1
main/cmd/pack/desc.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "pack.h"
static int handle_requires(char *line, const char *filename,

1
main/cmd/pack/filelist.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "pack.h"
static char *skipspace(char *str)

1
main/cmd/pack/pack.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "pack.h"
static const struct option long_opts[] = {

1
main/cmd/pack/pack.h

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#ifndef PACK_H
#define PACK_H

1
main/cmd/pack/write_files.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "pack.h"
static int write_file(pkg_writer_t *wr, image_entry_t *ent)

1
main/cmd/pack/write_hdr.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "pack.h"
int write_header_data(pkg_writer_t *wr, pkg_desc_t *desc)

1
main/cmd/pack/write_toc.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include "pack.h"
static int write_entry(pkg_writer_t *wr, image_entry_t *it)

1
main/cmd/unpack.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <getopt.h>
#include <stdlib.h>
#include <unistd.h>

1
main/command.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

1
main/compressor.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <string.h>
#include "compressor.h"

1
main/compressors/lzma.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>

1
main/compressors/none.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

1
main/compressors/zlib.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>

1
main/pkg.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <stdlib.h>
#include <stdio.h>

1
main/pkg_unpack.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <sys/types.h>
#include <sys/stat.h>
#include <stdbool.h>

1
main/pkgio_rd_image_entry.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>

1
main/pkgreader.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <stdbool.h>
#include <stdlib.h>
#include <unistd.h>

1
main/pkgwriter.c

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: ISC */
#include <stdlib.h>
#include <unistd.h>
#include <string.h>

Loading…
Cancel
Save