Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43339 - openssh: want to use econf
Summary: openssh: want to use econf
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-29 18:30 UTC by HIROSE Masaaki
Modified: 2004-03-02 01:05 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description HIROSE Masaaki 2004-02-29 18:30:03 UTC
I want to build net-misc/openssh with configure option --with-default-path.
But openssh-*.ebuild uses ./configure instead of econf, so I cannot use EXTRA_ECONF.

Would you change to use not ./configure but econf?


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2004-02-29 19:13:32 UTC
unless daniel feels like doing it, econf doesnt give any advantage with its default arguements since the openssh uses different values anyways

edit the ebuild for now
Comment 2 HIROSE Masaaki 2004-03-01 05:55:32 UTC
I want to set --with-default-path. 
./configure in net-misc/openssh/openssh-*.ebuild does not use this option.

so I think I can specify my own value with EXTRA_ECONF.

  env EXTRA_ECONF='--with-default-path=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin' emerge -v net-misc/openssh

Comment 3 SpanKY gentoo-dev 2004-03-01 08:29:53 UTC
so edit the ebuild and add that option or do `env PATH="/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin" emerge openssh`
Comment 4 HIROSE Masaaki 2004-03-02 01:05:46 UTC
Thanks for comment.

As a result of reading configure script (including OpenSSH-3.8p1) and
actually trying `env PATH=... emerge openssh`, PATH has no effect to
--with-default-path.

Now, I use PORTDIR_OVERLAY and edit openssh-*.ebuild under PORTDIR_OVERLAY
directory. (At first, edit ebuild file in portage directory as SpanKY's
comment. However, since over write every `emerge sync`, I was used
PORTDIR_OVERLAY)

  cp -R /usr/portage/net-misc/openssh PORTDIR_OVERLAY/net-misc/openssh
  cd PORTDIR_OVERLAY/net-misc/openssh
  mv openssh-3.8_p1.ebuild openssh-3.8_p1.ebuild.orig
  sed -e 's@./configure@econf@' openssh-3.8_p1.ebuild.orig > openssh-3.8_p1.ebuild
  env ACCEPT_KEYWORDS=~x86 \
    EXTRA_ECONF='--with-default-path=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin' \
    emerge -v =net-misc/openssh-3.8_p1

Although this method may be used, whenever new portage comes out, copy files
to PORTDIR_OVERLAY and edit ebuld is troublesome, so I want maintainer to
change into econf from ./configure so that EXTRA_ECONF can be used.

Would you surely teach the reason for future reference, if reasonable using
not econf but configure?