Compare commits

...

59 Commits

Author SHA1 Message Date
clrbuilder fc9793ff4e Update packages file for version 25460
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-08 02:13:02 +00:00
clrbuilder 1508582709 Update packages file for version 25430
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-05 12:02:24 +00:00
clrbuilder fca82072fa Update packages file for version 25420
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-04 18:04:01 +00:00
clrbuilder 7fb07fdb29 Update packages file for version 25410
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-04 12:03:09 +00:00
Patrick McCarty 387cb23c79 Only add kvm group if needed
The user may have run the user-setup script previously, or they may
already belong to the 'kvm' group to begin with, so avoid running the
usermod command in these situations.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-10-03 16:28:44 -07:00
clrbuilder c63ed02014 Update packages file for version 25380
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-03 01:40:23 +00:00
clrbuilder d0773602f5 Update packages file for version 25360
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-02 00:47:15 +00:00
clrbuilder 7b2b947843 Update packages file for version 25340
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-01 16:18:23 +00:00
clrbuilder e619aeeab5 Update packages file for version 25330
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-29 00:43:51 +00:00
clrbuilder f041821042 Update packages file for version 25310
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-28 05:19:12 +00:00
clrbuilder 04e79ac6f7 Update packages file for version 25280
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-26 23:06:46 +00:00
clrbuilder 942c21283f Update packages file for version 25260
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-25 22:41:48 +00:00
clrbuilder 0803beead9 Update packages file for version 25240
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-25 22:10:02 +00:00
clrbuilder 8bf3888935 Update packages file for version 25220
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-25 21:12:26 +00:00
clrbuilder 3f2c7de583 Update packages file for version 25180
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-25 12:02:49 +00:00
clrbuilder 514048840f Update packages file for version 25160
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-24 02:55:14 +00:00
Patrick McCarty 012a1a3767 Support pre-checks for autospec and autospecnew too
For some commands, it is useful to be able to add custom prerequisites.
We already support this for `make koji` and `make build`, and there was
just a request to add it for `make autospec` and `make autospecnew`.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-09-21 12:12:23 -07:00
clrbuilder 0168eb6258 Update packages file for version 25150
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-21 18:31:40 +00:00
clrbuilder 2212f350e9 Update packages file for version 25140
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-21 12:02:20 +00:00
Patrick McCarty 75a06769ea Revert "Update packages file for version 24761"
Likely a test change that should not have been pushed to this repo.

