summaryrefslogtreecommitdiff
path: root/pcr/assh
diff options
context:
space:
mode:
authorcodex <aurelien@hackers.camp>2014-12-11 16:41:22 +0100
committercodex <aurelien@hackers.camp>2014-12-11 16:41:22 +0100
commit67e18334ff3640ccef52b87f0d50b8e6c1f92272 (patch)
treea154672ca9ba3f320ca28b0d30647155c5d3ff16 /pcr/assh
parent95ceb73b64969db0dbf9ae6578dc38a1d4c2f719 (diff)
downloadabslibre-67e18334ff3640ccef52b87f0d50b8e6c1f92272.tar.gz
abslibre-67e18334ff3640ccef52b87f0d50b8e6c1f92272.tar.bz2
abslibre-67e18334ff3640ccef52b87f0d50b8e6c1f92272.zip
SSH client which uses SSL proxies to establish anonymous connections
Diffstat (limited to 'pcr/assh')
-rw-r--r--pcr/assh/PKGBUILD31
-rw-r--r--pcr/assh/destdir.patch11
2 files changed, 42 insertions, 0 deletions
diff --git a/pcr/assh/PKGBUILD b/pcr/assh/PKGBUILD
new file mode 100644
index 000000000..c62dba8c4
--- /dev/null
+++ b/pcr/assh/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
+# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Bartek Piotrowski <barthalion@gmail.com>
+
+pkgname=assh
+pkgver=2.3
+pkgrel=1
+pkgdesc="SSH client which uses SSL proxies to establish anonymous connections"
+arch=('i686' 'x86_64')
+url="http://assh.sourceforge.net/"
+license=('GPL')
+depends=('openssl')
+provides=('corkscrew')
+conflicts=('corkscrew')
+source=(http://downloads.sourceforge.net/assh/$pkgname-$pkgver.tgz
+ destdir.patch)
+
+build() {
+ cd "${srcdir}"/$pkgname
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ install -d "${pkgdir}"/usr/bin
+ patch < "${srcdir}"/destdir.patch
+
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/pcr/assh/destdir.patch b/pcr/assh/destdir.patch
new file mode 100644
index 000000000..f845b1d0d
--- /dev/null
+++ b/pcr/assh/destdir.patch
@@ -0,0 +1,11 @@
+--- assh/Makefile 2010-03-30 22:47:12.000000000 +0200
++++ Makefile 2010-12-18 17:53:46.232999739 +0100
+@@ -12,7 +12,7 @@
+ cc ${CFLAGS} corkscrew.c -o corkscrew
+
+ install:
+- cp -f ${PROGS} /usr/bin/
++ cp -f ${PROGS} ${DESTDIR}/usr/bin
+
+ clean:
+ rm -f ${PROGS} *.o