From 000503fad72e4eb2ef956a24df358be84b2a9493 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 4 Dec 2015 16:52:19 -0600 Subject: Convert OpenRC to a centralized copyright/license structure In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html --- mk/cc.mk | 10 +++++++++- mk/debug.mk | 11 +++++++++-- mk/depend.mk | 10 +++++++++- mk/dist.mk | 11 +++++++++-- mk/gitignore.mk | 11 +++++++++-- mk/lib.mk | 11 +++++++++-- mk/os-BSD.mk | 11 +++++++++-- mk/os-DragonFly.mk | 11 +++++++++-- mk/os-FreeBSD.mk | 11 +++++++++-- mk/os-GNU-kFreeBSD.mk | 11 +++++++++-- mk/os-GNU.mk | 11 +++++++++-- mk/os-Linux.mk | 11 +++++++++-- mk/os-NetBSD.mk | 11 +++++++++-- mk/os.mk | 11 +++++++++-- mk/prog.mk | 11 +++++++++-- mk/scripts.mk | 11 +++++++++-- mk/subdir.mk | 11 +++++++++-- mk/sys.mk | 11 +++++++++-- 18 files changed, 162 insertions(+), 34 deletions(-) (limited to 'mk') diff --git a/mk/cc.mk b/mk/cc.mk index ceb82f19..c9f7f355 100644 --- a/mk/cc.mk +++ b/mk/cc.mk @@ -1,4 +1,12 @@ -# Copyright (c) 2008 Roy Marples +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. # Setup some good default CFLAGS CFLAGS?= -O2 -g diff --git a/mk/debug.mk b/mk/debug.mk index 66c968b3..5dd785b0 100644 --- a/mk/debug.mk +++ b/mk/debug.mk @@ -1,6 +1,13 @@ # rules to enable debugging support -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. _RC_DEBUG_SH= case "${DEBUG}" in "") echo "";; *) echo "-DRC_DEBUG";; esac _RC_DEBUG:= $(shell ${_RC_DEBUG_SH}) diff --git a/mk/depend.mk b/mk/depend.mk index 873b0ca3..9dc118fb 100644 --- a/mk/depend.mk +++ b/mk/depend.mk @@ -1,5 +1,13 @@ # Generate .depend -# Copyright (c) 2008 Roy Marples +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. CLEANFILES+= .depend IGNOREFILES+= .depend diff --git a/mk/dist.mk b/mk/dist.mk index a986e608..d127ad7a 100644 --- a/mk/dist.mk +++ b/mk/dist.mk @@ -1,6 +1,13 @@ # rules to make a distribution tarball from a git repo -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. GITREF?= ${VERSION} DISTPREFIX?= ${NAME}-${VERSION} diff --git a/mk/gitignore.mk b/mk/gitignore.mk index ce7f6891..2929aacf 100644 --- a/mk/gitignore.mk +++ b/mk/gitignore.mk @@ -1,6 +1,13 @@ # rules to make .gitignore files -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. IGNOREFILES+= ${CLEANFILES} diff --git a/mk/lib.mk b/mk/lib.mk index 61a79ca9..efd9ea85 100644 --- a/mk/lib.mk +++ b/mk/lib.mk @@ -1,8 +1,15 @@ # rules to build a library # based on FreeBSD's bsd.lib.mk -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. SHLIB_NAME= lib${LIB}.so.${SHLIB_MAJOR} SHLIB_LINK= lib${LIB}.so diff --git a/mk/os-BSD.mk b/mk/os-BSD.mk index fbcd3710..49f7a6bf 100644 --- a/mk/os-BSD.mk +++ b/mk/os-BSD.mk @@ -1,5 +1,12 @@ -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. # Generic definitions diff --git a/mk/os-DragonFly.mk b/mk/os-DragonFly.mk index ff5e42f3..e0a64c90 100644 --- a/mk/os-DragonFly.mk +++ b/mk/os-DragonFly.mk @@ -1,5 +1,12 @@ -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2013-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. # Generic definitions diff --git a/mk/os-FreeBSD.mk b/mk/os-FreeBSD.mk index ff5e42f3..0e4fd101 100644 --- a/mk/os-FreeBSD.mk +++ b/mk/os-FreeBSD.mk @@ -1,5 +1,12 @@ -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. # Generic definitions diff --git a/mk/os-GNU-kFreeBSD.mk b/mk/os-GNU-kFreeBSD.mk index c2173726..4fc934e0 100644 --- a/mk/os-GNU-kFreeBSD.mk +++ b/mk/os-GNU-kFreeBSD.mk @@ -1,5 +1,12 @@ -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2013-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. # Generic definitions diff --git a/mk/os-GNU.mk b/mk/os-GNU.mk index 826202c0..1fbc1474 100644 --- a/mk/os-GNU.mk +++ b/mk/os-GNU.mk @@ -1,5 +1,12 @@ -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2007-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. SFX= .GNU.in PKG_PREFIX?= /usr diff --git a/mk/os-Linux.mk b/mk/os-Linux.mk index 60235b8d..15666fca 100644 --- a/mk/os-Linux.mk +++ b/mk/os-Linux.mk @@ -1,5 +1,12 @@ -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. SFX= .Linux.in PKG_PREFIX?= /usr diff --git a/mk/os-NetBSD.mk b/mk/os-NetBSD.mk index 300ea624..2bd26430 100644 --- a/mk/os-NetBSD.mk +++ b/mk/os-NetBSD.mk @@ -1,5 +1,12 @@ -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. # Generic definitions diff --git a/mk/os.mk b/mk/os.mk index 6b2d428f..20b43826 100644 --- a/mk/os.mk +++ b/mk/os.mk @@ -1,5 +1,12 @@ -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. # Generic definitions diff --git a/mk/prog.mk b/mk/prog.mk index 1c829b17..564907fa 100644 --- a/mk/prog.mk +++ b/mk/prog.mk @@ -1,8 +1,15 @@ # rules to build a program # based on FreeBSD's bsd.prog.mk -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. OBJS+= ${SRCS:.c=.o} diff --git a/mk/scripts.mk b/mk/scripts.mk index 22011991..0cbd3bfd 100644 --- a/mk/scripts.mk +++ b/mk/scripts.mk @@ -1,6 +1,13 @@ # Install rules for our scripts -# Copyright (c) 2007-2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2007-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. include ${MK}/sys.mk include ${MK}/os.mk diff --git a/mk/subdir.mk b/mk/subdir.mk index 7f198f8b..b79c94ba 100644 --- a/mk/subdir.mk +++ b/mk/subdir.mk @@ -1,7 +1,14 @@ # Recursive rules # Adapted from FreeBSDs bsd.subdir.mk -# Copyright (c) 2007-2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2007-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. _+_ ?= + ECHODIR ?= echo diff --git a/mk/sys.mk b/mk/sys.mk index ce9e8ea0..76f0b787 100644 --- a/mk/sys.mk +++ b/mk/sys.mk @@ -1,6 +1,13 @@ # Generic system definitions -# Copyright (c) 2008 Roy Marples -# Released under the 2-clause BSD license. +# Copyright (c) 2008-2015 The OpenRC Authors. +# See the Authors file at the top-level directory of this distribution and +# https://github.com/OpenRC/openrc/blob/master/AUTHORS +# +# This file is part of OpenRC. It is subject to the license terms in +# the LICENSE file found in the top-level directory of this +# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE +# This file may not be copied, modified, propagated, or distributed +# except according to the terms contained in the LICENSE file. AR?= ar CP?= cp -- cgit v1.2.3