summaryrefslogtreecommitdiff
path: root/extra/tftp-hpa/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-25 11:33:12 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-25 11:33:12 -0300
commit8b3071c77c79bbf0f373ca9b8ce0795c55d03669 (patch)
tree0b9c9ccac567cbaf87b22dcd32f10ceed2db065c /extra/tftp-hpa/PKGBUILD
parent0d18015803bebeb58911bf791653597291056095 (diff)
parent43983783a3e8bf61896eb93a2858a14bbaf3a53b (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/compiz-bcop/PKGBUILD community/compiz-fusion-plugins-extra/PKGBUILD community/compiz-fusion-plugins-main/PKGBUILD community/emerald/PKGBUILD community/gmic/PKGBUILD community/libcompizconfig/PKGBUILD core/xinetd/PKGBUILD extra/archboot/PKGBUILD extra/kdeplasma-addons/PKGBUILD extra/kipi-plugins/PKGBUILD extra/libmpdclient/PKGBUILD extra/live-media/PKGBUILD extra/mysql/PKGBUILD extra/pyopenssl/PKGBUILD extra/r/PKGBUILD extra/telepathy-mission-control/PKGBUILD libre/libretools/PKGBUILD multilib-testing/lib32-mesa/PKGBUILD multilib/lib32-libldap/PKGBUILD multilib/lib32-libldap/ntlm.patch multilib/wine/PKGBUILD testing/mesa/PKGBUILD
Diffstat (limited to 'extra/tftp-hpa/PKGBUILD')
-rw-r--r--extra/tftp-hpa/PKGBUILD28
1 files changed, 17 insertions, 11 deletions
diff --git a/extra/tftp-hpa/PKGBUILD b/extra/tftp-hpa/PKGBUILD
index f64e99434..4b4c7f596 100644
--- a/extra/tftp-hpa/PKGBUILD
+++ b/extra/tftp-hpa/PKGBUILD
@@ -1,29 +1,35 @@
-# $Id: PKGBUILD 42756 2009-06-18 19:44:52Z tpowa $
+# $Id: PKGBUILD 131856 2011-07-16 06:36:05Z tpowa $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Jose Javier <jojapa@terra.es>
pkgname=tftp-hpa
-pkgver=5.0
-pkgrel=3
+pkgver=5.1
+pkgrel=1
pkgdesc="Official tftp server"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kernel.org/pub/software/network/tftp/"
license=('BSD')
-depends=('tcp_wrappers' 'readline>=6.0.00')
+depends=('readline>=6.0.00')
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
+ ./configure --prefix=/usr --mandir=/usr/share/man --without-tcpwrappers
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make INSTALLROOT="${pkgdir}" install
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
+ install -m755 "${srcdir}/tftpd.rc" "${pkgdir}/etc/rc.d/tftpd"
+ install -D -m644 "${srcdir}/tftpd.conf" "${pkgdir}/etc/conf.d/tftpd"
rm "${pkgdir}/usr/share/man/man8/tftpd.8"
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
+md5sums=('d086b1bd6e5ed6375ad407e273afccdf'
+ '83fbb6f52205d95951a3c059e5351ca2'
+ '414a79dc891bced056d99a9bb790fc9e'
+ '6ce21e27b6fdc1a1adf85c81e42aeecf')