31 Commits

Author SHA256 Message Date
ff909a4271 - remove obsolete Group tags
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=70
2023-01-04 09:21:27 +00:00
9a3373b055 - remove obsolete suse_version conditionals
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=60
2023-01-04 09:05:00 +00:00
36f2aeb9df - use pkgconfig() in BuildRequires
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=59
2023-01-04 09:04:20 +00:00
1c2f87a5aa - link to shared libraries, liblzma provides no static lib anymore
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=58
2023-01-04 08:59:13 +00:00
7c905c1961 - set Release to zero
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=57
2023-01-04 08:34:02 +00:00
857fec9e5b - update URL to Source0
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=56
2023-01-04 08:32:27 +00:00
75ba940ff8 - remove obsolete libvirt_version macro
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=55
2023-01-04 08:31:22 +00:00
7a4ff2eed1 typo in changes
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=54
2023-01-04 08:30:47 +00:00
44eaba87cc - remove obsolte rpm statements
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=53
2023-01-04 08:29:02 +00:00
522b461dfe - rename so_version macro
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=52
2023-01-04 08:24:59 +00:00
e7cf8fb6ea - remove braces from rpmspec macros
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=51
2023-01-04 08:24:08 +00:00
45a956b611 - Fix GTK_DOC_CHECK bug with virt-sandbox.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=49
2022-04-13 09:44:27 +00:00
f5434ab781 Accepting request 898859 from home:wfrisch:branches:Virtualization
Link executables position-independent (bsc#1184124).
  + PIE.patch

OBS-URL: https://build.opensuse.org/request/show/898859
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=47
2021-06-16 16:47:28 +00:00
54506c5a9c Accepting request 674703 from home:jengelh:branches:Virtualization
- Remove redundant %clean section and action.
- Replace old $RPM_* shell vars.
- Rename %soname to %sover to better reflect its use.

OBS-URL: https://build.opensuse.org/request/show/674703
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=45
2019-03-05 08:56:10 +00:00
Larry Dewey
6c8b6967d9 Accepting request 673422 from home:ldewey:branches:Virtualization
- Updated to version 0.8.0:
  * Deleted the virt-sandbox-service tool as it is a failed
    experiment
  * Require libvirt-glib >= 0.2.2
  * Add af_packet kmod nedeed by dhcp clients
  * Add ext4 kmod needed by common filesystems
  * Add fscrypto kmod needed as a dep of other mods
  * Show dhcp client output in debug mode
  * Add /dev/fd symlink for /proc/self/fd
  * Sync and cleanly unmount filesystems during shutdown
  * Fix handling of strace debug option
  * Avoid exiting too early on shutdown so we see all debug
  * messages and cleanly sync/unmount
  * Allow setting custom env variables
  * Ensure static versions of zlib and lzma are checked for
  * Guest host image format from file extension if not given
  * Allow switching to a specific user ID
  * Improve docs on command line arg passing
  * Fix bogus lib listed in pkgconfig file
  * Fix misc goject introspection annotations
  * Improve error message for unsupported libvirt URIs
  * Search in $PATH for user specified binary
  * Use squash security mode for non-root QEMU sandbox mounts
  * Search for libtirpc standalone XDR library
  * Avoid triggering some new compiler warnings
- Removed now useless patches:
  * 15396686-avoid-setting-XDR_LIBS-to-none-required.patch
  * 35d13f92-python3.patch
  * 559b54d-load-ext4.patch
  * b9031e08-search-for-standalone-xdr-library.patch
  * dhcp-fix.patch
  * f24d003b-sync-unmount-shutdown.patch
  * no-libexec.patch

OBS-URL: https://build.opensuse.org/request/show/673422
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=39
2019-02-11 17:44:08 +00:00
Cédric Bosdonnat
41cc3fc53d Accepting request 585946 from home:cbosdonnat:branches:Virtualization
- Build with libtirpc (bsc#1084896)
  15396686-avoid-setting-XDR_LIBS-to-none-required.patch
  b9031e08-search-for-standalone-xdr-library.patch

OBS-URL: https://build.opensuse.org/request/show/585946
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=37
2018-03-12 14:30:47 +00:00
Cédric Bosdonnat
91181eb535 Accepting request 556524 from home:cbosdonnat:branches:Virtualization
- Rename upstreamed patch:
  python3.patch -> 35d13f92-python3.patch
- Don't unmount filesystem for container machines to avoid 'normal'
  unmount denial errors in stderr and audit.log. (bsc#1072402)
  no-unmount-for-lxc-machines.patch

OBS-URL: https://build.opensuse.org/request/show/556524
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=35
2017-12-12 15:58:17 +00:00
Cédric Bosdonnat
ea8dcd4876 Accepting request 548149 from home:cbosdonnat:branches:Virtualization
- Conversion to python 3 (fate#323526)
  python3.patch
- Enable LZMA support for recent distributions

OBS-URL: https://build.opensuse.org/request/show/548149
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=33
2017-12-04 15:36:00 +00:00
Cédric Bosdonnat
545cdc0187 - Add ext4 module to QEMU initrd to load ext* root images.
559b54d-load-ext4.patch. bsc#944325

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=31
2017-05-30 13:23:22 +00:00
Cédric Bosdonnat
22878e34bd Accepting request 331479 from home:cbosdonnat:branches:Virtualization
- Synchronize and unmount disks during shutdown. bsc#946040
  f24d003b-sync-unmount-shutdown.patch

OBS-URL: https://build.opensuse.org/request/show/331479
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=29
2015-09-16 11:53:50 +00:00
Cédric Bosdonnat
7032e8579a - Make sure the af_packet module is loaded for KVM sandbox with
user network setup to work. dhcp-fix.patch. boo#942733

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=26
2015-08-24 10:20:52 +00:00
Cédric Bosdonnat
bd89f14955 Accepting request 314866 from home:cbosdonnat:branches:Virtualization
- Updated to version 0.6.0:
  * Prevent use of virt-sandbox-service as non-root upfront
  * Fix misc memory leaks
  * Block SIGHUP from the dhclient binary to prevent accidental death if the controlling terminal is closed & reopened
  * Add support for re-creating libvirt XML from sandbox config to facilitate upgrades
  * Add ability to set filters on network interfaces
  * Search /usr/lib instead of /lib for systemd unit files, as the former is the canonical location even when / and /usr are merged
  * Only set SELinux labels on hosts that support SELinux
  * Explicitly link to selinux, instead of relying on indirect linkage
  * Update compiler warning flags
  * Fix misc docs comments
  * Don’t assume use of SELinux in virt-sandbox-service
  * Fix path checks for SUSE in virt-sandbox-service
  * Add support for AppArmour profiles
  * Mount /var after other FS to ensure host image is available
  * Ensure state/config dirs can be accessed when QEMU is running non-root for qemu:///system
  * Fix mounting of host images in QEMU sandboxes
  * Mount images as ext4 instead of ext3
  * Allow use of non-raw disk images as filesystem mounts
  * Check if required static libs are available at configure time to prevent silent fallback to shared linking
  * Require libvirt-glib >= 0.2.1
  * Add support for loading lzma and gzip compressed kmods
  * Check for support libvirt URIs when starting guests to ensure clear error message upfront
  * Add LIBVIRT_SANDBOX_INIT_DEBUG env variable to allow debugging of kernel boot messages and sandbox init process setup
  * Add support for exposing block devices to sandboxes with a predictable name under /dev/disk/by-tag/TAGNAME
  * Use devtmpfs instead of tmpfs for auto-populating /dev in QEMU sandboxes
  * Allow setup of sandbox with custom root filesystem instead of inheriting from host’s root. (boo#936841)
  * Allow execution of apps from non-matched ld-linux.so / libc.so, eg executing F19 binaries on F22 host
  * Use passthrough mode for all QEMU filesystems
- Removed now useless patches:

OBS-URL: https://build.opensuse.org/request/show/314866
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=24
2015-07-02 14:23:19 +00:00
Cédric Bosdonnat
6edd319ddb Accepting request 264648 from home:cbosdonnat:branches:Virtualization
- Add AppArmor support. bsc#909249.
  6ec0460c-apparmor-support.patch
  bsc#909249. 2053d552-service-mount-var-last.patch
- Renamed systemd-path-fix.patch into 92412e9c-systemd-path-fix.patch
  as patch went upstream

OBS-URL: https://build.opensuse.org/request/show/264648
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=22
2014-12-10 13:07:22 +00:00
Cédric Bosdonnat
5ce6603c57 Accepting request 264541 from home:cbosdonnat:branches:Virtualization
- Add AppArmor support. 6ec0460c-apparmor-support.patch
- virt-sandbox-service: /var needs to be the last to be mounted
  2053d552-service-mount-var-last.patch

- Run autoreconf before configure when building to avoid problems

OBS-URL: https://build.opensuse.org/request/show/264541
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=21
2014-12-09 14:20:35 +00:00
Cédric Bosdonnat
e41b4d29c6 - Run autoreconf before configure when building to avoid problems
with more recent versions of autotools

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=19
2014-10-01 15:00:47 +00:00
Cédric Bosdonnat
6e7fd653b3 Accepting request 241078 from home:cbosdonnat:branches:Virtualization
- bnc#887145: fix hardcoded /usr/libexec, use /usr/lib instead:
  no-libexec.patch
  Fixed systemd path: systemd-path-fix.patch
- Moved patches as they were merged upstream:
  * service-check-secmodel.patch renamed into 
    baf47f5b-service-check-secmodel.patch
  * service-suse-paths.patch renamed into
    a54e094b-service-suse-paths.patch

OBS-URL: https://build.opensuse.org/request/show/241078
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=16
2014-07-15 14:22:46 +00:00
Cédric Bosdonnat
c7b0cf7de5 Accepting request 239799 from home:cbosdonnat:branches:Virtualization
- bnc#885464: make virt-sandbox-service not check for dynamic security
  label if libvirt doesn't support selinux.
- Fixed a few paths problems in virt-sandbox-service
- added patches:
  * service-check-secmodel.patch
  * service-suse-paths.patch

OBS-URL: https://build.opensuse.org/request/show/239799
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=14
2014-07-07 13:48:17 +00:00
Cédric Bosdonnat
1dc06ac2c7 Accepting request 238635 from home:cbosdonnat:branches:Virtualization
- Renamed lib-prefix-fix.patch into 87a9b5cc-lib-prefix-fix.patch as
  the patch has been integrated upstream.
- Removed selinux-only-if-supported.patch and created
  945e8e71-selinux-only-if-supported.patch with the version of the
  patch that was integrated upstream.

OBS-URL: https://build.opensuse.org/request/show/238635
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=11
2014-06-25 13:26:03 +00:00
Cédric Bosdonnat
dd2a715efd Accepting request 236235 from home:cbosdonnat:branches:Virtualization
- selinux-only-if-supported.patch: only set the selinux security
  label if selinux is supported by the host. bnc#878048

OBS-URL: https://build.opensuse.org/request/show/236235
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=9
2014-06-04 14:53:08 +00:00
Cédric Bosdonnat
5c6c4c02d3 Accepting request 233684 from home:cbosdonnat:branches:Virtualization
- lib-prefix-fix.patch: don't look for unit files in /lib, but rather
  /usr/lib. bnc#875642

OBS-URL: https://build.opensuse.org/request/show/233684
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=7
2014-05-13 09:30:23 +00:00
Cédric Bosdonnat
c8a49cba66 Accepting request 212987 from home:cbosdonnat:branches:Virtualization
New package for libvirt-sandbox 0.5.1.
Renamed the package to virt-sandbox, factory auto-checks didn't like the previous name

OBS-URL: https://build.opensuse.org/request/show/212987
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-sandbox?expand=0&rev=1
2014-01-07 10:24:19 +00:00