[arch-commits] Commit in torsocks/repos (4 files)

Daniel Micay thestinger at nymeria.archlinux.org
Sat Mar 2 11:55:12 UTC 2013


    Date: Saturday, March 2, 2013 @ 12:55:12
  Author: thestinger
Revision: 85515

archrelease: copy trunk to community-i686, community-x86_64

Added:
  torsocks/repos/community-i686/
  torsocks/repos/community-i686/PKGBUILD
    (from rev 85514, torsocks/trunk/PKGBUILD)
  torsocks/repos/community-x86_64/
  torsocks/repos/community-x86_64/PKGBUILD
    (from rev 85514, torsocks/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   48 ++++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

Copied: torsocks/repos/community-i686/PKGBUILD (from rev 85514, torsocks/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-03-02 11:55:12 UTC (rev 85515)
@@ -0,0 +1,48 @@
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Nicolas Pouillard <nicolas.pouillard at gmail.com>
+# Contributor: Rorschach <r0rschach at lavabit.com>
+
+pkgname=torsocks
+pkgver=1.3
+pkgrel=3
+pkgdesc='Wrapper to safely torify applications'
+arch=('i686' 'x86_64')
+url='http://code.google.com/p/torsocks'
+license=('GPL2')
+depends=('tor')
+makedepends=('git')
+options=(!libtool)
+backup=("etc/${pkgname}.conf")
+
+__gitroot=https://git.torproject.org/torsocks
+__gitname=torsocks
+
+build() {
+  cd "$srcdir"
+  msg "Connecting to GIT server...."
+
+  if [[ -d "$__gitname" ]]; then
+    cd "$__gitname" && git pull origin
+    msg "The local files are updated."
+  else
+    git clone "$__gitroot" "$__gitname"
+  fi
+
+  msg "GIT checkout done or server timeout"
+  msg "Starting build..."
+
+  rm -rf "$srcdir/$__gitname-build"
+  git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build"
+  cd "$srcdir/$__gitname-build"
+
+  git checkout $pkgver
+
+  ./autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd "$srcdir/$__gitname-build"
+  make DESTDIR="$pkgdir/" install
+}

Copied: torsocks/repos/community-x86_64/PKGBUILD (from rev 85514, torsocks/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-03-02 11:55:12 UTC (rev 85515)
@@ -0,0 +1,48 @@
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Nicolas Pouillard <nicolas.pouillard at gmail.com>
+# Contributor: Rorschach <r0rschach at lavabit.com>
+
+pkgname=torsocks
+pkgver=1.3
+pkgrel=3
+pkgdesc='Wrapper to safely torify applications'
+arch=('i686' 'x86_64')
+url='http://code.google.com/p/torsocks'
+license=('GPL2')
+depends=('tor')
+makedepends=('git')
+options=(!libtool)
+backup=("etc/${pkgname}.conf")
+
+__gitroot=https://git.torproject.org/torsocks
+__gitname=torsocks
+
+build() {
+  cd "$srcdir"
+  msg "Connecting to GIT server...."
+
+  if [[ -d "$__gitname" ]]; then
+    cd "$__gitname" && git pull origin
+    msg "The local files are updated."
+  else
+    git clone "$__gitroot" "$__gitname"
+  fi
+
+  msg "GIT checkout done or server timeout"
+  msg "Starting build..."
+
+  rm -rf "$srcdir/$__gitname-build"
+  git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build"
+  cd "$srcdir/$__gitname-build"
+
+  git checkout $pkgver
+
+  ./autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd "$srcdir/$__gitname-build"
+  make DESTDIR="$pkgdir/" install
+}




More information about the arch-commits mailing list