summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/tftp-hpa/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-21 01:37:59 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-21 01:37:59 (GMT)
commit1baf8111524169f6d9349223e7764a43e2525a1a (patch)
tree334d56a08cdf036f9aebded302406652614e8087 /abs/core-testing/tftp-hpa/PKGBUILD
parent841af294b3de32594fc380a54df1938117f976e8 (diff)
parent87ee63ae6cc83c1d660a3fafe10d94ae06318e8e (diff)
downloadlinhes_pkgbuild-1baf8111524169f6d9349223e7764a43e2525a1a.zip
linhes_pkgbuild-1baf8111524169f6d9349223e7764a43e2525a1a.tar.gz
linhes_pkgbuild-1baf8111524169f6d9349223e7764a43e2525a1a.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/tftp-hpa/PKGBUILD')
-rw-r--r--abs/core-testing/tftp-hpa/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core-testing/tftp-hpa/PKGBUILD b/abs/core-testing/tftp-hpa/PKGBUILD
new file mode 100644
index 0000000..cf1c9e0
--- /dev/null
+++ b/abs/core-testing/tftp-hpa/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 37555 2009-05-02 22:51:20Z eric $
+# Maintainer: dorphell <dorphell@archlinux.org>
+# Contributor: Jose Javier <jojapa@terra.es>
+pkgname=tftp-hpa
+pkgver=5.0
+pkgrel=2
+pkgdesc="Official tftp server"
+arch=('i686' 'x86_64')
+url="http://www.kernel.org/pub/software/network/tftp/"
+license=('BSD')
+depends=('tcp_wrappers')
+conflicts=('netkit-tftp')
+backup=('etc/conf.d/tftpd')
+source=(http://www.kernel.org/pub/software/network/tftp/$pkgname-$pkgver.tar.gz tftpd.rc tftpd.conf LICENSE)
+md5sums=('1ae813a94670f0d8c294aafa9f5ecf65' 'a974d02526f19222146c8e3d3b598871'\
+ '414a79dc891bced056d99a9bb790fc9e' '6ce21e27b6fdc1a1adf85c81e42aeecf')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --mandir=/usr/share/man || return 1
+ make || return 1
+ make INSTALLROOT="${pkgdir}" install || return 1
+ install -d "${pkgdir}/etc/rc.d"
+ install -d "${pkgdir}/var/tftpboot"
+ install -m755 "${srcdir}/tftpd.rc" "${pkgdir}/etc/rc.d/tftpd" || return 1
+ install -D -m644 "${srcdir}/tftpd.conf" "${pkgdir}/etc/conf.d/tftpd" || return 1
+ rm "${pkgdir}/usr/share/man/man8/tftpd.8"
+ install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}