[Bug 1147013] Review Request: proxychains-ng - Redirect connections through proxy servers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1147013

Michael Schwendt (Fedora Packager Sponsors Group) <bugs.michael@xxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends On|                            |244018



--- Comment #40 from Michael Schwendt (Fedora Packager Sponsors Group) <bugs.michael@xxxxxxx> ---
> I will try to convince the upstream to LD_PRELOAD it, by default,
> from application-specific directory.

Well, that is possible already with a changed %_libdir (see diff below) at
configuration time, but you include the legacy script proxyresolv that is not
installed by default. And that one relies on runtime linker's search path list.

--- proxychains-ng.spec.orig    2015-03-16 14:11:09.000000000 +0100
+++ proxychains-ng.spec    2015-03-16 15:59:22.199956553 +0100
@@ -37,24 +37,20 @@
 %patch1 -p1

 %build
-%configure --disable-static
+%configure --disable-static --libdir=%{_libdir}/%{name}
 make %{?_smp_mflags}

 %install
 %make_install install-config
-%{__install} -Dm 0755 src/proxyresolv %{buildroot}%{_bindir}/proxyresolv4
-%{__install} -Dm 0755 libproxychains4.so
%{buildroot}%{_libdir}/libproxychains4.so
-
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+chmod +x %{buildroot}%{_libdir}/%{name}/libproxychains4.so

 %files
 %license COPYING
 %doc AUTHORS README TODO
 %config(noreplace) %{_sysconfdir}/proxychains.conf
 %{_bindir}/proxychains4
-%{_bindir}/proxyresolv4
-%{_libdir}/libproxychains4.so
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/libproxychains4.so

 %changelog
 * Mon Mar 16 2015 Pranav Kant <pranav913@xxxxxxxxx> 4.8.1-5


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=244018
[Bug 244018] Review Request: proxychains - Provides proxy support to any
application
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]