summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-25 20:26:16 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-25 20:26:16 (EDT)
commit1dab3985f2bcbe7b67a75391ee5e5b9309935135 (patch)
tree76e99ef87eb59c5f6076eec74e929b95186a7507
parent73cbaa1620854af4697a079e7a60a46ab0515e70 (diff)
Improve license notices and file descriptions
-rw-r--r--Makefile.am21
-rw-r--r--configure.ac21
-rw-r--r--lib/chroot.sh23
-rw-r--r--lib/cmd.sh23
-rw-r--r--lib/cmd/help.sh23
-rw-r--r--lib/cmd/install.sh23
-rw-r--r--lib/cmd/shell.sh23
-rw-r--r--lib/cmd/version.sh23
-rw-r--r--lib/control.sh23
-rw-r--r--lib/fd.sh23
-rw-r--r--lib/feed.sh23
-rw-r--r--lib/getopt.sh23
-rw-r--r--lib/locale.sh23
-rw-r--r--lib/opkg.sh23
-rw-r--r--lib/output.sh23
-rw-r--r--lib/pkg.sh23
-rw-r--r--lib/profile.sh23
-rw-r--r--lib/profile/proteanos.sh23
-rw-r--r--locale/en_US.sh23
-rw-r--r--src/prokit.sh23
-rw-r--r--tests/common.sh23
-rwxr-xr-xtests/parse_control.basic.sh23
-rw-r--r--tests/parse_control.common.sh23
-rwxr-xr-xtests/resolve_deps.basic.sh23
24 files changed, 288 insertions, 260 deletions
diff --git a/Makefile.am b/Makefile.am
index d9d4ac3..9e6b439 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,18 +2,21 @@
#
# Copyright (C) 2013, 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
include $(top_srcdir)/src/local.mk
include $(top_srcdir)/lib/local.mk
diff --git a/configure.ac b/configure.ac
index 1fafce6..de0db44 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,18 +2,21 @@
#
# Copyright (C) 2013 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
AC_INIT([ProteanOS Development Kit], [0.1.0],
[mailto:proteanos-dev@lists.proteanos.com], [prokit],
diff --git a/lib/chroot.sh b/lib/chroot.sh
index a4033fb..9b95f4a 100644
--- a/lib/chroot.sh
+++ b/lib/chroot.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/chroot.sh
# Functions for setting up isolated file system environments
#
# Copyright (C) 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
[ "x${_CHROOT_SM+set}" = 'xset' ] && return 0
_CHROOT_SM=1
diff --git a/lib/cmd.sh b/lib/cmd.sh
index 6a0674d..00ac762 100644
--- a/lib/cmd.sh
+++ b/lib/cmd.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/cmd.sh
# Command-related functions
#
# Copyright (C) 2013 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
[ "x${_CMD_SM+set}" = 'xset' ] && return 0
_CMD_SM=1
diff --git a/lib/cmd/help.sh b/lib/cmd/help.sh
index 6dbe84e..21b0636 100644
--- a/lib/cmd/help.sh
+++ b/lib/cmd/help.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/cmd/help.sh
# "help" command
#
# Copyright (C) 2013 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
cmd_help_main()
{
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh
index 220058e..cb6678d 100644
--- a/lib/cmd/install.sh
+++ b/lib/cmd/install.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/cmd/install.sh
# "install" command
#
# Copyright (C) 2013, 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
use getopt
use feed
diff --git a/lib/cmd/shell.sh b/lib/cmd/shell.sh
index 7fe7509..a871b05 100644
--- a/lib/cmd/shell.sh
+++ b/lib/cmd/shell.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/cmd/shell.sh
# "shell" command
#
# Copyright (C) 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
use profile
use chroot
diff --git a/lib/cmd/version.sh b/lib/cmd/version.sh
index 60320a1..d88d137 100644
--- a/lib/cmd/version.sh
+++ b/lib/cmd/version.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/cmd/version.sh
# "version" command
#
# Copyright (C) 2013 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
cmd_version_main()
{
diff --git a/lib/control.sh b/lib/control.sh
index 97c7a96..05aa289 100644
--- a/lib/control.sh
+++ b/lib/control.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/control.sh
# Functions for parsing control files.
#
# Copyright (C) 2012, 2013 Patrick "P. J." McDermott
#
-# 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 file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
[ "x${_CONTROL_SM+set}" = 'xset' ] && return 0
_CONTROL_SM=1
diff --git a/lib/fd.sh b/lib/fd.sh
index e39d176..0513e34 100644
--- a/lib/fd.sh
+++ b/lib/fd.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/fd.sh
# Functions for opening and closing file descriptors
#
# Copyright (C) 2013 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
[ "x${_FD_SM+set}" = 'xset' ] && return 0
_FD_SM=1
diff --git a/lib/feed.sh b/lib/feed.sh
index 6d90892..8627dc6 100644
--- a/lib/feed.sh
+++ b/lib/feed.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/feed.sh
# Functions for handling feed index files
#
# Copyright (C) 2013, 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
[ "x${_FEED_SM+set}" = 'xset' ] && return 0
_FEED_SM=1
diff --git a/lib/getopt.sh b/lib/getopt.sh
index b609a1f..9d7c8ed 100644
--- a/lib/getopt.sh
+++ b/lib/getopt.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/getopt.sh
# Functions for parsing command-line options
#
# Copyright (C) 2013 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
[ "x${_GETOPT_SM+set}" = 'xset' ] && return 0
_GETOPT_SM=1
diff --git a/lib/locale.sh b/lib/locale.sh
index 31a9064..d798429 100644
--- a/lib/locale.sh
+++ b/lib/locale.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/locale.sh
# Locale functions
#
# Copyright (C) 2012, 2013 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
[ "x${_LOCALE_SM+set}" = 'xset' ] && return 0
_LOCALE_SM=1
diff --git a/lib/opkg.sh b/lib/opkg.sh
index a943f6f..eb314df 100644
--- a/lib/opkg.sh
+++ b/lib/opkg.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/opkg.sh
# Functions for running the package manager
#
# Copyright (C) 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
[ "x${_OPKG_SM+set}" = 'xset' ] && return 0
_OPKG_SM=1
diff --git a/lib/output.sh b/lib/output.sh
index 4fafaf1..b02e2c7 100644
--- a/lib/output.sh
+++ b/lib/output.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/output.sh
# Functions for printing messages
#
# Copyright (C) 2013 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
[ "x${_OUTPUT_SM+set}" = 'xset' ] && return 0
_OUTPUT_SM=1
diff --git a/lib/pkg.sh b/lib/pkg.sh
index 36a651e..2108836 100644
--- a/lib/pkg.sh
+++ b/lib/pkg.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/pkg.sh
# Functions for handling packages and their dependencies
#
# Copyright (C) 2013, 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
[ "x${_PKG_SM+set}" = 'xset' ] && return 0
_PKG_SM=1
diff --git a/lib/profile.sh b/lib/profile.sh
index 95fcea1..e7a638c 100644
--- a/lib/profile.sh
+++ b/lib/profile.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/profile.sh
# Profile-related functions
#
# Copyright (C) 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
[ "x${_PROFILE_SM+set}" = 'xset' ] && return 0
_PROFILE_SM=1
diff --git a/lib/profile/proteanos.sh b/lib/profile/proteanos.sh
index 3826c39..998a489 100644
--- a/lib/profile/proteanos.sh
+++ b/lib/profile/proteanos.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# lib/profile/proteanos.sh
# ProteanOS architecture detection and feeds lists.
#
# Copyright (C) 2013, 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
use opkg
diff --git a/locale/en_US.sh b/locale/en_US.sh
index 253e62e..df74664 100644
--- a/locale/en_US.sh
+++ b/locale/en_US.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# locale/en_US.sh
# English message strings
#
# Copyright (C) 2013, 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
# Options
msg_prokit_opt_h_summary='print this help message'
diff --git a/src/prokit.sh b/src/prokit.sh
index 3583863..dc244af 100644
--- a/src/prokit.sh
+++ b/src/prokit.sh
@@ -1,23 +1,24 @@
#!@SH@
#
-# ProteanOS Development Kit
-# src/prokit.sh
# Main program file
#
# Copyright (C) 2013, 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
set -u
diff --git a/tests/common.sh b/tests/common.sh
index 1e3fb2f..677e3af 100644
--- a/tests/common.sh
+++ b/tests/common.sh
@@ -1,21 +1,22 @@
-# ProteanOS Development Kit
-# tests/common.sh
# Common testsuite functions
#
# Copyright (C) 2013, 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
tests_es=0
atexit()
diff --git a/tests/parse_control.basic.sh b/tests/parse_control.basic.sh
index 9c6193a..98f470b 100755
--- a/tests/parse_control.basic.sh
+++ b/tests/parse_control.basic.sh
@@ -1,23 +1,24 @@
#!/bin/sh
#
-# ProteanOS Development Kit
-# tests/parse_control.basic.sh
# Basic parse_control() test
#
# Copyright (C) 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
req_fields='Package Version'
diff --git a/tests/parse_control.common.sh b/tests/parse_control.common.sh
index 9097dd1..234cba6 100644
--- a/tests/parse_control.common.sh
+++ b/tests/parse_control.common.sh
@@ -1,23 +1,24 @@
#!/bin/sh
#
-# ProteanOS Development Kit
-# tests/parse_control.common.sh
# Common parse_control() tests functions
#
# Copyright (C) 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
. "${srcdir}/tests/common.sh"
diff --git a/tests/resolve_deps.basic.sh b/tests/resolve_deps.basic.sh
index 5b80e19..d084f09 100755
--- a/tests/resolve_deps.basic.sh
+++ b/tests/resolve_deps.basic.sh
@@ -1,23 +1,24 @@
#!/bin/sh
#
-# ProteanOS Development Kit
-# tests/resolve_deps.basic.sh
# Basic resolve_deps() test
#
# Copyright (C) 2014 Patrick "P. J." McDermott
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This file is part of the ProteanOS Development Kit.
#
-# 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.
+# The ProteanOS Development Kit 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 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit 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/>.
+# along with the ProteanOS Development Kit program. If not, see
+# <http://www.gnu.org/licenses/>.
. "${srcdir}/tests/common.sh"