[packages/3proxy] Up to 0.9.6
arekm
arekm at pld-linux.org
Fri May 8 13:59:44 CEST 2026
commit 4f9de677c643b7f40d83957d53d576d9a2621c46
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri May 8 13:59:35 2026 +0200
Up to 0.9.6
3proxy-no-strip-install.patch | 13 +++++++++++++
3proxy.spec | 28 ++++++++++++++++++++++------
2 files changed, 35 insertions(+), 6 deletions(-)
---
diff --git a/3proxy.spec b/3proxy.spec
index 9a41c6f..ca8856a 100644
--- a/3proxy.spec
+++ b/3proxy.spec
@@ -4,15 +4,16 @@
Summary: 3APA3A 3proxy tiny proxy server
Summary(pl.UTF-8): Mały serwer proxy 3APA3A 3proxy
Name: 3proxy
-Version: 0.8.13
-Release: 2
+Version: 0.9.6
+Release: 1
License: BSD or Apache v2.0 or LGPL v2.1+
Group: Networking/Daemons
#Source0Download: https://github.com/z3APA3A/3proxy/releases/
Source0: https://github.com/z3APA3A/3proxy/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: d9420c56f05fb78bf9043dd8a30c6a1c
+# Source0-md5: de5acece4cbfc711dd15f76a00d01e74
URL: https://3proxy.ru/?l=EN
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Patch0: %{name}-no-strip-install.patch
%description
3APA3A 3proxy tiny proxy server.
@@ -22,6 +23,7 @@ Mały serwer proxy 3APA3A 3proxy.
%prep
%setup -q
+%patch -P0 -p1
%build
%{__make} -f Makefile.Linux \
@@ -43,34 +45,48 @@ rm -rf $RPM_BUILD_ROOT
%{__mv} $RPM_BUILD_ROOT%{_mandir}/man{3,5}
%{__mv} $RPM_BUILD_ROOT%{_mandir}/man5/3proxy.cfg.{3,5}
+# allow modifications
+chmod -R u+w $RPM_BUILD_ROOT
+
+# cleanup unpackaged
+rm -rf $RPM_BUILD_ROOT/usr/local
+rm -rf $RPM_BUILD_ROOT/var/log
+rm -rf $RPM_BUILD_ROOT/var/run
+rm -rf $RPM_BUILD_ROOT/etc/init.d
+rm -rf $RPM_BUILD_ROOT/usr/lib/systemd
+rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/3proxy/conf
+
+touch $RPM_BUILD_ROOT%{_sysconfdir}/3proxy/{bandlimiters,counters,passwd}
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README Release.notes authors copying doc/html
+%doc README authors copying doc/html
%lang(ru) %doc doc/ru
%dir %{_sysconfdir}/3proxy
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3proxy/3proxy.cfg
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3proxy/bandlimiters
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3proxy/counters
# FIXME: 3proxy specific user?
%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3proxy/passwd
%attr(755,root,root) %{_bindir}/3proxy
-%attr(755,root,root) %{_bindir}/dighosts
%attr(755,root,root) %{_bindir}/ftppr
%attr(755,root,root) %{_bindir}/mycrypt
%attr(755,root,root) %{_bindir}/pop3p
%attr(755,root,root) %{_bindir}/proxy
%attr(755,root,root) %{_bindir}/socks
%attr(755,root,root) %{_bindir}/tcppm
+%attr(755,root,root) %{_bindir}/tlspr
%attr(755,root,root) %{_bindir}/udppm
%{_mandir}/man5/3proxy.cfg.5*
%{_mandir}/man8/3proxy.8*
%{_mandir}/man8/ftppr.8*
-%{_mandir}/man8/icqpr.8*
%{_mandir}/man8/pop3p.8*
%{_mandir}/man8/proxy.8*
%{_mandir}/man8/smtpp.8*
%{_mandir}/man8/socks.8*
%{_mandir}/man8/tcppm.8*
+%{_mandir}/man8/tlspr.8*
%{_mandir}/man8/udppm.8*
diff --git a/3proxy-no-strip-install.patch b/3proxy-no-strip-install.patch
new file mode 100644
index 0000000..a8a68e3
--- /dev/null
+++ b/3proxy-no-strip-install.patch
@@ -0,0 +1,13 @@
+--- 3proxy-0.9.6/Makefile.Linux.orig 2026-04-11 00:00:00.000000000 +0000
++++ 3proxy-0.9.6/Makefile.Linux 2026-04-11 00:00:00.000000000 +0000
+@@ -97,8 +97,8 @@
+
+ install-bin:
+ $(INSTALL_BIN) -d $(BINDIR)
+- $(INSTALL_BIN) -s $(INSTALL_OBJS) $(BINDIR)
+- $(INSTALL_BIN) -s bin/*.ld.so $(CHROOTDIR)/libexec
++ $(INSTALL_BIN) $(INSTALL_OBJS) $(BINDIR)
++ $(INSTALL_BIN) bin/*.ld.so $(CHROOTDIR)/libexec
+
+ install-etc-dir:
+ $(INSTALL_BIN) -d $(ETCDIR)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/3proxy.git/commitdiff/4f9de677c643b7f40d83957d53d576d9a2621c46
More information about the pld-cvs-commit
mailing list