summaryrefslogtreecommitdiff
path: root/community/leafnode
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-25 23:14:55 +0000
committerroot <root@rshg054.dnsready.net>2011-11-25 23:14:55 +0000
commit6a642c093f29814cdd0fdefeee3ab9400eae490f (patch)
treef2edeb17bda6dbc9e784455f1b38f3fcc7e5b64a /community/leafnode
parent5894dd675f4bd3ba296d262fae99b3b87a0f87fd (diff)
Fri Nov 25 23:14:55 UTC 2011
Diffstat (limited to 'community/leafnode')
-rw-r--r--community/leafnode/PKGBUILD7
-rw-r--r--community/leafnode/leafnode.install3
2 files changed, 5 insertions, 5 deletions
diff --git a/community/leafnode/PKGBUILD b/community/leafnode/PKGBUILD
index a09bf47e4..35c4efb62 100644
--- a/community/leafnode/PKGBUILD
+++ b/community/leafnode/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id: PKGBUILD 58812 2011-11-18 15:35:58Z spupykin $
+# $Id: PKGBUILD 59410 2011-11-24 15:33:29Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# You need an news user and group to build this package
pkgname=leafnode
pkgver=1.11.8
-pkgrel=2
+pkgrel=4
pkgdesc="implements a store & forward NNTP proxy (client and server) with IPv4 and IPv6"
arch=('i686' 'x86_64')
url="http://leafnode.sourceforge.net/"
@@ -23,6 +22,8 @@ build() {
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc/leafnode \
--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
make DESTDIR=$pkgdir install
chown -R root.root $pkgdir
diff --git a/community/leafnode/leafnode.install b/community/leafnode/leafnode.install
index f1a046e1c..5f8a74c04 100644
--- a/community/leafnode/leafnode.install
+++ b/community/leafnode/leafnode.install
@@ -10,6 +10,5 @@ post_install() {
}
post_remove() {
- echo "-- Deleting spool directory"
- rm -rf var/spool/news
+ echo "-- Don't forget to remove /var/spool/news directory"
}