public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/inn] epel10.3: Do not chown at install
@ 2026-08-26  8:53 Ondrej Vasik
  0 siblings, 0 replies; only message in thread
From: Ondrej Vasik @ 2026-08-26  8:53 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/inn
Branch : epel10.3
Commit : aab2c8516ea8d1800267883a7b91a4860298375b
Author : Ondrej Vasik <ovasik@fedoraproject.org>
Date   : 2009-06-10T14:13:51+00:00
Stats  : +21/-3 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/inn/c/aab2c8516ea8d1800267883a7b91a4860298375b?branch=epel10.3

Log:
Do not chown at install

---
diff --git a/inn-2.4.2-makedbz.patch b/inn-2.4.2-makedbz.patch
index b0bd23b..3808012 100644
--- a/inn-2.4.2-makedbz.patch
+++ b/inn-2.4.2-makedbz.patch
@@ -14,5 +14,5 @@ diff -urNp inn-2.4.4-orig/site/Makefile inn-2.4.4/site/Makefile
 +#	chmod $(FILEMODE) $@
 +#  test -z "$D" && $(PATHBIN)/makedbz -i -o
  
-  bootstrap:
+ bootstrap:
  

diff --git a/inn-2.5.0-chown.patch b/inn-2.5.0-chown.patch
new file mode 100644
index 0000000..9a10799
--- /dev/null
+++ b/inn-2.5.0-chown.patch
@@ -0,0 +1,16 @@
+diff -urNp inn-2.5.0-orig/site/Makefile inn-2.5.0/site/Makefile
+--- inn-2.5.0-orig/site/Makefile	2009-06-10 15:45:58.000000000 +0200
++++ inn-2.5.0/site/Makefile	2009-06-10 15:46:29.000000000 +0200
+@@ -140,9 +140,9 @@ $D$(PATH_ACTIVE): 	; $(CP_DATA) active.m
+ $D$(PATH_NEWSGROUPS):	; $(CP_DATA) newsgroups.minimal $@
+ $D$(PATH_ACTIVE_TIMES):
+ 	touch $@
+-	chown $(RUNASUSER) $@
+-	chgrp $(RUNASGROUP) $@
+-	chmod $(FILEMODE) $@
++#	chown $(RUNASUSER) $@
++#	chgrp $(RUNASGROUP) $@
++#	chmod $(FILEMODE) $@
+ $D$(PATH_HISTORY):
+ 	touch $@
+ #	chown $(RUNASUSER) $@

diff --git a/inn.spec b/inn.spec
index 246012b..ad6c2ac 100644
--- a/inn.spec
+++ b/inn.spec
@@ -22,6 +22,7 @@ Patch8: inn-2.4.2-makedbz.patch
 Patch10: inn-2.4.3-nologinshell.patch
 Patch11: inn-2.4.5-dynlib.patch
 Patch12: inn-sasl_encode64nullterm.patch
+Patch13: inn-2.5.0-chown.patch
 BuildRequires: perl-devel python db4-devel byacc krb5-devel pam-devel e2fsprogs-devel
 BuildRequires: perl(ExtUtils::Embed)
 Requires(pre): shadow-utils
@@ -91,6 +92,7 @@ exit 0
 %patch10 -p1 -b .nologin
 %patch11 -p1 -b .dynlib
 %patch12 -p1 -b .nullterm
+%patch13 -p1 -b .chown
 
 perl -pi -e 's/LOCK_READ/LLOCK_READ/' `find . -type f`
 perl -pi -e 's/LOCK_WRITE/LLOCK_WRITE/' `find . -type f`
@@ -130,11 +132,11 @@ make install DESTDIR=$RPM_BUILD_ROOT
 # -- Install man pages needed by suck et al.
 mkdir -p $RPM_BUILD_ROOT/usr/include/inn
 
-for f in clibrary.h config.h dbz.h libinn.h storage.h
+for f in clibrary.h config.h dbz.h
 do
     install -c -m 0644 ./include/$f $RPM_BUILD_ROOT/usr/include/inn
 done
-for f in defines.h system.h
+for f in defines.h system.h libinn.h storage.h
 do
     install -c -m 0644 ./include/inn/$f $RPM_BUILD_ROOT/usr/include/inn
 done

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26  8:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26  8:53 [rpms/inn] epel10.3: Do not chown at install Ondrej Vasik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox