<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>231005</bug_id>
          
          <creation_ts>2008-07-07 00:31 0000</creation_ts>
          <short_desc>net-proxy/ziproxy-2.5.2 request for ~x86-fbsd keyword</short_desc>
          <delta_ts>2008-07-14 10:43:56 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Server</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>KEYWORDREQ</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>status@sexmagnet.com</reporter>
          <assigned_to>bsd@gentoo.org</assigned_to>
          <cc>sbriesen@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>status@sexmagnet.com</who>
            <bug_when>2008-07-07 00:31:34 0000</bug_when>
            <thetext>Tested this package for a while on gentoo-bsd and seems to be 100% but the init script which i don&apos;t think it works even on other arch&apos;s due to the fact it has --quiet which makes the pidfile to be created empty...
I&apos;m attaching a patch to fix this...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>status@sexmagnet.com</who>
            <bug_when>2008-07-07 00:32:47 0000</bug_when>
            <thetext>Created an attachment (id=159756)
Fix for /etc/init.d/ziproxy

replaced ${myservice} which doesn&apos;t exist anymore with ziproxy and removed --quiet from start() so it can create the pidfile properly</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2008-07-07 00:45:48 0000</bug_when>
            <thetext>Please look up &quot;critical&quot; in a dictionary. :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>status@sexmagnet.com</who>
            <bug_when>2008-07-07 02:26:42 0000</bug_when>
            <thetext>From what I see....critical is for bugs when packages do not work...and this one simply doesn&apos;t work..hence the critical..whats the point of having something that doesn&apos;t in the tree?
Either fix it or remove it...but at least one of them ;]</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2008-07-08 06:42:37 0000</bug_when>
            <thetext>If you click on &quot;severity&quot; label you will see this explanation:
   Critical 	crashes, loss of data, severe memory leak
Care to give us the source of your (very) personal definition?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2008-07-08 19:09:59 0000</bug_when>
            <thetext>The init script has been fixed in cvs.
Reassigned to bsd for ~x86-fbsd keyword.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>status@sexmagnet.com</who>
            <bug_when>2008-07-08 19:21:57 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; If you click on &quot;severity&quot; label you will see this explanation:
&gt;    Critical     crashes, loss of data, severe memory leak
&gt; Care to give us the source of your (very) personal definition?

What would you call let&apos;s say...if GNOME didn&apos;t work? &apos;normal&apos;?
So if some other app doesn&apos;t work...why doesn&apos;t it get fixed? I just filed a bug for pciutils which seems to be a duplicate but eitherways...the filed bug report has been going on for a few months already on that one
To me these are my definitions:
Blocker: Only for apps such as binutils/gcc/libedit etc...that can bork the entire system
Critical: When a package does not work
Normal: Something that should be fixed
Major: Works, but with some errors
Minor: Works, but does something which ain&apos;t supposed to
Trivial: Suggestions to comment something this or that way...or mostly text errors and such
Enhancement: If there&apos;s no problem, but you still feel like you can contribute with something to improve it..
On the Severity list u can look at these two:

Critical crashes, loss of data, severe memory leak 
Major major loss of function 

There&apos;s no major loss of function cose the damn thing doesn&apos;t even work!
so one goes higher...Critical!
Fix it, period.
Dragging these stupid conversations over and over about nonsense is dumb and gets nothing fixed.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sbriesen@gentoo.org</who>
            <bug_when>2008-07-09 12:56:02 0000</bug_when>
            <thetext>nonetheless: your ziproxy.patch is broken, since you did:

-   start-stop-daemon --stop --quiet --pidfile /var/run/${myservice}.pid
+   start-stop-daemon --stop --quiet --pidfile /var/run/ziproxy.pid

that ${myservice} has a reason! It&apos;s there, so that you can have more ziproxy instances with different configurations.

But Alin fixed it correctly at last.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>status@sexmagnet.com</who>
            <bug_when>2008-07-09 17:31:55 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; nonetheless: your ziproxy.patch is broken, since you did:
&gt; -   start-stop-daemon --stop --quiet --pidfile /var/run/${myservice}.pid
&gt; +   start-stop-daemon --stop --quiet --pidfile /var/run/ziproxy.pid
&gt; that ${myservice} has a reason! It&apos;s there, so that you can have more ziproxy
&gt; instances with different configurations.
&gt; But Alin fixed it correctly at last.

(In reply to comment #7)
&gt; nonetheless: your ziproxy.patch is broken, since you did:
&gt; -   start-stop-daemon --stop --quiet --pidfile /var/run/${myservice}.pid
&gt; +   start-stop-daemon --stop --quiet --pidfile /var/run/ziproxy.pid
&gt; that ${myservice} has a reason! It&apos;s there, so that you can have more ziproxy
&gt; instances with different configurations.
&gt; But Alin fixed it correctly at last.

Next time you wanna follow other people talking crap...at least test the damn thing, and KNOW what you&apos;re talking about!
1. The patch ain&apos;t broken
2. You can&apos;t run more than one server unless you create multiple confs and run it manually (which has nothing to do with the script..)
3. There&apos;s no ${myservice} anymore
4. STFU instead of trying to be a smart-ass...I&apos;m tired of people here acting stupid instead of fixing things, people spend more time in here probably talking trash than actually fixing things...
why can&apos;t I ever see a bug like...someone submits a fix and a dev just tests it or makes his own fix and just writes...FIXED!..
it always takes months to get things fixed...sad sad sad</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2008-07-09 17:51:59 0000</bug_when>
            <thetext>First of all, I&apos;ve fixed the problem, see comment #5.
Second, you should learn some manners before attempting to speak in public! Not that I would expect much from a person that choose to have such an email address, but still...

I&apos;m out of here.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sbriesen@gentoo.org</who>
            <bug_when>2008-07-12 10:26:53 0000</bug_when>
            <thetext>@Kiko:

&gt; Next time you wanna follow other people talking crap...at least test the
&gt; damn thing, and KNOW what you&apos;re talking about!

I know what I&apos;m talking about, since I wrote than &quot;damn&quot; ebuild.

&gt; 1. The patch ain&apos;t broken

it is! Since you degrade the original purpose.

&gt; 2. You can&apos;t run more than one server unless you create multiple confs and run it manually (which has nothing to do with the script..)

indeed. That&apos;s why there is a variable in that init-script. You can symlink &quot;ziproxy&quot; to e.g. &quot;ziproxy-foo&quot;. Then /etc/conf.d/ziproxy-foo will be loaded. An in /etc/conf.d/ziproxy(*) you find this:

# Full path to ziproxy.conf file (instead of default one).
CONFIG=&quot;/etc/ziproxy/ziproxy.conf&quot;

Well, problem sovled.

&gt; 3. There&apos;s no ${myservice} anymore

I know. THAT was the only bug. Now it&apos;s called ${SVCNAME}. That init-script is quite old, and it was just forgotten to migrate to OpenRC.

&gt; 4. STFU instead of trying to be a smart-ass...I&apos;m tired of people here
&gt; acting stupid instead of fixing things, people spend more time in here
&gt; probably talking trash than actually fixing things...

You should learn how to behave. We ARE actually *fixing* things. But you should accept, that we don&apos;t *degrade* features like you did.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>status@sexmagnet.com</who>
            <bug_when>2008-07-12 15:45:04 0000</bug_when>
            <thetext>(In reply to comment #9)
&gt; First of all, I&apos;ve fixed the problem, see comment #5.
&gt; Second, you should learn some manners before attempting to speak in public! Not
&gt; that I would expect much from a person that choose to have such an email
&gt; address, but still...
&gt; I&apos;m out of here.

 * Starting ziproxy ...
 * start-stop-daemon: did not create a valid pid in `/var/run/ziproxy.pid&apos;                                              [ !! ]
 * ERROR: ziproxy failed to start

upgraded to the new version...it&apos;s still broken
you forgot to remove the &apos;--quiet&apos; from the start-stop-daemon command in the start() function
--quiet needs to be removed so the output can be sent to the /var/run/${SVCNAME}.pid file</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sbriesen@gentoo.org</who>
            <bug_when>2008-07-14 10:43:56 0000</bug_when>
            <thetext>yes, indeed. I fixed this in CVS.

But this is also a regression because of OpenRC. With the old baselayout, it worked.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>159756</attachid>
            <date>2008-07-07 00:32 0000</date>
            <desc>Fix for /etc/init.d/ziproxy</desc>
            <filename>ziproxy.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC5fY2ZnMDAwMF96aXByb3h5ICAgMjAwOC0wNy0wNiAyMDoxOToyMiAtMDQwMAorKysgemlw
cm94eSAgICAgMjAwOC0wNy0wNiAyMDoyMToyOCAtMDQwMApAQCAtOSwxOCArOSwxOCBAQAoKIHN0
YXJ0KCkgewogICAgICAgIGxvY2FsIE9QVD0iLWQiCi0gICAgICAgZWJlZ2luICJTdGFydGluZyAk
e215c2VydmljZX0iCisgICAgICAgZWJlZ2luICJTdGFydGluZyB6aXByb3h5IgoKICAgICAgICBb
IC1uICIke0NPTkZJR30iICAgXSAmJiBPUFQ9IiR7T1BUfSAtYyAke0NPTkZJR30iCiAgICAgICAg
WyAtbiAiJHtPTkxZRlJPTX0iIF0gJiYgT1BUPSIke09QVH0gLWYgJHtPTkxZRlJPTX0iCgotICAg
ICAgIHN0YXJ0LXN0b3AtZGFlbW9uIC0tcXVpZXQgLS1zdGFydCAtLXBpZGZpbGUgL3Zhci9ydW4v
JHtteXNlcnZpY2V9LnBpZCBcCi0gICAgICAgICAgICAgICAtLWNodWlkIHppcHJveHk6emlwcm94
eSAtLWV4ZWMgL3Vzci9zYmluL3ppcHJveHkgLS0gJHtPUFR9ID4gL3Zhci9ydW4vJHtteXNlcnZp
Y2V9LnBpZAorICAgICAgIHN0YXJ0LXN0b3AtZGFlbW9uIC0tc3RhcnQgLS1waWRmaWxlIC92YXIv
cnVuL3ppcHJveHkucGlkIFwKKyAgICAgICAgICAgICAgIC0tY2h1aWQgemlwcm94eTp6aXByb3h5
IC0tZXhlYyAvdXNyL3NiaW4vemlwcm94eSAtLSAke09QVH0gPiAvdmFyL3J1bi96aXByb3h5LnBp
ZAogICAgICAgIGVlbmQgJD8KIH0KCiBzdG9wKCkgewogICAgICAgIGViZWdpbiAiU3RvcHBpbmcg
emlwcm94eSIKLSAgICAgICBzdGFydC1zdG9wLWRhZW1vbiAtLXN0b3AgLS1xdWlldCAtLXBpZGZp
bGUgL3Zhci9ydW4vJHtteXNlcnZpY2V9LnBpZAorICAgICAgIHN0YXJ0LXN0b3AtZGFlbW9uIC0t
c3RvcCAtLXF1aWV0IC0tcGlkZmlsZSAvdmFyL3J1bi96aXByb3h5LnBpZAogICAgICAgIGVlbmQg
JD8KIH0KCg==
</data>        

          </attachment>
    </bug>

</bugzilla>