Skip to content

Commit

Permalink
Fixed package descriptions, authors file, copyrights and added missin…
Browse files Browse the repository at this point in the history
…g GPL disclaimers.
  • Loading branch information
pkoutoupis committed Dec 27, 2021
1 parent 010874a commit ed071a6
Show file tree
Hide file tree
Showing 36 changed files with 108 additions and 45 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Oliver Rath
Scott McGillivray
Boian Berberov
Shub77
Matteo Tenca
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### Release 8.0.1 ###

- packaging: Fixed package descriptions
- misc: update authors file
- misc: updated copyright
- misc: added GPL disclaimer to files missing it

### Release 8.0.0 ###

- module: Updated for 5.14 and 5.15 kernels
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2016 - 2021 Petros Koutoupis
# Copyright © 2016 - 2022 Petros Koutoupis
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ remain in cache a bit longer before being evicted.

The RapidDisk Daemon (rapiddiskd) enabled remote management of RapidDisk
volumes. The management commands are simplified into a set of GET and POST
commands.
commands. It operates over port 9118 by default. This can be changed when
invoking the daemon with the use of a parameter. Either way, please
ensure that the port is open for TCP within your firewall rules.

An example of a GET command:

Expand Down
18 changes: 18 additions & 0 deletions conf/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# Copyright © 2016 - 2022 Petros Koutoupis
# All rights reserved.
#
# 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 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, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-2.0-or-later

CP := cp
RM := rm -rf
MKDIR := mkdir -pv -m 755
Expand Down
2 changes: 1 addition & 1 deletion conf/rapiddisk.sh.pacemaker
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (C) 2015 - 2021 Petros Koutoupis. All rights reserved.
# Copyright (C) 2015 - 2022 Petros Koutoupis. All rights reserved.
#

PATH=/bin:/sbin:/usr/bin:/usr/sbin
Expand Down
2 changes: 1 addition & 1 deletion conf/rapiddisk.sh.rgmanager
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (C) 2015 - 2021 Petros Koutoupis. All rights reserved.
# Copyright (C) 2015 - 2022 Petros Koutoupis. All rights reserved.
#

PATH=/bin:/sbin:/usr/bin:/usr/sbin
Expand Down
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
rapiddisk (8.0.1-1) released; urgency=medium

* packaging: Fixed package descriptions
* misc: update authors file
* misc: updated copyright
* misc: added GPL disclaimer to files missing it

rapiddisk (8.0.0-1) released; urgency=medium

* module: Updated for 5.14 and 5.15 kernels
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: rapiddisk
Version: 8.0.0-1
Version: 8.0.1-1
Section: base
Priority: optional
Architecture: amd64
Expand Down
6 changes: 3 additions & 3 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ fi
case "$1" in

configure)
dkms add -m rapiddisk -v 8.0.0
dkms build -m rapiddisk -v 8.0.0
dkms install -m rapiddisk -v 8.0.0
dkms add -m rapiddisk -v 8.0.1
dkms build -m rapiddisk -v 8.0.1
dkms install -m rapiddisk -v 8.0.1
echo "rapiddisk max_sectors=2048 nr_requests=1024" >> /etc/modules
echo "rapiddisk-cache" >> /etc/modules
echo "dm_mod" >> /etc/modules
Expand Down
2 changes: 1 addition & 1 deletion debian/prerm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi

case "$1" in
remove|upgrade|deconfigure)
dkms remove -m rapiddisk -v 8.0.0 --all
dkms remove -m rapiddisk -v 8.0.1 --all
;;

failed-upgrade)
Expand Down
18 changes: 18 additions & 0 deletions doc/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# Copyright © 2016 - 2022 Petros Koutoupis
# All rights reserved.
#
# 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 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, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-2.0-or-later

CP := cp
RM := rm -f
MKDIR := mkdir -pv -m 755
Expand Down
4 changes: 2 additions & 2 deletions module/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011 - 2021 Petros Koutoupis
# Copyright © 2011 - 2022 Petros Koutoupis
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -15,7 +15,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only

VERSION = 8.0.0
VERSION = 8.0.1

ifeq ($(KSRC),)
KSRC := /lib/modules/$(shell uname -r)/build
Expand Down
2 changes: 1 addition & 1 deletion module/dkms.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME="rapiddisk"
PACKAGE_VERSION="8.0.0"
PACKAGE_VERSION="8.0.1"
BUILT_MODULE_NAME[0]="rapiddisk"
BUILT_MODULE_NAME[1]="rapiddisk-cache"
DEST_MODULE_LOCATION[0]="/kernel/rapiddisk/"
Expand Down
8 changes: 4 additions & 4 deletions module/rapiddisk-cache.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
** Copyright © 2011 - 2021 Petros Koutoupis
** Copyright © 2011 - 2022 Petros Koutoupis
** All rights reserved.
**
** This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -54,7 +54,7 @@
} \
} while (0)

