From 1a166741a322216d96f6cef4b57b4845ec13b525 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 25 Feb 2020 11:31:50 +0100 Subject: [PATCH] dnsmap: Update from 0.30 to 0.35 --- packages/dnsmap/Makefile.patch | 12 ------------ packages/dnsmap/build.sh | 13 ++++++++----- 2 files changed, 8 insertions(+), 17 deletions(-) delete mode 100644 packages/dnsmap/Makefile.patch diff --git a/packages/dnsmap/Makefile.patch b/packages/dnsmap/Makefile.patch deleted file mode 100644 index 5a4e85b23..000000000 --- a/packages/dnsmap/Makefile.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -uNr dnsmap-0.30/Makefile dnsmap-0.30-mod/Makefile ---- dnsmap-0.30/Makefile 2010-02-21 17:39:40.000000000 +0600 -+++ dnsmap-0.30-mod/Makefile 2020-02-24 21:09:26.947091182 +0600 -@@ -1,6 +1,6 @@ --CC=gcc -+CC?=gcc - CFLAGS=-I. --BINDIR=/usr/local/bin -+BINDIR=@TERMUX_PREFIX@/bin - - dnsmap: dnsmap.c dnsmap.h - $(CC) $(CFLAGS) -o dnsmap dnsmap.c diff --git a/packages/dnsmap/build.sh b/packages/dnsmap/build.sh index 64ef2aa92..abbcbd940 100644 --- a/packages/dnsmap/build.sh +++ b/packages/dnsmap/build.sh @@ -1,8 +1,11 @@ -TERMUX_PKG_HOMEPAGE=https://code.google.com/archive/p/dnsmap/ +TERMUX_PKG_HOMEPAGE=https://github.com/resurrecting-open-source-projects/dnsmap TERMUX_PKG_DESCRIPTION="Subdomain Bruteforcing Tool" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="Rabby Sheikh @xploitednoob" -TERMUX_PKG_VERSION=0.30 -TERMUX_PKG_SRCURL=https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/dnsmap/dnsmap-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=fcf03a7b269b51121920ac49f7d450241306cfff23c76f3da94b03792f6becbc -TERMUX_PKG_BUILD_IN_SRC=true +TERMUX_PKG_VERSION=0.35 +TERMUX_PKG_SRCURL=https://github.com/resurrecting-open-source-projects/dnsmap/archive/$TERMUX_PKG_VERSION.tar.gz +TERMUX_PKG_SHA256=6c8d28e461530721ed19314a6788f756a46c98356b5d66fa8b54294778c1f193 + +termux_step_pre_configure() { + ./autogen.sh +}