Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425034 - dev-db/pgbouncer-1.5.2 should depend on app-text/xmlto and app-text/docbook-xml-dtd:4.5
Summary: dev-db/pgbouncer-1.5.2 should depend on app-text/xmlto and app-text/docbook-x...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Johan Bergström
URL:
Whiteboard:
Keywords:
: 444048 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-06 10:38 UTC by Max Arnold
Modified: 2013-07-19 00:59 UTC (History)
4 users (show)

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


Attachments
pgbouncer-1.5.3-r1.ebuild (pgbouncer-1.5.3-r1.ebuild,1.78 KB, text/plain)
2013-01-03 02:40 UTC, Johan Bergström
Details
pgbouncer.initd (pgbouncer.initd,925 bytes, text/plain)
2013-01-03 02:41 UTC, Johan Bergström
Details
logrotate (logrotate,116 bytes, text/plain)
2013-01-03 02:42 UTC, Johan Bergström
Details
pgbouncer.initdd (pgbouncer.initd,921 bytes, text/plain)
2013-01-03 02:47 UTC, Johan Bergström
Details
logrotate (logrotate,119 bytes, text/plain)
2013-01-03 02:57 UTC, Johan Bergström
Details
pgbouncer.initd (pgbouncer.initd,922 bytes, text/plain)
2013-01-13 23:12 UTC, Johan Bergström
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Arnold 2012-07-06 10:38:19 UTC
There are two problems with the current ebuild:

1. It does not list xmlto as build-time dependency but uses it to generate manpages

2. With installed xmlto, compilation still fails due to the following error:

xmlto: Fix document syntax or use --skip-validation option
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
/var/tmp/portage/dev-db/pgbouncer-1.5.2/work/pgbouncer-1.5.2/doc/usage.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
D DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"

Reproducible: Always
Comment 1 Rafał Mużyło 2012-07-06 10:44:08 UTC
The second is simply one other dep: app-text/docbook-xml-dtd:4.5.
Comment 2 Johan Bergström 2012-07-11 03:47:25 UTC
TBH, I see no point in generating the documentation at all. We have .txt's and man pages. What's the benefit of adding .html to the mix?

It seems that the xmlto req is hidden behind a asciidoc one which is why I never saw this until now. I'd rather just skip entering doc/ in Makefile. Thoughts?
Comment 3 Aaron W. Swenson gentoo-dev 2012-08-21 20:50:31 UTC
(In reply to comment #2)
> TBH, I see no point in generating the documentation at all. We have .txt's
> and man pages. What's the benefit of adding .html to the mix?
> 
> It seems that the xmlto req is hidden behind a asciidoc one which is why I
> never saw this until now. I'd rather just skip entering doc/ in Makefile.
> Thoughts?

HTML pages are prettier, and another user wants it. Looks like we really only need to add the dependencies.
Comment 4 Johan Bergström 2012-11-20 21:14:37 UTC
*** Bug 444048 has been marked as a duplicate of this bug. ***
Comment 5 Johan Bergström 2013-01-03 02:40:56 UTC
Created attachment 334124 [details]
pgbouncer-1.5.3-r1.ebuild

This ebuild adds these dependencies (as well as asciidoc).

It also fixes a couple of things:
 - /{var/}run consistency throughout
 - proper sed:ing of config. Upstream added paths for 1.5.3
 - add logrotate script
 - new init script for bug #410647 and bug #410645.

I'm terribly sorry for the delay. Hopefully we should be all set now. 

I'd still like to hide the asciidoc/xmlto/etc assumption behind USE=doc, but it feels like upstream (it's pretty easy to hack tho).
Comment 6 Johan Bergström 2013-01-03 02:41:09 UTC
Created attachment 334126 [details]
pgbouncer.initd
Comment 7 Johan Bergström 2013-01-03 02:42:08 UTC
Created attachment 334128 [details]
logrotate
Comment 8 Johan Bergström 2013-01-03 02:47:40 UTC
Created attachment 334130 [details]
pgbouncer.initdd

spaces to tabs in two places
Comment 9 Johan Bergström 2013-01-03 02:57:27 UTC
Created attachment 334132 [details]
logrotate

add -q to opts so we don't get output from logrotate
Comment 10 Johan Bergström 2013-01-13 23:12:08 UTC
Created attachment 335536 [details]
pgbouncer.initd

Updated init script that uses checkpath over mkdir
Comment 11 Sergey Popov gentoo-dev 2013-01-14 17:29:56 UTC
+  14 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> files/pgbouncer.initd:
+  Update initscript, fix bugs #410645 and #410647, thanks to Johan Bergström
+  14 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> +pgbouncer-1.5.3-r1.ebuild:
+  Revision bump for reflect latest change
Comment 12 Sergey Popov gentoo-dev 2013-01-14 17:32:13 UTC
Comment on attachment 335536 [details]
pgbouncer.initd

For now, i have commited initscript only, to fix two other bugs - #410645 and #410647
Comment 13 Aaron W. Swenson gentoo-dev 2013-07-19 00:59:38 UTC
*pgbouncer-1.5.4 (19 Jul 2013)

  19 Jul 2013; Aaron W. Swenson <titanofold@gentoo.org>
  -pgbouncer-1.4.2.ebuild, -pgbouncer-1.5.ebuild, -pgbouncer-1.5.1.ebuild,
  -pgbouncer-1.5.2.ebuild, -pgbouncer-1.5.3.ebuild, -pgbouncer-1.5.3-r1.ebuild,
  +pgbouncer-1.5.4.ebuild, +files/logrotate, +files/pgbouncer.confd,
  +files/pgbouncer-dirs.patch, files/pgbouncer.initd, metadata.xml:
  Clean out old and insecure versions. Version bump. Fixes bugs 425480, 460310,
  477062, and 425034.