[arch-commits] Commit in xinetd/trunk (PKGBUILD fix-CVE-2013-4342.patch)

2020-08-17 Thread Tobias Powalowski via arch-commits
Date: Monday, August 17, 2020 @ 12:48:49
  Author: tpowa
Revision: 394341

upgpkg: xinetd 2.3.15.4-1: fix #60344

Modified:
  xinetd/trunk/PKGBUILD
Deleted:
  xinetd/trunk/fix-CVE-2013-4342.patch

-+
 PKGBUILD|   34 --
 fix-CVE-2013-4342.patch |   13 -
 2 files changed, 12 insertions(+), 35 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-17 12:12:00 UTC (rev 394340)
+++ PKGBUILD2020-08-17 12:48:49 UTC (rev 394341)
@@ -2,45 +2,35 @@
 # Contributor: Judd 
 
 pkgname=xinetd
-pkgver=2.3.15
-pkgrel=6
+pkgver=2.3.15.4
+pkgrel=1
 pkgdesc="A secure replacement for inetd"
 arch=('x86_64')
-url="http://www.xinetd.org/";
+url="https://github.com/openSUSE/xinetd";
 license=('custom')
 depends=('libtirpc')
 optdepends=('perl: for xconv.pl script')
 backup=('etc/xinetd.conf' 'etc/xinetd.d/servers' 'etc/xinetd.d/services')
-source=("https://sources.archlinux.org/other/packages/$pkgname/$pkgname-$pkgver.tar.gz";
+source=("https://github.com/openSUSE/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz";
 xinetd.conf
 servers
 services
-xinetd.service
-fix-CVE-2013-4342.patch)
-md5sums=('77358478fd58efa6366accae99b8b04c'
- 'f109f699a07bc8cfb5791060f5e87f9e'
- '21f47b4aa20921cfad9f9a407f81'
- '9fa2061dc7dd738c8424251deb86f81e'
- '38be35b6e7146dc59902e243d9063b4c'
- 'b14615c73753ceffbcc96d5e08f3c18d')
+xinetd.service)
+sha256sums=('2baa581010bc70361abdfa37f121e92aeb9c5ce67f9a71913cebd69359cc9654'
+'389a043503b287a1d096444b7da90c5187388a886687129c125135090bc2c86e'
+'707a89ec32822f6d146b6ed3d43a38fee909b33d973f6ab7e9742ca8bc9f55f6'
+'7f709257b08cb19f0a7066d1de6996bfe7c8c510546d11106512a19a76ccf540'
+'fa9ffd5ecf71e2dbd6e8cf57eb040ff6ea349420707a7f3c7850974774f7a18d')
 
-prepare() {
-  cd $pkgname-$pkgver
-  sed -i "s#${prefix}/man#${prefix}/share/man#" configure
-  # fix #37310
-  # https://bugzilla.redhat.com/show_bug.cgi?id=1006100#c
-  patch -Np1 -i "$srcdir"/fix-CVE-2013-4342.patch
-}
-
 build() {
   cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sbindir=/usr/bin --without-libwrap
+  ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc 
--without-libwrap
   CFLAGS+=' -I/usr/include/tirpc' LDFLAGS+=' -ltirpc' make
 }
 
 package() {
   cd $pkgname-$pkgver
-  make prefix="$pkgdir/usr" DAEMONDIR="$pkgdir/usr/bin" install
+  make prefix="$pkgdir/usr" sbindir="$pkgdir/usr/bin" sysconfdir="$pkgdir/etc" 
install
   
   install -Dm644 "$srcdir"/xinetd.conf "$pkgdir"/etc/xinetd.conf
   install -Dm644 "$srcdir"/servers "$pkgdir"/etc/xinetd.d/servers

Deleted: fix-CVE-2013-4342.patch
===
--- fix-CVE-2013-4342.patch 2020-08-17 12:12:00 UTC (rev 394340)
+++ fix-CVE-2013-4342.patch 2020-08-17 12:48:49 UTC (rev 394341)
@@ -1,13 +0,0 @@
-diff --git a/xinetd/builtins.c b/xinetd/builtins.c
-index e61502f..a414cf3 100644
 a/xinetd/builtins.c
-+++ b/xinetd/builtins.c
-@@ -695,7 +695,7 @@ static void tcpmux_handler( const struct server *serp )
-if( SC_IS_INTERNAL( scp ) ) {
-   SC_INTERNAL(scp, nserp);
-} else {
--  exec_server(nserp);
-+  child_process(nserp);
-}
- }
- 


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

2019-11-28 Thread Antonio Rojas via arch-commits
Date: Thursday, November 28, 2019 @ 21:53:27
  Author: arojas
