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

Tobias Powalowski tpowa at archlinux.org
Thu May 10 14:06:35 UTC 2012


    Date: Thursday, May 10, 2012 @ 10:06:35
  Author: tpowa
Revision: 158804

upgpkg: xinetd 2.3.15-1

bump to latest version, added systemd files

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

----------------+
 PKGBUILD       |   14 +++++++++-----
 xinetd.service |   10 ++++++++++
 2 files changed, 19 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-10 13:58:45 UTC (rev 158803)
+++ PKGBUILD	2012-05-10 14:06:35 UTC (rev 158804)
@@ -3,8 +3,8 @@
 # Contributor: Judd <jvinet at zeroflux.org>
 
 pkgname=xinetd
-pkgver=2.3.14
-pkgrel=8
+pkgver=2.3.15
+pkgrel=1
 pkgdesc="A secure replacement for inetd"
 arch=('i686' 'x86_64')
 url="http://www.xinetd.org/"
@@ -15,12 +15,14 @@
         xinetd.conf
         xinetd
         servers
-        services)
-md5sums=('567382d7972613090215c6c54f9b82d9'
+        services
+        xinetd.service)
+md5sums=('77358478fd58efa6366accae99b8b04c'
          'f109f699a07bc8cfb5791060f5e87f9e'
          'ea37a2794f202e6b953d9b6956dad16a'
          '21f47b4aa20921cfaddddd9f9a407f81'
-         '9fa2061dc7dd738c8424251deb86f81e')
+         '9fa2061dc7dd738c8424251deb86f81e'
+         '4473d8b2b6c984626d9f73a0b89711ee')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
@@ -38,6 +40,8 @@
   install -Dm644 $srcdir/servers $pkgdir/etc/xinetd.d/servers
   install -Dm644 $srcdir/services $pkgdir/etc/xinetd.d/services
 
+  # install systemd files
+  install -Dm644 $srcdir/xinetd.service $pkgdir/usr/lib/systemd/system/xinetd.service
   # install license
   install -Dm644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
 }

Added: xinetd.service
===================================================================
--- xinetd.service	                        (rev 0)
+++ xinetd.service	2012-05-10 14:06:35 UTC (rev 158804)
@@ -0,0 +1,10 @@
+[Unit]
+Description=A secure replacement for inetd
+After=network.service
+
+[Service]
+ExecStart=/usr/sbin/xinetd -dontfork
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list