We truncated the diff of some files because they were too big.
If you want to see the full diff for every file, click here.
Changes of Revision 52
aMule.changes
Changed
x
1
2
-------------------------------------------------------------------
3
+Mon Dec 10 13:16:57 UTC 2018 - Javier Llorente <javier@opensuse.org>
4
+
5
+- Update to version 2.3.2.20181119.20afd75fa
6
+ * Bugfix: API mismatch with crypto++ 6.0.0; GH #120
7
+- Add patch to fix build: Update to libupnp 1.8; GH #135
8
+- Redo 0001-Fix-desktop-files.patch
9
+
10
+-------------------------------------------------------------------
11
Sun Feb 26 09:23:20 UTC 2017 - martin@pluskal.org
12
13
- Update to version 2.3.2.20161207.047a55c93
14
aMule.spec
Changed
30
1
2
3
4
Name: aMule
5
-Version: 2.3.2.20161207.047a55c93
6
+Version: 2.3.2.20181119.20afd75fa
7
Release: 0
8
Summary: Another eMule file-sharing program
9
License: GPL-2.0+
10
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
20
%prep
21
%setup -q
22
%patch0 -p1
23
+#TW has libupnp >= 1.8.0
24
+%if 0%{?suse_version} > 1500
25
+%patch1 -p1
26
+%endif
27
28
%build
29
./autogen.sh
30
0001-Fix-desktop-files.patch
Changed
114
1
2
-From c0d544359e2f65e01496bf222a2753dce5855a37 Mon Sep 17 00:00:00 2001
3
-From: Johannes Obermayr <johannesobermayr@gmx.de>
4
-Date: Sun, 14 Sep 2014 03:25:32 +0200
5
-Subject: [PATCH 1/2] Fix desktop files.
6
-
7
----
8
- amule.desktop | 6 +++---
9
- amulegui.desktop | 10 +++++-----
10
- src/utils/aLinkCreator/alc.desktop | 10 +++++-----
11
- src/utils/wxCas/wxcas.desktop | 10 +++++-----
12
- 4 files changed, 18 insertions(+), 18 deletions(-)
13
-
14
diff --git a/amule.desktop b/amule.desktop
15
-index 70be367..e15de2d 100644
16
+index 2928ea5d8..91aca7ac1 100644
17
--- a/amule.desktop
18
+++ b/amule.desktop
19
-@@ -5,6 +5,6 @@ Icon=amule
20
+@@ -5,9 +5,9 @@ Icon=amule
21
Terminal=false
22
Type=Application
23
Categories=Network;P2P;
24
-Comment=A client for the eD2k network
25
-Comment[fr]=Un client pour le réseau eD2k
26
-Comment[tr]=eD2k ağı için istemci
27
+-Comment[zh_CN]=eD2k网络客户端
28
+-Comment[it]=Un client per la rete eD2k
29
+-Comment[it_CH]=Un client per la rete eD2k
30
+GenericName=A client for the eD2k network
31
+GenericName[fr]=Un client pour le réseau eD2k
32
+GenericName[tr]=eD2k ağı için istemci
33
++GenericName[zh_CN]=eD2k网络客户端
34
++GenericName[it]=Un client per la rete eD2k
35
++GenericName[it_CH]=Un client per la rete eD2k
36
diff --git a/amulegui.desktop b/amulegui.desktop
37
-index 8a446fd..be900f6 100644
38
+index 14c5035a5..4248f361c 100644
39
--- a/amulegui.desktop
40
+++ b/amulegui.desktop
41
-@@ -5,8 +5,8 @@ Icon=amulegui
42
+@@ -5,11 +5,11 @@ Icon=amulegui
43
Terminal=false
44
Type=Application
45
Categories=Network;P2P;
46
47
-Comment[fr]=Contrôle à distance d'aMule
48
-Comment[hu]=aMule távoli vezérlő
49
-Comment[tr]=aMule uzaktan kumandası
50
+-Comment[zh_CN]=aMule远程协议
51
+-Comment[it]=Terminale remoto per aMule
52
+-Comment[it_CH]=Terminale remoto per aMule
53
+GenericName=aMule remote control
54
+GenericName[de]=aMule-Fernsteuerung
55
+GenericName[fr]=Contrôle à distance d'aMule
56
+GenericName[hu]=aMule távoli vezérlő
57
+GenericName[tr]=aMule uzaktan kumandası
58
++GenericName[zh_CN]=aMule远程协议
59
++GenericName[it]=Terminale remoto per aMule
60
++GenericName[it_CH]=Terminale remoto per aMule
61
diff --git a/src/utils/aLinkCreator/alc.desktop b/src/utils/aLinkCreator/alc.desktop
62
-index 50bf610..0f6a839 100644
63
+index 0f13ff882..76c73f36c 100644
64
--- a/src/utils/aLinkCreator/alc.desktop
65
+++ b/src/utils/aLinkCreator/alc.desktop
66
-@@ -5,8 +5,8 @@ Icon=alc
67
+@@ -5,11 +5,11 @@ Icon=alc
68
Terminal=false
69
Type=Application
70
Categories=Network;P2P;
71
72
-Comment[fr]=Créateur de liens ed2k d'aMule
73
-Comment[hu]=ed2k hivatkozás készítő
74
-Comment[tr]=aMule için ed2k bağlantı yaratıcısı
75
+-Comment[zh_CN]=aMule ed2k链接创建工具
76
+-Comment[it]=Creatore di link eD2k
77
+-Comment[it_CH]=Creatore di link eD2k
78
+GenericName=aMule ed2k link creator
79
+GenericName[de]=ed2k-Linkersteller
80
+GenericName[fr]=Créateur de liens ed2k d'aMule
81
+GenericName[hu]=ed2k hivatkozás készítő
82
+GenericName[tr]=aMule için ed2k bağlantı yaratıcısı
83
++GenericName[zh_CN]=aMule ed2k链接创建工具
84
++GenericName[it]=Creatore di link eD2k
85
++GenericName[it_CH]=Creatore di link eD2k
86
diff --git a/src/utils/wxCas/wxcas.desktop b/src/utils/wxCas/wxcas.desktop
87
-index b943ee8..0e64b76 100644
88
+index 9d83dfec7..e866c1742 100644
89
--- a/src/utils/wxCas/wxcas.desktop
90
+++ b/src/utils/wxCas/wxcas.desktop
91
-@@ -5,8 +5,8 @@ Icon=wxcas
92
+@@ -5,11 +5,11 @@ Icon=wxcas
93
Terminal=false
94
Type=Application
95
Categories=Network;P2P;
96
97
-Comment[fr]=Statistiques d'aMule en ligne
98
-Comment[hu]=aMule online statisztikák
99
-Comment[tr]=Çevrim içi aMule istatistikleri
100
+-Comment[zh_CN]=aMule在线统计
101
+-Comment[it]=Statistiche online di aMule
102
+-Comment[it_CH]=Statistiche online di aMule
103
+GenericName=aMule online statistics
104
+GenericName[de]=aMule-Onlinestatistik
105
+GenericName[fr]=Statistiques d'aMule en ligne
106
+GenericName[hu]=aMule online statisztikák
107
+GenericName[tr]=Çevrim içi aMule istatistikleri
108
---
109
-2.1.0
110
-
111
++GenericName[zh_CN]=aMule在线统计
112
++GenericName[it]=Statistiche online di aMule
113
++GenericName[it_CH]=Statistiche online di aMule
114
fix-build-libupnp18.patch
Added
201
1
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.20161207.047a55c93.tar.xz
Deleted
aMule-2.3.2.20181119.20afd75fa.tar.xz
Added