tsocks.paketlendi
This commit is contained in:
parent
e9417dc742
commit
d24207ba17
2 changed files with 35 additions and 0 deletions
12
talimatname/genel/tsocks/fix-mkinstalldirs.patch
Normal file
12
talimatname/genel/tsocks/fix-mkinstalldirs.patch
Normal file
|
@ -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
|
||||||
|
|
23
talimatname/genel/tsocks/talimat
Normal file
23
talimatname/genel/tsocks/talimat
Normal file
|
@ -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}"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue