Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96478 - gnome-system-tools-1.2.0-r1 doesn't build network-admin
Summary: gnome-system-tools-1.2.0-r1 doesn't build network-admin
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-18 12:54 UTC by Wiktor Wandachowicz
Modified: 2005-06-18 13:36 UTC (History)
0 users

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 Wiktor Wandachowicz 2005-06-18 12:54:19 UTC
I upgraded Gnome 2.8 to Gnome 2.10 on June 10th and the network-admin is gone
somehow (and I really like this tool!). I checked the source tarball for
gnome-system-tools package and it seems that the code for network-admin looks to
be in place. However, after emerging the gnome-system-tools-1.2.0-r1 package,
network-admin is not built.

Reproducible: Always
Steps to Reproduce:
1. emerge gnome
OR
2. emerge -av --oneshot gnome-system-tools

Actual Results:  
There are several programs added to the system after emerging this package:

# qpkg -l gnome-system-toolsapp-admin/gnome-system-tools-1.2.0-r1 *
CONTENTS:
/etc
/etc/gconf
/etc/gconf/schemas
/etc/gconf/schemas/gnome-system-tools.schemas
/var
/var/lib
/usr
/usr/bin
/usr/bin/boot-admin
/usr/bin/services-admin
/usr/bin/shares-admin
/usr/bin/users-admin
/usr/bin/time-admin
/usr/lib
...

But there is no /usr/bin/network-admin there. And in Gnome 2.8 there was one!

Expected Results:  
I checked the
/usr/portage/app-admin/gnome-system-tools/gnome-system-tools-1.2.0-r1.ebuild
file, and there is a following part:

...
# --enable-disks is not (still) supported for Gentoo
G2CONF="${G2CONF} --enable-boot --enable-services --disable-network"

if ! use nfs && ! use samba; then
        G2CONF="${G2CONF} --disable-shares"
fi
...

The strange thing is that --disable-network switch. Effectively it creates the
following entry in the package's Makefile:

...
VERSION = 1.2.0
gnomelocaledir = ${prefix}/${DATADIRNAME}/locale
interfacesdir = /usr/share/gnome-system-tools/interfaces
mkdir_p = mkdir -p -- .
pixmapsdir = /usr/share/gnome-system-tools/pixmaps
scriptsdir =

boot_SUBDIR = boot

#network_SUBDIR = network

services_SUBDIR = services

time_SUBDIR = time

users_SUBDIR = users

#disks_SUBDIR = disks

shares_SUBDIR = shares
...


Just look at this #network_SUBDIR = network line. Now I understand that using
this ebuild there's no chance that network-admin would be built.


I expect that the ebuild file should be updated, and the "--disable-network"
switch should be removed.

Looks like an [intentional?] overlook in ebuild file, resulting in a lessened
functionality regression. Why is that "--disable-network" switch needed here?
(I can understand missing "--enable-disks" switch, but this one???)
Comment 1 foser (RETIRED) gentoo-dev 2005-06-18 13:36:50 UTC
see bug #86671