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

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu May 23 07:13:34 EDT 2013


    Date: Thursday, May 23, 2013 @ 13:13:34
  Author: spupykin
Revision: 91511

upgpkg: leafnode 1.11.8-6

upd

Modified:
  leafnode/trunk/PKGBUILD
  leafnode/trunk/leafnode.install
  leafnode/trunk/leafnode.xinetd

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-23 10:17:52 UTC (rev 91510)
+++ PKGBUILD	2013-05-23 11:13:34 UTC (rev 91511)
@@ -3,7 +3,7 @@
 
 pkgname=leafnode
 pkgver=1.11.8
-pkgrel=5
+pkgrel=6
 pkgdesc="implements a store & forward NNTP proxy (client and server) with IPv4 and IPv6"
 arch=('i686' 'x86_64')
 url="http://leafnode.sourceforge.net/"
@@ -15,11 +15,11 @@
 source=(http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
 	leafnode.xinetd)
 md5sums=('a3edafeb854efaa3fbb0f7951d02160f'
-         'db3c6ad1ff9fc03442949456d1d21304')
+         '08cd0a81d6efe0803b5d0747ab31903f')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc/leafnode \
+  ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc/leafnode --sbindir=/usr/bin \
 	--with-user=9 \
 	--with-group=13
   sed -i 's|#define NEWS_USER .*|#define NEWS_USER "news"|' config.h

Modified: leafnode.install
===================================================================
--- leafnode.install	2013-05-23 10:17:52 UTC (rev 91510)
+++ leafnode.install	2013-05-23 11:13:34 UTC (rev 91511)
@@ -1,7 +1,7 @@
 post_install() {
   echo "-- Adding user 'news' and group 'news', chowning /var/spool/news"
-  grep -e "^news:" /etc/group 2>&- >&- || groupadd -g 13 -r news 2>&- >&-
-  grep -e "^news:" /etc/passwd 2>&- >&- || useradd -u 9 -r -m -g news news 2>&- >&-
+  grep -e "^news:" etc/group 2>&- >&- || groupadd -g 13 -r news 2>&- >&-
+  grep -e "^news:" etc/passwd 2>&- >&- || useradd -u 9 -r -m -g news news 2>&- >&-
   chown -R root:news etc/leafnode
   # create dir if necessary
   if [ ! -d var/spool/news ]; then

Modified: leafnode.xinetd
===================================================================
--- leafnode.xinetd	2013-05-23 10:17:52 UTC (rev 91510)
+++ leafnode.xinetd	2013-05-23 11:13:34 UTC (rev 91511)
@@ -7,7 +7,7 @@
 	socket_type		= stream
 	wait			= no
 	user			= news
-	server			= /usr/sbin/leafnode
+	server			= /usr/bin/leafnode
 	log_type		= SYSLOG news
 	log_on_success		+= USERID
 	log_on_failure		+= USERID



More information about the arch-commits mailing list