summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-01-26 21:05:50 -0500
committerbill-auger <mr.j.spam.me@gmail.com>2021-01-27 02:24:37 -0500
commita4d47df007522722070e167a435398175a1ae162 (patch)
treeab98f2e5732c33e705ab3dce1e6972e3d7b611c6
parent6066fc060bcf536843fd2f6359d823d290ddce96 (diff)
downloadabslibre-a4d47df007522722070e167a435398175a1ae162.tar.gz
abslibre-a4d47df007522722070e167a435398175a1ae162.tar.bz2
abslibre-a4d47df007522722070e167a435398175a1ae162.zip
[imule]: sync with AUR - drop package from [pcr]
the HTTP server hosting the source code for this package is offline it was apparently the only upstream host source code may be acquired now, only via the IP2 network these changes (synced from AUR) attempt to accomplish that; but i did not try it i scanned the parabola source archives, in attempt to rescue this package; but did not find a source-ball for these reasons, i have deleted the parabola binary package
-rw-r--r--pcr/imule/PKGBUILD33
-rw-r--r--pcr/imule/binutils-update.patch22
2 files changed, 47 insertions, 8 deletions
diff --git a/pcr/imule/PKGBUILD b/pcr/imule/PKGBUILD
index 8d7635699..4ec2055ca 100644
--- a/pcr/imule/PKGBUILD
+++ b/pcr/imule/PKGBUILD
@@ -1,18 +1,34 @@
-# Maintainer: Black Dragon <blackdrg at i2pmail dot org>
-# Contributor: atterratio <atterratio at gmail dot com>
+# Maintainer (aur): Que Quotion <quequotion at gmail dot com>
+# Contributor (aur): Black Dragon <blackdrg at i2pmail dot org>
+# Contributor (aur): atterratio <atterratio at gmail dot com>
+
+# NOTE: this PKGBUILD requires I2P to be running on the local machine
pkgname=imule
pkgver=2.3.3.3
-pkgrel=3
-pkgdesc="Anonymous P2P file sharing software."
+pkgrel=5
+pkgdesc="Anonymous P2P file sharing software"
arch=("i686" "x86_64")
+arch+=("armv7h")
url="http://www.imule.i2p/"
license=("GPL")
-depends=("wxgtk" "crypto++")
+depends=("wxgtk2" "crypto++")
optdepends=("i2p: anonymous routing")
-source=("https://echelon.i2p.us/imule/2.3.3.3/iMule-${pkgver}-src.tbz")
-options=(!emptydirs)
-sha512sums=("b34f5d752b75632031d194666959bc323c745936c64c9944f4da419b365f8db079760f2e9282ab7b40978aa1179d89709b10864938d1c9f7fb3e007c8402f712")
+
+# Does this even work?
+source=("http://echelon.i2p/imule/2.3.3.3/iMule-${pkgver}-src.tbz"
+ binutils-update.patch)
+export http_proxy=127.0.0.1:4444
+
+# Use a libmakepkg plugin for i2p
+#source=("i2p+http://echelon.i2p/imule/2.3.3.3/iMule-${pkgver}-src.tbz"
+# binutils-update.patch)
+
+prepare() {
+ cd "${srcdir}/iMule-${pkgver}-src"
+ sed -i 's/pubkey.DEREncode(asink);/pubkey.AccessMaterial().Save(asink);/g' src/ClientCreditsList.cpp
+ patch -Np0 < ../binutils-update.patch
+}
build() {
cd "${srcdir}/iMule-${pkgver}-src"
@@ -31,5 +47,6 @@ check() {
package() {
cd "${srcdir}/iMule-${pkgver}-src"
make DESTDIR=${pkgdir} install
+ #It's hack. If U know best way to not instal this desktop file tell me.
rm ${pkgdir}/usr/share/applications/imulegui.desktop
}
diff --git a/pcr/imule/binutils-update.patch b/pcr/imule/binutils-update.patch
new file mode 100644
index 000000000..93defdc61
--- /dev/null
+++ b/pcr/imule/binutils-update.patch
@@ -0,0 +1,22 @@
+--- src/libs/common/MuleDebug.cpp 2020-03-08 12:28:52.588068625 +0900
++++ src/libs/common/MuleDebug.cpp 2020-03-08 12:29:18.837068569 +0900
+@@ -264,7 +264,7 @@
+ return;
+ }
+
+- bfd_vma vma = bfd_get_section_vma(abfd, section);
++ bfd_vma vma = bfd_section_vma(section);
+
+ unsigned long address = (unsigned long)_address;
+ if (address < vma) {
+--- src/libs/common/MuleDebug.cpp 2020-03-08 12:32:13.913068190 +0900
++++ src/libs/common/MuleDebug.cpp 2020-03-08 12:33:43.956067995 +0900
+@@ -271,7 +271,7 @@
+ return;
+ }
+
+- bfd_size_type size = bfd_section_size(abfd, section);
++ bfd_size_type size = bfd_section_size(section);
+ if (address > (vma + size)) {
+ return;
+ }