summaryrefslogtreecommitdiff
path: root/community/leafnode
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2011-11-26 11:56:56 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2011-11-26 11:56:56 +0100
commit0fc7a60c47b41bf54d1f1429fddb6baddb80007c (patch)
tree77f6cc6477ba82a940d83258ffc98e2f26e40284 /community/leafnode
parent47ed35d319764a0de3a242524e037319bd1a52bd (diff)
parent6a642c093f29814cdd0fdefeee3ab9400eae490f (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/ncdu/PKGBUILD extra/gcin/PKGBUILD extra/maxima/PKGBUILD extra/sbcl/PKGBUILD kde-unstable/calligra/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD
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 eb14ece2a..7afa1252e 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' 'mips64el')
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"
}