Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 24209 Details for
Bug 38965
dev-perl/libwww-perl-5.69-r2 check for host-name in /etc/hosts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
This is the modified e-build that checks for the described condition
libwww-perl-5.69-r2.ebuild (text/plain), 1.13 KB, created by
Larry Siden
on 2004-01-21 16:04:32 UTC
(
hide
)
Description:
This is the modified e-build that checks for the described condition
Filename:
MIME Type:
Creator:
Larry Siden
Created:
2004-01-21 16:04:32 UTC
Size:
1.13 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/dev-perl/libwww-perl/libwww-perl-5.69-r2.ebuild,v 1.2 2004/01/18 22:18:03 tuxus Exp $ > >inherit perl-module > >DESCRIPTION="A collection of Perl Modules for the WWW" >SRC_URI="http://cpan.org/modules/by-module/WWW/${P}.tar.gz" >HOMEPAGE="http://cpan.org/modules/by-module/WWW/${P}.readme" >IUSE="ssl" >SLOT="0" >LICENSE="Artistic | GPL-2" >KEYWORDS="x86 amd64 ~ppc ~sparc alpha hppa ~arm ~mips" > >newdepend ">=dev-perl/libnet-1.0703 > >=dev-perl/HTML-Parser-3.13 > >=dev-perl/URI-1.0.9 > >=dev-perl/Digest-MD5-2.12 > >=dev-perl/MIME-Base64-2.12 > ssl? ( dev-perl/Crypt-SSLeay )" > >mydoc="TODO" > >pkg_setup() { > # test that /etc/hosts contains an entry for this machine > if ! sed -e 's/#.*$//' /etc/hosts | grep $(hostname) > /dev/null; then > die "Your machine's host name needs to appear in the /etc/hosts file. > For example: 127.0.0.1 localhost my-host-name > See the 'hostname' command." > fi >} > >src_compile() { > yes "" | perl Makefile.PL ${myconf} \ > PREFIX=${D}/usr INSTALLDIRS=vendor > perl-module_src_test || die >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 38965
:
24208
| 24209