]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
release: add code to detect Bacula Systems copyrights and fail release
authorKern Sibbald <kern@sibbald.com>
Thu, 11 Jun 2020 13:04:58 +0000 (15:04 +0200)
committerKern Sibbald <kern@sibbald.com>
Thu, 11 Jun 2020 13:04:58 +0000 (15:04 +0200)
bacula/release/config
bacula/release/makeall
bacula/release/makebacularel

index a12c603fa7650cba41f6ff28557f95add4200551..5afc44d6f3d80a6c512e30cdf5812cb0efd8c50f 100644 (file)
@@ -1,12 +1,12 @@
 #
 # Configuration for release scripts
 #
-# Copyright (C) 2000-2017 Kern Sibbald
+# Copyright (C) 2000-2020 Kern Sibbald
 # License: BSD 2-Clause; see file LICENSE-FOSS
 #
 # Set to the Branch you are working on
 #
-branch=${branch:-Branch-7.9}
+branch=${branch:-Branch-9.6}
 #
 # set reltype to release or beta -- for upload and setting DEVELOPER
 reltype=release
@@ -14,7 +14,8 @@ reltype=release
 repo=$reltype
 
 # Bacula git repos
-bacula=${bacula:-${HOME}/bee/bacula}
+drivers=${bacula:-${HOME}/bacula/drivers}
+bacula=${bacula:-${HOME}/bacula/k}
 docs=${docs:-${HOME}/bacula/docs}
 
 # Limit bw to upload on the website
index e179d821fa3c1de2666db53600bc819696f1f6d3..42f664eb41c8179c2669d409ab5caf0c71af2591 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2000-2018 Kern Sibbald
+# Copyright (C) 2000-2020 Kern Sibbald
 # License: BSD 2-Clause; see file LICENSE-FOSS
 #
 # Make full release
index f15daee45315d5eebcb89db8c856bab11c256c49..e3b1b33a6d027855fbd0b951cc8dad203aac0e21 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2000-2018 Kern Sibbald
+# Copyright (C) 2000-2020 Kern Sibbald
 # License: BSD 2-Clause; see file LICENSE-FOSS
 #
 # This script is used to make a Bacula release
@@ -98,6 +98,11 @@ tar xfz $base_pkg-$ver.tar.gz
 cd $base_pkg-$ver/bacula
 cp -fp ReleaseNotes ChangeLog src/version.h ${cwd}/
 cp -fp LICENSE* ${cwd}/
+grep -R -a --exclude-dir=testprogs "Copyright.*Bacula Systems" *
+if [ $? = 0 ] ; then
+  echo "fatal: !!!!! Bacula Systems Copyrights detected !!!!!"
+  exit
+fi
 
 cd ${cwd}/$base_pkg-$ver
 # Move directories to release names including version