This reverts commit 797f6c050c.
2018-09-20 23:21:09 -07:00
clrbuilder 797f6c050c Update packages file for version 24761
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-20 21:19:58 +00:00
clrbuilder 3169a8db4c Update packages file for version 25130
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-20 18:02:16 +00:00
clrbuilder c6e5d09862 Update packages file for version 25120
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-20 12:01:57 +00:00
clrbuilder 76d551ae77 Update packages file for version 25100
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-19 18:27:12 +00:00
clrbuilder 92202763aa Update packages file for version 25090
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-19 12:02:39 +00:00
clrbuilder 3a666723c1 Update packages file for version 25080
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-18 18:16:01 +00:00
clrbuilder ed7e63d752 Update packages file for version 25070
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-18 12:02:33 +00:00
clrbuilder bf6c49b8b9 Update packages file for version 25050
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-17 12:05:14 +00:00
clrbuilder cc0b7da35a Update packages file for version 25030
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-14 18:30:46 +00:00
clrbuilder 33febf4489 Update packages file for version 25020
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-14 12:02:36 +00:00
clrbuilder 52ab50a9c7 Update packages file for version 25010
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-13 19:45:38 +00:00
clrbuilder 70d40d9b59 Update packages file for version 24970
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-11 22:25:01 +00:00
clrbuilder 8b709c2e1b Update packages file for version 24960
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-11 12:02:50 +00:00
clrbuilder ea4e713277 Update packages file for version 24950
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-10 18:05:09 +00:00
clrbuilder ca817a8c5e Update packages file for version 24940
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-10 13:23:06 +00:00
clrbuilder db80ffd052 Update packages file for version 24930
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-08 16:01:57 +00:00
clrbuilder 54e7c47bd6 Update packages file for version 24920
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-07 19:38:38 +00:00
clrbuilder 60cb8aa36a Update packages file for version 24900
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-07 12:03:24 +00:00
clrbuilder 3a5c12aa29 Update packages file for version 24890
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-06 18:03:08 +00:00
clrbuilder 118120ca01 Update packages file for version 24880
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-06 12:02:33 +00:00
Thiago Macieira f59a650cf4 Also delete the rpms/ subdir when making proper
Autospec has begun putting the files there.

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
2018-09-05 16:29:59 -07:00
clrbuilder 1dae5422cc Update packages file for version 24870
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-05 18:03:47 +00:00
clrbuilder b4860a0d82 Update packages file for version 24860
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-05 08:48:46 +00:00
clrbuilder 4760d853bb Update packages file for version 24850
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-04 21:56:55 +00:00
clrbuilder 4331a0a193 Update packages file for version 24840
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-04 18:03:11 +00:00
clrbuilder ca68988393 Update packages file for version 24810
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-03 15:34:07 +00:00
clrbuilder 37879628f7 Update packages file for version 24800
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-03 12:20:03 +00:00
clrbuilder 7f158c6e91 Update packages file for version 24780
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-01 05:26:47 +00:00
clrbuilder 4b9b44feef Update packages file for version 24760
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-08-31 12:02:44 +00:00
clrbuilder 20e55005ac Update packages file for version 24750
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-08-30 18:02:42 +00:00
clrbuilder ceeee94f0c Update packages file for version 24740
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-08-30 12:02:35 +00:00
Patrick McCarty 852b6e83c9 Refresh SPDX license list to latest (version 3.2)
Make the SPDX puller code more robust by reading from JSON sources
rather than parsing HTML. Also, keep all deprecated license identifiers
for now, since they are still present in the spdx list.

