diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-05 06:13:57 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-05 06:13:57 (GMT) |
commit | b172f79fadb565ecfbcec9508f9377d8618a4f4c (patch) | |
tree | bf8823b07e3313c3afa000a9b31e4f9a735cb818 /abs/extra/netkit-bsd-finger | |
parent | f9d54ab7c3853208484e304bc6cf40ab0f79d400 (diff) | |
parent | 5e7027c6194237ca1dc5fcbb3648483a970fb500 (diff) | |
download | linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.zip linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.gz linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.bz2 |
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra/netkit-bsd-finger')
-rw-r--r-- | abs/extra/netkit-bsd-finger/LICENSE | 36 | ||||
-rw-r--r-- | abs/extra/netkit-bsd-finger/PKGBUILD | 26 | ||||
-rw-r--r-- | abs/extra/netkit-bsd-finger/finger.xinetd | 8 |
3 files changed, 70 insertions, 0 deletions
diff --git a/abs/extra/netkit-bsd-finger/LICENSE b/abs/extra/netkit-bsd-finger/LICENSE new file mode 100644 index 0000000..7825451 --- /dev/null +++ b/abs/extra/netkit-bsd-finger/LICENSE @@ -0,0 +1,36 @@ +/* + * Copyright (c) 1989 The Regents of the University of California. + * All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Tony Nardo of the Johns Hopkins University/Applied Physics Lab. + * + * 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. + */ + diff --git a/abs/extra/netkit-bsd-finger/PKGBUILD b/abs/extra/netkit-bsd-finger/PKGBUILD new file mode 100644 index 0000000..06a45cc --- /dev/null +++ b/abs/extra/netkit-bsd-finger/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 35715 2009-04-16 03:28:17Z eric $ +# Maintainer: dorphell <dorphell@archlinux.org> +pkgname=netkit-bsd-finger +pkgver=0.17 +pkgrel=4 +pkgdesc="bsd-finger ported to Linux" +arch=('i686' 'x86_64') +url="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit" +license=('BSD') +depends=('glibc' 'xinetd') +backup=('etc/xinetd.d/finger') +source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/bsd-finger-$pkgver.tar.gz finger.xinetd LICENSE) +md5sums=('52bf281aac8814bf56cdc92f7661ee75' 'a8682004dc8dee356065162bde892b47'\ + '5fc568418a0379fc3a358ed1c2523b44') + +build() { + cd $srcdir/bsd-finger-$pkgver + install -d $pkgdir/usr/{bin,sbin} $pkgdir/usr/share/man/{man1,man8} + ./configure --prefix=/usr || return 1 + sed -i 's@include <sys/time.h>@include <time.h>@' finger/lprint.c || return 1 + sed -i 's@include <sys/time.h>@include <time.h>@' finger/sprint.c || return 1 + make || return 1 + make INSTALLROOT=$pkgdir MANDIR=/usr/share/man install || return 1 + install -D -m644 $srcdir/finger.xinetd $pkgdir/etc/xinetd.d/finger || return 1 + install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/abs/extra/netkit-bsd-finger/finger.xinetd b/abs/extra/netkit-bsd-finger/finger.xinetd new file mode 100644 index 0000000..cc9a8b1 --- /dev/null +++ b/abs/extra/netkit-bsd-finger/finger.xinetd @@ -0,0 +1,8 @@ +service finger +{ + socket_type = stream + wait = no + user = nobody + server = /usr/sbin/in.fingerd + disable = yes +} |