Changes of Revision 54

aMule.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Sun Sep 22 17:53:50 UTC 2019 - olaf@aepfle.de
4
+
5
+- Update to version 2.3.2.20190827.2a1b09233
6
+
7
+-------------------------------------------------------------------
8
 Fri Aug  2 07:39:08 UTC 2019 - Dave Plater <davejplater@gmail.com>
9
 
10
 - Enabled wxWidgets >= 3.0.
11
aMule.spec Changed
33
 
1
@@ -15,16 +15,13 @@
2
 
3
 
4
 Name:           aMule
5
-Version:        2.3.2.20181119.20afd75fa
6
+Version:        2.3.2.20190827.2a1b09233
7
 Release:        0
8
 Summary:        Another eMule file-sharing program
9
 License:        GPL-2.0+
10
 Group:          Productivity/Networking/Other
11
 Url:            http://www.amule.org
12
 Source:         %{name}-%{version}.tar.xz
13
-Patch0:         0001-Fix-desktop-files.patch
14
-# PATCH-FIX-UPSTREAM GH #135
15
-Patch1:        fix-build-libupnp18.patch
16
 BuildRequires:  autoconf
17
 BuildRequires:  automake >= 1.9
18
 BuildRequires:  binutils-devel
19
@@ -82,12 +79,7 @@
20
 This package contains the plasma widget for aMule.
21
 
22
 %prep
23
-%setup -q
24
-%patch0 -p1
25
-#TW has libupnp >= 1.8.0
26
-%if 0%{?suse_version} > 1500
27
-%patch1 -p1
28
-%endif
29
+%autosetup -p1
30
 
31
 %build
32
 ./autogen.sh
33
0001-Fix-desktop-files.patch Deleted
94
 
1
@@ -1,92 +0,0 @@
2
-diff --git a/amule.desktop b/amule.desktop
3
-index 2928ea5d8..91aca7ac1 100644
4
---- a/amule.desktop
5
-+++ b/amule.desktop
6
-@@ -5,9 +5,9 @@ Icon=amule
7
- Terminal=false
8
- Type=Application
9
- Categories=Network;P2P;
10
--Comment=A client for the eD2k network
11
--Comment[fr]=Un client pour le réseau eD2k
12
--Comment[tr]=eD2k ağı için istemci
13
--Comment[zh_CN]=eD2k网络客户端
14
--Comment[it]=Un client per la rete eD2k
15
--Comment[it_CH]=Un client per la rete eD2k
16
-+GenericName=A client for the eD2k network
17
-+GenericName[fr]=Un client pour le réseau eD2k
18
-+GenericName[tr]=eD2k ağı için istemci
19
-+GenericName[zh_CN]=eD2k网络客户端
20
-+GenericName[it]=Un client per la rete eD2k
21
-+GenericName[it_CH]=Un client per la rete eD2k
22
-diff --git a/amulegui.desktop b/amulegui.desktop
23
-index 14c5035a5..4248f361c 100644
24
---- a/amulegui.desktop
25
-+++ b/amulegui.desktop
26
-@@ -5,11 +5,11 @@ Icon=amulegui
27
- Terminal=false
28
- Type=Application
29
- Categories=Network;P2P;
30
--Comment=aMule remote control
31
--Comment[de]=aMule-Fernsteuerung
32
--Comment[fr]=Contrôle à distance d'aMule
33
--Comment[hu]=aMule távoli vezérlő
34
--Comment[tr]=aMule uzaktan kumandası
35
--Comment[zh_CN]=aMule远程协议
36
--Comment[it]=Terminale remoto per aMule
37
--Comment[it_CH]=Terminale remoto per aMule
38
-+GenericName=aMule remote control
39
-+GenericName[de]=aMule-Fernsteuerung
40
-+GenericName[fr]=Contrôle à distance d'aMule
41
-+GenericName[hu]=aMule távoli vezérlő
42
-+GenericName[tr]=aMule uzaktan kumandası
43
-+GenericName[zh_CN]=aMule远程协议
44
-+GenericName[it]=Terminale remoto per aMule
45
-+GenericName[it_CH]=Terminale remoto per aMule
46
-diff --git a/src/utils/aLinkCreator/alc.desktop b/src/utils/aLinkCreator/alc.desktop
47
-index 0f13ff882..76c73f36c 100644
48
---- a/src/utils/aLinkCreator/alc.desktop
49
-+++ b/src/utils/aLinkCreator/alc.desktop
50
-@@ -5,11 +5,11 @@ Icon=alc
51
- Terminal=false
52
- Type=Application
53
- Categories=Network;P2P;
54
--Comment=aMule ed2k link creator
55
--Comment[de]=ed2k-Linkersteller
56
--Comment[fr]=Créateur de liens ed2k d'aMule
57
--Comment[hu]=ed2k hivatkozás készítő
58
--Comment[tr]=aMule için ed2k bağlantı yaratıcısı
59
--Comment[zh_CN]=aMule ed2k链接创建工具
60
--Comment[it]=Creatore di link eD2k
61
--Comment[it_CH]=Creatore di link eD2k
62
-+GenericName=aMule ed2k link creator
63
-+GenericName[de]=ed2k-Linkersteller
64
-+GenericName[fr]=Créateur de liens ed2k d'aMule
65
-+GenericName[hu]=ed2k hivatkozás készítő
66
-+GenericName[tr]=aMule için ed2k bağlantı yaratıcısı
67
-+GenericName[zh_CN]=aMule ed2k链接创建工具
68
-+GenericName[it]=Creatore di link eD2k
69
-+GenericName[it_CH]=Creatore di link eD2k
70
-diff --git a/src/utils/wxCas/wxcas.desktop b/src/utils/wxCas/wxcas.desktop
71
-index 9d83dfec7..e866c1742 100644
72
---- a/src/utils/wxCas/wxcas.desktop
73
-+++ b/src/utils/wxCas/wxcas.desktop
74
-@@ -5,11 +5,11 @@ Icon=wxcas
75
- Terminal=false
76
- Type=Application
77
- Categories=Network;P2P;
78
--Comment=aMule online statistics
79
--Comment[de]=aMule-Onlinestatistik
80
--Comment[fr]=Statistiques d'aMule en ligne
81
--Comment[hu]=aMule online statisztikák
82
--Comment[tr]=Çevrim içi aMule istatistikleri
83
--Comment[zh_CN]=aMule在线统计
84
--Comment[it]=Statistiche online di aMule
85
--Comment[it_CH]=Statistiche online di aMule
86
-+GenericName=aMule online statistics
87
-+GenericName[de]=aMule-Onlinestatistik
88
-+GenericName[fr]=Statistiques d'aMule en ligne
89
-+GenericName[hu]=aMule online statisztikák
90
-+GenericName[tr]=Çevrim içi aMule istatistikleri
91
-+GenericName[zh_CN]=aMule在线统计
92
-+GenericName[it]=Statistiche online di aMule
93
-+GenericName[it_CH]=Statistiche online di aMule
94
fix-build-libupnp18.patch Deleted
201
 
1
@@ -1,363 +0,0 @@
2
-From 78367d7a0fb12e6907cfce46a35c86fc7d65e733 Mon Sep 17 00:00:00 2001
3
-From: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
4
-Date: Tue, 2 Oct 2018 18:15:19 -0300
5
-Subject: [PATCH 1/3] Add a .gitignore to the project
6
-
7
----
8
- .gitignore | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
9
- 1 file changed, 51 insertions(+)
10
- create mode 100644 .gitignore
11
-
12
-diff --git a/.gitignore b/.gitignore
13
-new file mode 100644
14
-index 000000000..80a596b72
15
---- /dev/null
16
-+++ b/.gitignore
17
-@@ -0,0 +1,51 @@
18
-+*.a
19
-+*.o
20
-+*.gmo
21
-+*.swp
22
-+*~
23
-+.*~
24
-+Makefile
25
-+Makefile.in
26
-+Makefile.in.in
27
-+Makefile.user
28
-+.deps
29
-+POTFILES
30
-+
31
-+
32
-+ABOUT-NLS
33
-+aclocal.m4
34
-+autom4te.cache/
35
-+compile
36
-+config.guess
37
-+config.h
38
-+config.h.in
39
-+config.log
40
-+config.rpath
41
-+config.status
42
-+config.sub
43
-+configure
44
-+depcomp
45
-+install-sh
46
-+intl/
47
-+missing
48
-+mkinstalldirs
49
-+
50
-+src/amule
51
-+src/amulecmd
52
-+src/amuled
53
-+src/amulegui
54
-+src/ed2k
55
-+src/libs/ec/ECGeneratedFiles
56
-+src/libs/ec/cpp/EC-timestamp
57
-+src/libs/ec/cpp/ECVersion.h
58
-+src/libs/ec/cpp/mkFileSum
59
-+src/pixmaps/flags_xpm/CountryFlags.h
60
-+src/pixmaps/flags_xpm/Makefile.am
61
-+src/utils/cas/cas
62
-+src/utils/scripts/denoiser.sed
63
-+src/utils/wxCas/src/wxcas
64
-+src/utils/xas/autostart-xas
65
-+src/webserver/src/amuleweb
66
-+stamp-h1
67
-+test-driver
68
-+
69
-
70
-From f6dccde218fed8dabd3c61efce02d29b320858fe Mon Sep 17 00:00:00 2001
71
-From: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
72
-Date: Tue, 2 Oct 2018 18:17:43 -0300
73
-Subject: [PATCH 2/3] Make aMule compatible with libupnp 1.8
74
-
75
----
76
- src/UPnPBase.cpp | 110 +++++++++++++++++++++++++++--------------------
77
- src/UPnPBase.h   |   6 +--
78
- 2 files changed, 66 insertions(+), 50 deletions(-)
79
-
80
-diff --git a/src/UPnPBase.cpp b/src/UPnPBase.cpp
81
-index 01a7c3a05..d4063a136 100644
82
---- a/src/UPnPBase.cpp
83
-+++ b/src/UPnPBase.cpp
84
-@@ -1127,7 +1127,7 @@ bool CUPnPControlPoint::PrivateDeletePortMapping(
85
- 
86
- 
87
- // This function is static
88
--int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*Cookie*/)
89
-+int CUPnPControlPoint::Callback(Upnp_EventType_e EventType, const void *Event, void * /*Cookie*/)
90
- {
91
-   std::ostringstream msg;
92
-   std::ostringstream msg2;
93
-@@ -1149,24 +1149,25 @@ int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*
94
-       msg2<< "UPNP_DISCOVERY_SEARCH_RESULT: ";
95
-       // UPnP Discovery
96
- upnpDiscovery:
97
--      struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
98
-+      UpnpDiscovery *d_event = (UpnpDiscovery *)Event;
99
-       IXML_Document *doc = NULL;
100
--      int ret;
101
--      if (d_event->ErrCode != UPNP_E_SUCCESS) {
102
--          msg << UpnpGetErrorMessage(d_event->ErrCode) << ".";
103
-+      int errCode = UpnpDiscovery_get_ErrCode(d_event);
104
-+      if (errCode != UPNP_E_SUCCESS) {
105
-+          msg << UpnpGetErrorMessage(errCode) << ".";
106
-           AddDebugLogLineC(logUPnP, msg);
107
-       }
108
-       // Get the XML tree device description in doc
109
--      ret = UpnpDownloadXmlDoc(d_event->Location, &doc);
110
-+      const char *location = UpnpDiscovery_get_Location_cstr(d_event);
111
-+      int ret = UpnpDownloadXmlDoc(location, &doc);
112
-       if (ret != UPNP_E_SUCCESS) {
113
-           msg << "Error retrieving device description from " <<
114
--              d_event->Location << ": " <<
115
-+              location << ": " <<
116
-               UpnpGetErrorMessage(ret) <<
117
-               "(" << ret << ").";
118
-           AddDebugLogLineC(logUPnP, msg);
119
-       } else {
120
-           msg2 << "Retrieving device description from " <<
121
--              d_event->Location << ".";
122
-+              location << ".";
123
-           AddDebugLogLineN(logUPnP, msg2);
124
-       }
125
-       if (doc) {
126
-@@ -1194,8 +1195,9 @@ int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*
127
-                   AddDebugLogLineC(logUPnP, msg);
128
-               }
129
-               // Add the root device to our list
130
-+              int expires = UpnpDiscovery_get_Expires(d_event);
131
-               upnpCP->AddRootDevice(rootDevice, urlBase,
132
--                  d_event->Location, d_event->Expires);
133
-+                  location, expires);
134
-           }
135
-           // Free the XML doc tree
136
-           IXML::Document::Free(doc);
137
-@@ -1216,28 +1218,35 @@ int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*
138
-   case UPNP_DISCOVERY_ADVERTISEMENT_BYEBYE: {
139
-       //fprintf(stderr, "Callback: UPNP_DISCOVERY_ADVERTISEMENT_BYEBYE\n");
140
-       // UPnP Device Removed
141
--      struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
142
--      if (dab_event->ErrCode != UPNP_E_SUCCESS) {
143
-+      UpnpDiscovery *dab_event = (UpnpDiscovery *)Event;
144
-+      int errCode = UpnpDiscovery_get_ErrCode(dab_event);
145
-+      if (errCode != UPNP_E_SUCCESS) {
146
-           msg << "error(UPNP_DISCOVERY_ADVERTISEMENT_BYEBYE): " <<
147
--              UpnpGetErrorMessage(dab_event->ErrCode) <<
148
-+              UpnpGetErrorMessage(errCode) <<
149
-               ".";
150
-           AddDebugLogLineC(logUPnP, msg);
151
-       }
152
--      std::string devType = dab_event->DeviceType;
153
-+      std::string devType = UpnpDiscovery_get_DeviceType_cstr(dab_event);
154
-       // Check for an InternetGatewayDevice and removes it from the list
155
--      std::transform(devType.begin(), devType.end(), devType.begin(), tolower);
156
-+      std::transform(devType.begin(), devType.end(),
157
-+          devType.begin(), tolower);
158
-       if (stdStringIsEqualCI(devType, UPnP::Device::IGW)) {
159
--          upnpCP->RemoveRootDevice(dab_event->DeviceId);
160
-+          const char *deviceID =
161
-+              UpnpDiscovery_get_DeviceID_cstr(dab_event);
162
-+          upnpCP->RemoveRootDevice(deviceID);
163
-       }
164
-       break;
165
-   }
166
-   case UPNP_EVENT_RECEIVED: {
167
-       //fprintf(stderr, "Callback: UPNP_EVENT_RECEIVED\n");
168
-       // Event reveived
169
--      struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
170
--      const std::string Sid = e_event->Sid;
171
-+      UpnpEvent *e_event = (UpnpEvent *)Event;
172
-+      int eventKey = UpnpEvent_get_EventKey(e_event);
173
-+      IXML_Document *changedVariables =
174
-+          UpnpEvent_get_ChangedVariables(e_event);
175
-+      const std::string sid = UpnpEvent_get_SID_cstr(e_event);
176
-       // Parses the event
177
--      upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
178
-+      upnpCP->OnEventReceived(sid, eventKey, changedVariables);
179
-       break;
180
-   }
181
-   case UPNP_EVENT_SUBSCRIBE_COMPLETE:
182
-@@ -1252,24 +1261,23 @@ int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*
183
-       //fprintf(stderr, "Callback: UPNP_EVENT_RENEWAL_COMPLETE\n");
184
-       msg << "error(UPNP_EVENT_RENEWAL_COMPLETE): ";
185
- upnpEventRenewalComplete:
186
--      struct Upnp_Event_Subscribe *es_event =
187
--          (struct Upnp_Event_Subscribe *)Event;
188
--      if (es_event->ErrCode != UPNP_E_SUCCESS) {
189
-+      UpnpEventSubscribe *es_event = (UpnpEventSubscribe *)Event;
190
-+      int errCode = UpnpEventSubscribe_get_ErrCode(es_event);
191
-+      if (errCode != UPNP_E_SUCCESS) {
192
-           msg << "Error in Event Subscribe Callback";
193
--          UPnP::ProcessErrorMessage(
194
--              msg.str(), es_event->ErrCode, NULL, NULL);
195
-+          UPnP::ProcessErrorMessage(msg.str(), errCode, NULL, NULL);
196
-       } else {
197
- #if 0
198
-+          const UpnpString *publisherUrl =
199
-+              UpnpEventSubscribe_get_PublisherUrl(es_event);
200
-+          const char *sid = UpnpEvent_get_SID_cstr(es_event);
201
aMule-2.3.2.20181119.20afd75fa.tar.xz Deleted
aMule-2.3.2.20190827.2a1b09233.tar.xz Added