From 66f238981a16223e5b7c1db0b60367cf7ab9614b Mon Sep 17 00:00:00 2001 From: Mark Feit Date: Mon, 8 Jul 2024 16:21:06 -0400 Subject: [PATCH] Issue 1455 (#1456) * Minimal bundle for RPM. #1455 * Minimal bundle build for Debian. #1455 * Add minimal build opts to top-level Makefile. #1455 * Corrected pscheduler-minimal-marker changelog. #1455 * Add source directory for Debian. #1455 --- Makefile | 10 +- pscheduler-bundle-minimal/.gitattributes | 2 + pscheduler-bundle-minimal/Makefile | 79 ++++++++ pscheduler-bundle-minimal/Makefile-package | 5 + .../unibuild-packaging/deb/.gitignore | 1 + .../unibuild-packaging/deb/changelog | 5 + .../unibuild-packaging/deb/compat | 1 + .../unibuild-packaging/deb/control-bottom | 2 + .../unibuild-packaging/deb/control-top | 14 ++ .../unibuild-packaging/deb/copyright | 27 +++ .../unibuild-packaging/deb/gbp.conf | 12 ++ .../unibuild-packaging/deb/rules | 27 +++ .../unibuild-packaging/deb/source/format | 1 + .../unibuild-packaging/deb/tests/archivers | 5 + .../unibuild-packaging/deb/tests/tests | 5 + .../unibuild-packaging/deb/tests/tools | 5 + .../unibuild-packaging/rpm/.gitignore | 1 + .../rpm/pscheduler-bundle-minimal.spec-bottom | 6 + .../rpm/pscheduler-bundle-minimal.spec-top | 19 ++ pscheduler-minimal-marker/.gitattributes | 2 + pscheduler-minimal-marker/LICENSE | 175 ++++++++++++++++++ pscheduler-minimal-marker/Makefile | 7 + .../unibuild-packaging/deb/changelog | 5 + .../unibuild-packaging/deb/compat | 1 + .../unibuild-packaging/deb/control | 14 ++ .../unibuild-packaging/deb/copyright | 23 +++ .../unibuild-packaging/deb/rules | 7 + .../unibuild-packaging/deb/source/format | 1 + .../rpm/pscheduler-minimal-marker.spec | 35 ++++ unibuild-order | 5 +- 30 files changed, 496 insertions(+), 6 deletions(-) create mode 100644 pscheduler-bundle-minimal/.gitattributes create mode 100644 pscheduler-bundle-minimal/Makefile create mode 100644 pscheduler-bundle-minimal/Makefile-package create mode 100644 pscheduler-bundle-minimal/unibuild-packaging/deb/.gitignore create mode 100644 pscheduler-bundle-minimal/unibuild-packaging/deb/changelog create mode 100644 pscheduler-bundle-minimal/unibuild-packaging/deb/compat create mode 100644 pscheduler-bundle-minimal/unibuild-packaging/deb/control-bottom create mode 100644 pscheduler-bundle-minimal/unibuild-packaging/deb/control-top create mode 100644 pscheduler-bundle-minimal/unibuild-packaging/deb/copyright create mode 100644 pscheduler-bundle-minimal/unibuild-packaging/deb/gbp.conf create mode 100755 pscheduler-bundle-minimal/unibuild-packaging/deb/rules create mode 100644 pscheduler-bundle-minimal/unibuild-packaging/deb/source/format create mode 100755 pscheduler-bundle-minimal/unibuild-packaging/deb/tests/archivers create mode 100755 pscheduler-bundle-minimal/unibuild-packaging/deb/tests/tests create mode 100755 pscheduler-bundle-minimal/unibuild-packaging/deb/tests/tools create mode 100644 pscheduler-bundle-minimal/unibuild-packaging/rpm/.gitignore create mode 100644 pscheduler-bundle-minimal/unibuild-packaging/rpm/pscheduler-bundle-minimal.spec-bottom create mode 100644 pscheduler-bundle-minimal/unibuild-packaging/rpm/pscheduler-bundle-minimal.spec-top create mode 100644 pscheduler-minimal-marker/.gitattributes create mode 100644 pscheduler-minimal-marker/LICENSE create mode 100644 pscheduler-minimal-marker/Makefile create mode 100644 pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/changelog create mode 100644 pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/compat create mode 100644 pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/control create mode 100644 pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/copyright create mode 100755 pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/rules create mode 100644 pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/source/format create mode 100644 pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/rpm/pscheduler-minimal-marker.spec diff --git a/Makefile b/Makefile index b788648688..24209842b3 100644 --- a/Makefile +++ b/Makefile @@ -33,9 +33,15 @@ TO_CLEAN += $(BUILD_LOG) # Minimal build -MINIMAL_STOP_AT=pscheduler-archiver-bitbucket +ifdef START +MINIMAL_OPTS += START=$(START) +endif +MINIMAL_OPTS += STOP=pscheduler-minimal-marker +ifdef RELEASE +MINIMAL_OPTS += RELEASE=1 +endif minimal: - $(MAKE) 'STOP=$(MINIMAL_STOP_AT)' + $(MAKE) $(MINIMAL_OPTS) uninstall: diff --git a/pscheduler-bundle-minimal/.gitattributes b/pscheduler-bundle-minimal/.gitattributes new file mode 100644 index 0000000000..d4a8ae2751 --- /dev/null +++ b/pscheduler-bundle-minimal/.gitattributes @@ -0,0 +1,2 @@ +# Ignore those files when creating a tarball with `git archive` +debian/ export-ignore diff --git a/pscheduler-bundle-minimal/Makefile b/pscheduler-bundle-minimal/Makefile new file mode 100644 index 0000000000..e6c35e1951 --- /dev/null +++ b/pscheduler-bundle-minimal/Makefile @@ -0,0 +1,79 @@ +# +# Makefile for pScheduler extras bundle +# + +# This makefile auto-generates RPM spec and Debian control files based +# on the build list and then uses Makefile-package to build it the +# usual way. + +# TODO: This bundle doesn't fix the need to have select +# repos-preinstalled into YUM. Should maybe write a package that does +# that. + +BUNDLE=none +NAME=pscheduler-bundle-minimal + +PACKAGE_MAKEFILE=Makefile-package + +# Name of the package that marks the end of a minimal install. Note +# that this package will not be included in the bundle. +STOP_AT_PACKAGE=pscheduler-minimal-marker + +default: build + + +UNIBUILD_ORDER := unibuild order \ + --file ../unibuild-order \ + --buildable \ + | sed -e '/$(STOP_AT_PACKAGE)/,//d' + +SPEC=./unibuild-packaging/rpm/$(NAME).spec +$(SPEC): + cat $(SPEC)-top > $@ + $(UNIBUILD_ORDER) \ + | egrep -e '^pscheduler-' \ + | egrep -ve '^pscheduler-bundle-' \ + | sed -e 's/^/Requires: /g' \ + >> $@ + cat $(SPEC)-bottom >> $@ +TO_BUILD += $(SPEC) + +CONTROL=./unibuild-packaging/deb/control +$(CONTROL): + cat $(CONTROL)-top > $@ + $(UNIBUILD_ORDER) \ + | egrep -e '^pscheduler-' \ + | egrep -ve '^pscheduler-bundle-' \ + | sed -e 's/^/ /g; $$ ! s/$$/,/g' \ + >> $@ + cat $(CONTROL)-bottom >> $@ +TO_BUILD += $(CONTROL) + + +# These add compatibility with the generic package makefile template's +# targets. + +TO_CLEAN += $(TO_BUILD) + +clean c: + $(MAKE) $(TO_BUILD) + $(MAKE) -f $(PACKAGE_MAKEFILE) $@ + rm -rf $(TO_CLEAN) *~ + +build b install i rpmdump d r cb cbd cbr cbi srpm: + $(MAKE) $(TO_BUILD) + $(MAKE) -f $(PACKAGE_MAKEFILE) $@ + +cbic cbdc cbrc: + $(MAKE) $(TO_BUILD) + $(MAKE) -f $(PACKAGE_MAKEFILE) $@ + $(MAKE) clean + + +# This is to keep the global uninstall target happy. +uninstall: + @echo Nothing to do here. + +# Unibuild triggers this. +install-products: + $(MAKE) -f $(PACKAGE_MAKEFILE) $@ diff --git a/pscheduler-bundle-minimal/Makefile-package b/pscheduler-bundle-minimal/Makefile-package new file mode 100644 index 0000000000..25bcfb5e7d --- /dev/null +++ b/pscheduler-bundle-minimal/Makefile-package @@ -0,0 +1,5 @@ +# +# Makefile for Any Package +# + +include unibuild/unibuild.make diff --git a/pscheduler-bundle-minimal/unibuild-packaging/deb/.gitignore b/pscheduler-bundle-minimal/unibuild-packaging/deb/.gitignore new file mode 100644 index 0000000000..4db28ac495 --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/deb/.gitignore @@ -0,0 +1 @@ +control diff --git a/pscheduler-bundle-minimal/unibuild-packaging/deb/changelog b/pscheduler-bundle-minimal/unibuild-packaging/deb/changelog new file mode 100644 index 0000000000..c7363f7885 --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/deb/changelog @@ -0,0 +1,5 @@ +pscheduler-bundle-minimal (5.2.0~a1.0-1) perfsonar-5.2-snapshot; urgency=low + + * First version + + -- perfSONAR developers Tue, 8 Jul 2024 16:50:33 -0500 diff --git a/pscheduler-bundle-minimal/unibuild-packaging/deb/compat b/pscheduler-bundle-minimal/unibuild-packaging/deb/compat new file mode 100644 index 0000000000..f599e28b8a --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/deb/compat @@ -0,0 +1 @@ +10 diff --git a/pscheduler-bundle-minimal/unibuild-packaging/deb/control-bottom b/pscheduler-bundle-minimal/unibuild-packaging/deb/control-bottom new file mode 100644 index 0000000000..d1d38e60c1 --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/deb/control-bottom @@ -0,0 +1,2 @@ +Description: Minimally-functional pScheduler Bundle + Minimally-functional pScheduler Bundle diff --git a/pscheduler-bundle-minimal/unibuild-packaging/deb/control-top b/pscheduler-bundle-minimal/unibuild-packaging/deb/control-top new file mode 100644 index 0000000000..e9b7f94d97 --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/deb/control-top @@ -0,0 +1,14 @@ +Source: pscheduler-bundle-minimal +Section: net +Priority: optional +Maintainer: perfSONAR developers +Uploaders: Antoine Delvaux +Build-Depends: debhelper (>= 10) +Standards-Version: 3.9.8 +Homepage: https://github.com/perfsonar/pscheduler +Vcs-Git: git://github.com/perfsonar/pscheduler +Vcs-Browser: https://github.com/perfsonar/pscheduler + +Package: pscheduler-bundle-minimal +Architecture: all +Depends: diff --git a/pscheduler-bundle-minimal/unibuild-packaging/deb/copyright b/pscheduler-bundle-minimal/unibuild-packaging/deb/copyright new file mode 100644 index 0000000000..3a69169ef2 --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/deb/copyright @@ -0,0 +1,27 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pscheduler-bundle-minimal +Source: https://github.com/perfsonar/pscheduler + +Files: * +Copyright: 2016-2024 perfSONAR project +License: Apache-2.0 + +Files: debian/* +Copyright: 2016-2024 perfSONAR project +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/pscheduler-bundle-minimal/unibuild-packaging/deb/gbp.conf b/pscheduler-bundle-minimal/unibuild-packaging/deb/gbp.conf new file mode 100644 index 0000000000..409a786201 --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/deb/gbp.conf @@ -0,0 +1,12 @@ +[DEFAULT] +# default build command and distro used to build package +builder = DIST=stretch /usr/bin/git-pbuilder +# tell git-buildpackage how to clean the source tree +cleaner = fakeroot debian/rules clean +# default branch for upstream sources and debian packaging (should usually be equal for pS) +upstream-branch = 5.0.0 +debian-branch = 5.0.0 +# the default tag formats used: +upstream-tag = v%(version)s +debian-tag = debian/%(version)s + diff --git a/pscheduler-bundle-minimal/unibuild-packaging/deb/rules b/pscheduler-bundle-minimal/unibuild-packaging/deb/rules new file mode 100755 index 0000000000..7f3a532bff --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/deb/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +# main packaging script based on dh7 syntax +%: + dh $@ + +override_dh_auto_clean: + +override_dh_auto_build: + +override_dh_auto_install: diff --git a/pscheduler-bundle-minimal/unibuild-packaging/deb/source/format b/pscheduler-bundle-minimal/unibuild-packaging/deb/source/format new file mode 100644 index 0000000000..89ae9db8f8 --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/deb/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/pscheduler-bundle-minimal/unibuild-packaging/deb/tests/archivers b/pscheduler-bundle-minimal/unibuild-packaging/deb/tests/archivers new file mode 100755 index 0000000000..9542f1c9c3 --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/deb/tests/archivers @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +curl -sk https://localhost/pscheduler/archivers?pretty | grep https diff --git a/pscheduler-bundle-minimal/unibuild-packaging/deb/tests/tests b/pscheduler-bundle-minimal/unibuild-packaging/deb/tests/tests new file mode 100755 index 0000000000..055f6682dd --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/deb/tests/tests @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +curl -sk https://localhost/pscheduler/tests?pretty | grep https diff --git a/pscheduler-bundle-minimal/unibuild-packaging/deb/tests/tools b/pscheduler-bundle-minimal/unibuild-packaging/deb/tests/tools new file mode 100755 index 0000000000..4a2d60d5da --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/deb/tests/tools @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +curl -sk https://localhost/pscheduler/tools?pretty | grep https diff --git a/pscheduler-bundle-minimal/unibuild-packaging/rpm/.gitignore b/pscheduler-bundle-minimal/unibuild-packaging/rpm/.gitignore new file mode 100644 index 0000000000..d8c52602f6 --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/rpm/.gitignore @@ -0,0 +1 @@ +pscheduler-bundle-minimal.spec diff --git a/pscheduler-bundle-minimal/unibuild-packaging/rpm/pscheduler-bundle-minimal.spec-bottom b/pscheduler-bundle-minimal/unibuild-packaging/rpm/pscheduler-bundle-minimal.spec-bottom new file mode 100644 index 0000000000..153d5b58a4 --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/rpm/pscheduler-bundle-minimal.spec-bottom @@ -0,0 +1,6 @@ + +%description +Bundle of packages required for a minimally-functional pScheduler + +%files +# No files. diff --git a/pscheduler-bundle-minimal/unibuild-packaging/rpm/pscheduler-bundle-minimal.spec-top b/pscheduler-bundle-minimal/unibuild-packaging/rpm/pscheduler-bundle-minimal.spec-top new file mode 100644 index 0000000000..fc65426b11 --- /dev/null +++ b/pscheduler-bundle-minimal/unibuild-packaging/rpm/pscheduler-bundle-minimal.spec-top @@ -0,0 +1,19 @@ +# +# RPM Spec for Minimal pScheduler Bundle +# + +%define perfsonar_auto_version 5.2.0 +%define perfsonar_auto_relnum 0.a1.0 + +Name: pscheduler-bundle-minimal +Version: %{perfsonar_auto_version} +Release: %{perfsonar_auto_relnum}%{?dist} + +Summary: Minimal pScheduler Bundle +BuildArch: noarch + +License: ASL 2.0 +Vendor: perfSONAR +Group: Unspecified + + diff --git a/pscheduler-minimal-marker/.gitattributes b/pscheduler-minimal-marker/.gitattributes new file mode 100644 index 0000000000..d4a8ae2751 --- /dev/null +++ b/pscheduler-minimal-marker/.gitattributes @@ -0,0 +1,2 @@ +# Ignore those files when creating a tarball with `git archive` +debian/ export-ignore diff --git a/pscheduler-minimal-marker/LICENSE b/pscheduler-minimal-marker/LICENSE new file mode 100644 index 0000000000..67db858821 --- /dev/null +++ b/pscheduler-minimal-marker/LICENSE @@ -0,0 +1,175 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. diff --git a/pscheduler-minimal-marker/Makefile b/pscheduler-minimal-marker/Makefile new file mode 100644 index 0000000000..586f8ad1b2 --- /dev/null +++ b/pscheduler-minimal-marker/Makefile @@ -0,0 +1,7 @@ +# +# Makefile for Any Package +# + +AUTO_TARBALL=1 + +include unibuild/unibuild.make diff --git a/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/changelog b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/changelog new file mode 100644 index 0000000000..f1cbda5259 --- /dev/null +++ b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/changelog @@ -0,0 +1,5 @@ +pscheduler-minimal-marker (5.2-1) perfsonar-minor-staging; urgency=low + + * Initial version + + -- Mark Feit Mon, 8 Jul 2024 16:11:34 -0500 diff --git a/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/compat b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/compat new file mode 100644 index 0000000000..f599e28b8a --- /dev/null +++ b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/compat @@ -0,0 +1 @@ +10 diff --git a/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/control b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/control new file mode 100644 index 0000000000..4d6f5273b0 --- /dev/null +++ b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/control @@ -0,0 +1,14 @@ +Source: pscheduler-minimal-marker +Section: misc +Priority: optional +Maintainer: perfSONAR Developers +Build-Depends: debhelper (>= 10) +Standards-Version: 3.9.8 +Vcs-Git: git://github.com/perfsonar/pscheduler +Vcs-Browser: https://github.com/perfsonar/pscheduler + +Package: pscheduler-minimal-marker +Architecture: all +Depends: ${misc:Depends} +Description: Empty package used to mark the end of the pScheduler + minimal bundle diff --git a/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/copyright b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/copyright new file mode 100644 index 0000000000..2f3cea416c --- /dev/null +++ b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/copyright @@ -0,0 +1,23 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pscheduler-minimal-marker +Source: https://github.com/perfsonar/pscheduler + +Files: * +Copyright: 2017-2024 perfSONAR project +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/rules b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/rules new file mode 100755 index 0000000000..f3a57ade05 --- /dev/null +++ b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +%: + dh $@ diff --git a/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/source/format b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/source/format new file mode 100644 index 0000000000..163aaf8d82 --- /dev/null +++ b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/deb/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/rpm/pscheduler-minimal-marker.spec b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/rpm/pscheduler-minimal-marker.spec new file mode 100644 index 0000000000..8685b96766 --- /dev/null +++ b/pscheduler-minimal-marker/pscheduler-minimal-marker/unibuild-packaging/rpm/pscheduler-minimal-marker.spec @@ -0,0 +1,35 @@ +# +# RPM Spec for pScheduler Minimal Bundle Marker +# + +%define perfsonar_auto_version 5.2.0 +%define perfsonar_auto_relnum 0.a1.0 + +Name: pscheduler-minimal-marker +Version: %{perfsonar_auto_version} +Release: %{perfsonar_auto_relnum}%{?dist} + +Summary: Empty package marking the end of the pScheduler minimal bundle. +BuildArch: noarch +License: ASL 2.0 +Vendor: perfSONAR +Group: Unspecified + +Provides: %{name} = %{version}-%{release} + +%description +Empty package marking the end of the pScheduler minimal bundle. + +%define marker_dir %{_pscheduler_sysconfdir} +%define marker_file %{marker_dir}/.%{name} + +%build +mkdir -p "${RPM_BUILD_ROOT}/%{marker_dir}" +cat > "${RPM_BUILD_ROOT}/%{marker_file}" <