wareck 2 years ago
parent
commit
fdbfc665ea

+ 1 - 1
build_bfgminer.sh

@@ -4,7 +4,7 @@ export folder=$(pwd)
 function libraries {
 cd ~
 #pkg-config --libs libevent_pthreads PKG_CONFIG_PATH=/home/wareck/event
-sudo rm -r -f temp
+rm -r -f temp
 mkdir temp
 cd temp
 wget http://wareck.free.fr/cross_compilation/uthash-2.3.0.tar.gz

+ 9 - 8
build_gekko.sh

@@ -11,13 +11,13 @@ cd ..
 fi
 cd cgminer-gekko
 autoreconf -fi
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-gekko --with-system-libusb
-#--enable-bflsc  --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus  --enable-klondike  --enable-modminer
+CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-static --enable-gekko
 make
 strip cgminer.exe
-#upx cgminer.exe
+upx cgminer.exe
+if [ -d /tmp/cgminer-gekko/ ]; then rm -r /tmp/cgminer-gekko/ ;fi
 mkdir /tmp/cgminer-gekko
-cp cgminer.exe /tmp/cgminer-gekko
+cp cgminer.exe /tmp/cgminer-gekko/
 cp $folder/packages/gekko/manual.pdf /tmp/cgminer-gekko/
 cp $folder/packages/gekko/start.bat /tmp/cgminer-gekko/
 cp $folder/packages/gekko/zadig-2.7.exe /tmp/cgminer-gekko/
@@ -26,15 +26,16 @@ cd /tmp/
 version=`git ls-remote -h https://github.com/wareck/cgminer-gekko.git | awk '{print $1}' |cut -c1-7`
 7z a -tzip cgminer-gekko-$version.zip cgminer-gekko
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put cgminer-gekko-$version.zip -o /crypto/cgminer-gekko-$version.zip
+put cgminer-gekko-$version.zip -o /crypto/cgminer/cgminer-gekko-$version.zip
 EOF
 cp cgminer-gekko-$version.zip /home/$USER/Bureau
 
 cd /home/wareck/cgminer-gekko
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --with-system-libusb --enable-gekko --enable-bflsc  --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus  --enable-klondike  --enable-modminer
+CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --enable-static --disable-shared --enable-gekko --enable-bflsc  --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus  --enable-klondike  --enable-modminer
 make
 strip cgminer.exe
-#upx cgminer.exe
+upx cgminer.exe
+if [ -d /tmp/cgminer-gekko ]; then rm /tmp/cgminer-gekko ;fi
 rm -r -f /tmp/cgminer-gekko
 mkdir /tmp/cgminer-gekko-all-usb
 cp cgminer.exe /tmp/cgminer-gekko-all-usb
@@ -47,7 +48,7 @@ cd /tmp/
 version=`git ls-remote -h https://github.com/wareck/cgminer-gekko.git | awk '{print $1}' |cut -c1-7`
 7z a -tzip cgminer-gekko-all-usb-$version.zip cgminer-gekko-all-usb
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put cgminer-gekko-all-usb-$version.zip -o /crypto/cgminer-gekko-all-usb-$version.zip
+put cgminer-gekko-all-usb-$version.zip -o /crypto/cgminer/cgminer-gekko-all-usb-$version.zip
 EOF
 cp cgminer-gekko-all-usb-$version.zip /home/$USER/Bureau
 cd /tmp

+ 3 - 3
build_lketc.sh

@@ -4,10 +4,10 @@ cd ~
 git clone https://github.com/wareck/cgminer-lketc.git
 cd cgminer-lketc
 autoreconf -fi
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-zeus --enable-gridseed --enable-lketc --enable-scrypt --with-system-libusb
+CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-zeus --enable-scrypt
 make -j4
 strip cgminer.exe
-#upx cgminer.exe
+upx cgminer.exe
 mkdir /tmp/cgminer-lketc
 cp cgminer.exe /tmp/cgminer-lketc
 cp $folder/packages/lketc/manual.pdf /tmp/cgminer-lketc/
@@ -18,6 +18,6 @@ cd /tmp/
 version=`git ls-remote -h https://github.com/wareck/cgminer-lketc.git | awk '{print $1}' |cut -c1-7`
 7z a -tzip cgminer-lketc-$version.zip cgminer-lketc
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put cgminer-lketc-$version.zip -o /crypto/cgminer-lketc-$version.zip
+put cgminer-lketc-$version.zip -o /crypto/cgminer/cgminer-lketc-$version.zip
 EOF
 cp cgminer-lketc-$version.zip /home/$USER/Bureau

+ 1 - 1
make_environement.sh

@@ -10,7 +10,7 @@ cd mxe
 sudo git reset --hard 64b283d64891348c92154b8d7eace6a9bff23411
 export MXE_DIR=/opt/mxe
 export MXE_TARGETS='i686-w64-mingw32.static'
-sudo make -j 4 -C $MXE_DIR MXE_TARGETS="$MXE_TARGETS" curl pthreads pdcurses ncurses libusb1 jansson libevent libmicrohttpd libzip
+sudo make -j 5 -C $MXE_DIR MXE_TARGETS="$MXE_TARGETS" curl pthreads pdcurses ncurses libusb1 jansson libevent libmicrohttpd libzip
 if ! grep "export PKG_CONFIG_PATH=/opt/mxe/usr/i686-w64-mingw32.static/lib/pkgconfig/" ~/.profile >/dev/null
 then
 echo 'export PATH=/opt/mxe/usr/bin:$PATH' >> ~/.profile

+ 28 - 0
packages/blockerupter/cgminer.conf

@@ -0,0 +1,28 @@
+{
+"pools" : [
+        {
+                "url" : "stratum+tcp://eu.stratum.slushpool.com:3333",
+                "user" : "wareck.gekko",
+                "pass" : "x"
+        },
+        {
+                "url" : "stratum+tcp://sha256.eu.mine.zergpool.com:3333",
+                "user" : "14KnPuvX1xNBQ4qWmcqUZwYbsbtDx9tTXB",
+                "pass" : "c=BTC,mc=BCA/BCH/CHTA/DANE/DGB/DVT/FCH/LCC/PPC/PYRK/SHND/TIT/XEC/XRG"
+        }
+]
+,
+"api-description" : "cgminer 4.12.0-wrk",
+"api-mcast-addr" : "224.0.0.75",
+"api-mcast-code" : "FTW",
+"api-mcast-des" : "",
+"api-mcast-port" : "4028",
+"api-port" : "4028",
+"api-host" : "0.0.0.0",
+"bet-clk" : "27",
+"fallback-time" : "120",
+"hotplug" : "5",
+"log" : "5",
+"shares" : "0",
+"suggest-diff" : "0"
+}

BIN
packages/blockerupter/manual.pdf


+ 1 - 0
packages/blockerupter/start.bat

@@ -0,0 +1 @@
+cgminer.exe -o stratum+tcp://eu.stratum.slushpool.com:3333 -u wareck.gekko -p x --bet-clk 27

BIN
packages/blockerupter/zadig-2.7.exe