[arch-commits] Commit in xinetd/trunk (PKGBUILD xinetd.service)

Tobias Powalowski tpowa at nymeria.archlinux.org
Fri May 17 07:11:30 EDT 2013


    Date: Friday, May 17, 2013 @ 13:11:29
  Author: tpowa
Revision: 185692

upgpkg: xinetd 2.3.15-3

remove rc.d script, move /usr/sbin to /usr/bin

Modified:
  xinetd/trunk/PKGBUILD
  xinetd/trunk/xinetd.service

----------------+
 PKGBUILD       |   17 +++++++++--------
 xinetd.service |    2 +-
 2 files changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-17 10:55:17 UTC (rev 185691)
+++ PKGBUILD	2013-05-17 11:11:29 UTC (rev 185692)
@@ -4,7 +4,7 @@
 
 pkgname=xinetd
 pkgver=2.3.15
-pkgrel=2
+pkgrel=3
 pkgdesc="A secure replacement for inetd"
 arch=('i686' 'x86_64')
 url="http://www.xinetd.org/"
@@ -13,29 +13,30 @@
 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)
 md5sums=('77358478fd58efa6366accae99b8b04c'
          'f109f699a07bc8cfb5791060f5e87f9e'
-         'ea37a2794f202e6b953d9b6956dad16a'
          '21f47b4aa20921cfaddddd9f9a407f81'
          '9fa2061dc7dd738c8424251deb86f81e'
-         '08466ed714ea8ba42ad81f6fb3aa62e7')
+         '38be35b6e7146dc59902e243d9063b4c')
 
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  sed -i "s#${prefix}/man#${prefix}/share/man#" configure
+}
+
 build() {
   cd $srcdir/$pkgname-$pkgver
-  sed -i "s#${prefix}/man#${prefix}/share/man#" configure
-  ./configure --prefix=/usr --without-libwrap
+  ./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

Modified: xinetd.service
===================================================================
--- xinetd.service	2013-05-17 10:55:17 UTC (rev 185691)
+++ xinetd.service	2013-05-17 11:11:29 UTC (rev 185692)
@@ -3,7 +3,7 @@
 After=network.target
 
 [Service]
-ExecStart=/usr/sbin/xinetd -dontfork
+ExecStart=/usr/bin/xinetd -dontfork
 ExecReload=/bin/kill -HUP $MAINPID
 
 [Install]



More information about the arch-commits mailing list