Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:uibmz:opsi:4.3:development
opsi-utils
opsi-utils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opsi-utils.spec of Package opsi-utils
%global __os_install_post %{nil} Summary: Utilities for working with opsi Name: opsi-utils Version: 4.3.11.0 Release: 1 Group: Productivity/Networking/opsi License: AGPL-3.0 URL: https://www.opsi.org Vendor: uib GmbH <info@uib.de> Packager: uib GmbH <info@uib.de> Source: opsi-utils_4.3.11.0-1.tar.gz BuildRoot: %{_tmppath}/opsi-utils-4.3.11.0-1-build Requires: pigz Requires: (librsync or librsync2 or librsync1) Requires: cpio Conflicts: opsi-server < 4.2 Conflicts: opsi-server-expert < 4.2 Conflicts: opsi-depotserver < 4.2 Conflicts: opsi4ucs < 4.2 AutoReqProv: no %description Utilities for working with opsi %global debug_package %{nil} %clean %prep %setup -n opsi-utils-4.3.11.0 %define _build_id_links none %build %install >INSTALLED_FILES if [ %{_arch} = 'x86_64' ]; then sys_arch="amd64" elif [ "%{_arch}" = "i386" ]; then sys_arch="i586" elif [ "%{_arch}" = "i386" ]; then sys_arch="i586" elif [ "%{_arch}" = "aarch64" ]; then sys_arch="arm64" elif [ "%{_arch}" = "noarch" ]; then sys_arch="all" fi for rootfs in rootfs rootfs-${sys_arch}; do if [ -d ${rootfs} ]; then find ${rootfs} -type d -print0 | while read -d $'\0' file; do dst=$(echo $file | sed s"#^${rootfs}##") [ "$dst" == "" ] && continue mkdir -p "${RPM_BUILD_ROOT}${dst}" [ "$dst" == "/usr/bin" -o "$dst" == "/usr/lib" ] && continue echo "%dir \"${dst}\"" >>INSTALLED_FILES done find ${rootfs} -not -type d -print0 | while read -d $'\0' file; do dst=$(echo $file | sed s"#^${rootfs}##") cp -a "$file" "${RPM_BUILD_ROOT}${dst}" if [[ $dst == /etc/logrotate.d/* ]]; then echo "%config \"${dst}\"" >>INSTALLED_FILES elif [[ $dst == /etc/* ]]; then echo "%config(noreplace) \"${dst}\"" >>INSTALLED_FILES else echo "\"${dst}\"" >>INSTALLED_FILES fi done fi done INSTALLED_FILES="$(echo $INSTALLED_FILES | tr " " "\n" | sort -u)" cat INSTALLED_FILES %files -f INSTALLED_FILES %defattr(-,root,root) %post dist=$(grep PRETTY_NAME /etc/os-release | cut -d'"' -f2) # Distribution specific workarounds if [[ "$dist" =~ "SUSE Linux Enterprise Server 15 SP1" ]]; then # /bin/sh: /usr/lib/opsi-utils/libreadline.so.7: no version information available (required by /bin/sh) cp /lib64/libreadline.so.7 /usr/lib/opsi-utils/libreadline.so.7 fi # Use pam_unix.so from system # Authentication failure (auth_type=auth-module)... # ARM64: ubuntu: /usr/lib/aarch64-linux-gnu, debian: /lib/aarch64-linux-gnu for libdir in /usr/lib/x86_64-linux-gnu /lib/x86_64-linux-gnu /lib64 /usr/lib/aarch64-linux-gnu /lib/aarch64-linux-gnu; do [ -e ${libdir}/libpam.so.0 ] && cp ${libdir}/libpam.so.0 /usr/lib/opsi-utils/libpam.so.0 done # Patch opsi-package-updater repo files [ -e /etc/opsi/package-updater.repos.d/uib-linux.repo ] && sed -i 's:opsi4.1/:opsi4.2/:g' /etc/opsi/package-updater.repos.d/uib-linux.repo [ -e /etc/opsi/package-updater.repos.d/uib-local_image.repo ] && sed -i 's:opsi4.1/:opsi4.2/:g' /etc/opsi/package-updater.repos.d/uib-local_image.repo [ -e /etc/opsi/package-updater.repos.d/uib-windows.repo ] && sed -i 's:opsi4.1/:opsi4.2/:g' /etc/opsi/package-updater.repos.d/uib-windows.repo [ -e /etc/opsi/package-updater.repos.d/testing.repo ] && sed -i 's:opsi4.1/:opsi4.2/:g' /etc/opsi/package-updater.repos.d/testing.repo [ -e /etc/opsi/package-updater.repos.d/experimental.repo ] && sed -i 's:opsi4.1/:opsi4.2/:g' /etc/opsi/package-updater.repos.d/experimental.repo %changelog * Wed Nov 27 2024 Jan Schneider <j.schneider@uib.de> 4.3.11.0-1 - Changed: Update opsi-cli to 4.3.12.2 * Thu Oct 31 2024 Jan Schneider <j.schneider@uib.de> 4.3.10.6-1 - Changed: Update python-opsi-common to 4.3.21.14 * Mon Oct 07 2024 Jan Schneider <j.schneider@uib.de> 4.3.10.5-1 - Changed: Update python-opsi-common * Mon Oct 07 2024 Jan Schneider <j.schneider@uib.de> 4.3.10.4-1 - Changed: Update python-opsi-common * Wed Oct 02 2024 Mathias Radtke <m.radtke@uib.de> 4.3.10.3-1 - Changed: No public changes * Wed Oct 02 2024 Jan Schneider <j.schneider@uib.de> 4.3.10.2-1 - Fixed: Fix client certificate authentication over HTTP proxy * Fri Sep 27 2024 Jan Schneider <j.schneider@uib.de> 4.3.10.1-1 - Changed: Update opsi-cli to 4.3.11.1 * Fri Sep 27 2024 Jan Schneider <j.schneider@uib.de> 4.3.10.0-1 - Changed: Update opsi-cli to 4.3.11.0 * Thu Sep 12 2024 doerrer <n.doerrer@uib.de> 4.3.9.1-1 - Fixed: fixed handling of backslashes in usernames, updated opsi-cli to 4.3.10.1 - Changed: Update opsi-cli to 4.3.10.1 - Changed: removing feature of automatic dependency installation in opsi-package-updater * Tue Sep 10 2024 Jan Schneider <j.schneider@uib.de> 4.3.9.0-1 - Changed: Update opsi-cli to 4.3.10.0 * Sun Sep 08 2024 Jan Schneider <j.schneider@uib.de> 4.3.8.3-1 - Changed: Use the service.url from the opsi.conf - Changed: Update python-opsi-common to 4.3.19.4 * Fri Sep 06 2024 Jan Schneider <j.schneider@uib.de> 4.3.8.1-1 - Changed: No public changes * Fri Sep 06 2024 Jan Schneider <j.schneider@uib.de> 4.3.8.0-1 - Changed: Rework service connection * Thu Sep 05 2024 Jan Schneider <j.schneider@uib.de> 4.3.7.3-1 - Fixed: Fix opsi-package-manager --purge-client-properties * Wed Aug 28 2024 doerrer <n.doerrer@uib.de> 4.3.7.2-1 - Changed: updated opsi-cli to 4.3.9.2 * Fri Aug 16 2024 doerrer <n.doerrer@uib.de> 4.3.7.1-1 - Changed: updated opsi-cli to 4.3.9.1 (fixed plugin issue, added python command, added package command) * Thu Aug 15 2024 Jan Schneider <j.schneider@uib.de> 4.3.6.3-1 - Changed: Remove obsolete product cache invalidation * Tue Jul 16 2024 Jan Schneider <j.schneider@uib.de> 4.3.6.2-1 - Changed: Update python packages * Fri Jul 05 2024 Jan Schneider <j.schneider@uib.de> 4.3.6.1-1 - Changed: New opsi logo in opsi-admin * Wed Jul 03 2024 Jan Schneider <j.schneider@uib.de> 4.3.6.0-1 - Changed: Update python packages - Fixed: Unify filters for list and update * Fri Jun 28 2024 Jan Schneider <j.schneider@uib.de> 4.3.5.1-1 - Changed: Update python-opsi-common to 4.3.16.1 - Changed: Update opsi-cli to 4.3.7.0 - Changed: Update opsi-cli to 4.3.6.1 - Changed: Update python-opsi-common to 4.3.16.0 * Tue Jun 25 2024 Jan Schneider <j.schneider@uib.de> 4.3.5.0-1 - Changed: Update opsi-cli to 4.3.6.0 * Thu May 16 2024 Jan Schneider <j.schneider@uib.de> 4.3.4.4-1 - Changed: Update python-opsi-common to 4.3.14.2 * Thu May 16 2024 Jan Schneider <j.schneider@uib.de> 4.3.4.3-1 - Changed: No public changes * Thu May 16 2024 Jan Schneider <j.schneider@uib.de> 4.3.4.2-1 - Changed: Update opsi-cli to 4.3.3.7 * Thu May 16 2024 Jan Schneider <j.schneider@uib.de> 4.3.4.1-1 - Changed: Update python-opsi-common - Changed: Update python packages * Mon Apr 29 2024 Jan Schneider <j.schneider@uib.de> 4.3.4.0-1 - Changed: Set opsi-package-updater default temp dir to /var/lib/opsi/tmp * Mon Apr 29 2024 Jan Schneider <j.schneider@uib.de> 4.3.3.14-1 - Changed: Update python packages * Thu Apr 18 2024 Jan Schneider <j.schneider@uib.de> 4.3.3.13-1 - Fixed: Fix handling of repository includes and excludes * Wed Apr 10 2024 Jan Schneider <j.schneider@uib.de> 4.3.3.12-1 - Changed: Update python-opsi-common to 4.3.10.4 * Wed Apr 10 2024 Jan Schneider <j.schneider@uib.de> 4.3.3.11-1 - Changed: Update python packages - Changed: Do not use delta upload for local depot * Wed Mar 20 2024 doerrer <n.doerrer@uib.de> 4.3.3.10-1 - Changed: updated opsi-cli to 4.3.2.0 - Fixed: Fixed autocompletion in interactive opsi-admin * Mon Mar 18 2024 Jan Schneider <j.schneider@uib.de> 4.3.3.9-1 - Changed: Update python packages * Tue Mar 12 2024 doerrer <n.doerrer@uib.de> 4.3.3.8-1 - Fixed: Fixed opsi-makepackage with explicit version given * Fri Mar 08 2024 Jan Schneider <j.schneider@uib.de> 4.3.3.7-1 - Changed: Update python-opsi-common to 4.3.7.4 * Thu Mar 07 2024 Jan Schneider <j.schneider@uib.de> 4.3.3.6-1 - Changed: Update python packages - Fixed: Fix opsi-package-manager logging * Tue Mar 05 2024 doerrer <n.doerrer@uib.de> 4.3.3.5-1 - Changed: updated opsi-cli to 4.3.1.2 * Tue Mar 05 2024 Jan Schneider <j.schneider@uib.de> 4.3.3.4-1 - Changed: Update python packages * Mon Mar 04 2024 Jan Schneider <j.schneider@uib.de> 4.3.3.3-1 - Changed: No public changes * Mon Mar 04 2024 Jan Schneider <j.schneider@uib.de> 4.3.3.2-1 - Changed: No public changes * Fri Mar 01 2024 Jan Schneider <j.schneider@uib.de> 4.3.3.1-1 - Changed: No public changes * Fri Mar 01 2024 Jan Schneider <j.schneider@uib.de> 4.3.3.0-1 - Changed: Update python packages * Tue Feb 27 2024 Jan Schneider <j.schneider@uib.de> 4.3.2.10-1 - Changed: Update python packages * Fri Feb 16 2024 Jan Schneider <j.schneider@uib.de> 4.3.2.9-1 - Changed: Update python packages * Wed Jan 24 2024 Jan Schneider <j.schneider@uib.de> 4.3.2.8-1 - Changed: Update python packages * Wed Jan 24 2024 Jan Schneider <j.schneider@uib.de> 4.3.2.7-1 - Changed: Do not show deprecation warnings * Tue Jan 23 2024 doerrer <n.doerrer@uib.de> 4.3.2.6-1 - Changed: introduced use of sync slots * Mon Jan 15 2024 Jan Schneider <j.schneider@uib.de> 4.3.2.5-1 - Fixed: Fix create new version of package if package already exists * Tue Jan 09 2024 Jan Schneider <j.schneider@uib.de> 4.3.2.4-1 - Changed: Allow --compression=bzip2 and --compression=gzip * Tue Jan 09 2024 doerrer <n.doerrer@uib.de> 4.3.2.3-1 - Changed: updated opsi-cli to 4.3.0.3 * Thu Dec 21 2023 doerrer <n.doerrer@uib.de> 4.3.2.2-1 - Changed: No public changes * Thu Dec 21 2023 Jan Schneider <j.schneider@uib.de> 4.3.2.1-1 - Fixed: Fix opsipackagemanager -p ask * Tue Dec 12 2023 Jan Schneider <j.schneider@uib.de> 4.3.2.0-1 - Added: Add purge command to opsi-package-manager * Thu Dec 07 2023 doerrer <n.doerrer@uib.de> 4.3.1.3-1 - Fixed: using fallback '0' if maxBandwidth is not set for a depot * Wed Dec 06 2023 doerrer <n.doerrer@uib.de> 4.3.1.2-1 - Changed: updated opsi-cli to 4.3.0.0 * Thu Nov 30 2023 Fabian Kalweit <f.kalweit@uib.de> 4.3.1.1-1 - Changed: update python-opsi / python-opsi-common * Mon Nov 13 2023 doerrer <n.doerrer@uib.de> 4.3.1.0-1 - Changed: updated opsi-cli to 4.2.0.17 * Fri Sep 29 2023 doerrer <n.doerrer@uib.de> 4.3.0.51-1 - Changed: No public changes * Fri Sep 29 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.50-1 - Fixed: Fix uib-macos.repo file * Tue Sep 19 2023 doerrer <n.doerrer@uib.de> 4.3.0.49-1 - Changed: updated python packages, allowing lists of urls in url parameter of package meta (opsi-package-updater) * Mon Sep 04 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.48-1 - Changed: Update python packages * Wed Aug 30 2023 doerrer <n.doerrer@uib.de> 4.3.0.47-1 - Changed: updated opsi-cli to 4.2.0.13 * Thu Aug 24 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.46-1 - Changed: Update package-updater repos * Wed Aug 23 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.45-1 - Changed: Update python packages * Mon Aug 21 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.44-1 - Changed: Update python packages - Changed: Use translations from transifex * Thu Jul 27 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.43-1 - Changed: Update python-opsi-common to 4.3.0.69 * Thu Jul 27 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.42-1 - Changed: Update python packages * Tue Jul 25 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.41-1 - Changed: Update opsi-cli to 4.2.0.12 * Fri Jul 21 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.40-1 - Changed: Update python packages * Mon Jul 17 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.39-1 - Changed: Update opsi-cli - Changed: Update python-opsi-common to 4.3.0.63 - Changed: Update python-opsi-common to 4.3.0.62 - Added: Abort zsync in slow environments - Changed: Update python packages * Mon Jul 03 2023 doerrer <n.doerrer@uib.de> 4.3.0.38-1 - Changed: incremented version to 4.3.0.38, updated python-packages (opsicommon.packaging fix in control.toml handling) * Fri Jun 30 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.37-1 - Changed: Update python-opsi-common to 4.3.0.54 - Changed: Update python packages * Tue Jun 27 2023 doerrer <n.doerrer@uib.de> 4.3.0.36-1 - Changed: changed repo file patching behaviour - also correcting previous patch * Fri Jun 23 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.35-1 - Changed: Update python packages - Changed: Build with OpenSSL 3.1 * Thu Jun 22 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.34-1 - Changed: Update python packages * Wed Jun 21 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.33-1 - Changed: Update python packages - Changed: Remove dependency to zsync-curl * Mon Jun 19 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.32-1 - Changed: Updating pyzsync (0.9.1 -> 0.9.2) * Fri Jun 16 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.31-1 - Fixed: Fix opsi-package-updater list --product-differences * Fri Jun 16 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.30-1 - Changed: Updating pyzsync (0.9.0 -> 0.9.1) * Fri Jun 16 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.29-1 - Fixed: Fix opsi-package-updater on depotserver * Thu Jun 15 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.28-1 - Changed: Update pyzsync to 0.9.0 * Wed Jun 14 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.27-1 - Changed: Upgrade to pyzsync 0.8 - Changed: Update python packages - Changed: Check if Accept-Ranges is bytes * Tue Jun 13 2023 doerrer <n.doerrer@uib.de> 4.3.0.26-1 - Changed: No public changes * Fri Jun 02 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.25-1 - Changed: Update python packages * Thu Jun 01 2023 doerrer <n.doerrer@uib.de> 4.3.0.24-1 - Added: patching uib .repo files to point to 4.3 repositories - Changed: Update python packages - Changed: Update Python packages * Wed May 24 2023 doerrer <n.doerrer@uib.de> 4.3.0.23-1 - Fixed: fixed getRepository to get repositoryRemoteUrl from Host object - Changed: Update python packages - Changed: Exit interactive task setPcpatchPassword with CTRL-C - Changed: updated opsi-cli to 4.2.0.7 * Tue May 16 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.22-1 - Changed: Update python packages - Fixed: fixed newlines in opsi-package-manager --extract, removed unused code * Wed Apr 26 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.20-1 - Changed: Update python packages * Tue Apr 25 2023 doerrer <n.doerrer@uib.de> 4.3.0.19-1 - Changed: updated python-opsi-common to 4.3.0.42, more robust file handling in opsi-makepackage * Mon Apr 17 2023 doerrer <n.doerrer@uib.de> 4.3.0.18-1 - Changed: Fixed set_rights calls in newprod and opsi-package-updater, added option --no-check-certificate for opsi-admin * Fri Apr 14 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.17-1 - Fixed: Fix opsi-makepackage file permissions * Fri Apr 14 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.16-1 - Changed: Update python packages - Fixed: Fix opsi-setup --set-rights * Wed Apr 12 2023 doerrer <n.doerrer@uib.de> 4.3.0.15-1 - Changed: incremented version to 4.3.0.15 fixed package dependency handling * Wed Apr 05 2023 doerrer <n.doerrer@uib.de> 4.3.0.14-1 - Changed: updated opsi-cli to 4.2.0.6 * Wed Mar 29 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.13-1 - Changed: No public changes * Tue Mar 28 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.12-1 - Changed: Update python packages * Fri Mar 24 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.11-1 - Fixed: Fix extract package - Changed: Update python-opsi-common * Fri Mar 24 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.10-1 - Changed: No public changes * Fri Mar 24 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.9-1 - Changed: Update python packages * Wed Mar 22 2023 Nils Doerrer <n.doerrer@uib.de> 4.3.0.8-1 - Changed: No public changes * Tue Mar 21 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.7-1 - Changed: Update python packages * Fri Mar 17 2023 doerrer <n.doerrer@uib.de> 4.3.0.6-1 - Changed: updated python-opsi-common to 4.2.0.22 (fix legacy control file handling), opsi-cli to 4.2.0.5 (new command support, performance improvements) * Mon Mar 13 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.5-1 - Changed: Update python packages - Changed: Run opsi-setup with sudo from opsi-set-rights * Thu Mar 09 2023 doerrer <n.doerrer@uib.de> 4.3.0.4-1 - Changed: updated python-opsi-common to 4.2.0.18 (fix for packaging with empty CLIENT_DATA) - Changed: opsi-newprod generates control files in toml format - Fixed: fixed behaviour for opsi-package-manager -i .. -S * Mon Feb 27 2023 doerrer <n.doerrer@uib.de> 4.3.0.3-1 - Fixed: fixed types in OpsiPackageUpdater md5- and zsync-creation * Tue Feb 21 2023 Jan Schneider <j.schneider@uib.de> 4.3.0.2-1 - Changed: No public changes * Tue Feb 14 2023 doerrer <n.doerrer@uib.de> 4.3.0.1-1 - Changed: updated opsi-cli to 4.2.0.3 - Changed: updated opsi-cli to 4.2.0.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor