Browse Source

Haguichi 1.0.26: Remove unneeded deps + fix hamachi detection

master
Fincer 7 years ago
parent
commit
ee2528151f
2 changed files with 35 additions and 3 deletions
  1. +12
    -3
      haguichi/PKGBUILD
  2. +23
    -0
      haguichi/fix-hamachi-not-detected.patch

+ 12
- 3
haguichi/PKGBUILD View File

@ -1,5 +1,6 @@
# Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net> pointfree on irc.freenode.net
# Contributor: scrawl <scrawl@baseoftrash.de>
# Contributor: Fincer <fincer89 [at] hotmail [dot] com>
pkgname=haguichi
pkgver=1.0.26
@ -9,10 +10,18 @@ pkgdesc="Hamachi GUI"
arch=('any')
url="http://www.haguichi.net"
license=('GPL2')
depends=('logmein-hamachi' 'mono' 'gconf-sharp' 'notify-sharp' 'ndesk-dbus-glib')
depends=('logmein-hamachi' 'gconf-sharp' 'notify-sharp' 'gtk2')
makedepends=('make')
#source=("http://launchpad.net/$pkgname/$_series/$pkgver/+download/$pkgname-$pkgver-clr4.0.tar.gz")
source=("haguichi-1.0.26-clr4.0.tar.gz")
sha256sums=('SKIP')
source=("haguichi-1.0.26-clr4.0.tar.gz"
fix-hamachi-not-detected.patch)
sha256sums=('e65fad7961cd8152ca8a47477c55ba9d1f4a12fdc602c04d32fed1b29c2266b4'
'2015c65d7081fd1fc06357c8b58603b78a063e3d38bea3dfd4b06d8fb35f49e2')
prepare() {
cd $srcdir/$pkgname-$pkgver
patch -Np1 -i "$srcdir/fix-hamachi-not-detected.patch"
}
build() {
cd $srcdir/$pkgname-$pkgver


+ 23
- 0
haguichi/fix-hamachi-not-detected.patch View File

@ -0,0 +1,23 @@
--- a/src/Hamachi.cs
+++ b/src/Hamachi.cs
@@ -54,7 +54,7 @@
if ( Config.Settings.DemoMode )
{
- Version = "2.1.0.136";
+ Version = "2.1.0.174";
VpnAliasCapable = true;
IpModeCapable = true;
return 2;
--- a/src/Controller.cs
+++ b/src/Controller.cs
@@ -33,7 +33,7 @@
public static bool manualUpdate;
public static bool restoreConnection;
public static int restoreCountdown;
- public static int lastStatus = -3;
+ public static int lastStatus;
public static int numUpdateCycles;
private static int numWaitForInternetCycles;
private static string startOutput;

Loading…
Cancel
Save