Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
app-text/man2html and app-misc/glimpse: bug report needed?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
D-LINC
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2011
Posts: 135
Location: Alaska

PostPosted: Tue Jan 31, 2012 8:43 pm    Post subject: app-text/man2html and app-misc/glimpse: bug report needed? Reply with quote

I was thinking I wanted to file some kind of bug report about the above two packages, but I wasn't sure how the report should be framed, so I thought I'd discuss it here. So, basically, here is everything that got me annoyed:

So, the other day I merge this program call man2html hoping to save myself some work converting a man page to a web format. I give it a try, but man2html produces some of the ugliest HTML I've ever seen (unclosed paragraphs, weird tags, e.g.) and output that hardly even looks like a man page.

Next day, I get an e-mail from vixie cron telling me that some program called "glimpse" is indexing my file system and depositing .glimpse files in root owned directories. At first, I'm freaked out because I think I've been hacked, as I don't remember installing anything called glimpse. Turns out glimpse is a dependency I unwittingly installed with man2html, which stands GLobal IMPlicit SEarch, and is a file indexing tool that man2html apparently uses to index your man pages (without asking).

So, now I'm curious about this glimpse program and why it was installed. As far as I can tell, man2html doesn't have any kind of USE flag that would let you leave out the glimpse dependency or avoid installing the glimpse scripts. Furthermore, I do an eix -v on glimpse and find out that it is available under the "glimpse" license, which is rather interesting. A few snippets from /usr/portage/licenses/glimpse:

Code:
1.1 Scope of License Grant. In consideration of the agreement of Licensee to pay royalties hereunder, Licensor hereby grants to Licensee the nonexclusive, nontransferable right and license to use Licensor's Software subject to the terms and conditions of this agreement. The Software is licensed for use solely for Licensee's internal applications in the normal course of Licensee's business. No rights to sublicense or market the Software or Documentation are granted. All rights not specifically granted to Licensee by this license shall remain in Licensor.

1.4 Right to Copy. Licensee shall not copy the Software, in whole or in part, except as expressly provided in this section. The Software may be copied in whole or in part, in printed or machine-readable form, for archival storage or emergency restart purposes, or to replace a worn copy.

1.5 If Licensee obtains source code under this agreement, Licensee agrees it will not use the source code or any associated Licensor proprietary information for any purpose other than Licensee's internal needs and in particular not for the purpose of development or distribution of any product or program similar to, or competitive with, the Software.

<snip>

3.2.1 Licensee shall have the right to use the Software only on a single designated single central processing unit or mainframe computer and its associated peripheral units.

If Licensee has purchased a single-domain license, the Software shall be made accessible via a single IP address and/or domain name. Unlimited end users may access the Software through the single central processing unit where it is running. If licensee has purchased a 10-domain or 100-domain license, up to that number of additional IP addresses or Virtual Domains may be configured for use with the Software. Other numbers of domains may be agreed upon separately by the parties.


There is, of course, no way in heck I would have installed software with a license like that, if I had realized I was doing it. (Being of strong libre software convictions.)

So, a summary: 1) Should man2html be patched some how to prevent or make optional installation of glimpse and related scripts? 2) should something be done to glimpse to draw attention to the non-free license, i.e., an interactive install with license acceptance, or some kind of ebuild masking?

Edit: Just discovered that I can't uninstall man2html from the system! It unmerged, but didn't remove the files. Can still call the binary and read the man page.

Code:
enigma ~ # equery g man2html
 * Searching for man2html ...

 * dependency graph for app-text/man2html-1.5l-r2
 `--  app-text/man2html-1.5l-r2  amd64
   `--  app-misc/glimpse-4.18.5  (app-misc/glimpse) amd64
   `--  sys-apps/gawk-3.1.8  (sys-apps/gawk) amd64
   `--  virtual/man-0  (virtual/man) amd64
   `--  app-admin/webapp-config-1.50.16-r1  (>=app-admin/webapp-config-1.50.15) amd64
[ app-text/man2html-1.5l-r2 stats: packages (5), max depth (1) ]

 * dependency graph for app-text/man2html-1.6f
 `--  app-text/man2html-1.6f  [~amd64 keyword]
   `--  app-misc/glimpse-4.18.5  (app-misc/glimpse) amd64
   `--  sys-apps/gawk-3.1.8  (sys-apps/gawk) amd64
   `--  virtual/man-0  (virtual/man) amd64
   `--  app-admin/webapp-config-1.50.16-r1  (>=app-admin/webapp-config-1.50.15) amd64
[ app-text/man2html-1.6f stats: packages (5), max depth (1) ]

 * dependency graph for app-text/man2html-1.6f-r1
 `--  app-text/man2html-1.6f-r1  [~amd64 keyword]
   `--  app-misc/glimpse-4.18.5  (app-misc/glimpse) amd64
   `--  sys-apps/gawk-3.1.8  (sys-apps/gawk) amd64
   `--  virtual/man-0  (virtual/man) amd64
   `--  app-admin/webapp-config-1.50.16-r1  (>=app-admin/webapp-config-1.50.15) amd64
[ app-text/man2html-1.6f-r1 stats: packages (5), max depth (1) ]
<snip>
enigma ~ # emerge --unmerge man2html glimpse webapp-config
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

 app-text/man2html
    selected: 1.5l-r2
   protected: none
     omitted: none

 app-misc/glimpse
    selected: 4.18.5
   protected: none
     omitted: none

 app-admin/webapp-config
    selected: 1.50.16-r1
   protected: none
     omitted: none

All selected packages: app-misc/glimpse-4.18.5 app-admin/webapp-config-1.50.16-r1 app-text/man2html-1.5l-r2

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in:  5 4 3 2 1
>>> Unmerging app-text/man2html-1.5l-r2...
 * Cannot find file /.webapp
>>> Unmerging app-misc/glimpse-4.18.5...
>>> Unmerging app-admin/webapp-config-1.50.16-r1...
<<< /usr/lib64/python2.6/site-packages/WebappConfig/__init__.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/config.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/content.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/db.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/debug.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/dotconfig.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/ebuild.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/filetype.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/permissions.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/protect.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/sandbox.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/server.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/version.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/worker.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig/wrapper.py[co]
<<< /usr/lib64/python2.6/site-packages/WebappConfig
<<< /usr/lib64/python2.7/site-packages/WebappConfig/__init__.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/config.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/content.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/db.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/debug.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/dotconfig.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/ebuild.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/filetype.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/permissions.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/protect.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/sandbox.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/server.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/version.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/worker.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig/wrapper.py[co]
<<< /usr/lib64/python2.7/site-packages/WebappConfig

 * Messages for package app-text/man2html-1.5l-r2:

 * Cannot find file /.webapp

 * GNU info directory index is up-to-date.
# man2html --version
Content-type: text/html

<HTML><HEAD><TITLE>man2html: bad invocation</TITLE></HEAD>
<BODY>
<H1>man2html: bad invocation</H1>
Call: man2html [-l|-h host.domain:port] [-p|-q] [filename]
or:   man2html -r [filename]
</BODY></HTML>
enigma ~ # ls -lh /usr/share/man/man1/man2html.1.bz2
-rw-r--r-- 1 root root 2.1K Jan 27 12:19 /usr/share/man/man1/man2html.1.bz2

# emerge --unmerge man2html
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

--- Couldn't find 'man2html' to unmerge.

>>> No packages selected for removal by unmerge

_________________
frigidcode.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum