Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 330166 Details for
Bug 444232
sys-apps/coreutils: Add USE=hostname for those who do not want net-tools
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch coreutils-*.ebuild to add USE=hostname
file_444232.txt (text/plain), 2.17 KB, created by
Alex Xu (Hello71)
on 2012-11-21 21:09:44 UTC
(
hide
)
Description:
Patch coreutils-*.ebuild to add USE=hostname
Filename:
MIME Type:
Creator:
Alex Xu (Hello71)
Created:
2012-11-21 21:09:44 UTC
Size:
2.17 KB
patch
obsolete
>--- /usr/portage/sys-apps/coreutils/coreutils-8.20.ebuild 2012-10-23 15:52:35.000000000 -0400 >+++ coreutils-8.20.ebuild 2012-11-21 16:08:06.232337331 -0500 >@@ -18,7 +18,7 @@ > LICENSE="GPL-3" > SLOT="0" > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" >-IUSE="acl caps gmp nls selinux static userland_BSD vanilla xattr" >+IUSE="acl caps gmp hostname nls selinux static userland_BSD vanilla xattr" > > LIB_DEPEND="acl? ( sys-apps/acl[static-libs] ) > caps? ( sys-libs/libcap ) >@@ -37,6 +37,7 @@ > !<sci-chemistry/ccp4-6.1.1" > DEPEND="${RDEPEND} > static? ( ${LIB_DEPEND} ) >+ hostname? ( !sys-apps/net-tools ) > app-arch/xz-utils" > > src_prepare() { >@@ -64,7 +65,7 @@ > } > > src_configure() { >- local myconf='' >+ local myconf='' hostname='' > if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then > export fu_cv_sys_stat_statfs2_bsize=yes #311569 > export gl_cv_func_realpath_works=yes #416629 >@@ -74,15 +75,18 @@ > use static && append-ldflags -static && sed -i '/elf_sys=yes/s:yes:no:' configure #321821 > use selinux || export ac_cv_{header_selinux_{context,flash,selinux}_h,search_setfilecon}=no #301782 > use userland_BSD && myconf="${myconf} -program-prefix=g --program-transform-name=s/stat/nustat/" >- # kill/uptime - procps >- # groups/su - shadow >- # hostname - net-tools >+ if use hostname; then >+ hostname=,hostname >+ fi >+ # else hostname - net-tools >+ # kill/uptime - procps >+ # groups/su - shadow > econf \ > --with-packager="Gentoo" \ > --with-packager-version="${PVR} (p${PATCH_VER:-0})" \ > --with-packager-bug-reports="http://bugs.gentoo.org/" \ > --enable-install-program="arch" \ >- --enable-no-install-program="groups,hostname,kill,su,uptime" \ >+ --enable-no-install-program="groups,kill,su,uptime$hostname" \ > --enable-largefile \ > $(use caps || echo --disable-libcap) \ > $(use_enable nls) \
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 444232
:
330166
|
346050
|
346052