From d24207ba1735f906339607dab509dd4a93596806 Mon Sep 17 00:00:00 2001 From: milisarge Date: Fri, 24 Mar 2017 12:36:09 +0200 Subject: [PATCH] tsocks.paketlendi --- .../genel/tsocks/fix-mkinstalldirs.patch | 12 ++++++++++ talimatname/genel/tsocks/talimat | 23 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 talimatname/genel/tsocks/fix-mkinstalldirs.patch create mode 100644 talimatname/genel/tsocks/talimat diff --git a/talimatname/genel/tsocks/fix-mkinstalldirs.patch b/talimatname/genel/tsocks/fix-mkinstalldirs.patch new file mode 100644 index 000000000..70465cbc8 --- /dev/null +++ b/talimatname/genel/tsocks/fix-mkinstalldirs.patch @@ -0,0 +1,12 @@ +--- a/Makefile.in 2014-09-23 16:50:30.336402163 +0200 ++++ b/Makefile.in 2013-06-28 18:04:10.000000000 +0200 +@@ -12,7 +12,7 @@ + includedir = @includedir@ + + SHELL = /bin/sh +-MKINSTALLDIRS = ${SHELL} mkinstalldirs ++MKINSTALLDIRS = mkdir -p + SHCC = ${CC} -fPIC + INSPECT = inspectsocks + SAVE = saveme + diff --git a/talimatname/genel/tsocks/talimat b/talimatname/genel/tsocks/talimat new file mode 100644 index 000000000..7ed824896 --- /dev/null +++ b/talimatname/genel/tsocks/talimat @@ -0,0 +1,23 @@ +# Description: Transparan SOCKS vekil kütüphanesi (ipv6 destekli) +# URL: https://github.com/Elysion-tcfa/tsocks +# Packager: milisarge +# Depends on: + +name=tsocks +version=1.8beta6 +release=1 +GIT_COMMIT=be36c83a7326c75123fa019a4cb53792ecd8f689 + +source=(https://github.com/Elysion-tcfa/tsocks/archive/${GIT_COMMIT}.tar.gz + fix-mkinstalldirs.patch) + +build(){ + cd "${SRC}/tsocks-${GIT_COMMIT}" + export CPPFLAGS= + patch -p1 < ../fix-mkinstalldirs.patch + ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --libdir=/usr/lib + make + make DESTDIR="${PKG}" install + install -d "${PKG}/usr/share/${name}" + install -m644 tsocks.conf.{simple,complex}.example "${PKG}/usr/share/${name}" +}