[arch-commits] Commit in leafnode/repos/community-i686 (6 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Jul 25 16:35:33 UTC 2014
Date: Friday, July 25, 2014 @ 18:35:33
Author: spupykin
Revision: 116344
archrelease: copy trunk to community-i686
Added:
leafnode/repos/community-i686/PKGBUILD
(from rev 116343, leafnode/trunk/PKGBUILD)
leafnode/repos/community-i686/leafnode.install
(from rev 116343, leafnode/trunk/leafnode.install)
leafnode/repos/community-i686/leafnode.xinetd
(from rev 116343, leafnode/trunk/leafnode.xinetd)
Deleted:
leafnode/repos/community-i686/PKGBUILD
leafnode/repos/community-i686/leafnode.install
leafnode/repos/community-i686/leafnode.xinetd
------------------+
PKGBUILD | 68 ++++++++++++++++++++++++++---------------------------
leafnode.install | 28 ++++++++++-----------
leafnode.xinetd | 36 ++++++++++++++--------------
3 files changed, 66 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-25 16:35:24 UTC (rev 116343)
+++ PKGBUILD 2014-07-25 16:35:33 UTC (rev 116344)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=leafnode
-pkgver=1.11.8
-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/"
-depends=('pcre' 'xinetd')
-license=('GPL')
-install=leafnode.install
-options=(!emptydirs)
-backup=('etc/xinetd.d/leafnode')
-source=(http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
- leafnode.xinetd)
-md5sums=('a3edafeb854efaa3fbb0f7951d02160f'
- '08cd0a81d6efe0803b5d0747ab31903f')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./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
- sed -i 's|#define NEWS_GROUP .*|#define NEWS_GROUP "news"|' config.h
- make
-}
-package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
- chown -R root.root $pkgdir
- install -D -m0644 $srcdir/leafnode.xinetd $pkgdir/etc/xinetd.d/leafnode
-}
Copied: leafnode/repos/community-i686/PKGBUILD (from rev 116343, leafnode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-07-25 16:35:33 UTC (rev 116344)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=leafnode
+pkgver=1.11.10
+pkgrel=1
+pkgdesc="implements a store & forward NNTP proxy (client and server) with IPv4 and IPv6"
+arch=('i686' 'x86_64')
+url="http://leafnode.sourceforge.net/"
+depends=('pcre' 'xinetd')
+license=('GPL')
+install=leafnode.install
+options=(!emptydirs)
+backup=('etc/xinetd.d/leafnode')
+source=(http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
+ leafnode.xinetd)
+md5sums=('df12ebcfbac6bbcef1822920ec1148cc'
+ '08cd0a81d6efe0803b5d0747ab31903f')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./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
+ sed -i 's|#define NEWS_GROUP .*|#define NEWS_GROUP "news"|' config.h
+ make
+}
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+ chown -R root.root $pkgdir
+ install -D -m0644 $srcdir/leafnode.xinetd $pkgdir/etc/xinetd.d/leafnode
+}
Deleted: leafnode.install
===================================================================
--- leafnode.install 2014-07-25 16:35:24 UTC (rev 116343)
+++ leafnode.install 2014-07-25 16:35:33 UTC (rev 116344)
@@ -1,14 +0,0 @@
-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>&- >&-
- chown -R root:news etc/leafnode
- # create dir if necessary
- if [ ! -d var/spool/news ]; then
- install -d -m 770 -o news -g news var/spool/news
- fi
-}
-
-post_remove() {
- echo "-- Don't forget to remove /var/spool/news directory"
-}
Copied: leafnode/repos/community-i686/leafnode.install (from rev 116343, leafnode/trunk/leafnode.install)
===================================================================
--- leafnode.install (rev 0)
+++ leafnode.install 2014-07-25 16:35:33 UTC (rev 116344)
@@ -0,0 +1,14 @@
+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>&- >&-
+ chown -R root:news etc/leafnode
+ # create dir if necessary
+ if [ ! -d var/spool/news ]; then
+ install -d -m 770 -o news -g news var/spool/news
+ fi
+}
+
+post_remove() {
+ echo "-- Don't forget to remove /var/spool/news directory"
+}
Deleted: leafnode.xinetd
===================================================================
--- leafnode.xinetd 2014-07-25 16:35:24 UTC (rev 116343)
+++ leafnode.xinetd 2014-07-25 16:35:33 UTC (rev 116344)
@@ -1,18 +0,0 @@
-#
-# /etc/xinetd.d/leafnode
-#
-
-service nntp
-{
- socket_type = stream
- wait = no
- user = news
- server = /usr/bin/leafnode
- log_type = SYSLOG news
- log_on_success += USERID
- log_on_failure += USERID
- port = 119
- disable = yes
- groups = yes
-}
-
Copied: leafnode/repos/community-i686/leafnode.xinetd (from rev 116343, leafnode/trunk/leafnode.xinetd)
===================================================================
--- leafnode.xinetd (rev 0)
+++ leafnode.xinetd 2014-07-25 16:35:33 UTC (rev 116344)
@@ -0,0 +1,18 @@
+#
+# /etc/xinetd.d/leafnode
+#
+
+service nntp
+{
+ socket_type = stream
+ wait = no
+ user = news
+ server = /usr/bin/leafnode
+ log_type = SYSLOG news
+ log_on_success += USERID
+ log_on_failure += USERID
+ port = 119
+ disable = yes
+ groups = yes
+}
+
More information about the arch-commits
mailing list