[arch-commits] CVS update of extra/network/netkit-ftp (LICENSE PKGBUILD)

Eric Belanger eric at archlinux.org
Sun Dec 9 16:33:22 EST 2007


    Date: Sunday, December 9, 2007 @ 16:33:22
  Author: eric
    Path: /home/cvs-extra/extra/network/netkit-ftp

   Added: LICENSE (1.1)
Modified: PKGBUILD (1.11 -> 1.12)

upgpkg: netkit-ftp 0.17-4
added license, PKGBUILD cleanup


----------+
 LICENSE  |   32 ++++++++++++++++++++++++++++++++
 PKGBUILD |   24 +++++++++++++++---------
 2 files changed, 47 insertions(+), 9 deletions(-)


Index: extra/network/netkit-ftp/LICENSE
diff -u /dev/null extra/network/netkit-ftp/LICENSE:1.1
--- /dev/null	Sun Dec  9 16:33:22 2007
+++ extra/network/netkit-ftp/LICENSE	Sun Dec  9 16:33:22 2007
@@ -0,0 +1,32 @@
+/*
+ * Copyright (c) 1985, 1989 Regents of the University of California.
+ * All rights reserved.
+ *
+ * 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. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *      This product includes software developed by the University of
+ *      California, Berkeley and its contributors.
+ * 4. 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.
+ */
Index: extra/network/netkit-ftp/PKGBUILD
diff -u extra/network/netkit-ftp/PKGBUILD:1.11 extra/network/netkit-ftp/PKGBUILD:1.12
--- extra/network/netkit-ftp/PKGBUILD:1.11	Tue May 16 15:40:11 2006
+++ extra/network/netkit-ftp/PKGBUILD	Sun Dec  9 16:33:22 2007
@@ -1,20 +1,26 @@
-# $Id: PKGBUILD,v 1.11 2006/05/16 19:40:11 uid1016 Exp $
-# Maintainer: dorphell <dorphell at archlinux.org>
+# $Id: PKGBUILD,v 1.12 2007/12/09 21:33:22 eric Exp $
+# Maintainer: Eric Belanger <eric at archlinux.org>
+#Contributor: dorphell <dorphell at archlinux.org>
+
 pkgname=netkit-ftp
 pkgver=0.17
-pkgrel=3
+pkgrel=4
 pkgdesc="Commandline ftp client"
-arch=(i686 x86_64)
-depends=('ncurses' 'readline')
+arch=('i686' 'x86_64')
 url="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
-source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/$pkgname-$pkgver.tar.gz)
-md5sums=('94441610c9b86ef45c4c6ec609444060')
+license=('BSD')
+depends=('ncurses' 'readline')
+source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/$pkgname-$pkgver.tar.gz LICENSE)
+md5sums=('94441610c9b86ef45c4c6ec609444060' '55ab9bfe93bc63699857622ec2960557')
+sha1sums=('815541a33bf02a43b5b41194389b8435e7890935'
+          'ab9c93ba8b1b02ee5b3b321d780d8010019980ef')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr --installroot=$startdir/pkg
+  ./configure --prefix=/usr
   make || return 1
   mkdir -p $startdir/pkg/usr/{bin,man/man1,man/man5}
-  make install
+  make INSTALLROOT=$startdir/pkg install
   rm -f $startdir/pkg/usr/man/man1/pftp.1 $startdir/pkg/usr/bin/pftp
+  install -D -m644 ../LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
 }




More information about the arch-commits mailing list