mirror of
https://github.com/clearlinux/common.git
synced 2026-07-14 00:35:53 +00:00
Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1508582709 | |||
| fca82072fa | |||
| 7fb07fdb29 | |||
| 387cb23c79 | |||
| c63ed02014 | |||
| d0773602f5 | |||
| 7b2b947843 | |||
| e619aeeab5 | |||
| f041821042 | |||
| 04e79ac6f7 | |||
| 942c21283f | |||
| 0803beead9 | |||
| 8bf3888935 | |||
| 3f2c7de583 | |||
| 514048840f | |||
| 012a1a3767 | |||
| 0168eb6258 | |||
| 2212f350e9 | |||
| 75a06769ea | |||
| 797f6c050c | |||
| 3169a8db4c | |||
| c6e5d09862 | |||
| 76d551ae77 | |||
| 92202763aa | |||
| 3a666723c1 | |||
| ed7e63d752 |
+3
-1
@@ -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; \
|
||||||
|
|||||||
+3
-1
@@ -190,13 +190,15 @@ releases: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
|
|||||||
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; \
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ Pint
|
|||||||
PyDispatcher
|
PyDispatcher
|
||||||
PyJWT
|
PyJWT
|
||||||
PyMySQL
|
PyMySQL
|
||||||
|
PyNaCl
|
||||||
PyWavelets
|
PyWavelets
|
||||||
PyYAML
|
PyYAML
|
||||||
Pygments
|
Pygments
|
||||||
@@ -785,6 +786,9 @@ Theano
|
|||||||
Thunar
|
Thunar
|
||||||
UkPostcodeParser
|
UkPostcodeParser
|
||||||
Vertex-theme
|
Vertex-theme
|
||||||
|
Vulkan-Headers
|
||||||
|
Vulkan-Loader
|
||||||
|
Vulkan-Tools
|
||||||
WALinuxAgent
|
WALinuxAgent
|
||||||
WSGIProxy2
|
WSGIProxy2
|
||||||
WSME
|
WSME
|
||||||
@@ -1012,6 +1016,7 @@ cgdb
|
|||||||
cgit
|
cgit
|
||||||
chardet
|
chardet
|
||||||
check
|
check
|
||||||
|
check-manifest
|
||||||
cheese
|
cheese
|
||||||
cheroot
|
cheroot
|
||||||
chrome-gnome-shell
|
chrome-gnome-shell
|
||||||
@@ -1092,6 +1097,7 @@ commonmark
|
|||||||
compat-SDL2-soname1
|
compat-SDL2-soname1
|
||||||
compat-cryptsetup-soname4
|
compat-cryptsetup-soname4
|
||||||
compat-efivar-soname0
|
compat-efivar-soname0
|
||||||
|
compat-enchant-soname1
|
||||||
compat-fuse-soname2
|
compat-fuse-soname2
|
||||||
compat-gegl
|
compat-gegl
|
||||||
compat-gegl-0.3
|
compat-gegl-0.3
|
||||||
@@ -1102,10 +1108,12 @@ compat-hdf5-soname10
|
|||||||
compat-hyperscan-soname4
|
compat-hyperscan-soname4
|
||||||
compat-ipset-soname10
|
compat-ipset-soname10
|
||||||
compat-libical-soname2
|
compat-libical-soname2
|
||||||
|
compat-libidn-soname11
|
||||||
compat-libpng-soname12
|
compat-libpng-soname12
|
||||||
compat-libwebp-soname6
|
compat-libwebp-soname6
|
||||||
compat-llvm-soname4
|
compat-llvm-soname4
|
||||||
compat-llvm-soname5
|
compat-llvm-soname5
|
||||||
|
compat-llvm-soname6
|
||||||
compat-mpfr-soname4
|
compat-mpfr-soname4
|
||||||
compat-opencv-soname32
|
compat-opencv-soname32
|
||||||
compat-opencv-soname33
|
compat-opencv-soname33
|
||||||
@@ -1129,8 +1137,10 @@ cov-core
|
|||||||
coverage
|
coverage
|
||||||
cpio
|
cpio
|
||||||
cppcheck
|
cppcheck
|
||||||
|
cpprestsdk
|
||||||
cppunit
|
cppunit
|
||||||
cpuid
|
cpuid
|
||||||
|
cpuloadgen
|
||||||
cracklib
|
cracklib
|
||||||
crcmod
|
crcmod
|
||||||
createrepo_c
|
createrepo_c
|
||||||
@@ -1155,6 +1165,7 @@ cyrus-sasl
|
|||||||
dapl
|
dapl
|
||||||
darktable
|
darktable
|
||||||
dask
|
dask
|
||||||
|
datefudge
|
||||||
db
|
db
|
||||||
dbus
|
dbus
|
||||||
dbus-broker
|
dbus-broker
|
||||||
@@ -1190,6 +1201,7 @@ django-discover-runner
|
|||||||
django-nose
|
django-nose
|
||||||
django-pyscss
|
django-pyscss
|
||||||
django_compressor
|
django_compressor
|
||||||
|
dlt-daemon
|
||||||
dmenu
|
dmenu
|
||||||
dmidecode
|
dmidecode
|
||||||
dnf
|
dnf
|
||||||
@@ -1213,6 +1225,7 @@ dosfstools
|
|||||||
double-conversion
|
double-conversion
|
||||||
dovecot
|
dovecot
|
||||||
doxygen
|
doxygen
|
||||||
|
dpcontracts
|
||||||
dpdk
|
dpdk
|
||||||
dracut
|
dracut
|
||||||
dragon
|
dragon
|
||||||
@@ -1486,6 +1499,7 @@ help2man
|
|||||||
hexchat
|
hexchat
|
||||||
hgtools
|
hgtools
|
||||||
hicolor-icon-theme
|
hicolor-icon-theme
|
||||||
|
hold
|
||||||
home-assistant
|
home-assistant
|
||||||
horizon
|
horizon
|
||||||
hostname
|
hostname
|
||||||
@@ -1518,7 +1532,9 @@ icon-naming-utils
|
|||||||
icu4c
|
icu4c
|
||||||
idna
|
idna
|
||||||
idna-ssl
|
idna-ssl
|
||||||
|
ifaddr
|
||||||
iftop
|
iftop
|
||||||
|
ilmbase
|
||||||
imagesize
|
imagesize
|
||||||
imapfilter
|
imapfilter
|
||||||
imlib2
|
imlib2
|
||||||
@@ -1536,6 +1552,7 @@ ioping
|
|||||||
iotop
|
iotop
|
||||||
ipaddr
|
ipaddr
|
||||||
ipaddress
|
ipaddress
|
||||||
|
ipdb
|
||||||
iperf
|
iperf
|
||||||
ipmctl
|
ipmctl
|
||||||
ipmitool
|
ipmitool
|
||||||
@@ -1764,6 +1781,7 @@ kqtquickcharts
|
|||||||
krb5
|
krb5
|
||||||
krdc
|
krdc
|
||||||
kreversi
|
kreversi
|
||||||
|
krita
|
||||||
kross
|
kross
|
||||||
kruler
|
kruler
|
||||||
krunner
|
krunner
|
||||||
@@ -1912,10 +1930,12 @@ libgusb
|
|||||||
libgweather
|
libgweather
|
||||||
libical
|
libical
|
||||||
libidn
|
libidn
|
||||||
|
libidn2
|
||||||
libindicator
|
libindicator
|
||||||
libinput
|
libinput
|
||||||
libiscsi
|
libiscsi
|
||||||
libisofs
|
libisofs
|
||||||
|
libite
|
||||||
libjpeg-turbo
|
libjpeg-turbo
|
||||||
libjpeg-turbo-soname8
|
libjpeg-turbo-soname8
|
||||||
libkcddb
|
libkcddb
|
||||||
@@ -1991,6 +2011,7 @@ libsigc++
|
|||||||
libsmbios
|
libsmbios
|
||||||
libsmi
|
libsmi
|
||||||
libsndfile
|
libsndfile
|
||||||
|
libsodium
|
||||||
libsolv
|
libsolv
|
||||||
libsoup
|
libsoup
|
||||||
libspectre
|
libspectre
|
||||||
@@ -2005,6 +2026,7 @@ libtheora
|
|||||||
libtirpc
|
libtirpc
|
||||||
libtool
|
libtool
|
||||||
libudev0-shim
|
libudev0-shim
|
||||||
|
libuev
|
||||||
libunistring
|
libunistring
|
||||||
libunwind
|
libunwind
|
||||||
libusb
|
libusb
|
||||||
@@ -2067,6 +2089,7 @@ lksctp-tools
|
|||||||
llvm
|
llvm
|
||||||
llvmlite
|
llvmlite
|
||||||
lmdb
|
lmdb
|
||||||
|
locket
|
||||||
logilab-common
|
logilab-common
|
||||||
logrotate
|
logrotate
|
||||||
logutils
|
logutils
|
||||||
@@ -2124,6 +2147,7 @@ mistune
|
|||||||
mixer-tools
|
mixer-tools
|
||||||
mkfontdir
|
mkfontdir
|
||||||
mkfontscale
|
mkfontscale
|
||||||
|
mkl-dnn
|
||||||
mkosi
|
mkosi
|
||||||
mobile-broadband-provider-info
|
mobile-broadband-provider-info
|
||||||
mock
|
mock
|
||||||
@@ -2167,6 +2191,7 @@ mutt
|
|||||||
mutter
|
mutter
|
||||||
mypaint-brushes
|
mypaint-brushes
|
||||||
mypy
|
mypy
|
||||||
|
mypy_extensions
|
||||||
mythes
|
mythes
|
||||||
nagios-plugins
|
nagios-plugins
|
||||||
nano
|
nano
|
||||||
@@ -2220,8 +2245,10 @@ nrpe
|
|||||||
nspr
|
nspr
|
||||||
nss
|
nss
|
||||||
nss-altfiles
|
nss-altfiles
|
||||||
|
nss-pam-ldapd
|
||||||
ntfs-3g
|
ntfs-3g
|
||||||
ntlm-auth
|
ntlm-auth
|
||||||
|
ntp
|
||||||
ntplib
|
ntplib
|
||||||
numactl
|
numactl
|
||||||
numatop
|
numatop
|
||||||
@@ -2236,11 +2263,13 @@ ocaml
|
|||||||
ocl-icd
|
ocl-icd
|
||||||
octave
|
octave
|
||||||
offlineimap
|
offlineimap
|
||||||
|
oiio
|
||||||
okular
|
okular
|
||||||
olefile
|
olefile
|
||||||
onig
|
onig
|
||||||
onnx
|
onnx
|
||||||
opa-psm2
|
opa-psm2
|
||||||
|
opcodes
|
||||||
open-iscsi
|
open-iscsi
|
||||||
open-isns
|
open-isns
|
||||||
open-lldp
|
open-lldp
|
||||||
@@ -2250,6 +2279,7 @@ openal-soft
|
|||||||
openblas
|
openblas
|
||||||
openconnect
|
openconnect
|
||||||
opencv
|
opencv
|
||||||
|
openexr
|
||||||
openjade
|
openjade
|
||||||
openjdk
|
openjdk
|
||||||
openjdk9
|
openjdk9
|
||||||
@@ -2311,6 +2341,9 @@ p11-kit
|
|||||||
p7zip
|
p7zip
|
||||||
packaging
|
packaging
|
||||||
pacrunner
|
pacrunner
|
||||||
|
paho-mqtt
|
||||||
|
paho.mqtt.c
|
||||||
|
paho.mqtt.cpp
|
||||||
palapeli
|
palapeli
|
||||||
pandas
|
pandas
|
||||||
pandoc
|
pandoc
|
||||||
@@ -2323,6 +2356,7 @@ paramiko
|
|||||||
parley
|
parley
|
||||||
parsedatetime
|
parsedatetime
|
||||||
parso
|
parso
|
||||||
|
partd
|
||||||
parted
|
parted
|
||||||
passlib
|
passlib
|
||||||
patch
|
patch
|
||||||
@@ -2424,6 +2458,7 @@ perl-Clone-PP
|
|||||||
perl-Compress-Bzip2
|
perl-Compress-Bzip2
|
||||||
perl-Compress-Raw-Lzma
|
perl-Compress-Raw-Lzma
|
||||||
perl-Config-Any
|
perl-Config-Any
|
||||||
|
perl-Config-General
|
||||||
perl-Config-Grammar
|
perl-Config-Grammar
|
||||||
perl-Config-IniFiles
|
perl-Config-IniFiles
|
||||||
perl-Config-Std
|
perl-Config-Std
|
||||||
@@ -2734,6 +2769,7 @@ perl-Net-IDN-Encode
|
|||||||
perl-Net-INET6Glue
|
perl-Net-INET6Glue
|
||||||
perl-Net-Ident
|
perl-Net-Ident
|
||||||
perl-Net-MAC
|
perl-Net-MAC
|
||||||
|
perl-Net-MQTT
|
||||||
perl-Net-NTP
|
perl-Net-NTP
|
||||||
perl-Net-OpenID-Common
|
perl-Net-OpenID-Common
|
||||||
perl-Net-OpenID-Consumer
|
perl-Net-OpenID-Consumer
|
||||||
@@ -3085,11 +3121,11 @@ pyflakes
|
|||||||
pygobject
|
pygobject
|
||||||
pyinotify
|
pyinotify
|
||||||
pykerberos
|
pykerberos
|
||||||
|
pylama
|
||||||
pyliblzma
|
pyliblzma
|
||||||
pylint
|
pylint
|
||||||
pymemcache
|
pymemcache
|
||||||
pymongo
|
pymongo
|
||||||
pynacl
|
|
||||||
pypandoc
|
pypandoc
|
||||||
pyparsing
|
pyparsing
|
||||||
pyperclip
|
pyperclip
|
||||||
@@ -3097,6 +3133,7 @@ pypowervm
|
|||||||
pyquery
|
pyquery
|
||||||
pyreadline
|
pyreadline
|
||||||
pyrfc3339
|
pyrfc3339
|
||||||
|
pyroma
|
||||||
pyroute2
|
pyroute2
|
||||||
pyrsistent
|
pyrsistent
|
||||||
pysaml2
|
pysaml2
|
||||||
@@ -3106,6 +3143,7 @@ pysnmp
|
|||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-forked
|
pytest-forked
|
||||||
|
pytest-randomly
|
||||||
pytest-repeat
|
pytest-repeat
|
||||||
pytest-rerunfailures
|
pytest-rerunfailures
|
||||||
pytest-runner
|
pytest-runner
|
||||||
@@ -3119,12 +3157,14 @@ python-barbicanclient
|
|||||||
python-ceilometerclient
|
python-ceilometerclient
|
||||||
python-cinderclient
|
python-cinderclient
|
||||||
python-dateutil
|
python-dateutil
|
||||||
|
python-dateutil-legacypython
|
||||||
python-designateclient
|
python-designateclient
|
||||||
python-editor
|
python-editor
|
||||||
python-future
|
python-future
|
||||||
python-gflags
|
python-gflags
|
||||||
python-glanceclient
|
python-glanceclient
|
||||||
python-heatclient
|
python-heatclient
|
||||||
|
python-hwinfo
|
||||||
python-kconfiglib
|
python-kconfiglib
|
||||||
python-keystoneclient
|
python-keystoneclient
|
||||||
python-krbV
|
python-krbV
|
||||||
@@ -3157,6 +3197,7 @@ python-urwid
|
|||||||
python-zaqarclient
|
python-zaqarclient
|
||||||
python-zeep
|
python-zeep
|
||||||
python3
|
python3
|
||||||
|
pytools
|
||||||
pytz
|
pytz
|
||||||
pyudev
|
pyudev
|
||||||
pywbem
|
pywbem
|
||||||
@@ -3285,6 +3326,7 @@ sed
|
|||||||
selenium
|
selenium
|
||||||
semantic_version
|
semantic_version
|
||||||
serf
|
serf
|
||||||
|
serpent
|
||||||
setproctitle
|
setproctitle
|
||||||
setserial
|
setserial
|
||||||
setuptools
|
setuptools
|
||||||
@@ -3432,6 +3474,7 @@ tiptop
|
|||||||
tk
|
tk
|
||||||
tmux
|
tmux
|
||||||
tokyocabinet
|
tokyocabinet
|
||||||
|
toolz
|
||||||
tooz
|
tooz
|
||||||
tornado
|
tornado
|
||||||
totem
|
totem
|
||||||
@@ -3495,10 +3538,10 @@ voluptuous
|
|||||||
voluptuous-serialize
|
voluptuous-serialize
|
||||||
vsqlite
|
vsqlite
|
||||||
vte
|
vte
|
||||||
vulkan-sdk
|
|
||||||
waffle
|
waffle
|
||||||
waitress
|
waitress
|
||||||
warlock
|
warlock
|
||||||
|
watchdogd
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
wcwidth
|
wcwidth
|
||||||
|
|||||||
+12
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user