#define VERSION_STR "8.0.0"
#define VERSION_STR "8.0.1"
#define DM_MSG_PREFIX "rapiddisk-cache"

#define READCACHE 1
Expand Down Expand Up @@ -1244,7 +1244,7 @@ cache_status(struct dm_target *ti, status_type_t type, unsigned status_flags,

static struct target_type cache_target = {
.name = "rapiddisk-cache",
.version = {8, 0, 0},
.version = {8, 0, 1},
.module = THIS_MODULE,
.ctr = cache_ctr,
.dtr = cache_dtr,
Expand Down Expand Up @@ -1286,4 +1286,4 @@ MODULE_LICENSE("GPL");
MODULE_AUTHOR("Petros Koutoupis <[email protected]>");
MODULE_DESCRIPTION("RapidDisk-Cache DM target is a write-through caching target with RapidDisk volumes.");
MODULE_VERSION(VERSION_STR);
MODULE_INFO(Copyright, "Copyright 2010 - 2021 Petros Koutoupis");
MODULE_INFO(Copyright, "Copyright 2010 - 2022 Petros Koutoupis");
6 changes: 3 additions & 3 deletions module/rapiddisk.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
** Copyright © 2011 - 2021 Petros Koutoupis
** Copyright © 2011 - 2022 Petros Koutoupis
** All rights reserved.
**
** This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -41,7 +41,7 @@
#include <linux/radix-tree.h>
#include <linux/io.h>

#define VERSION_STR "8.0.0"
#define VERSION_STR "8.0.1"
#define PREFIX "rapiddisk"
#define BYTES_PER_SECTOR 512
#define MAX_RDSKS 128
Expand Down Expand Up @@ -903,4 +903,4 @@ MODULE_LICENSE("GPL");
MODULE_AUTHOR("Petros Koutoupis <[email protected]>");
MODULE_DESCRIPTION("RapidDisk is an enhanced RAM disk block device driver.");
MODULE_VERSION(VERSION_STR);
MODULE_INFO(Copyright, "Copyright 2010 - 2021 Petros Koutoupis");
MODULE_INFO(Copyright, "Copyright 2010 - 2022 Petros Koutoupis");
7 changes: 6 additions & 1 deletion rapiddisk.spec.rhel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: The RapidDisk software defined advanced RAM drive and storage caching solution.
Name: rapiddisk
Version: 8.0.0
Version: 8.0.1
Release: 1
License: General Public License Version 2
Group: Applications/System
Expand Down Expand Up @@ -80,6 +80,11 @@ rm -rf %{buildroot}
%doc %attr(0444,root,root) /usr/share/man/man1/*

%changelog
* Thu Dec 23 2021 Petros Koutoupis <[email protected]>
- packaging: Fixed package descriptions
- misc: update authors file
- misc: updated copyright
- misc: added GPL disclaimer to files missing it
* Fri Dec 17 2021 Petros Koutoupis <[email protected]>
- module: Updated for 5.14 and 5.15 kernels
- utility: Added NVMe Target support / framework
Expand Down
7 changes: 6 additions & 1 deletion rapiddisk.spec.sles
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: The RapidDisk software defined advanced RAM drive and storage caching solution.
Name: rapiddisk
Version: 8.0.0
Version: 8.0.1
Release: 1
License: General Public License Version 2
Group: Applications/System
Expand Down Expand Up @@ -81,6 +81,11 @@ rm -rf %{buildroot}
%doc %attr(0444,root,root) /usr/share/man/man1/*

%changelog
* Thu Dec 23 2021 Petros Koutoupis <[email protected]>
- packaging: Fixed package descriptions
- misc: update authors file
- misc: updated copyright
- misc: added GPL disclaimer to files missing it
* Fri Dec 17 2021 Petros Koutoupis <[email protected]>
- module: Updated for 5.14 and 5.15 kernels
- utility: Added NVMe Target support / framework
Expand Down
2 changes: 1 addition & 1 deletion scripts/nvmet/nvmet-generate-hostnqn.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright © 2021 Petros Koutoupis
# Copyright © 2021 - 2022 Petros Koutoupis
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion scripts/nvmet/nvmet-tune-system.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright © 2021 Petros Koutoupis
# Copyright © 2021 - 2022 Petros Koutoupis
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
Expand Down
4 changes: 2 additions & 2 deletions scripts/rapiddisk-legacy/rapiddisk-legacy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ fi
## usage ##
function help_menu()
{
echo -e "$1 8.0.0"
echo -e "Copyright 2011 - 2021 Petros Koutoupis"
echo -e "$1 8.0.1"
echo -e "Copyright 2011 - 2022 Petros Koutoupis"
echo -e ""
echo -e "$1 is an administration tool to manage the RapidDisk RAM disk devices and"
echo -e "\tRapidDisk-Cache mappings."
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2011 - 2021 Petros Koutoupis
# Copyright © 2011 - 2022 Petros Koutoupis
# All rights reserved.
#
# This file is part of RapidDisk.
Expand Down
2 changes: 1 addition & 1 deletion src/cli.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*********************************************************************************
** Copyright © 2011 - 2021 Petros Koutoupis
** Copyright © 2011 - 2022 Petros Koutoupis
** All rights reserved.
**
** This file is part of RapidDisk.
Expand Down
6 changes: 3 additions & 3 deletions src/common.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*********************************************************************************
** Copyright © 2011 - 2021 Petros Koutoupis
** Copyright © 2011 - 2022 Petros Koutoupis
** All rights reserved.
**
** This file is part of RapidDisk.
Expand Down Expand Up @@ -43,8 +43,8 @@

#define PROCESS "rapiddisk"
#define DAEMON PROCESS "d"
#define COPYRIGHT "Copyright 2011 - 2021 Petros Koutoupis"
#define VERSION_NUM "8.0.0"
#define COPYRIGHT "Copyright 2011 - 2022 Petros Koutoupis"
#define VERSION_NUM "8.0.1"
#define SUCCESS 0
#define INVALID_VALUE -1
#define NAMELEN 0x200
Expand Down
2 changes: 1 addition & 1 deletion src/daemon.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*********************************************************************************
** Copyright © 2011 - 2021 Petros Koutoupis
** Copyright © 2011 - 2022 Petros Koutoupis
** All rights reserved.
**
** This file is part of RapidDisk.
Expand Down
2 changes: 1 addition & 1 deletion src/daemon.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*********************************************************************************
** Copyright © 2011 - 2021 Petros Koutoupis
** Copyright © 2011 - 2022 Petros Koutoupis
** All rights reserved.
**
** This file is part of RapidDisk.
Expand Down
2 changes: 1 addition & 1 deletion src/json.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*********************************************************************************
** Copyright © 2011 - 2021 Petros Koutoupis
** Copyright © 2011 - 2022 Petros Koutoupis
** All rights reserved.
**
** This file is part of RapidDisk.
Expand Down
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*********************************************************************************
** Copyright © 2011 - 2021 Petros Koutoupis
** Copyright © 2011 - 2022 Petros Koutoupis
** All rights reserved.
**
** This file is part of RapidDisk.
Expand Down
2 changes: 1 addition & 1 deletion src/net.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*********************************************************************************
** Copyright © 2011 - 2021 Petros Koutoupis
** Copyright © 2011 - 2022 Petros Koutoupis
** All rights reserved.
**
** This file is part of RapidDisk.
Expand Down
2 changes: 1 addition & 1 deletion src/nvmet.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*********************************************************************************
** Copyright © 2011 - 2021 Petros Koutoupis
** Copyright © 2011 - 2022 Petros Koutoupis
** All rights reserved.
**
** This file is part of RapidDisk.
Expand Down
4 changes: 2 additions & 2 deletions src/rdsk.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*********************************************************************************
** Copyright © 2011 - 2021 Petros Koutoupis
** Copyright © 2011 - 2022 Petros Koutoupis
** All rights reserved.
**
** This file is part of RapidDisk.
Expand All @@ -21,7 +21,7 @@
**
** @project: rapiddisk
**
** @filename: core.c
** @filename: rdsk.c
** @description: This file contains the core routines of rapiddisk.
**
** @date: 15Oct10, [email protected]
Expand Down
2 changes: 1 addition & 1 deletion src/sys.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*********************************************************************************
** Copyright © 2011 - 2021 Petros Koutoupis
** Copyright © 2011 - 2022 Petros Koutoupis
** All rights reserved.
**
** This file is part of RapidDisk.
Expand Down
2 changes: 1 addition & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2016 - 2021 Petros Koutoupis
# Copyright © 2016 - 2022 Petros Koutoupis
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
Expand Down
4 changes: 2 additions & 2 deletions test/rxflush.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* rxio.c */
/* rxflush.c */

/** Copyright © 2016 - 2021 Petros Koutoupis
/** Copyright © 2016 - 2022 Petros Koutoupis
** All rights reserved.
**
** This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion test/rxio.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* rxio.c */

/** Copyright © 2016 - 2021 Petros Koutoupis
/** Copyright © 2016 - 2022 Petros Koutoupis
** All rights reserved.
**
** This program is free software: you can redistribute it and/or modify
Expand Down
Loading

0 comments on commit ed071a6

Please sign in to comment.