Revision: 369895

Fix quoting

Modified:
  xinetd/trunk/PKGBUILD

--+
 PKGBUILD |   20 ++--
 1 file changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-28 21:51:47 UTC (rev 369894)
+++ PKGBUILD2019-11-28 21:53:27 UTC (rev 369895)
@@ -25,29 +25,29 @@
  'b14615c73753ceffbcc96d5e08f3c18d')
 
 prepare() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $pkgname-$pkgver
   sed -i "s#${prefix}/man#${prefix}/share/man#" configure
   # fix #37310
   # https://bugzilla.redhat.com/show_bug.cgi?id=1006100#c
-  patch -Np1 -i $srcdir/fix-CVE-2013-4342.patch
+  patch -Np1 -i "$srcdir"/fix-CVE-2013-4342.patch
 }
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --sbindir=/usr/bin --without-libwrap
   CFLAGS+=' -I/usr/include/tirpc' LDFLAGS+=' -ltirpc' make
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
-  make prefix=$pkgdir/usr DAEMONDIR=$pkgdir/usr/bin install
+  cd $pkgname-$pkgver
+  make prefix="$pkgdir/usr" DAEMONDIR="$pkgdir/usr/bin" install
   
-  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
+  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
 
   # install systemd files
-  install -Dm644 $srcdir/xinetd.service 
$pkgdir/usr/lib/systemd/system/xinetd.service
+  install -Dm644 "$srcdir"/xinetd.service 
"$pkgdir"/usr/lib/systemd/system/xinetd.service
   # install license
-  install -Dm644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
+  install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT
 }


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

2019-11-13 Thread Felix Yan via arch-commits
Date: Wednesday, November 13, 2019 @ 15:51:15
  Author: felixonmars
Revision: 368113

[core] mass rebuild

Modified:
  xinetd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-13 15:51:14 UTC (rev 368112)
+++ PKGBUILD2019-11-13 15:51:15 UTC (rev 368113)
@@ -3,7 +3,7 @@
 
 pkgname=xinetd
 pkgver=2.3.15
-pkgrel=5
+pkgrel=6
 pkgdesc="A secure replacement for inetd"
 arch=('x86_64')
 url="http://www.xinetd.org/";


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

2018-06-09 Thread Antonio Rojas via arch-commits
Date: Saturday, June 9, 2018 @ 11:08:56
  Author: arojas
Revision: 326515

BUILDINFO rebuild

Modified:
  xinetd/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-09 09:57:57 UTC (rev 326514)
+++ PKGBUILD2018-06-09 11:08:56 UTC (rev 326515)
@@ -4,11 +4,12 @@
 
 pkgname=xinetd
 pkgver=2.3.15
-pkgrel=4
+pkgrel=5
 pkgdesc="A secure replacement for inetd"
 arch=('x86_64')
 url="http://www.xinetd.org/";
 license=('custom')
+depends=('libtirpc')
 optdepends=('perl: for xconv.pl script')
 backup=('etc/xinetd.conf' 'etc/xinetd.d/servers' 'etc/xinetd.d/services')
 
