2005-12-29 17:03:46 +00:00
|
|
|
SUBDIRS=test-common libnm-util
|
2005-12-21 08:11:57 +00:00
|
|
|
|
2005-12-06 23:37:09 +00:00
|
|
|
INCLUDES = -I${top_srcdir} \
|
|
|
|
|
-I${top_srcdir}/gnome/libnm_glib \
|
|
|
|
|
-I${top_srcdir}/utils \
|
|
|
|
|
-I${top_srcdir}/include
|
2004-10-29 20:24:34 +00:00
|
|
|
|
2004-11-16 02:41:53 +00:00
|
|
|
AM_CPPFLAGS = \
|
2005-01-12 18:40:04 +00:00
|
|
|
$(DBUS_CFLAGS) \
|
|
|
|
|
$(GTHREAD_CFLAGS) \
|
|
|
|
|
$(HAL_CFLAGS) \
|
2004-07-19 Dan Williams <dcbw@redhat.com>
* Makefile.am
- Add info-daemon directory
* configure.in
- Check for glade libs and headers
- Add info-daemon directory
* src/NetworkManagerAP.c
- nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
copied over to the new AP.
* src/NetworkManagerDbus.c
src/NetworkManagerDbus.h
- Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
- Remove nm_dbus_signal_need_key_for_network()
- Add disabled code for asynchronous user wep key callbacks
- Add functions for getting, setting, and cancelling user key operations
- Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
- Add "setKeyForNetwork" dbus method call on NetworkManager object
* src/NetworkManagerDevice.c
src/NetworkManagerDevice.h
- nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
logic is in device activation now
- nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
key is wrong) trigger get-user-key pending action
- Implement get-user-key pending action stuff, tie to dbus messages
- Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
- Add nm_device_ap_list_get_ap_by_essid()
- Instead of copying "best" access points, ref them instead so that the key we set
sticks around
* src/NetworkManagerPolicy.c
- Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
- Don't cancel pending actions on a device if its the same device as last iteration
- Only promote pending_device->active_device if activation was successfull
* src/Makefile.am
- Rename nmclienttest->nmtest
* info-daemon/Makefile.am
info-daemon/NetworkManagerInfo.c
info-daemon/NetworkManagerInfo.h
info-daemon/NetworkManagerInfoDbus.c
info-daemon/NetworkManagerInfoDbus.h
info-daemon/passphrase.glade
info-daemon/NetworkManagerInfo.conf
info-daemon/keyring.png
- Import sources for info-daemon, which pops up dialog for passphrase/key when
NetworkManager asks for it, and also will (soon) provide "allowed" access point
lists to NetworkManager by proxying user's GConf
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@16 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-07-19 06:08:52 +00:00
|
|
|
-DDBUS_API_SUBJECT_TO_CHANGE \
|
|
|
|
|
-DBINDIR=\"$(bindir)\" \
|
2006-09-07 19:17:20 +00:00
|
|
|
-DWPA_SUPPLICANT_BIN=\"$(WPA_SUPPLICANT_BINARY_PATH)\" \
|
|
|
|
|
-DNM_RUN_DIR=\"$(rundir)\" \
|
2004-06-24 14:18:37 +00:00
|
|
|
-DDATADIR=\"$(datadir)\"
|
|
|
|
|
|
2006-09-07 19:17:20 +00:00
|
|
|
noinst_PROGRAMS = nm-tool \
|
|
|
|
|
nm-online \
|
|
|
|
|
nminfotest \
|
|
|
|
|
nmtestdevices \
|
|
|
|
|
libnm_glib_test \
|
|
|
|
|
nm-supplicant-test
|
2004-06-24 14:18:37 +00:00
|
|
|
|
2005-10-09 04:28:16 +00:00
|
|
|
nm_tool_SOURCES = nm-tool.c
|
|
|
|
|
nm_tool_LDADD = $(DBUS_LIBS) $(GTHREAD_LIBS) $(HAL_LIBS) \
|
2005-03-09 16:39:15 +00:00
|
|
|
$(top_builddir)/utils/libnmutils.la
|
|
|
|
|
|
2006-04-26 19:11:17 +00:00
|
|
|
nm_online_SOURCES = nm-online.c
|
|
|
|
|
nm_online_LDADD = $(DBUS_LIBS) $(GTHREAD_LIBS) $(HAL_LIBS) \
|
|
|
|
|
$(top_builddir)/utils/libnmutils.la
|
2004-07-22 05:17:36 +00:00
|
|
|
|
|
|
|
|
nminfotest_SOURCES = nminfotest.c
|
2005-03-09 16:39:15 +00:00
|
|
|
nminfotest_LDADD = $(DBUS_LIBS) $(GTHREAD_LIBS) \
|
|
|
|
|
$(top_builddir)/utils/libnmutils.la
|
2004-08-31 Dan Williams <dcbw@redhat.com>
* Remove 'debug' extern global from all files since we now
use syslog()
* src/NetworkManager.[ch]
- Break out routine that get the net.interface property from HAL,
removing that logic from nm_create_device_and_add_to_list()
- (nm_create_device_and_add_to_list): make this a bit more general so
it doesn't do the talking to HAL. Also add arguments to facilitate
the create of test devices.
- (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
- (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
which makes NetworkManager listen for dbus commands to create test
devices, which have no backing hardware. Use when you're on a plane
for example, and/or forgot your wireless card at home. Test devices
_cannot_ be created unless NM is started with --enable-test-devices.
* src/NetworkManagerDbus.[ch]
- New "getLinkActive" method for devices
- New "setLinkActive" method for devices (only works on test devices)
- New "createTestDevice" method on NetworkManager object to create a test
device of a specified type (ie wired, wireless). UDI is created from
scratch, as is the interface name. Only works when NM is started with
--enable-test-devices switch.
- New "removeTestDevice" method on NetworkManager object which removes a
test device. Only works when NM is started with --enable-test-devices
* src/NetworkManagerDevice.[ch]
- Logic to facilitate test devices. Add variables to NMDevice struct to indicate
whether a device is a test device or not, and what its link status is.
- Deal with test devices in most functions. For those that work directly on hardware
special-case test devices.
- (nm_device_new): don't create a test device if test devices weren't enabled on the
command-line.
- (nm_device_update_link_active): split out logic for wired and wireless device link
checking to separate functions to facilitate test device link checking.
- (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
don't make a distinction between System Authentication and Encryption
(namely Cisco aironet), we use Open System auth when setting a WEP key
on the card. We don't deal with Shared Key auth yet.
- (nm_device_activation_worker): split the activation cancel check logic out into
a separate routine nm_device_activation_cancel_if_needed()
- (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
- (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
a list of fake access points that they can "see"
- (nm_device_is_test_device): return whether or not a device is a test device
* src/NetworkManagerPolicy.c
- (nm_policy_get_best_device): attempt to deal with wireless network selection,
previously if you "locked"/forced NM to use a wireless device but then
selected a wireless network for NM to use, it would switch to a wired device.
So, if the active device is wireless and it has a "forced" best AP, use it
if the "forced" best AP is still valid
- (nm_state_modification_monitor): deal with NULL best devices, for example
there were no usable network devices, or the last one was removed
* src/backends/NetworkManager*.c
- Deal with test devices, mostly just return success for operations like getting
a DHCP address
* test/nmtestdevices.c
- Test tool to create/remove/link-switch test devices
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@112 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-31 16:09:15 +00:00
|
|
|
|
|
|
|
|
nmtestdevices_SOURCES = nmtestdevices.c
|
2005-03-09 16:39:15 +00:00
|
|
|
nmtestdevices_LDADD = $(DBUS_LIBS) $(GTHREAD_LIBS) \
|
|
|
|
|
$(top_builddir)/utils/libnmutils.la
|
2005-01-12 18:40:04 +00:00
|
|
|
|
|
|
|
|
libnm_glib_test_SOURCES = libnm_glib_test.c
|
2005-03-09 16:39:15 +00:00
|
|
|
libnm_glib_test_LDADD = $(DBUS_LIBS) $(GTHREAD_LIBS) \
|
|
|
|
|
$(top_builddir)/utils/libnmutils.la \
|
2006-09-07 19:17:20 +00:00
|
|
|
$(top_builddir)/gnome/libnm_glib/libnm_glib.la
|
2005-03-09 16:39:15 +00:00
|
|
|
|
2006-09-07 19:17:20 +00:00
|
|
|
nm_supplicant_test_SOURCES = nm-supplicant-test.c
|
|
|
|
|
nm_supplicant_test_LDADD = $(GLIB_LIBS) $(GTHREAD_LIBS)
|