[packages/3proxy] Up to 1.0.4
arekm
arekm at pld-linux.org
Fri Nov 27 22:01:45 CET 2026
commit cb14ef38df347d56f4f84896d80f8e8d16cc9630
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 15:58:33 2026 +0100
Up to 1.0.4
Fixes GHSA-wf67-2m25-m769, GHSA-wxhx-r7mj-6crr, GHSA-8cqm-mqvg-99vq,
GHSA-5m7j-9866-hhq4, GHSA-4552-mpr7-xc26, GHSA-x43p-9ff4-9p33,
GHSA-9v9w-vx4c-7wfq, GHSA-4hjh-799h-mgqh, GHSA-m528-xhxv-r446,
GHSA-pw82-qqrx-wjcr.
Standalone binaries and man pages now carry upstream's 3proxy_ prefix
(mycrypt is 3proxy_crypt, add3proxyuser.sh is add3proxyuser).
Configuration lists moved to /etc/3proxy/conf.
3proxy.spec | 76 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 43 insertions(+), 33 deletions(-)
---
diff --git a/3proxy.spec b/3proxy.spec
index ae54a43..e9d39c6 100644
--- a/3proxy.spec
+++ b/3proxy.spec
@@ -4,16 +4,21 @@
Summary: 3APA3A 3proxy tiny proxy server
Summary(pl.UTF-8): Mały serwer proxy 3APA3A 3proxy
Name: 3proxy
-Version: 0.9.6
-Release: 2
+Version: 1.0.4
+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: de5acece4cbfc711dd15f76a00d01e74
+# Source0-md5: 058ac912b1a4fef36735e9e325413226
URL: https://3proxy.ru/?l=EN
-BuildRequires: cmake
+BuildRequires: cmake >= 3.16
+BuildRequires: openssl-devel
+BuildRequires: pam-devel
+BuildRequires: pcre2-8-devel
+BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 2.011
+BuildRequires: systemd-devel
Requires(post,preun,postun): systemd-units >= 1:250.1
Requires: systemd-units >= 1:250.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,7 +37,18 @@ Mały serwer proxy 3APA3A 3proxy.
%build
mkdir -p build
cd build
-%cmake ..
+%cmake .. \
+ -D3PROXY_USE_WOLFSSL=OFF \
+ -D3PROXY_USE_OPENSSL=ON \
+ -D3PROXY_USE_PCRE2=ON \
+ -D3PROXY_USE_PAM=ON \
+ -D3PROXY_USE_ODBC=OFF \
+ -D3PROXY_USE_MAILPROXY=ON \
+ -D3PROXY_USE_FTP=ON \
+ -D3PROXY_BUILD_POP3P=ON \
+ -D3PROXY_BUILD_IMAPP=ON \
+ -D3PROXY_BUILD_SMTPP=ON \
+ -D3PROXY_BUILD_FTPPR=ON
%{__make}
%install
@@ -41,11 +57,8 @@ rm -rf $RPM_BUILD_ROOT
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
-# fix page
-%{__mv} $RPM_BUILD_ROOT%{_mandir}/man{3,5}
-%{__mv} $RPM_BUILD_ROOT%{_mandir}/man5/3proxy.cfg.{3,5}
-
-touch $RPM_BUILD_ROOT%{_sysconfdir}/3proxy/{bandlimiters,counters,passwd}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/3proxy/conf
+touch $RPM_BUILD_ROOT%{_sysconfdir}/3proxy/conf/{bandlimiters,counters,passwd}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -61,34 +74,31 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README authors copying doc/html
+%doc README.md authors copying doc/html
%lang(ru) %doc doc/ru
%dir %{_sysconfdir}/3proxy
+%dir %{_sysconfdir}/3proxy/conf
%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
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3proxy/conf/bandlimiters
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3proxy/conf/counters
# FIXME: 3proxy specific user?
-%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3proxy/passwd
+%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3proxy/conf/passwd
%{systemdunitdir}/3proxy.service
-%{systemdtmpfilesdir}/3proxy.conf
-%attr(755,root,root) %{_bindir}/add3proxyuser.sh
%attr(755,root,root) %{_bindir}/3proxy
-%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}/smtpp
-%attr(755,root,root) %{_bindir}/socks
-%attr(755,root,root) %{_bindir}/tcppm
-%attr(755,root,root) %{_bindir}/tlspr
-%attr(755,root,root) %{_bindir}/udppm
+%attr(755,root,root) %{_bindir}/3proxy_crypt
+%attr(755,root,root) %{_bindir}/3proxy_ftppr
+%attr(755,root,root) %{_bindir}/3proxy_imapp
+%attr(755,root,root) %{_bindir}/3proxy_pop3p
+%attr(755,root,root) %{_bindir}/3proxy_proxy
+%attr(755,root,root) %{_bindir}/3proxy_smtpp
+%attr(755,root,root) %{_bindir}/3proxy_socks
+%attr(755,root,root) %{_bindir}/3proxy_tcppm
+%attr(755,root,root) %{_bindir}/3proxy_tlspr
+%attr(755,root,root) %{_bindir}/3proxy_udppm
+%attr(755,root,root) %{_bindir}/add3proxyuser
+%dir %{_libdir}/3proxy
+%{_libdir}/3proxy/*.ld.so
+%dir /opt/3proxy
%{_mandir}/man5/3proxy.cfg.5*
%{_mandir}/man8/3proxy.8*
-%{_mandir}/man8/ftppr.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*
+%{_mandir}/man8/3proxy_*.8*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/3proxy.git/commitdiff/cb14ef38df347d56f4f84896d80f8e8d16cc9630
More information about the pld-cvs-commit
mailing list