Four identifiers were removed since the last refresh, but we are keeping
them for backwards compatibility. The removed license IDs now reside in
the licenses-extra file. At

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-08-29 17:19:34 -07:00
Patrick McCarty ae9f0610d6 Sort SPDX license list with LC_COLLATE=C
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-08-29 16:10:18 -07:00
Auke Kok fa65110479 Adding 2 new spdx identifiers 2018-08-29 14:28:31 -07:00
clrbuilder 4259e8dbf0 Update packages file for version 24730
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-08-29 18:02:48 +00:00
clrbuilder 56a38edc64 Update packages file for version 24720
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-08-29 12:05:15 +00:00
clrbuilder d5cdd5d1c5 Update packages file for version 24700
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-08-28 12:02:54 +00:00
Patrick McCarty 806a1f5593 Fix several commands to use PKGS_LOCAL
Several commands should be using PKGS_LOCAL, which is the list of all
package repos that are present on the system, since the user might not
have all repos from PKGS cloned.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-08-27 14:40:57 -07:00
Patrick McCarty b82d61d686 clean/proper: honor toplevel --jobs value
This fixes integration with the GNU Make jobserver such that the
-j/--jobs value passed to make is actually honored.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-08-27 14:28:58 -07:00
7 changed files with 400 additions and 115 deletions
+5 -1
View File
@@ -17,5 +17,9 @@ update:
curl -f -o packages ${BASE_URL}/source/package-sources curl -f -o packages ${BASE_URL}/source/package-sources
cut -f1 packages | LC_ALL=C sort > packages.new && mv packages.new packages cut -f1 packages | LC_ALL=C sort > packages.new && mv packages.new packages
.PHONY: spdx
spdx: spdx:
curl -s spdx.org/licenses/ | sed '0,/<tbody>/d;/<\/tbody>/q;s/<tr>/\f/g;s/$$/,/g;s/<[^>]*>//g' | awk 'BEGIN{RS="\f";FS=","} {print $$4}' | sed '/^$$/d;s/^[ ]*//' > spdx JSON=$$(mktemp); \
trap "rm $$JSON" EXIT; \
curl -f -S -s https://raw.githubusercontent.com/spdx/license-list-data/master/json/licenses.json > $$JSON || exit 1; \
jq -r '.licenses[] | .licenseId' < $$JSON | LC_COLLATE=C sort > licenses-spdx
+5 -3
View File
@@ -45,7 +45,7 @@ upstream:
#help or that it is in the exceptions list. #help or that it is in the exceptions list.
spdxcheck: $(SPECFILE) spdxcheck: $(SPECFILE)
@for LICENSE in `rpmspec -D '_vendor clr' --srpm -q --queryformat '%{LICENSE}\n' $(SPECFILE)`; do \ @for LICENSE in `rpmspec -D '_vendor clr' --srpm -q --queryformat '%{LICENSE}\n' $(SPECFILE)`; do \
if ! grep -q "^$$LICENSE$$" $(TOPLVL)/projects/common/licenses-spdx && ! grep -q "$$LICENSE$$" $(TOPLVL)/projects/common/licenses-exceptions; then FAIL=yes; echo "ERROR: License '$$LICENSE' is not an allowed SPDX license ID"; fi; \ if ! grep -qx "$$LICENSE" $(TOPLVL)/projects/common/licenses-{spdx,exceptions,extra}; then FAIL=yes; echo "ERROR: License '$$LICENSE' is not an allowed SPDX license ID"; fi; \
done; test -z "$$FAIL" done; test -z "$$FAIL"
#help cvecheck: Checks #help cvecheck: Checks
@@ -61,7 +61,7 @@ clean:
#help proper: Brings your copy of the package to a nearly clean git checkout state. #help proper: Brings your copy of the package to a nearly clean git checkout state.
proper: repodel proper: repodel
rm -rf results rm -rf results rpms
rm -f build.log.round* rm -f build.log.round*
rm -f mock_build.log mock_srpm.log $(__allsources) report.html rm -f mock_build.log mock_srpm.log $(__allsources) report.html
@@ -154,13 +154,15 @@ pullrebase:
fi \ fi \
fi fi
preautospec-checks:
#help autospec: automatically generates a specfile. If there is #help autospec: automatically generates a specfile. If there is
#help already a specfile, it will be overwritten. Several files used by #help already a specfile, it will be overwritten. Several files used by
#help autospec will be created in the process. #help autospec will be created in the process.
#help Use MOCK_OPTS environment varible to pass down arbitrary mock options #help Use MOCK_OPTS environment varible to pass down arbitrary mock options
#help to autospec. #help to autospec.
#help For more information, see the project at https://github.com/clearlinux/autospec #help For more information, see the project at https://github.com/clearlinux/autospec
autospec: pullrebase localreponotice clean-old-content autospec: preautospec-checks pullrebase localreponotice clean-old-content
@if [ -e $(SPECFILE) ] && ! grep -q "# Generated by: autospec.py" $(SPECFILE) ; then \ @if [ -e $(SPECFILE) ] && ! grep -q "# Generated by: autospec.py" $(SPECFILE) ; then \
echo "Specfile already exists and was not created by autospec.py! Aborting."; \ echo "Specfile already exists and was not created by autospec.py! Aborting."; \
exit 1; \ exit 1; \
+15 -13
View File
@@ -136,11 +136,11 @@ clean-pkgs-dir: $(PACKAGES_FILE)
done done
@echo "packages directory cleaned"; @echo "packages directory cleaned";
clean_PKGS = $(addprefix clean_,$(PKGS)) clean_PKGS = $(addprefix clean_,$(PKGS_LOCAL))
#help clean: Run 'make clean' for every package. #help clean: Run 'make clean' for every package.
clean: $(clean_PKGS) clean: $(clean_PKGS)
proper_PKGS = $(addprefix proper_,$(PKGS)) proper_PKGS = $(addprefix proper_,$(PKGS_LOCAL))
#help proper: Run 'make proper' for every package, and purge the local #help proper: Run 'make proper' for every package, and purge the local
#help repo and image. #help repo and image.
proper: $(proper_PKGS) proper: $(proper_PKGS)
@@ -154,34 +154,34 @@ proper: $(proper_PKGS)
$(clean_PKGS): $(clean_PKGS):
@echo "cleaning $(patsubst clean_%,%,$@)" @echo "cleaning $(patsubst clean_%,%,$@)"
-@$(MAKE) -s -j -C $(addprefix packages/,$(patsubst clean_%,%,$@)) clean -@$(MAKE) -s -C $(addprefix packages/,$(patsubst clean_%,%,$@)) clean
$(proper_PKGS): $(proper_PKGS):
-@$(MAKE) -s -j -C $(addprefix packages/,$(patsubst proper_%,%,$@)) proper -@$(MAKE) -s -C $(addprefix packages/,$(patsubst proper_%,%,$@)) proper
#help status: Runs git status for all package repos, thus displaying untracked #help status: Runs git status for all package repos, thus displaying untracked
#help and unstaged files in addition to staged files. #help and unstaged files in addition to staged files.
status: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS)) status: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
@for p in projects/common $(addprefix packages/,$(PKGS)); do \ @for p in projects/common $(addprefix packages/,$(PKGS_LOCAL)); do \
if [ -d "$$p/.git" ] && [ -n "$$(git -C $$p status -uno --porcelain)" ]; then echo "Uncommitted changes in $$p:"; git -C "$$p" status --short; fi ;\ if [ -d "$$p/.git" ] && [ -n "$$(git -C $$p status -uno --porcelain)" ]; then echo "Uncommitted changes in $$p:"; git -C "$$p" status --short; fi ;\
done done
#help diff: Runs git diff for all package repos and displays the output using #help diff: Runs git diff for all package repos and displays the output using
#help diffstat. Requires that diffstat is installed. #help diffstat. Requires that diffstat is installed.
diff: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS)) diff: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
@for p in projects/common $(addprefix packages/,$(PKGS)); do \ @for p in projects/common $(addprefix packages/,$(PKGS_LOCAL)); do \
(cd $$p ; git status | grep -q 'nothing to commit, working [^ ]* clean' || (echo "Uncommitted changes in: $$p"; git diff |diffstat -p1)) ;\ (cd $$p ; git status | grep -q 'nothing to commit, working [^ ]* clean' || (echo "Uncommitted changes in: $$p"; git diff |diffstat -p1)) ;\
done done
#help versions: Displays the version of each package in the ./packages tree. #help versions: Displays the version of each package in the ./packages tree.
versions: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS)) versions: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
@for p in $(addprefix packages/,$(PKGS)); do \ @for p in $(addprefix packages/,$(PKGS_LOCAL)); do \
(cd $$p; if ls *.spec &> /dev/null; then rpmspec -q --queryformat '%{NAME}-%{VERSION}\n' *.spec | head -n1; fi) ;\ (cd $$p; if ls *.spec &> /dev/null; then rpmspec -q --queryformat '%{NAME}-%{VERSION}\n' *.spec | head -n1; fi) ;\
done done
#help releases: Like 'make versions', but also displays the release number. #help releases: Like 'make versions', but also displays the release number.
releases: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS)) releases: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
@for p in $(addprefix packages/,$(PKGS)); do \ @for p in $(addprefix packages/,$(PKGS_LOCAL)); do \
(cd $$p; if ls *.spec &> /dev/null; then rpmspec -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}\n' *.spec | head -n1; fi) ;\ (cd $$p; if ls *.spec &> /dev/null; then rpmspec -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}\n' *.spec | head -n1; fi) ;\
done done
@@ -190,13 +190,15 @@ releases: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS))
provides: provides:
@$(TOPLVL)/projects/common/provides.sh -f $(FP) -r $(RN) @$(TOPLVL)/projects/common/provides.sh -f $(FP) -r $(RN)
preautospecnew-checks:
#help autospecnew: Creates a new autospec package with for a given URL=$(URL) #help autospecnew: Creates a new autospec package with for a given URL=$(URL)
#help with NAME=$(NAME). Several files used by autospec will be created in the #help with NAME=$(NAME). Several files used by autospec will be created in the
#help process. #help process.
#help Use MOCK_OPTS environment varible to pass down arbitrary mock options #help Use MOCK_OPTS environment varible to pass down arbitrary mock options
#help to autospec. #help to autospec.
#help For more information about autospec, see the project page on Github https://github.com/clearlinux/autospec #help For more information about autospec, see the project page on Github https://github.com/clearlinux/autospec
autospecnew: localreponotice autospecnew: preautospecnew-checks localreponotice
@if [ -z $(NAME) ] || [ -z $(URL) ]; then \ @if [ -z $(NAME) ] || [ -z $(URL) ]; then \
echo "Please specify NAME and URL. The ARCHIVES variable is optional."; \ echo "Please specify NAME and URL. The ARCHIVES variable is optional."; \
exit 1; \ exit 1; \
+7
View File
@@ -0,0 +1,7 @@
# This file contains SPDX license identifiers that are not defined in the
# latest version of SPDX but still needed (or possibly needed) for Clear Linux
# packages.
GFDL-1.3+
MIT-Opengroup
WXwindows
w3c
+150 -87
View File
@@ -1,56 +1,63 @@
0BSD
AAL AAL
Abstyles
Adobe-2006
Adobe-Glyph
ADSL ADSL
AFL-1.1 AFL-1.1
AFL-1.2 AFL-1.2
AFL-2.0 AFL-2.0
AFL-2.1 AFL-2.1
AFL-3.0 AFL-3.0
Afmparse
AGPL-1.0 AGPL-1.0
AGPL-1.0-only
AGPL-1.0-or-later
AGPL-3.0 AGPL-3.0
Aladdin AGPL-3.0-only
AGPL-3.0-or-later
AMDPLPA AMDPLPA
AML AML
AMPAS AMPAS
ANTLR-PD ANTLR-PD
Apache-1.0
Apache-1.1
Apache-2.0
APAFML APAFML
APL-1.0 APL-1.0
APSL-1.0 APSL-1.0
APSL-1.1 APSL-1.1
APSL-1.2 APSL-1.2
APSL-2.0 APSL-2.0
Abstyles
Adobe-2006
Adobe-Glyph
Afmparse
Aladdin
Apache-1.0
Apache-1.1
Apache-2.0
Artistic-1.0 Artistic-1.0
Artistic-1.0-cl8
Artistic-1.0-Perl Artistic-1.0-Perl
Artistic-1.0-cl8
Artistic-2.0 Artistic-2.0
BSD-1-Clause
BSD-2-Clause
BSD-2-Clause-FreeBSD
BSD-2-Clause-NetBSD
BSD-2-Clause-Patent
BSD-3-Clause
BSD-3-Clause-Attribution
BSD-3-Clause-Clear
BSD-3-Clause-LBNL
BSD-3-Clause-No-Nuclear-License
BSD-3-Clause-No-Nuclear-License-2014
BSD-3-Clause-No-Nuclear-Warranty
BSD-4-Clause
BSD-4-Clause-UC
BSD-Protection
BSD-Source-Code
BSL-1.0
Bahyph Bahyph
Barr Barr
Beerware Beerware
BitTorrent-1.0 BitTorrent-1.0
BitTorrent-1.1 BitTorrent-1.1
Borceux Borceux
BSD-2-Clause
BSD-2-Clause-FreeBSD
BSD-2-Clause-NetBSD
BSD-3-Clause
BSD-3-Clause-Attribution
BSD-3-Clause-Clear
BSD-3-Clause-LBNL
BSD-4-Clause
BSD-4-Clause-UC
BSD-Protection
BSL-1.0
bzip2-1.0.5
bzip2-1.0.6
Caldera
CATOSL-1.1 CATOSL-1.1
CC0-1.0
CC-BY-1.0 CC-BY-1.0
CC-BY-2.0 CC-BY-2.0
CC-BY-2.5 CC-BY-2.5
@@ -81,96 +88,117 @@ CC-BY-SA-2.0
CC-BY-SA-2.5 CC-BY-SA-2.5
CC-BY-SA-3.0 CC-BY-SA-3.0
CC-BY-SA-4.0 CC-BY-SA-4.0
CC0-1.0
CDDL-1.0 CDDL-1.0
CDDL-1.1 CDDL-1.1
CDLA-Permissive-1.0
CDLA-Sharing-1.0
CECILL-1.0 CECILL-1.0
CECILL-1.1 CECILL-1.1
CECILL-2.0 CECILL-2.0
CECILL-2.1
CECILL-B CECILL-B
CECILL-C CECILL-C
ClArtistic CNRI-Jython
CNRI-Python CNRI-Python
CNRI-Python-GPL-Compatible CNRI-Python-GPL-Compatible
Condor-1.1
CPAL-1.0 CPAL-1.0
CPL-1.0 CPL-1.0
CPOL-1.02 CPOL-1.02
Crossword
CUA-OPL-1.0 CUA-OPL-1.0
Caldera
ClArtistic
Condor-1.1
Crossword
CrystalStacker
Cube Cube
D-FSL-1.0 D-FSL-1.0
diffmark
DOC DOC
Dotseqn
DSDP DSDP
dvipdfm Dotseqn
ECL-1.0 ECL-1.0
ECL-2.0 ECL-2.0
eCos-2.0
EFL-1.0 EFL-1.0
EFL-2.0 EFL-2.0
eGenix
Entessa
EPL-1.0 EPL-1.0
ErlPL-1.1 EPL-2.0
EUDatagrid EUDatagrid
EUPL-1.0 EUPL-1.0
EUPL-1.1 EUPL-1.1
EUPL-1.2
Entessa
ErlPL-1.1
Eurosym Eurosym
Fair FSFAP
Frameworx-1.0
FreeImage
FSFUL FSFUL
FSFULLR FSFULLR
FTL FTL
Fair
Frameworx-1.0
FreeImage
GFDL-1.1 GFDL-1.1
GFDL-1.1-only
GFDL-1.1-or-later
GFDL-1.2 GFDL-1.2
GFDL-1.2-only
GFDL-1.2-or-later
GFDL-1.3 GFDL-1.3
GFDL-1.3+ GFDL-1.3-only
Giftware GFDL-1.3-or-later
GL2PS GL2PS
Glide
Glulxe
gnuplot
GPL-1.0 GPL-1.0
GPL-1.0+ GPL-1.0+
GPL-1.0-only
GPL-1.0-or-later
GPL-2.0 GPL-2.0
GPL-2.0+ GPL-2.0+
GPL-2.0-only
GPL-2.0-or-later
GPL-2.0-with-GCC-exception
GPL-2.0-with-autoconf-exception GPL-2.0-with-autoconf-exception
GPL-2.0-with-bison-exception GPL-2.0-with-bison-exception
GPL-2.0-with-classpath-exception GPL-2.0-with-classpath-exception
GPL-2.0-with-font-exception GPL-2.0-with-font-exception
GPL-2.0-with-GCC-exception
GPL-3.0 GPL-3.0
GPL-3.0+ GPL-3.0+
GPL-3.0-with-autoconf-exception GPL-3.0-only
GPL-3.0-or-later
GPL-3.0-with-GCC-exception GPL-3.0-with-GCC-exception
gSOAP-1.3b GPL-3.0-with-autoconf-exception
HaskellReport Giftware
Glide
Glulxe
HPND HPND
HaskellReport
IBM-pibs IBM-pibs
ICU ICU
IJG IJG
ImageMagick
iMatix
Imlib2
Intel
Intel-ACPI
IPA IPA
IPL-1.0 IPL-1.0
ISC ISC
JasPer-2.0 ImageMagick
Imlib2
Info-ZIP
Intel
Intel-ACPI
Interbase-1.0
JSON JSON
Latex2e JasPer-2.0
Leptonica LAL-1.2
LAL-1.3
LGPL-2.0 LGPL-2.0
LGPL-2.0+ LGPL-2.0+
LGPL-2.0-only
LGPL-2.0-or-later
LGPL-2.1 LGPL-2.1
LGPL-2.1+ LGPL-2.1+
LGPL-2.1-only
LGPL-2.1-or-later
LGPL-3.0 LGPL-3.0
LGPL-3.0+ LGPL-3.0+
Libpng LGPL-3.0-only
libtiff LGPL-3.0-or-later
LGPLLR
LPL-1.0 LPL-1.0
LPL-1.02 LPL-1.02
LPPL-1.0 LPPL-1.0
@@ -178,17 +206,20 @@ LPPL-1.1
LPPL-1.2 LPPL-1.2
LPPL-1.3a LPPL-1.3a
LPPL-1.3c LPPL-1.3c
MakeIndex Latex2e
MirOS Leptonica
LiLiQ-P-1.1
LiLiQ-R-1.1
LiLiQ-Rplus-1.1
Libpng
Linux-OpenIB
MIT MIT
MIT-advertising MIT-0
MIT-CMU MIT-CMU
MIT-advertising
MIT-enna MIT-enna
MIT-feh MIT-feh
MIT-Opengroup
MITNFA MITNFA
Motosoto
mpich2
MPL-1.0 MPL-1.0
MPL-1.1 MPL-1.1
MPL-2.0 MPL-2.0
@@ -196,26 +227,33 @@ MPL-2.0-no-copyleft-exception
MS-PL MS-PL
MS-RL MS-RL
MTLL MTLL
MakeIndex
MirOS
Motosoto
Multics Multics
Mup Mup
NASA-1.3 NASA-1.3
Naumen
NBPL-1.0 NBPL-1.0
NCSA NCSA
NetCDF
Newsletr
NGPL NGPL
NLOD-1.0
NLPL NLPL
Nokia
NOSL NOSL
Noweb
NPL-1.0 NPL-1.0
NPL-1.1 NPL-1.1
NPOSL-3.0 NPOSL-3.0
NRL NRL
NTP NTP
Naumen
Net-SNMP
NetCDF
Newsletr
Nokia
Noweb
Nunit Nunit
OCCT-PL
OCLC-2.0 OCLC-2.0
ODC-By-1.0
ODbL-1.0 ODbL-1.0
OFL-1.0 OFL-1.0
OFL-1.1 OFL-1.1
@@ -237,77 +275,102 @@ OLDAP-2.6
OLDAP-2.7 OLDAP-2.7
OLDAP-2.8 OLDAP-2.8
OML OML
OpenSSL
OPL-1.0 OPL-1.0
OSET-PL-2.1
OSL-1.0 OSL-1.0
OSL-1.1 OSL-1.1
OSL-2.0 OSL-2.0
OSL-2.1 OSL-2.1
OSL-3.0 OSL-3.0
OpenSSL
PDDL-1.0 PDDL-1.0
PHP-3.0 PHP-3.0
PHP-3.01 PHP-3.01
Plexus Plexus
PostgreSQL PostgreSQL
psfrag
psutils
Python-2.0 Python-2.0
Qhull
QPL-1.0 QPL-1.0
Rdisc Qhull
RHeCos-1.1 RHeCos-1.1
RPL-1.1 RPL-1.1
RPL-1.5 RPL-1.5
RPSL-1.0 RPSL-1.0
RSA-MD
RSCPL RSCPL
Rdisc
Ruby Ruby
Saxpath
SAX-PD SAX-PD
SCEA SCEA
SGI-B-1.0 SGI-B-1.0
SGI-B-1.1 SGI-B-1.1
SGI-B-2.0 SGI-B-2.0
SimPL-2.0
SISSL SISSL
SISSL-1.2 SISSL-1.2
Sleepycat
SMLNJ SMLNJ
SMPPL
SNIA SNIA
SPL-1.0 SPL-1.0
SWL
Saxpath
Sendmail
SimPL-2.0
Sleepycat
Spencer-86
Spencer-94
Spencer-99
StandardML-NJ StandardML-NJ
SugarCRM-1.1.3 SugarCRM-1.1.3
SWL
TCL TCL
TCP-wrappers
TMate TMate
TORQUE-1.1 TORQUE-1.1
TOSL TOSL
TU-Berlin-1.0
TU-Berlin-2.0
UPL-1.0
Unicode-DFS-2015
Unicode-DFS-2016
Unicode-TOU Unicode-TOU
Unlicense Unlicense
Vim
VOSTROM VOSTROM
VSL-1.0 VSL-1.0
Vim
W3C W3C
W3C-19980720 W3C-19980720
W3C-20150513
WTFPL
Watcom-1.0 Watcom-1.0
Wsuipa Wsuipa
WTFPL
WXwindows
X11 X11
Xerox
XFree86-1.1 XFree86-1.1
xinetd
Xnet
xpp
XSkat XSkat
Xerox
Xnet
YPL-1.0 YPL-1.0
YPL-1.1 YPL-1.1
ZPL-1.1
ZPL-2.0
ZPL-2.1
Zed Zed
Zend-2.0 Zend-2.0
Zimbra-1.3 Zimbra-1.3
Zimbra-1.4 Zimbra-1.4
Zlib Zlib
bzip2-1.0.5
bzip2-1.0.6
curl
diffmark
dvipdfm
eCos-2.0
eGenix
gSOAP-1.3b
gnuplot
iMatix
libtiff
mpich2
psfrag
psutils
wxWindows
xinetd
xpp
zlib-acknowledgement zlib-acknowledgement
ZPL-1.1
ZPL-2.0
ZPL-2.1
w3c
+206 -8
View File
File diff suppressed because it is too large Load Diff
+12 -3
View File
@@ -6,6 +6,7 @@ SERVERCA=""
CLIENTCA="" CLIENTCA=""
WORKSPACE="clearlinux" WORKSPACE="clearlinux"
PACKAGE_REPOS= PACKAGE_REPOS=
NEEDS_KVM_GROUP=
help() { help() {
printf "%s\n" >&2 "Usage: $SCRIPT [options]" \ printf "%s\n" >&2 "Usage: $SCRIPT [options]" \
@@ -115,6 +116,10 @@ required_progs() {
required_progs required_progs
if ! groups | grep -qw kvm; then
NEEDS_KVM_GROUP=1
fi
echo "Initializing development workspace in \"$WORKSPACE\" . . ." echo "Initializing development workspace in \"$WORKSPACE\" . . ."
mkdir "$WORKSPACE" mkdir "$WORKSPACE"
@@ -146,8 +151,10 @@ if [ "$USE_KOJI" ]; then
fi fi
fi fi
echo "Adding user to kvm group . . ." if [ -n "$NEEDS_KVM_GROUP" ]; then
sudo usermod -a -G kvm $USER echo "Adding user to kvm group . . ."
sudo usermod -a -G kvm $USER
fi
echo "Cloning special project repositories . . ." echo "Cloning special project repositories . . ."
make ${JOBS_ARG} clone-projects make ${JOBS_ARG} clone-projects
@@ -179,7 +186,9 @@ if [ -z "$PACKAGE_REPOS" ]; then
echo "NOTE: To clone all package repos, run \"cd $WORKSPACE; make [-j NUM] clone-packages\"" echo "NOTE: To clone all package repos, run \"cd $WORKSPACE; make [-j NUM] clone-packages\""
echo "NOTE: To clone a single package repo with NAME, run \"cd $WORKSPACE; make clone_NAME\"" echo "NOTE: To clone a single package repo with NAME, run \"cd $WORKSPACE; make clone_NAME\""
fi fi
echo 'NOTE: logout and log back in to finalize the setup process' if [ -n "$NEEDS_KVM_GROUP" ]; then
echo 'NOTE: logout and log back in to finalize the setup process'
fi
# vi: ft=sh sw=2 et sts=2 # vi: ft=sh sw=2 et sts=2