summaryrefslogtreecommitdiff
path: root/news/leafnode/patches
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-06-16 11:34:26 +0000
committercjep <cjep@pkgsrc.org>2002-06-16 11:34:26 +0000
commite0af88e6b2e8f9a88bddaa71fee381129485eb2d (patch)
tree09c8d61b6c47fb895a9ccd4335fd1cd157cdb526 /news/leafnode/patches
parent2f9f0a5da4de01bb850f5179be4e6ce41cb957e1 (diff)
downloadpkgsrc-e0af88e6b2e8f9a88bddaa71fee381129485eb2d.tar.gz
Initial import of Leafnode 1.9.22 into the NetBSD packages collection
as news/leafnode. Leafnode is a USENET software package designed for small sites, with a few tens of readers and only a slow link to the net. The work in this package is based on that of Ingolf Steinbach in PR#13830. wiz@ made some suggestions as well. Thanks to both of them.
Diffstat (limited to 'news/leafnode/patches')
-rw-r--r--news/leafnode/patches/patch-aa58
1 files changed, 58 insertions, 0 deletions
diff --git a/news/leafnode/patches/patch-aa b/news/leafnode/patches/patch-aa
new file mode 100644
index 00000000000..40c800c5d9a
--- /dev/null
+++ b/news/leafnode/patches/patch-aa
@@ -0,0 +1,58 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/06/16 11:34:26 cjep Exp $
+
+--- Makefile.in.orig Wed Apr 17 19:39:31 2002
++++ Makefile.in
+@@ -587,14 +587,14 @@
+ done
+ sysconfDATA_INSTALL = $(INSTALL_DATA)
+ install-sysconfDATA: $(sysconf_DATA)
+- @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+- @list='$(sysconf_DATA)'; for p in $$list; do \
+- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+- f="`echo $$p | sed -e 's|^.*/||'`"; \
+- echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
+- $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
+- done
++# @$(NORMAL_INSTALL)
++# $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
++# @list='$(sysconf_DATA)'; for p in $$list; do \
++# if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
++# f="`echo $$p | sed -e 's|^.*/||'`"; \
++# echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
++# $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
++# done
+
+ uninstall-sysconfDATA:
+ @$(NORMAL_UNINSTALL)
+@@ -995,18 +995,18 @@
+ rpm -ba leafnode.spec
+
+ install-data-hook: quickmkdir amiroot
+- set -e ; for i in . leaf.node failed.postings interesting.groups \
+- out.going message.id ; do \
+- mkdir -p $(DESTDIR)$(SPOOLDIR)/$$i ; \
+- if ./amiroot ; then \
+- chown news:news $(DESTDIR)$(SPOOLDIR)/$$i ; \
+- chmod 2775 $(DESTDIR)$(SPOOLDIR)/$$i ; fi ; \
+- done
+- d="`dirname $(DESTDIR)@LOCKFILE@`" ; mkdir -p "$${d}" && \
+- if ./amiroot ; then \
+- chown news:news "$${d}" ; \
+- chmod 2775 "$${d}" ; fi
+- ./quickmkdir $(DESTDIR)
++# set -e ; for i in . leaf.node failed.postings interesting.groups \
++# out.going message.id ; do \
++# mkdir -p $(DESTDIR)$(SPOOLDIR)/$$i ; \
++# if ./amiroot ; then \
++# chown news:news $(DESTDIR)$(SPOOLDIR)/$$i ; \
++# chmod 2775 $(DESTDIR)$(SPOOLDIR)/$$i ; fi ; \
++# done
++# d="`dirname $(DESTDIR)@LOCKFILE@`" ; mkdir -p "$${d}" && \
++# if ./amiroot ; then \
++# chown news:news "$${d}" ; \
++# chmod 2775 "$${d}" ; fi
++# ./quickmkdir $(DESTDIR)
+
+ uninstall-local:
+ rm -rf $(DESTDIR)$(SPOOLDIR) $(DESTDIR)@LOCKFILE@