Hello community, here is the log from the commit of package xmrig for openSUSE:Factory checked in at 2020-12-15 12:31:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xmrig (Old) and /work/SRC/openSUSE:Factory/.xmrig.new.2328 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xmrig" Tue Dec 15 12:31:17 2020 rev:2 rq:855806 version:6.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/xmrig/xmrig.changes 2020-12-11 20:17:06.772671905 +0100 +++ /work/SRC/openSUSE:Factory/.xmrig.new.2328/xmrig.changes 2020-12-15 12:33:13.484137620 +0100 @@ -1,0 +2,15 @@ +Mon Dec 14 08:56:14 UTC 2020 - Martin Pluskal <mplus...@suse.com> + +- Build only on supported architectures +- Install example scripts as doc +- Supress some warning +- Install config and systemd service from arch linux +- Switch to systemwide config json + +------------------------------------------------------------------- +Sat Dec 12 08:55:48 UTC 2020 - Emily Roberts <nopeinomi...@posteo.net> + +- Correct filename in OpenCL library loader with patch correct-opencl-file.patch +- Add recommended package libOpenCL1 for OpenCL support + +------------------------------------------------------------------- @@ -96,2 +111,2 @@ -- Added patch to remove forced donation feature -- Added patch to scan for configuration files at ~/.xmrig.json and ~/.config/xmrig.json for better ease of use. +- Added patch disable-forced-donation.patch to remove forced donation feature +- Added patch home-folder-config.patch to scan for configuration files at ~/.xmrig.json and ~/.config/xmrig.json for better ease of use. New: ---- correct-opencl-file.patch xmrig-user.conf xmrig.service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xmrig.spec ++++++ --- /var/tmp/diff_new_pack.RGI8P4/_old 2020-12-15 12:33:14.292138271 +0100 +++ /var/tmp/diff_new_pack.RGI8P4/_new 2020-12-15 12:33:14.292138271 +0100 @@ -23,8 +23,12 @@ License: GPL-3.0-only URL: https://xmrig.com/ Source0: %{name}-%{version}.tar.gz -#PATCH-FEATURE disable-forced-donation.patch nopeinomi...@posteo.net -- Removes forced donation to developers +Source1: xmrig.service +Source2: xmrig-user.conf +#PATCH-FEATURE-SUSE disable-forced-donation.patch nopeinomi...@posteo.net -- Removes forced donation to developers Patch0: disable-forced-donation.patch +#PATCH-FIX-SUSE correct-opencl-file.patch nopeinomi...@posteo.net -- Sets correct location/name for libOpenCL.so.1 used for OpenCL mode +Patch1: correct-opencl-file.patch BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ @@ -32,24 +36,36 @@ BuildRequires: libopenssl-devel BuildRequires: libuv-devel BuildRequires: make +BuildRequires: systemd-rpm-macros +BuildRequires: sysuser-tools +Recommends: libOpenCL1 +ExclusiveArch: aarch64 %{ix86} x86_64 +%sysusers_requires +%{?systemd_ordering} %description Open source CPU/GPU XMR cryptocurrency miner. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build -%cmake -DWITH_EMBEDDED_CONFIG=YES +%cmake -Wno-dev %cmake_build %install install -D -m 0755 build/xmrig %{buildroot}%{_bindir}/xmrig +install -D -m 0644 src/config.json %{buildroot}%{_sysconfdir}/xmrig/xmrig.conf +install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/xmrig@.service +install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/xmrig-user.conf %files -%doc README.md CHANGELOG.md +%doc README.md CHANGELOG.md scripts %license LICENSE +%dir %{_sysconfdir}/xmrig +%config %{_sysconfdir}/xmrig/xmrig.conf %{_bindir}/xmrig +%{_unitdir}/xmrig@.service +%{_sysusersdir}/%{name}-user.conf %changelog ++++++ correct-opencl-file.patch ++++++ diff -rub xmrig/src/backend/opencl/wrappers/OclLib.cpp xmrig-patched/src/backend/opencl/wrappers/OclLib.cpp --- xmrig/src/backend/opencl/wrappers/OclLib.cpp 2020-11-13 23:49:10.076418374 -0700 +++ xmrig-patched/src/backend/opencl/wrappers/OclLib.cpp 2020-12-12 01:19:37.878238031 -0700 @@ -266,7 +266,7 @@ # elif defined(_WIN32) return "OpenCL.dll"; # else - return "libOpenCL.so"; + return "libOpenCL.so.1"; # endif } ++++++ xmrig-user.conf ++++++ u xmrig - - - ++++++ xmrig.service ++++++ [Unit] Description=XMRig Daemon for %i After=network.target [Service] User=xmrig Group=xmrig Type=forking ExecStart=/usr/bin/xmrig -c %i.conf --background --syslog WorkingDirectory=/etc/xmrig Restart=on-failure RestartSec=20s StartLimitInterval=30min StartLimitBurst=30 [Install] WantedBy=multi-user.target _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org