[packages/socat] - fix shebangs
adwol
adwol at pld-linux.org
Sat Jan 25 22:59:38 CET 2025
commit cfbed6191ac8b105639a0bbdf23f99fd881a8001
Author: Adam Osuchowski <>
Date: Sat Jan 25 22:58:38 2025 +0100
- fix shebangs
socat-shebangs.patch | 27 +++++++++++++++++++++++++++
socat.spec | 2 ++
2 files changed, 29 insertions(+)
---
diff --git a/socat.spec b/socat.spec
index 2b980b3..a4efefe 100644
--- a/socat.spec
+++ b/socat.spec
@@ -10,6 +10,7 @@ Source0: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.bz2
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}.tmpfiles
+Patch0: %{name}-shebangs.patch
URL: http://www.dest-unreach.org/socat/
BuildRequires: gettext-tools
BuildRequires: libwrap-devel >= 7.6-30
@@ -53,6 +54,7 @@ połączeniami sieciowymi.
%prep
%setup -q
+%patch -P0 -p1
%{__sed} -i -e 's#-lssl#-lssl -lcrypto#g' configure*
diff --git a/socat-shebangs.patch b/socat-shebangs.patch
new file mode 100644
index 0000000..9bf2216
--- /dev/null
+++ b/socat-shebangs.patch
@@ -0,0 +1,27 @@
+diff -ruNp socat-1.8.0.2.orig/socat-broker.sh socat-1.8.0.2/socat-broker.sh
+--- socat-1.8.0.2.orig/socat-broker.sh 2024-08-24 18:06:11.000000000 +0200
++++ socat-1.8.0.2/socat-broker.sh 2025-01-25 22:24:33.059668415 +0100
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env bash
++#!/bin/bash
+ # Copyright Gerhard Rieger and contributors (see file CHANGES)
+ # Published under the GNU General Public License V.2, see file COPYING
+
+diff -ruNp socat-1.8.0.2.orig/socat-chain.sh socat-1.8.0.2/socat-chain.sh
+--- socat-1.8.0.2.orig/socat-chain.sh 2024-08-24 18:06:11.000000000 +0200
++++ socat-1.8.0.2/socat-chain.sh 2025-01-25 22:24:40.789787417 +0100
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env bash
++#!/bin/bash
+ # Copyright Gerhard Rieger and contributors (see file CHANGES)
+ # Published under the GNU General Public License V.2, see file COPYING
+
+diff -ruNp socat-1.8.0.2.orig/socat-mux.sh socat-1.8.0.2/socat-mux.sh
+--- socat-1.8.0.2.orig/socat-mux.sh 2024-08-24 18:06:11.000000000 +0200
++++ socat-1.8.0.2/socat-mux.sh 2025-01-25 22:24:26.416566146 +0100
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env bash
++#!/bin/bash
+ # Copyright Gerhard Rieger and contributors (see file CHANGES)
+ # Published under the GNU General Public License V.2, see file COPYING
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/socat.git/commitdiff/cfbed6191ac8b105639a0bbdf23f99fd881a8001
More information about the pld-cvs-commit
mailing list