Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 519732

Summary: net-proxy/dansguardian-2.12.03-r2 fails to upload
Product: Gentoo Linux Reporter: Michael Stowe <mstowe>
Component: [OLD] ServerAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal CC: g2t, salikov.alexey
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for the dansguardian code
dansguardian-2.12.0.3-r3.ebuild

Description Michael Stowe 2014-08-12 14:23:24 UTC
Created attachment 382756 [details, diff]
Patch for the dansguardian code

2.12.03 of dansguardian has a coding flaw that completely prevents uploading -- this hasn't yet been fixed upstream, but is easily patched.  Without a fix, dansguardian is hopelessly broken (well, assuming that you don't *want* to prevent uploading, which can normally be set in a configuration file.)

At any rate, I've an updated ebuild and patch
Comment 1 Michael Stowe 2014-08-12 14:24:33 UTC
Created attachment 382758 [details]
dansguardian-2.12.0.3-r3.ebuild

This is an ebuild to include the patch above
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-12 20:15:58 UTC
Comment on attachment 382758 [details]
dansguardian-2.12.0.3-r3.ebuild

--- dansguardian-2.12.0.3-r2.ebuild     2014-02-24 14:45:01.764473577 +0100
+++ -   2014-08-12 22:15:31.662253619 +0200
@@ -58,6 +58,10 @@
                $(use_enable trickledm)
 }

+src_prepare() {
+       epatch "${FILESDIR}/dg.maxuploadsize.patch"
+       }
+
 src_install() {
        default
Comment 3 Thomas Kohler 2015-02-10 17:15:42 UTC
I can confirm this bug after the last world update. Please add the fix as soon as possible to the official ebuild.
Comment 4 Pacho Ramos gentoo-dev 2016-02-20 17:39:04 UTC
removed