Skip to content

Commit

Permalink
Update copyright around
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Jun 16, 2021
1 parent f25b73a commit 7e15acf
Show file tree
Hide file tree
Showing 20 changed files with 130 additions and 7 deletions.
6 changes: 6 additions & 0 deletions NOTES_TO_PACKAGE_MAINTAINERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (C) 2016-2021 Red Hat, Inc. All rights reserved.
#
# Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
#
# This software licensed under GPL-2.0+

To: distribution package maintainers

Those are a few things about this project that you should know.
Expand Down
6 changes: 6 additions & 0 deletions build-aux/knet_valgrind_helgrind.supp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (C) 2016-2021 Red Hat, Inc. All rights reserved.
#
# Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
#
# This software licensed under GPL-2.0+

{
link enable/disable known race (safe to ignore)
Helgrind:Race
Expand Down
6 changes: 6 additions & 0 deletions build-aux/knet_valgrind_memcheck.supp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (C) 2016-2021 Red Hat, Inc. All rights reserved.
#
# Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
#
# This software licensed under GPL-2.0+

{
lzma internals (spotted on Debian 9 and Ubuntu 18.04 LTS x86-64)
Memcheck:Cond
Expand Down
9 changes: 8 additions & 1 deletion build-aux/rust-regen.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

#
# Copyright (C) 2021 Red Hat, Inc. All rights reserved.
#
# Authors: Christine Caulfield <ccaulfie@redhat.com>
# Fabio M. Di Nitto <fabbione@kronosnet.org>
#
# This software licensed under GPL-2.0+
#
#
# Regerate the FFI bindings in src/sys from the current headers
#
Expand Down
8 changes: 8 additions & 0 deletions build-aux/rust.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#
# Copyright (C) 2021 Red Hat, Inc. All rights reserved.
#
# Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
#
# This software licensed under GPL-2.0+
#

RUST_COMMON = \
Cargo.toml \
build.rs.in
Expand Down
4 changes: 2 additions & 2 deletions build-aux/update-copyright.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2017-2019 Red Hat, Inc. All rights reserved.
# Copyright (C) 2017-2021 Red Hat, Inc. All rights reserved.
#
# Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
#
Expand All @@ -11,7 +11,7 @@

enddate=$(date +%Y)

input=$(grep -ril -e "Copyright.*Red Hat" |grep -v .swp |grep -v update-copyright |grep -v doxyxml.c)
input=$(grep -ril -e "Copyright.*Red Hat" |grep -v .swp |grep -v update-copyright)
for i in $input; do
startdate=$(git log --follow "$i" | grep ^Date: | tail -n 1 | awk '{print $6}')
if [ "$startdate" != "$enddate" ]; then
Expand Down
8 changes: 7 additions & 1 deletion libknet/bindings/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Copyright (C) 2021 Red Hat, Inc. All rights reserved.
#
# Author: Christine Caulfield <ccaulfie@redhat.com>
#
# This software licensed under LGPL-2.1+

[package]
name = "kronosnet"
version = "0.1.0"
authors = ["Christine Caulfield <ccaulfie@redhat.com>"]
edition = "2018"
readme = "README"
license = "LGPL-2.1"
license = "LGPL-2.1+"
repository = "https://github.com/kronosnet/kronosnet"
description = "Rust bindings for Kronosnet libraries"
categories = ["api-bindings"]
Expand Down
8 changes: 7 additions & 1 deletion libknet/bindings/rust/README
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Copyright (C) 2021 Red Hat, Inc. All rights reserved.
#
# Author: Christine Caulfield <ccaulfie@redhat.com>
#
# This software licensed under GPL-2.0+

This crate contains Rust bindings for the kronosnet (knet)
library libknet: https://kronosnet.org/

Kronosnet, often referred to as knet, is a network abstraction
layer designed for High Availability use cases, where redundancy,
security, fault tolerance and fast fail-over are the core
requirements of your application.
requirements of your application.
7 changes: 7 additions & 0 deletions libknet/bindings/rust/build.rs.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// Copyright (c) 2021 Red Hat, Inc.
//
// All rights reserved.
//
// Author: Christine Caulfield (ccaulfi@redhat.com)
//

extern crate pkg_config;

fn main() {
Expand Down
7 changes: 7 additions & 0 deletions libknet/bindings/rust/src/sys/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// Copyright (c) 2021 Red Hat, Inc.
//
// All rights reserved.
//
// Author: Christine Caulfield (ccaulfi@redhat.com)
//

#![allow(non_camel_case_types, non_snake_case, dead_code, improper_ctypes)]

pub mod libknet;
6 changes: 6 additions & 0 deletions libknet/bindings/rust/tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (C) 2021 Red Hat, Inc. All rights reserved.
#
# Author: Christine Caulfield <ccaulfie@redhat.com>
#
# This software licensed under GPL-2.0+

[package]
name = "rust-kronosnet-tests"
version = "0.1.0"
Expand Down
7 changes: 7 additions & 0 deletions libknet/bindings/rust/tests/build.rs.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// Copyright (c) 2021 Red Hat, Inc.
//
// All rights reserved.
//
// Author: Christine Caulfield (ccaulfi@redhat.com)
//

fn main() {

// Tell the compiler to use the build-tree libs & headers for compiling
Expand Down
8 changes: 8 additions & 0 deletions libknet/bindings/rust/tests/src/bin/set_plugin_path.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* Copyright (C) 2021 Red Hat, Inc. All rights reserved.
*
* Author: Christine Caulfield <ccaulfie@redhat.com>
*
* This software licensed under GPL-2.0+
*/

#include <stdio.h>

#include "test-common.h"
Expand Down
8 changes: 7 additions & 1 deletion libnozzle/bindings/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Copyright (C) 2021 Red Hat, Inc. All rights reserved.
#
# Author: Christine Caulfield <ccaulfie@redhat.com>
#
# This software licensed under LGPL-2.1+

[package]
name = "nozzle"
version = "0.1.0"
authors = ["Christine Caulfield <ccaulfie@redhat.com>"]
edition = "2018"
readme = "README"
license = "LGPL-2.1"
license = "LGPL-2.1+"
repository = "https://github.com/kronosnet/kronosnet"
description = "Rust bindings for libnozzle library"
categories = ["api-bindings"]
Expand Down
6 changes: 6 additions & 0 deletions libnozzle/bindings/rust/README
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (C) 2021 Red Hat, Inc. All rights reserved.
#
# Author: Christine Caulfield <ccaulfie@redhat.com>
#
# This software licensed under GPL-2.0+

This crate contains Rust bindings for the libnozzle
library, part of kornosnet: https://kronosnet.org/

Expand Down
7 changes: 6 additions & 1 deletion libnozzle/bindings/rust/build.rs.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

// Copyright (c) 2021 Red Hat, Inc.
//
// All rights reserved.
//
// Author: Christine Caulfield (ccaulfi@redhat.com)
//

fn main() {
println!("cargo:rustc-link-search=native=../../../.libs");
Expand Down
7 changes: 7 additions & 0 deletions libnozzle/bindings/rust/src/sys/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// Copyright (c) 2021 Red Hat, Inc.
//
// All rights reserved.
//
// Author: Christine Caulfield (ccaulfi@redhat.com)
//

#![allow(non_camel_case_types, non_snake_case, dead_code, improper_ctypes)]

pub mod libnozzle;
6 changes: 6 additions & 0 deletions libnozzle/bindings/rust/tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (C) 2021 Red Hat, Inc. All rights reserved.
#
# Author: Christine Caulfield <ccaulfie@redhat.com>
#
# This software licensed under GPL-2.0+

[package]
name = "rust-kronosnet-tests"
version = "0.1.0"
Expand Down
7 changes: 7 additions & 0 deletions libnozzle/bindings/rust/tests/build.rs.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// Copyright (c) 2021 Red Hat, Inc.
//
// All rights reserved.
//
// Author: Christine Caulfield (ccaulfi@redhat.com)
//

fn main() {

// Tell the compiler to use the build-tree libs & headers for compiling
Expand Down
6 changes: 6 additions & 0 deletions m4/pkg_check_var.m4
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright (C) 2020-2021 Red Hat, Inc. All rights reserved.
#
# Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
#
# This software licensed under GPL-2.0+

# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
# -------------------------------------------
Expand Down

0 comments on commit 7e15acf

Please sign in to comment.