Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Commit

Permalink
Remove internal Samba shre mounting code, this had some privilege esc…
Browse files Browse the repository at this point in the history
…alation issues, and is not well tested
  • Loading branch information
CDrummond committed Jun 15, 2018
1 parent ce78cdb commit afc4f83
Show file tree
Hide file tree
Showing 38 changed files with 45 additions and 2,034 deletions.
10 changes: 2 additions & 8 deletions CMakeLists.txt
@@ -1,7 +1,7 @@
PROJECT(cantata)

# NOTE: If PROJECT_URL, or PROJECT_REV_URL, are changed, then cantata-dynamic, and README will need updating.
# dbus/mpd.cantata.xml and devices/mounter/mpd.cantata.mounter.xml will also need renaming/updating.
# NOTE: If PROJECT_URL, or PROJECT_REV_URL, are changed, then cantata-dynamic, README, and
# dbus/mpd.cantata.xml will need renaming/updating.
set(PROJECT_URL "cantata.mpd")
set(PROJECT_REV_URL "mpd.cantata")

Expand Down Expand Up @@ -408,9 +408,6 @@ if (TAGLIB_FOUND)
if (ENABLE_DEVICES_SUPPORT)
set(CANTATA_LIBS ${CANTATA_LIBS} solidlite)
endif ()
if (ENABLE_DEVICES_SUPPORT AND ENABLE_REMOTE_DEVICES AND NOT WIN32 AND NOT APPLE)
set(CANTATA_LIBS ${CANTATA_LIBS} avahi)
endif ()

if (FFMPEG_FOUND OR MPG123_FOUND)
set(CANTATA_SRCS ${CANTATA_SRCS} replaygain/albumscanner.cpp replaygain/rgdialog.cpp replaygain/tagreader.cpp replaygain/jobcontroller.cpp)
Expand Down Expand Up @@ -465,9 +462,6 @@ if (TAGLIB_FOUND)
set(CANTATA_SRCS ${CANTATA_SRCS} devices/remotefsdevice.cpp devices/remotedevicepropertiesdialog.cpp
devices/remotedevicepropertieswidget.cpp)
set(CANTATA_UIS ${CANTATA_UIS} devices/remotedevicepropertieswidget.ui)
qt5_add_dbus_interfaces(CANTATA_SRCS devices/mounter/${PROJECT_REV_URL}.mounter.xml)
add_subdirectory(devices/mounter)
add_subdirectory(devices/avahi)
endif ()
else (ENABLE_DEVICES_SUPPORT)
set(CANTATA_SRCS ${CANTATA_SRCS} devices/device.cpp)
Expand Down
2 changes: 2 additions & 0 deletions ChangeLog
Expand Up @@ -4,6 +4,8 @@
2. When using Track Organizer to rename music tracks, rename any other files
that have the same basename as the music file.
3. Install cantata.png to use as Windows tray icon.
4. Remove internal Samba shre mounting code, this had some privilege
escalation issues, and is not well tested.

2.3.1
-----
Expand Down
8 changes: 0 additions & 8 deletions devices/avahi/CMakeLists.txt

This file was deleted.

97 changes: 0 additions & 97 deletions devices/avahi/avahi.cpp

This file was deleted.

59 changes: 0 additions & 59 deletions devices/avahi/avahi.h

This file was deleted.

82 changes: 0 additions & 82 deletions devices/avahi/avahiservice.cpp

This file was deleted.

60 changes: 0 additions & 60 deletions devices/avahi/avahiservice.h

This file was deleted.

0 comments on commit afc4f83

Please sign in to comment.