Skip to content

Commit

Permalink
tree-wide: add SPDX license identifiers to files (systemd#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
keszybz authored and poettering committed Nov 20, 2017
1 parent a402446 commit b156672
Show file tree
Hide file tree
Showing 105 changed files with 196 additions and 2 deletions.
2 changes: 2 additions & 0 deletions doc/casync.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: LGPL-2.1+
:orphan:

casync manual page
Expand Down
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: LGPL-2.1+
#
# casync documentation build configuration file, created by
# sphinx-quickstart on Tue Jun 20 16:46:39 2017.
Expand Down
3 changes: 1 addition & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.. SPDX-License-Identifier: LGPL-2.1+
.. casync documentation master file, created by
sphinx-quickstart on Tue Jun 20 16:46:39 2017.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to casync's documentation!
==================================
Expand Down
2 changes: 2 additions & 0 deletions doc/meson.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+

sphinx_sources = [
'conf.py',
'casync.rst',
Expand Down
2 changes: 2 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+

project('casync', 'c',
version : '2',
license : 'LGPLv2+',
Expand Down
1 change: 1 addition & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- mode: meson -*-
# SPDX-License-Identifier: LGPL-2.1+

option('fuse', type : 'boolean', value : true,
description : 'build the FUSE integration (requires fuse-devel)')
Expand Down
1 change: 1 addition & 0 deletions mkosi.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh -ex
# SPDX-License-Identifier: LGPL-2.1+

export LC_CTYPE=C.UTF-8
meson build
Expand Down
2 changes: 2 additions & 0 deletions mkosi.default
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+

[Distribution]
Distribution=fedora
Release=26
Expand Down
2 changes: 2 additions & 0 deletions src/75-casync.rules.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+

ACTION=="remove", GOTO="casync_end"

SUBSYSTEM=="block", KERNEL=="nbd*", IMPORT{program}="@bindir_unquoted@/casync udev %N"
Expand Down
2 changes: 2 additions & 0 deletions src/cachunk.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
Expand Down
2 changes: 2 additions & 0 deletions src/cachunk.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocachunkhfoo
#define foocachunkhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/cachunker.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <math.h>

#include "cachunk.h"
Expand Down
2 changes: 2 additions & 0 deletions src/cachunker.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foochunkerhfoo
#define foochunkerhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/cachunkid.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <assert.h>
#include <errno.h>

Expand Down
2 changes: 2 additions & 0 deletions src/cachunkid.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocaobjectidhfoo
#define foocaobjectidhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/cacommon.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef cacommonhfoo
#define cacommonhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/cacompression.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include "util.h"
#include "cacompression.h"

Expand Down
2 changes: 2 additions & 0 deletions src/cacompression.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocacompressorhfoo
#define foocacompressorhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/cadecoder.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <fcntl.h>
#include <grp.h>
#include <pwd.h>
Expand Down
2 changes: 2 additions & 0 deletions src/cadecoder.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocadecoderhfoo
#define foocadecoderhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/cadigest.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <openssl/sha.h>

#include "cadigest.h"
Expand Down
2 changes: 2 additions & 0 deletions src/cadigest.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocadigesthfoo
#define foocadigesthfoo

Expand Down
2 changes: 2 additions & 0 deletions src/caencoder.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <acl/libacl.h>
#include <assert.h>
#include <dirent.h>
Expand Down
2 changes: 2 additions & 0 deletions src/caencoder.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocaencoderhfoo
#define foocaencoderhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/cafileroot.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include "cafileroot.h"
#include "util.h"

Expand Down
2 changes: 2 additions & 0 deletions src/cafileroot.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocafileroothfoo
#define foocafileroothfoo

Expand Down
2 changes: 2 additions & 0 deletions src/caformat-util.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <linux/fs.h>
#include <linux/msdos_fs.h>

Expand Down
2 changes: 2 additions & 0 deletions src/caformat-util.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocaformatutilhfoo
#define foocaformatutilhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/caformat.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocaformathfoo
#define foocaformathfoo

Expand Down
2 changes: 2 additions & 0 deletions src/cafuse.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#define FUSE_USE_VERSION 26

#include <fuse.h>
Expand Down
2 changes: 2 additions & 0 deletions src/cafuse.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef cafusehfoo
#define cafusehfoo

Expand Down
2 changes: 2 additions & 0 deletions src/caindex.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <fcntl.h>
#include <stddef.h>
#include <sys/stat.h>
Expand Down
2 changes: 2 additions & 0 deletions src/caindex.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocaindexhfoo
#define foocaindexhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/calocation.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <sys/fcntl.h>

#include "calocation.h"
Expand Down
2 changes: 2 additions & 0 deletions src/calocation.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocalocationhfoo
#define foocalocationhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/camakebst.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include "camakebst.h"
#include "util.h"

Expand Down
2 changes: 2 additions & 0 deletions src/camakebst.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocamakebsthfoo
#define foocamakebsthfoo

Expand Down
2 changes: 2 additions & 0 deletions src/canbd.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <fcntl.h>
#include <linux/fs.h>
#include <linux/nbd.h>
Expand Down
2 changes: 2 additions & 0 deletions src/canbd.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocanbdfoo
#define foocanbdfoo

Expand Down
2 changes: 2 additions & 0 deletions src/caorigin.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include "caorigin.h"

/* #undef EUNATCH */
Expand Down
2 changes: 2 additions & 0 deletions src/caorigin.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocaoriginhfoo
#define foocaoriginhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/caprotocol-util.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include "caprotocol-util.h"
#include "caprotocol.h"

Expand Down
2 changes: 2 additions & 0 deletions src/caprotocol-util.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <inttypes.h>

#include "caprotocol.h"
Expand Down
2 changes: 2 additions & 0 deletions src/caprotocol.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocaprotocolhfoo
#define foocaprotocolhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/caremote.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <errno.h>
#include <fcntl.h>
#include <stddef.h>
Expand Down
2 changes: 2 additions & 0 deletions src/caremote.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocaremotehfoo
#define foocaremotehfoo

Expand Down
2 changes: 2 additions & 0 deletions src/caseed.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <sys/stat.h>
#include <fcntl.h>

Expand Down
2 changes: 2 additions & 0 deletions src/caseed.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocaseedhfoo
#define foocaseedhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/castore.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <fcntl.h>
#include <lzma.h>
#include <sys/stat.h>
Expand Down
2 changes: 2 additions & 0 deletions src/castore.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocastorehfoo
#define foocastorehfoo

Expand Down
2 changes: 2 additions & 0 deletions src/casync-http.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <curl/curl.h>
#include <getopt.h>
#include <stddef.h>
Expand Down
2 changes: 2 additions & 0 deletions src/casync-tool.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <assert.h>
#include <errno.h>
#include <fcntl.h>
Expand Down
2 changes: 2 additions & 0 deletions src/casync.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <fcntl.h>
#include <sys/poll.h>
#include <sys/stat.h>
Expand Down
2 changes: 2 additions & 0 deletions src/casync.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocasynchfoo
#define foocasynchfoo

Expand Down
2 changes: 2 additions & 0 deletions src/cautil.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <assert.h>
#include <string.h>
#include <sys/types.h>
Expand Down
2 changes: 2 additions & 0 deletions src/cautil.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocautilhfoo
#define foocautilhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/compressor.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include "compressor.h"
#include "util.h"

Expand Down
2 changes: 2 additions & 0 deletions src/compressor.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foocompresshorhfoo
#define foocompresshorhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/copy.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include "copy.h"

#if !HAVE_COPY_FILE_RANGE
Expand Down
2 changes: 2 additions & 0 deletions src/def.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foodefhfoo
#define foodefhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/fssize.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include "fssize.h"
#include "util.h"

Expand Down
2 changes: 2 additions & 0 deletions src/fssize.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foofssizehfoo
#define foofssizehfoo

Expand Down
2 changes: 2 additions & 0 deletions src/meson.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+

libshared_sources = files('''
cachunk.c
cachunk.h
Expand Down
2 changes: 2 additions & 0 deletions src/notify.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <stddef.h>
#include <sys/socket.h>
#include <sys/un.h>
Expand Down
2 changes: 2 additions & 0 deletions src/notify.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#ifndef foonotifyhfoo
#define foonotifyhfoo

Expand Down
2 changes: 2 additions & 0 deletions src/parse-util.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */

#include <assert.h>
#include <errno.h>
#include <inttypes.h>
Expand Down
Loading

0 comments on commit b156672

Please sign in to comment.