From 1dab3985f2bcbe7b67a75391ee5e5b9309935135 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 25 Aug 2014 20:26:16 -0400 Subject: Improve license notices and file descriptions --- (limited to 'lib') 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 . +# along with the ProteanOS Development Kit program. If not, see +# . [ "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 . +# along with the ProteanOS Development Kit program. If not, see +# . [ "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 . +# along with the ProteanOS Development Kit program. If not, see +# . 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 . +# along with the ProteanOS Development Kit program. If not, see +# . 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 . +# along with the ProteanOS Development Kit program. If not, see +# . 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 . +# along with the ProteanOS Development Kit program. If not, see +# . 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 . +# along with the ProteanOS Development Kit program. If not, see +# . [ "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 . +# along with the ProteanOS Development Kit program. If not, see +# . [ "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 . +# along with the ProteanOS Development Kit program. If not, see +# . [ "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 . +# along with the ProteanOS Development Kit program. If not, see +# . [ "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 . +# along with the ProteanOS Development Kit program. If not, see +# . [ "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 . +# along with the ProteanOS Development Kit program. If not, see +# . [ "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 . +# along with the ProteanOS Development Kit program. If not, see +# . [ "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 . +# along with the ProteanOS Development Kit program. If not, see +# . [ "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 . +# along with the ProteanOS Development Kit program. If not, see +# . [ "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 . +# along with the ProteanOS Development Kit program. If not, see +# . use opkg -- cgit v0.9.1