summaryrefslogtreecommitdiffstats
path: root/abs/extra/xinetd/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-08-16 17:55:34 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-08-16 17:59:31 (GMT)
commite3c8287bbfe4624db681895fbcb24aee88df6652 (patch)
tree76f39b7cbb8903e97e76fd49d5f550eb5ed6f6dc /abs/extra/xinetd/PKGBUILD
parent7db67d17bc76eb6f9d2aedf686a71a0a2193c9a8 (diff)
downloadlinhes_pkgbuild-e3c8287bbfe4624db681895fbcb24aee88df6652.zip
linhes_pkgbuild-e3c8287bbfe4624db681895fbcb24aee88df6652.tar.gz
linhes_pkgbuild-e3c8287bbfe4624db681895fbcb24aee88df6652.tar.bz2
xinetd: recompile for bin changes
refs #961
Diffstat (limited to 'abs/extra/xinetd/PKGBUILD')
-rw-r--r--abs/extra/xinetd/PKGBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/abs/extra/xinetd/PKGBUILD b/abs/extra/xinetd/PKGBUILD
index 3ed7dee..53d5b93 100644
--- a/abs/extra/xinetd/PKGBUILD
+++ b/abs/extra/xinetd/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 162234 2012-06-24 05:44:41Z tpowa $
+# $Id: PKGBUILD 196783 2013-10-19 06:36:43Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Judd <jvinet@zeroflux.org>
pkgname=xinetd
pkgver=2.3.15
-pkgrel=2
+pkgrel=4
pkgdesc="A secure replacement for inetd"
arch=('i686' 'x86_64')
url="http://www.xinetd.org/"
@@ -13,29 +13,35 @@ 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
- xinetd.service)
+ xinetd.service
+ fix-CVE-2013-4342.patch)
md5sums=('77358478fd58efa6366accae99b8b04c'
'f109f699a07bc8cfb5791060f5e87f9e'
- 'ea37a2794f202e6b953d9b6956dad16a'
'21f47b4aa20921cfaddddd9f9a407f81'
'9fa2061dc7dd738c8424251deb86f81e'
- '08466ed714ea8ba42ad81f6fb3aa62e7')
+ '38be35b6e7146dc59902e243d9063b4c'
+ 'b14615c73753ceffbcc96d5e08f3c18d')
-build() {
+prepare() {
cd $srcdir/$pkgname-$pkgver
sed -i "s#${prefix}/man#${prefix}/share/man#" configure
- ./configure --prefix=/usr --without-libwrap
+ # fix #37310
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1006100#c
+ patch -Np1 -i $srcdir/fix-CVE-2013-4342.patch
+}
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin --without-libwrap
make
}
package() {
cd $srcdir/$pkgname-$pkgver
- make prefix=$pkgdir/usr install
+ make prefix=$pkgdir/usr DAEMONDIR=$pkgdir/usr/bin install
- install -Dm755 $srcdir/xinetd $pkgdir/etc/rc.d/xinetd
install -Dm644 $srcdir/xinetd.conf $pkgdir/etc/xinetd.conf
install -Dm644 $srcdir/servers $pkgdir/etc/xinetd.d/servers
install -Dm644 $srcdir/services $pkgdir/etc/xinetd.d/services