summaryrefslogtreecommitdiffstats
path: root/abs/extra/xinetd/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:13:57 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:13:57 (GMT)
commitb172f79fadb565ecfbcec9508f9377d8618a4f4c (patch)
treebf8823b07e3313c3afa000a9b31e4f9a735cb818 /abs/extra/xinetd/PKGBUILD
parentf9d54ab7c3853208484e304bc6cf40ab0f79d400 (diff)
parent5e7027c6194237ca1dc5fcbb3648483a970fb500 (diff)
downloadlinhes_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/xinetd/PKGBUILD')
-rw-r--r--abs/extra/xinetd/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra/xinetd/PKGBUILD b/abs/extra/xinetd/PKGBUILD
new file mode 100644
index 0000000..af0e362
--- /dev/null
+++ b/abs/extra/xinetd/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 31124 2009-03-24 12:46:33Z allan $
+# Maintainer: Judd <jvinet@zeroflux.org>
+pkgname=xinetd
+pkgver=2.3.14
+pkgrel=5
+pkgdesc="xinetd is a secure replacement for inetd"
+arch=('i686' 'x86_64')
+url="http://www.xinetd.org/"
+license=('custom')
+depends=('tcp_wrappers')
+optdepends=('perl: for xconv.pl script')
+backup=('etc/xinetd.conf' 'etc/xinetd.d/servers' 'etc/xinetd.d/services')
+source=(http://www.xinetd.org/xinetd-$pkgver.tar.gz xinetd.conf xinetd \
+ servers services)
+md5sums=('567382d7972613090215c6c54f9b82d9' 'f109f699a07bc8cfb5791060f5e87f9e'\
+ 'ea37a2794f202e6b953d9b6956dad16a' '21f47b4aa20921cfaddddd9f9a407f81'\
+ '9fa2061dc7dd738c8424251deb86f81e')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ sed -i "s#${prefix}/man#${prefix}/share/man#" configure
+ ./configure --prefix=/usr --with-libwrap
+ make || return 1
+ make prefix=$pkgdir/usr install
+ install -D -m755 ../xinetd $pkgdir/etc/rc.d/xinetd
+ install -D -m644 ../xinetd.conf $pkgdir/etc/xinetd.conf
+ install -D -m644 ../servers $pkgdir/etc/xinetd.d/servers
+ install -D -m644 ../services $pkgdir/etc/xinetd.d/services
+
+ # install license
+ install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
+}