Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package darkhttpd for openSUSE:Factory 
checked in at 2025-08-04 15:25:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/darkhttpd (Old)
 and      /work/SRC/openSUSE:Factory/.darkhttpd.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "darkhttpd"

Mon Aug  4 15:25:53 2025 rev:5 rq:1297493 version:1.17

Changes:
--------
--- /work/SRC/openSUSE:Factory/darkhttpd/darkhttpd.changes      2024-02-29 
21:49:46.752713143 +0100
+++ /work/SRC/openSUSE:Factory/.darkhttpd.new.1085/darkhttpd.changes    
2025-08-04 15:27:00.903518717 +0200
@@ -1,0 +2,14 @@
+Tue Jul 29 17:00:38 UTC 2025 - Georg Pfuetzenreuter 
<mail+...@georg-pfuetzenreuter.net>
+
+- Version 1.17:
+  * Don't include ../ in the root directory list.
+  * Return a more accurate error when a directory open fails.
+  * Add mtime to directory listings and make it xbmc/kodi compatible.
+  * Add --single-file.
+  * Accept absolute-form URLs.
+  * Add --hide-dotfiles.
+- Switch source service from local to manual
+- Switch to macros for common directories
+- Refactor user/group handling to sysusers
+
+-------------------------------------------------------------------

Old:
----
  v1.16.tar.gz

New:
----
  v1.17.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ darkhttpd.spec ++++++
--- /var/tmp/diff_new_pack.ZER1rA/_old  2025-08-04 15:27:03.499627719 +0200
+++ /var/tmp/diff_new_pack.ZER1rA/_new  2025-08-04 15:27:03.499627719 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package darkhttpd
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,9 @@
 #
 
 
-%define pkg_home %{_localstatedir}/lib/%{name}
+%define pkg_home %{_sharedstatedir}/%{name}
 Name:           darkhttpd
-Version:        1.16
+Version:        1.17
 Release:        0
 Summary:        When you need a web server in a hurry
 License:        ISC
@@ -29,9 +29,11 @@
 Source2:        %{name}.service
 BuildRequires:  gcc
 BuildRequires:  make
+BuildRequires:  sysuser-tools
 Requires(post): %fillup_prereq
 Provides:       http_daemon
 Provides:       httpd
+%sysusers_requires
 
 %description
 Features:
@@ -70,20 +72,25 @@
 %prep
 %autosetup
 
+tee > %{name}.sysusers <<EOF
+u %{name} - '%{name} service user' %{pkg_home}
+EOF
+
 %build
 export CFLAGS="%{optflags}"
 %make_build
 
+%sysusers_generate_pre %{name}.sysusers %{name} system-user-%{name}.conf
+
 %install
 install -D -m 0755 %{name} %{buildroot}/%{_bindir}/%{name}
 install -D -m 0644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.%{name}
-install -D -m 0644 %{SOURCE2} 
%{buildroot}%{_prefix}/lib/systemd/system/%{name}.service
+install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
+install -D -m 0644 %{name}.sysusers 
%{buildroot}%{_sysusersdir}/system-user-%{name}.conf
 mkdir -p %{buildroot}%{_sbindir}
 ln -s -f %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 
-%pre
-%{_sbindir}/groupadd -r %{name} >/dev/null 2>&1 ||:
-%{_sbindir}/useradd  -g %{name} -s %{_sbindir}/nologin -r -c "user for 
%{name}" -d %{pkg_home} %{name} >/dev/null 2>&1 ||:
+%pre -f %{name}.pre
 %service_add_pre %{name}.service
 
 %post
@@ -100,7 +107,8 @@
 %doc README.md
 %license COPYING
 %{_fillupdir}/sysconfig.%{name}
-%{_prefix}/lib/systemd/system/%{name}.service
+%{_sysusersdir}/system-user-%{name}.conf
+%{_unitdir}/%{name}.service
 %{_bindir}/%{name}
 %{_sbindir}/rcdarkhttpd
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.ZER1rA/_old  2025-08-04 15:27:03.535629230 +0200
+++ /var/tmp/diff_new_pack.ZER1rA/_new  2025-08-04 15:27:03.539629398 +0200
@@ -1,4 +1,4 @@
 <services>
-  <service name="download_files" mode="localonly" />
+  <service name="download_files" mode="manual" />
 </services>
 

++++++ v1.16.tar.gz -> v1.17.tar.gz ++++++
++++ 1649 lines of diff (skipped)

Reply via email to