[arch-commits] Commit in netselect/trunk (PKGBUILD license.txt)

Aaron Griffin aaron at archlinux.org
Wed Feb 4 18:42:04 UTC 2009


    Date: Wednesday, February 4, 2009 @ 13:42:04
  Author: aaron
Revision: 26265

upgpkg: netselect 0.3-2
    Add license, fix source URL FS#8986

Added:
  netselect/trunk/license.txt
Modified:
  netselect/trunk/PKGBUILD

-------------+
 PKGBUILD    |   30 +++++++++++++++++++++---------
 license.txt |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-02-04 17:31:13 UTC (rev 26264)
+++ PKGBUILD	2009-02-04 18:42:04 UTC (rev 26265)
@@ -4,17 +4,29 @@
 
 pkgname=netselect
 pkgver=0.3
-pkgrel=1
+pkgrel=2
 pkgdesc="An ultrafast intelligent parallelizing binary-search implementation of ping"
 arch=(i686 x86_64)
-url="http://www.worldvisions.ca/~apenwarr/netselect/index.html"
-source=(http://www.worldvisions.ca/~apenwarr/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('3214369deeb7dc40f2ecf92ddeee5d92')
+url="http://alumnit.ca/~apenwarr/netselect/index.html"
+license=(custom)
+depends=(glibc)
+source=(http://alumnit.ca/~apenwarr/netselect/$pkgname-$pkgver.tar.gz
+        license.txt)
+md5sums=('3a3714946db2458e5db3d55373057ef2'
+         '741ea171051c5cbac5ff18326c11d65e')
 
 build() {
-cd $startdir/src/$pkgname
-sed -i -e 's#-\o root\ -g\ root##g' Makefile
-make || return 1
-mkdir -p $startdir/pkg/usr/bin $startdir/pkg/usr/man/man8
-make BINDEST=$startdir/pkg/usr/bin MANDEST=$startdir/pkg/usr/man/man8 install
+  cd $srcdir/$pkgname
+  sed -i -e "s|sudo ||g" -e "s| #||g" Makefile
+  make CFLAGS="-I. $CFLAGS"|| return 1
+
+  mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man8
+  make BINDEST=$pkgdir/usr/bin \
+       MANDEST=$pkgdir/usr/share/man/man8 \
+       install
+
+  rm $pkgdir/usr/bin/netselect-apt #eww
+
+  install -D -m644  $srcdir/license.txt \
+    $pkgdir/usr/share/licenses/netselect/license.txt
 }

Added: license.txt
===================================================================
--- license.txt	                        (rev 0)
+++ license.txt	2009-02-04 18:42:04 UTC (rev 26265)
@@ -0,0 +1,35 @@
+/*
+ * Netselect:
+ *      Copyright (c) 1998-2001 by Avery Pennarun <apenwarr at worldvisions.ca>
+ *
+ * Traceroute:
+ * Copyright (c) 1990, 1993
+ *	The Regents of the University of California.  All rights reserved.
+ * 
+ * This code is derived from software contributed to Berkeley by
+ * Van Jacobson.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */




More information about the arch-commits mailing list