[arch-commits] Commit in lorcon/repos (4 files)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Thu Nov 14 20:43:40 UTC 2013
Date: Thursday, November 14, 2013 @ 21:43:40
Author: arodseth
Revision: 101007
archrelease: copy trunk to community-x86_64, community-i686
Added:
lorcon/repos/community-i686/PKGBUILD
(from rev 101006, lorcon/trunk/PKGBUILD)
lorcon/repos/community-x86_64/PKGBUILD
(from rev 101006, lorcon/trunk/PKGBUILD)
Deleted:
lorcon/repos/community-i686/PKGBUILD
lorcon/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 90 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 42 --------------------
community-x86_64/PKGBUILD | 42 --------------------
3 files changed, 90 insertions(+), 84 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-11-14 20:43:28 UTC (rev 101006)
+++ community-i686/PKGBUILD 2013-11-14 20:43:40 UTC (rev 101007)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Brad Fanella <bradfanella at archlinux.us>
-# Contributor: fnord0 [fnord0 <AT> riseup <DOT> net]
-# Contributor: dninja <dninja at gmail.com>
-
-pkgname=lorcon
-pkgver=224
-pkgrel=2
-pkgdesc="Loss Of Radio CONnectivity: A generic library for injecting 802.11 frames"
-url='http://802.11ninja.net/'
-license=('GPL')
-arch=('x86_64' 'i686')
-depends=('libpcap')
-makedepends=('subversion')
-replaces=('lorcon-old-svn')
-_svntrunk="http://802.11ninja.net/svn/lorcon/trunk"
-_svnrev=$pkgver
-
-build() {
- cd "$srcdir"
-
- if [ -d "$_svnmod/.svn" ]; then
- (cd "$_svnmod" && svn up -r "$_svnrev")
- else
- svn co "$_svntrunk/$_svnmod" --config-dir ./ -r \
- "$_svnrev" "$_svnmod"
- fi
- msg "SVN checkout done or server timeout"
- cd "$_svnmod"
-
- ./configure --prefix=/usr --mandir=/usr/share/man
- make
-}
-
-package() {
- cd "$_svnmod"
-
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: lorcon/repos/community-i686/PKGBUILD (from rev 101006, lorcon/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-11-14 20:43:40 UTC (rev 101007)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: fnord0 [fnord0 <AT> riseup <DOT> net]
+# Contributor: dninja <dninja at gmail.com>
+# Contributor: Jon Gjengset <jon at thesquareplanet.com>
+
+pkgname=lorcon
+pkgver=2.0.0.20091101
+pkgrel=1
+epoch=1
+pkgdesc='Generic library for injecting 802.11 frames'
+url='http://802.11ninja.net/'
+license=('GPL')
+arch=('x86_64' 'i686')
+depends=('libpcap')
+makedepends=('git')
+source=('git+https://code.google.com/p/lorcon/')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ major=$(cat Makefile.in | grep -E "^MAJOR " | sed 's/^.*= *//')
+ minor=$(cat Makefile.in | grep -E "^MINOR " | sed 's/^.*= *//')
+ tiny=$(cat Makefile.in | grep -E "^TINY " | sed 's/^.*= *//')
+ version=$(cat Makefile.in | grep -E "^VERSION " | sed 's/^.*= *//')
+ echo "$major.$minor.$tiny.$version"
+}
+
+prepare() {
+ cd "$pkgname"
+
+ ./configure --prefix=/usr --mandir=/usr/share/man
+}
+
+build() {
+ make -C "$pkgname"
+}
+
+package() {
+ make -C "$pkgname" DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-11-14 20:43:28 UTC (rev 101006)
+++ community-x86_64/PKGBUILD 2013-11-14 20:43:40 UTC (rev 101007)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Brad Fanella <bradfanella at archlinux.us>
-# Contributor: fnord0 [fnord0 <AT> riseup <DOT> net]
-# Contributor: dninja <dninja at gmail.com>
-
-pkgname=lorcon
-pkgver=224
-pkgrel=2
-pkgdesc="Loss Of Radio CONnectivity: A generic library for injecting 802.11 frames"
-url='http://802.11ninja.net/'
-license=('GPL')
-arch=('x86_64' 'i686')
-depends=('libpcap')
-makedepends=('subversion')
-replaces=('lorcon-old-svn')
-_svntrunk="http://802.11ninja.net/svn/lorcon/trunk"
-_svnrev=$pkgver
-
-build() {
- cd "$srcdir"
-
- if [ -d "$_svnmod/.svn" ]; then
- (cd "$_svnmod" && svn up -r "$_svnrev")
- else
- svn co "$_svntrunk/$_svnmod" --config-dir ./ -r \
- "$_svnrev" "$_svnmod"
- fi
- msg "SVN checkout done or server timeout"
- cd "$_svnmod"
-
- ./configure --prefix=/usr --mandir=/usr/share/man
- make
-}
-
-package() {
- cd "$_svnmod"
-
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: lorcon/repos/community-x86_64/PKGBUILD (from rev 101006, lorcon/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-11-14 20:43:40 UTC (rev 101007)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: fnord0 [fnord0 <AT> riseup <DOT> net]
+# Contributor: dninja <dninja at gmail.com>
+# Contributor: Jon Gjengset <jon at thesquareplanet.com>
+
+pkgname=lorcon
+pkgver=2.0.0.20091101
+pkgrel=1
+epoch=1
+pkgdesc='Generic library for injecting 802.11 frames'
+url='http://802.11ninja.net/'
+license=('GPL')
+arch=('x86_64' 'i686')
+depends=('libpcap')
+makedepends=('git')
+source=('git+https://code.google.com/p/lorcon/')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ major=$(cat Makefile.in | grep -E "^MAJOR " | sed 's/^.*= *//')
+ minor=$(cat Makefile.in | grep -E "^MINOR " | sed 's/^.*= *//')
+ tiny=$(cat Makefile.in | grep -E "^TINY " | sed 's/^.*= *//')
+ version=$(cat Makefile.in | grep -E "^VERSION " | sed 's/^.*= *//')
+ echo "$major.$minor.$tiny.$version"
+}
+
+prepare() {
+ cd "$pkgname"
+
+ ./configure --prefix=/usr --mandir=/usr/share/man
+}
+
+build() {
+ make -C "$pkgname"
+}
+
+package() {
+ make -C "$pkgname" DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list