Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519732 - net-proxy/dansguardian-2.12.03-r2 fails to upload
Summary: net-proxy/dansguardian-2.12.03-r2 fails to upload
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-08-12 14:23 UTC by Michael Stowe
Modified: 2016-02-20 17:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for the dansguardian code (dg.maxuploadsize.patch,1.72 KB, patch)
2014-08-12 14:23 UTC, Michael Stowe
Details | Diff
dansguardian-2.12.0.3-r3.ebuild (dansguardian-2.12.0.3-r3.ebuild,2.92 KB, text/plain)
2014-08-12 14:24 UTC, Michael Stowe
Details

Note You need to log in before you can comment on or make changes to this bug.
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