source=("https://sources.archlinux.org/other/packages/$pkgname/$pkgname-$pkgver.tar.gz";
@@ -35,7 +36,7 @@
 build() {
   cd $srcdir/$pkgname-$pkgver
   ./configure --prefix=/usr --sbindir=/usr/bin --without-libwrap
-  make
+  CFLAGS+=' -I/usr/include/tirpc' LDFLAGS+=' -ltirpc' make
 }
 
 package() {


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

2017-04-01 Thread Antonio Rojas
Date: Saturday, April 1, 2017 @ 08:20:18
  Author: arojas
Revision: 291968

Fix source

Modified:
  xinetd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-01 08:18:46 UTC (rev 291967)
+++ PKGBUILD2017-04-01 08:20:18 UTC (rev 291968)
@@ -11,7 +11,7 @@
 license=('custom')
 optdepends=('perl: for xconv.pl script')
 backup=('etc/xinetd.conf' 'etc/xinetd.d/servers' 'etc/xinetd.d/services')
-source=("ftp://ftp.archlinux.org/other/packages/$pkgname/$pkgname-$pkgver.tar.gz";
+source=("https://sources.archlinux.org/other/packages/$pkgname/$pkgname-$pkgver.tar.gz";
 xinetd.conf
 servers
 services


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

2014-11-10 Thread Bartłomiej Piotrowski
Date: Monday, November 10, 2014 @ 19:31:08
  Author: bpiotrowski
Revision: 225888

Fix URL to the source tarball.

Modified:
  xinetd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-11-10 18:30:23 UTC (rev 225887)
+++ PKGBUILD2014-11-10 18:31:08 UTC (rev 225888)
@@ -11,7 +11,7 @@
 license=('custom')
 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
+source=("ftp://ftp.archlinux.org/other/packages/$pkgname/$pkgname-$pkgver.tar.gz";
 xinetd.conf
 servers
 services


[arch-commits] Commit in xinetd/trunk (PKGBUILD fix-CVE-2013-4342.patch)

2013-10-14 Thread Tobias Powalowski
Date: Monday, October 14, 2013 @ 09:59:52
  Author: tpowa
Revision: 196475

upgpkg: xinetd 2.3.15-4

fix #37310

Added:
  xinetd/trunk/fix-CVE-2013-4342.patch
Modified:
  xinetd/trunk/PKGBUILD

-+
 PKGBUILD|   11 ---
 fix-CVE-2013-4342.patch |   13 +
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-10-14 07:42:40 UTC (rev 196474)
+++ PKGBUILD2013-10-14 07:59:52 UTC (rev 196475)
@@ -4,7 +4,7 @@
 
 pkgname=xinetd
 pkgver=2.3.15
-pkgrel=3
+pkgrel=4
 pkgdesc="A secure replacement for inetd"
 arch=('i686' 'x86_64')
 url="http://www.xinetd.org/";
@@ -15,16 +15,21 @@
 xinetd.conf
 servers
 services
-xinetd.service)
+xinetd.service
+fix-CVE-2013-4342.patch)
 md5sums=('77358478fd58efa6366accae99b8b04c'
  'f109f699a07bc8cfb5791060f5e87f9e'
  '21f47b4aa20921cfad9f9a407f81'
  '9fa2061dc7dd738c8424251deb86f81e'
- '38be35b6e7146dc59902e243d9063b4c')
+ '38be35b6e7146dc59902e243d9063b4c'
+ 'b14615c73753ceffbcc96d5e08f3c18d')
 
 prepare() {
   cd $srcdir/$pkgname-$pkgver
   sed -i "s#${prefix}/man#${prefix}/share/man#" configure
+  # fix #37310
+  # https://bugzilla.redhat.com/show_bug.cgi?id=1006100#c
+  patch -Np1 -i $srcdir/fix-CVE-2013-4342.patch
 }
 
 build() {

Added: fix-CVE-2013-4342.patch
===
--- fix-CVE-2013-4342.patch (rev 0)
+++ fix-CVE-2013-4342.patch 2013-10-14 07:59:52 UTC (rev 196475)
@@ -0,0 +1,13 @@
+diff --git a/xinetd/builtins.c b/xinetd/builtins.c
+index e61502f..a414cf3 100644
+--- a/xinetd/builtins.c
 b/xinetd/builtins.c
+@@ -695,7 +695,7 @@ static void tcpmux_handler( const struct server *serp )
+if( SC_IS_INTERNAL( scp ) ) {
+   SC_INTERNAL(scp, nserp);
+} else {
+-  exec_server(nserp);
++  child_process(nserp);
+}
+ }
+ 



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

2013-05-17 Thread Tobias Powalowski
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
===
--- PKGBUILD2013-05-17 10:55:17 UTC (rev 185691)
+++ PKGBUILD2013-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'
  '21f47b4aa20921cfad9f9a407f81'
  '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]



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

2012-06-12 Thread Tobias Powalowski
Date: Tuesday, June 12, 2012 @ 03:20:56
  Author: tpowa
Revision: 161605

upgpkg: xinetd 2.3.15-2

fix #30254

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

+
 PKGBUILD   |6 +++---
 xinetd.service |2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-06-12 05:46:46 UTC (rev 161604)
+++ PKGBUILD2012-06-12 07:20:56 UTC (rev 161605)
@@ -1,10 +1,10 @@
 # $Id$
-# Maintainer:
+# Maintainer: Tobias Powalowski 
 # Contributor: Judd 
 
 pkgname=xinetd
 pkgver=2.3.15
-pkgrel=1
+pkgrel=2
 pkgdesc="A secure replacement for inetd"
 arch=('i686' 'x86_64')
 url="http://www.xinetd.org/";
@@ -22,7 +22,7 @@
  'ea37a2794f202e6b953d9b6956dad16a'
  '21f47b4aa20921cfad9f9a407f81'
  '9fa2061dc7dd738c8424251deb86f81e'
- '4473d8b2b6c984626d9f73a0b89711ee')
+ '08466ed714ea8ba42ad81f6fb3aa62e7')
 
 build() {
   cd $srcdir/$pkgname-$pkgver

Modified: xinetd.service
===
--- xinetd.service  2012-06-12 05:46:46 UTC (rev 161604)
+++ xinetd.service  2012-06-12 07:20:56 UTC (rev 161605)
@@ -1,6 +1,6 @@
 [Unit]
 Description=A secure replacement for inetd
-After=network.service
+After=network.target
 
 [Service]
 ExecStart=/usr/sbin/xinetd -dontfork



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

2012-05-10 Thread Tobias Powalowski
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
===
--- PKGBUILD2012-05-10 13:58:45 UTC (rev 158803)
+++ PKGBUILD2012-05-10 14:06:35 UTC (rev 158804)
@@ -3,8 +3,8 @@
 # Contributor: Judd 
 
 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'
  '21f47b4aa20921cfad9f9a407f81'
- '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



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

2011-11-03 Thread Tobias Powalowski
Date: Thursday, November 3, 2011 @ 16:19:13
  Author: tpowa
Revision: 141987

signed rebuild

Modified:
  xinetd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-11-03 20:17:26 UTC (rev 141986)
+++ PKGBUILD2011-11-03 20:19:13 UTC (rev 141987)
@@ -4,7 +4,7 @@
 
 pkgname=xinetd
 pkgver=2.3.14
-pkgrel=7
+pkgrel=8
 pkgdesc="A secure replacement for inetd"
 arch=('i686' 'x86_64')
 url="http://www.xinetd.org/";



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

2011-07-15 Thread Dan McGee
Date: Friday, July 15, 2011 @ 19:50:00
  Author: dan
Revision: 131821

upgpkg: xinetd 2.3.14-7
remove tcp_wrappers support

Modified:
  xinetd/trunk/PKGBUILD

--+
 PKGBUILD |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-07-15 23:28:38 UTC (rev 131820)
+++ PKGBUILD2011-07-15 23:50:00 UTC (rev 131821)
@@ -4,12 +4,11 @@
 
 pkgname=xinetd
 pkgver=2.3.14
-pkgrel=6
+pkgrel=7
 pkgdesc="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
@@ -26,7 +25,7 @@
 build() {
   cd $srcdir/$pkgname-$pkgver
   sed -i "s#${prefix}/man#${prefix}/share/man#" configure
-  ./configure --prefix=/usr --with-libwrap
+  ./configure --prefix=/usr --without-libwrap
   make
 }
 



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

2010-11-30 Thread Allan McRae
Date: Tuesday, November 30, 2010 @ 20:20:10
  Author: allan
Revision: 101722

captial

Modified:
  xinetd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-11-30 23:11:22 UTC (rev 101721)
+++ PKGBUILD2010-12-01 01:20:10 UTC (rev 101722)
@@ -5,7 +5,7 @@
 pkgname=xinetd
 pkgver=2.3.14
 pkgrel=6
-pkgdesc="a secure replacement for inetd"
+pkgdesc="A secure replacement for inetd"
 arch=('i686' 'x86_64')
 url="http://www.xinetd.org/";
 license=('custom')



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

2010-11-19 Thread Allan McRae
Date: Friday, November 19, 2010 @ 08:00:23
  Author: allan
Revision: 99899

upgpkg: xinetd 2.3.14-6
rebuild of old package, tidy up PKGBUILD

Modified:
  xinetd/trunk/PKGBUILD

--+
 PKGBUILD |   38 +-
 1 file changed, 25 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-11-19 12:50:35 UTC (rev 99898)
+++ PKGBUILD2010-11-19 13:00:23 UTC (rev 99899)
@@ -1,32 +1,44 @@
 # $Id$
-# Maintainer:  Judd 
+# Maintainer:
+# Contributor: Judd 
+
 pkgname=xinetd
 pkgver=2.3.14
-pkgrel=5
-pkgdesc="xinetd is a secure replacement for inetd"
+pkgrel=6
+pkgdesc="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' '21f47b4aa20921cfad9f9a407f81'\
+source=(http://www.xinetd.org/xinetd-$pkgver.tar.gz
+xinetd.conf
+xinetd
+servers
+services)
+md5sums=('567382d7972613090215c6c54f9b82d9'
+ 'f109f699a07bc8cfb5791060f5e87f9e'
+ 'ea37a2794f202e6b953d9b6956dad16a'
+ '21f47b4aa20921cfad9f9a407f81'
  '9fa2061dc7dd738c8424251deb86f81e')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
   sed -i "s#${prefix}/man#${prefix}/share/man#" configure
   ./configure --prefix=/usr --with-libwrap
-  make || return 1
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
   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 -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
 
   # install license
-  install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
+  install -Dm644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
 }