Version bumped to 0.9.5 and the patch from @galeksandrp and @bonob
Search Criteria
Package Details: 3proxy 0.9.5-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/3proxy.git (read-only, click to copy) |
---|---|
Package Base: | 3proxy |
Description: | A tiny crossplatform proxy server |
Upstream URL: | http://www.3proxy.ru/ |
Licenses: | BSD |
Submitter: | basinilya |
Maintainer: | voxan24 |
Last Packager: | voxan24 |
Votes: | 19 |
Popularity: | 0.000000 |
First Submitted: | 2010-09-19 09:53 (UTC) |
Last Updated: | 2025-10-03 11:18 (UTC) |
Dependencies (3)
- glibc (glibc-gitAUR, glibc-eacAUR)
- gcc (gcc-gitAUR, gccrs-gitAUR, gcc-snapshotAUR) (make)
- make (make-gitAUR, make-staticAUR) (make)
Required by (0)
Sources (4)
voxan24 commented on 2025-10-03 11:17 (UTC)
galeksandrp commented on 2024-05-18 15:53 (UTC) (edited on 2024-05-18 15:56 (UTC) by galeksandrp)
Does not compile? common.c:208.9 error
?
cc -fPIC -fno-strict-aliasing -c -pthread -DWITHSPLICE -D_GNU_SOURCE -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER common.c
common.c:208:9: error: initialization of 'int (*)(struct pollfd *, unsigned int, int)' from incompatible pointer type 'int (*)(struct pollfd *, nfds_t, int)' {aka 'int (*)(struct pollfd *, long unsigned int, int)'} [-Wincompatible-pointer-types]
208 | poll,
| ^~~~
common.c:208:9: note: (near initialization for 'so._poll')
make[1]: *** [Makefile.inc:12: common.o] Error 1
Change this
sed --follow-symlinks -i.bak -e 's| -O2||g;s|CFLAGS = -g|CFLAGS =|;s|CC = gcc|CC ?= gcc|;s|LN = gcc|LN ?= gcc|' Makefile.Linux
to this
sed --follow-symlinks -i.bak -e 's| -O2||g;s|CFLAGS = -g|CFLAGS = -Wno-incompatible-pointer-types|;s|CC = gcc|CC ?= gcc|;s|LN = gcc|LN ?= gcc|' Makefile.Linux
barraponto commented on 2023-12-04 19:28 (UTC)
As of December 2023, the latest version of 3proxy is 0.9.4. It should not be flagged out of date.
bonob commented on 2023-06-25 19:25 (UTC)
A recent update of libproxy conflicts with this package, because it introduces a man(8) proxy page, which 3proxy also wants to provide.
I would say a way to resolve is to rename that man page, to 3proxy-proxy, in the same manner as /usr/bin/proxy
is renamed to /usr/bin/3proxy-proxy
.
That could be done by adding ( cd ${pkgdir}${_prefix}/share/man/man8 && mv proxy.8 3proxy-proxy.8 ) || return 1
in package()
in the PKGBUILD.
My proposed patch if useful:
diff --git a/.SRCINFO b/.SRCINFO
index 1756eb3..531ad90 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4 +4 @@ pkgbase = 3proxy
- pkgrel = 1
+ pkgrel = 2
diff --git a/PKGBUILD b/PKGBUILD
index 43b1ba4..21ff417 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4 +4 @@ pkgver=0.9.4
-pkgrel=1
+pkgrel=2
@@ -44,0 +45 @@ package() {
+ ( cd ${pkgdir}${_prefix}/share/man/man8 && mv proxy.8 3proxy-proxy.8 ) || return 1
Nothing4You commented on 2021-09-17 20:38 (UTC)
this currently installs with a broken symlink: /var/log/3proxy -> ../../usr/local/3proxy/logs
you-oopsdev commented on 2020-10-29 14:03 (UTC)
@asm0dey Okay, I'll try to see how much patience is enough on a slow laptop.
asm0dey commented on 2020-10-29 13:56 (UTC)
@naruto522ru there are couple, but let's start with email :)
you-oopsdev commented on 2020-10-29 13:51 (UTC)
@asm0dey Is there anything besides email? For example messenger or skype? I feel uncomfortable with the mail.
asm0dey commented on 2020-10-29 13:26 (UTC)
@naruto522ru could you please reach me at pavel.finkelshtein at gmail.com, let's discuss proposed changes?
you-oopsdev commented on 2020-10-29 11:54 (UTC) (edited on 2020-10-29 13:19 (UTC) by you-oopsdev)
Here: https://github.com/naruto522ru/3proxy-PKGBUILD/ the corrected now complies with the standards for creating packages, of course, I took your work as a basis.Works even if you put 0.8.13-1 on top. So, clean up the residual files (checked).
Pinned Comments
voxan24 commented on 2025-10-03 11:17 (UTC)
Version bumped to 0.9.5 and the patch from @galeksandrp and @bonob