Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb3e8f36d1 |
3 changed files with 24 additions and 4 deletions
11
irda-utils-0.9.18-run.patch
Normal file
11
irda-utils-0.9.18-run.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- irda-utils-0.9.18/irattach/irattach.c.orig 2021-05-17 01:58:48.781587723 +0300
|
||||
+++ irda-utils-0.9.18/irattach/irattach.c 2021-05-17 02:01:21.738344238 +0300
|
||||
@@ -68,7 +68,7 @@
|
||||
static int termvalid = -1; /* If termsave is valid */
|
||||
|
||||
/* Default path for pid file */
|
||||
-char *pidfile = "/var/run/irattach.pid";
|
||||
+char *pidfile = "/run/irattach.pid";
|
||||
|
||||
/* Used by ioctl to the tty to obtain the network device name */
|
||||
struct irtty_info {
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
Summary: Utilities for infrared communication between devices
|
||||
Name: irda-utils
|
||||
Version: 0.9.18
|
||||
Release: 38%{?dist}
|
||||
Release: 40%{?dist}
|
||||
Url: http://irda.sourceforge.net
|
||||
License: GPLv2+
|
||||
ExcludeArch: s390 s390x
|
||||
|
|
@ -19,6 +19,7 @@ Patch6: irda-utils-0.9.18-root.patch
|
|||
Patch7: irda-utils-0.9.18-man.patch
|
||||
Patch8: irda-utils-0.9.18-PIE.patch
|
||||
Patch9: irda-utils-0.9.18-no-inline.patch
|
||||
Patch10: irda-utils-0.9.18-run.patch
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glib2-devel, pciutils-devel
|
||||
BuildRequires: systemd-units
|
||||
|
|
@ -59,6 +60,7 @@ gunzip man/irnet.4.gz man/irda.7.gz
|
|||
gzip -9 man/irnet.4 man/irda.7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
|
||||
|
||||
%build
|
||||
|
|
@ -121,6 +123,13 @@ chmod -x etc/ifcfg-irlan0
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon May 17 2021 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.9.18-40
|
||||
- move /var/run to /run and fix systemd service file (#1960900)
|
||||
|
||||
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.9.18-39
|
||||
- Rebuilt for updated systemd-rpm-macros
|
||||
See https://pagure.io/fesco/issue/2583.
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.18-38
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ After=syslog.target
|
|||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/irattach.pid
|
||||
PIDFile=/run/irattach.pid
|
||||
EnvironmentFile=-/etc/sysconfig/irda
|
||||
ExecStartPre=-/sbin/modprobe -qab ircomm-tty irtty-sir irnet
|
||||
ExecStart=/usr/sbin/irattach ${DEVICE} ${OPTIONS}
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue