Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410733 - app-admin/apache-tools 2.4.1 does not install htpasswd
Summary: app-admin/apache-tools 2.4.1 does not install htpasswd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-03 23:59 UTC by Kilburn Abrahams
Modified: 2012-11-01 06:57 UTC (History)
7 users (show)

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


Attachments
fix htpasswd installation (apache-tools-2.4.2.ebuild-htpasswd-bin.patch,537 bytes, patch)
2012-05-24 09:17 UTC, Michael Weiser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kilburn Abrahams 2012-04-03 23:59:54 UTC
apache-tools 2.4.1. does not install htpasswd in /usr/sbin. The symlink in updated, /usr/bin/htpasswd -> /usr/sbin/htpasswd, but no htpasswd file in /usr/sbin

Reproducible: Always
Comment 1 Alex 2012-04-12 11:16:53 UTC
I have the same issue - htdigest too. Reverting to 2.2.22 resolves the issue.
Comment 2 Michael Weiser 2012-05-24 09:17:29 UTC
Created attachment 312933 [details, diff]
fix htpasswd installation

The reason is simple: htpasswd (and ab) moved to bin and is replaced with a symlink to sbin by the package. Attached patch fixes that.
Comment 3 Toralf Förster gentoo-dev 2012-07-20 11:42:09 UTC
(In reply to comment #2)
> Created attachment 312933 [details, diff] [details, diff]
> fix htpasswd installation
> 
> The reason is simple: htpasswd (and ab) moved to bin and is replaced with a
> symlink to sbin by the package. Attached patch fixes that.

Probably not, at least version 2.4.2 installs onla the symlink, not the binary :

n22 ~ # ls -l /usr/bin/htpasswd /usr/bin/htdigest 
lrwxrwxrwx 1 root root 18 Jul 20 13:19 /usr/bin/htdigest -> /usr/sbin/htdigest
lrwxrwxrwx 1 root root 18 Jul 20 13:19 /usr/bin/htpasswd -> /usr/sbin/htpasswd
n22 ~ # ls -l /usr/sbin/htpasswd /usr/sbin/htdigest
ls: cannot access /usr/sbin/htpasswd: No such file or directory
ls: cannot access /usr/sbin/htdigest: No such file or directory
Comment 4 Michael Weiser 2012-07-23 07:40:55 UTC
(In reply to comment #3)

> > The reason is simple: htpasswd (and ab) moved to bin and is replaced with a
> > symlink to sbin by the package. Attached patch fixes that.
> 
> Probably not, at least version 2.4.2 installs onla the symlink, not the
> binary :

Well, the patch *does* fix it, it just hasn't made it into the tree, yet.

Can someone please apply the patch or give a quick hint what needs to be changed in order for it to be applied?

Thanks,
Micha
Comment 5 Toralf Förster gentoo-dev 2012-08-01 19:38:40 UTC
(In reply to comment #4)
> Well, the patch *does* fix it, it just hasn't made it into the tree, yet.
Right, patch tested - works ok here too.
Comment 6 Francesco Turco 2012-10-13 11:30:44 UTC
On my system:

# equery check apache-tools
!!! /usr/sbin/ab2-ssl does not exist
!!! /usr/bin/htpasswd does not exist
!!! /usr/bin/htdigest does not exist
!!! /usr/sbin/ab-ssl does not exist
* Checking app-admin/apache-tools-2.4.3 ...
   31 out of 35 files passed

Files /usr/bin{htpasswd,htdigest} don't exist at all, as already reported.

The other two files are broken symlinks:

ls -l /usr/sbin/ab2-ssl /usr/sbin/ab-ssl
lrwxrwxrwx 1 root root 12 Oct 13 13:21 /usr/sbin/ab2-ssl -> /usr/sbin/ab
lrwxrwxrwx 1 root root 12 Oct 13 13:21 /usr/sbin/ab-ssl -> /usr/sbin/ab

That is, /usr/sbin/ab doesn't exist.
Comment 7 Guillaume Ceccarelli 2012-10-14 16:43:30 UTC
Confirming the problem on apache-tools-2.4.3

Attached patch fixes it, allowing htpasswd and htdigest to be installed, while also allowing ab-ssl and ab2-ssl symlinks to work as expected.
Comment 8 Alexey Sychev 2012-10-28 10:17:13 UTC
app-admin/apache-tools-2.4.3 confirm

gentoo ~ # equery check  apache-tools
* Checking app-admin/apache-tools-2.4.3 ...
!!! /usr/sbin/ab2-ssl does not exist
!!! /usr/bin/htpasswd does not exist
!!! /usr/bin/htdigest does not exist
!!! /usr/sbin/ab-ssl does not exist
   31 out of 35 files passed
Comment 9 Alexey Sychev 2012-10-28 10:18:37 UTC
gentoo ~ # equery f apache-tools
 * Searching for apache-tools ...
 * Contents of app-admin/apache-tools-2.4.3:
/usr
/usr/bin
/usr/bin/ab
/usr/bin/htdbm
/usr/bin/htdigest -> /usr/sbin/htdigest
/usr/bin/htpasswd -> /usr/sbin/htpasswd
/usr/bin/httxt2dbm
/usr/bin/logresolve
/usr/modules
/usr/sbin
/usr/sbin/ab-ssl -> /usr/sbin/ab
/usr/sbin/ab2-ssl -> /usr/sbin/ab
/usr/sbin/checkgid
/usr/sbin/checkgid2 -> /usr/sbin/checkgid
/usr/sbin/fcgistarter
/usr/sbin/fcgistarter2 -> /usr/sbin/fcgistarter
/usr/sbin/htcacheclean
/usr/sbin/htcacheclean2 -> /usr/sbin/htcacheclean
/usr/sbin/rotatelogs
/usr/sbin/rotatelogs2 -> /usr/sbin/rotatelogs
/usr/share
/usr/share/doc
/usr/share/doc/apache-tools-2.4.3
/usr/share/doc/apache-tools-2.4.3/CHANGES.bz2
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/ab.1.bz2
/usr/share/man/man1/dbmmanage.1.bz2
/usr/share/man/man1/htdbm.1.bz2
/usr/share/man/man1/htdigest.1.bz2
/usr/share/man/man1/htpasswd.1.bz2
/usr/share/man/man1/logresolve.1.bz2
/usr/share/man/man8
/usr/share/man/man8/htcacheclean.8.bz2
/usr/share/man/man8/rotatelogs.8.bz2
Comment 10 Alexander Vershilov (RETIRED) gentoo-dev 2012-11-01 05:59:15 UTC
same error fox 2.4.3, so confirming
Comment 11 Alexander Vershilov (RETIRED) gentoo-dev 2012-11-01 06:57:22 UTC
fixed in tree. Michael Weiser thanks for the patch.