summaryrefslogtreecommitdiff
path: root/comms/fidogate
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-12-18 01:09:23 +0000
committerabs <abs@pkgsrc.org>2009-12-18 01:09:23 +0000
commitef4d926af199e45b9d17c20ea0541cf9b387b84f (patch)
treee99a91767ae9ef2d68ffe756907af52f42568d4c /comms/fidogate
parentc676d202547b27d5cdde3da3db6aba5ef6d10618 (diff)
downloadpkgsrc-ef4d926af199e45b9d17c20ea0541cf9b387b84f.tar.gz
You are in a maze of twisty little Makefiles, all with short install targets
Somewhat more than 11 rooms later... PKG_DESTDIR_SUPPORT
Diffstat (limited to 'comms/fidogate')
-rw-r--r--comms/fidogate/Makefile21
-rw-r--r--comms/fidogate/distinfo76
-rw-r--r--comms/fidogate/patches/patch-ab10
-rw-r--r--comms/fidogate/patches/patch-ad4
-rw-r--r--comms/fidogate/patches/patch-ae49
-rw-r--r--comms/fidogate/patches/patch-af10
-rw-r--r--comms/fidogate/patches/patch-ag6
-rw-r--r--comms/fidogate/patches/patch-ah8
-rw-r--r--comms/fidogate/patches/patch-ai7
-rw-r--r--comms/fidogate/patches/patch-aj8
-rw-r--r--comms/fidogate/patches/patch-ak10
-rw-r--r--comms/fidogate/patches/patch-al4
-rw-r--r--comms/fidogate/patches/patch-am4
-rw-r--r--comms/fidogate/patches/patch-an4
-rw-r--r--comms/fidogate/patches/patch-ao4
-rw-r--r--comms/fidogate/patches/patch-ap4
-rw-r--r--comms/fidogate/patches/patch-aq4
-rw-r--r--comms/fidogate/patches/patch-ar8
-rw-r--r--comms/fidogate/patches/patch-as6
-rw-r--r--comms/fidogate/patches/patch-at4
-rw-r--r--comms/fidogate/patches/patch-au13
-rw-r--r--comms/fidogate/patches/patch-av4
-rw-r--r--comms/fidogate/patches/patch-aw4
-rw-r--r--comms/fidogate/patches/patch-ax6
-rw-r--r--comms/fidogate/patches/patch-ay4
-rw-r--r--comms/fidogate/patches/patch-az4
-rw-r--r--comms/fidogate/patches/patch-ba4
-rw-r--r--comms/fidogate/patches/patch-bb4
-rw-r--r--comms/fidogate/patches/patch-bc4
-rw-r--r--comms/fidogate/patches/patch-bd4
-rw-r--r--comms/fidogate/patches/patch-be4
-rw-r--r--comms/fidogate/patches/patch-bf6
-rw-r--r--comms/fidogate/patches/patch-bg23
-rw-r--r--comms/fidogate/patches/patch-bh25
-rw-r--r--comms/fidogate/patches/patch-bi27
-rw-r--r--comms/fidogate/patches/patch-bj17
-rw-r--r--comms/fidogate/patches/patch-bk33
-rw-r--r--comms/fidogate/patches/patch-bl33
-rw-r--r--comms/fidogate/patches/patch-bm17
-rw-r--r--comms/fidogate/patches/patch-bn12
-rw-r--r--comms/fidogate/patches/patch-bo12
-rw-r--r--comms/fidogate/patches/patch-bp12
-rw-r--r--comms/fidogate/patches/patch-bq21
-rw-r--r--comms/fidogate/patches/patch-br13
-rw-r--r--comms/fidogate/patches/patch-bs25
-rw-r--r--comms/fidogate/patches/patch-bt21
-rw-r--r--comms/fidogate/patches/patch-bu13
47 files changed, 496 insertions, 120 deletions
diff --git a/comms/fidogate/Makefile b/comms/fidogate/Makefile
index ec1893610cc..6c5dcda63c0 100644
--- a/comms/fidogate/Makefile
+++ b/comms/fidogate/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2009/06/30 00:07:11 joerg Exp $
+# $NetBSD: Makefile,v 1.61 2009/12/18 01:09:23 abs Exp $
#
DISTNAME= fidogate-4.4.10
@@ -20,7 +20,7 @@ EGDIR= ${PREFIX}/share/examples/fidogate
CONF_FILES= ${EGDIR}/fidogate.conf ${PKG_SYSCONFDIR}/fidogate/fidogate.conf
RCD_SCRIPTS= fidogate
RCD_SCRIPT_SRC.fidogate= ${WRKSRC}/scripts/maintenance/rc.fidogate
-INFO_FILES= # PLIST
+INFO_FILES= yes # PLIST
PKG_GROUPS= news
PKG_USERS= news:news
@@ -39,14 +39,17 @@ SUBST_STAGE.paths= pre-build
# Too many schar/uchar issues.
BUILDLINK_TRANSFORM+= rm:-Werror
+PKG_DESTDIR_SUPPORT= destdir
+
OWN_DIRS= ${PKG_SYSCONFDIR}/fidogate
-INSTALLATION_DIRS= ${EGDIR} lib/fidogate \
+INSTALLATION_DIRS+= ${EGDIR} lib/fidogate \
lib/fidogate/bin share/doc/fidogate \
share/fidogate share/fidogate/sendmail \
+ info \
share/fidogate/sendmail/mailer share/examples/rc.d
post-extract:
- @${CP} ${WRKSRC}/examples/orodruin/fidogate.conf \
+ ${CP} ${WRKSRC}/examples/orodruin/fidogate.conf \
${WRKSRC}/fidogate.conf.dist
pre-build:
@@ -58,12 +61,12 @@ pre-build:
post-install:
cd ${WRKSRC}/examples && for f in `${FIND} [m-p]* -type d -print`; do \
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fidogate/$$f; done
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/fidogate/$$f; done
cd ${WRKSRC}/examples && for f in `${FIND} README [m-p]* -type f -print`; do \
- ${INSTALL_DATA} $$f ${PREFIX}/share/examples/fidogate/$$f; done
+ ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/examples/fidogate/$$f; done
cd ${WRKSRC}/sendmail/mailer && ${INSTALL_DATA} ffx.m4 ftn.m4 \
- ${PREFIX}/share/fidogate/sendmail/mailer
- ${INSTALL_DATA} ${WRKSRC}/doc/fidogate.txt ${PREFIX}/share/doc/fidogate
- ${INSTALL_DATA} ${WRKSRC}/fidogate.conf ${EGDIR}
+ ${DESTDIR}${PREFIX}/share/fidogate/sendmail/mailer
+ ${INSTALL_DATA} ${WRKSRC}/doc/fidogate.txt ${DESTDIR}${PREFIX}/share/doc/fidogate
+ ${INSTALL_DATA} ${WRKSRC}/fidogate.conf ${DESTDIR}${EGDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/fidogate/distinfo b/comms/fidogate/distinfo
index b1feeedf02e..70c6f3880c3 100644
--- a/comms/fidogate/distinfo
+++ b/comms/fidogate/distinfo
@@ -1,36 +1,52 @@
-$NetBSD: distinfo,v 1.15 2007/09/29 12:32:22 rillig Exp $
+$NetBSD: distinfo,v 1.16 2009/12/18 01:09:23 abs Exp $
SHA1 (fidogate-4.4.10.tar.gz) = 531305ac82963d5bd6398d2e8e350676bbc9c5eb
RMD160 (fidogate-4.4.10.tar.gz) = 09b8dfa7304089ff27c7c39c1b6004aef00edadf
Size (fidogate-4.4.10.tar.gz) = 1191524 bytes
SHA1 (patch-aa) = a8db429484f09d0ed723886ff44e12bc221ec366
-SHA1 (patch-ab) = 27457fff799208f3daf72eabb6a7b0b056faf945
+SHA1 (patch-ab) = 4ae99842832c406d94b9c40736f22e9abdb28426
SHA1 (patch-ac) = 220f4d95a4ef28fba3ac603957a2f084df5a95e4
-SHA1 (patch-ad) = bc08f722e53b23181d797e1f504023cf4b1ae5fa
-SHA1 (patch-ae) = e2cf8add74b051111626230257c01793c1c20ca9
-SHA1 (patch-af) = 7fbc604c555f210aa49de2ecc1ec13d9835287f0
-SHA1 (patch-ag) = 0d7babf2526a4b235bdd20ae1aead7ee4d734dd6
-SHA1 (patch-ah) = d75936b400f87c87033b07a5481a004ea21d6ddd
-SHA1 (patch-ai) = 7d3c184bc1071a6e70be67707181650468557cc5
-SHA1 (patch-aj) = 0f68f94aa285a4d1ae38cfd2d62b10f96ad325a6
-SHA1 (patch-ak) = 818f81491dcf39e272b6c4107255d738d9f91196
-SHA1 (patch-al) = 229523f59d427a1b60996db9f968fe2c6b119386
-SHA1 (patch-am) = d005bf2020b0b88026e53a08d6a35a7b451ef777
-SHA1 (patch-an) = 7d454b745e4a7a303c25e040936c72db92554ad4
-SHA1 (patch-ao) = 047993df8fa7de8f4f81ba1b1456e2c0e11c54d8
-SHA1 (patch-ap) = 9f8aae03b2b2e758785c9196583221c92d398371
-SHA1 (patch-aq) = cdf5aa7edc6cf6c5b33d95a6b7e9266608f38bca
-SHA1 (patch-ar) = 0883b75e210d635f7e9f49c9b2b5d3978645953b
-SHA1 (patch-as) = daf5a80d044933c17f8ab556bebc0765af1439e3
-SHA1 (patch-at) = 5fa13046a1557b84f2b75b55001435ba8fe09ede
-SHA1 (patch-av) = dec5e163dcba702d929f4242083ac942abbf2160
-SHA1 (patch-aw) = ca20e868bade0466a1a3c5e590993f6cbe6d6143
-SHA1 (patch-ax) = e619113f5d8d9c703bf847bfca0e0585608d15b9
-SHA1 (patch-ay) = bd79290605c61a1e85580d5f7740c71f24357fa0
-SHA1 (patch-az) = 535246ecb494643ada6fbe047c1b3e0a31ada388
-SHA1 (patch-ba) = 8f71c50675c6abe12baa8e0b97b49c97e726d6ca
-SHA1 (patch-bb) = 459c67658e27e3523b6090769f4d0b0527eac07a
-SHA1 (patch-bc) = 8a7cd05276c0e0e70724cdbb91b2583a2b01deff
-SHA1 (patch-bd) = 86e96bb67283d2b90401d63921e7b4c9151a6590
-SHA1 (patch-be) = 44c722acbcaed7f5497c54602460046492d60827
-SHA1 (patch-bf) = c576f96babb5297088e5cb827733e657a7335fa8
+SHA1 (patch-ad) = f2b9504700d7817ccfbe0181249737c037da2a9b
+SHA1 (patch-ae) = b3eeba024fc0381f563e895554e0247ffc92ddd0
+SHA1 (patch-af) = 1402d0e353352b43b787d10b2031252795c791aa
+SHA1 (patch-ag) = 0f6262494ee838ddb900d31e329590803b97a244
+SHA1 (patch-ah) = 535c660bf2d82dba174c5243662b89118c0fdaf8
+SHA1 (patch-ai) = 88fb589f14d4e2cbf7ccf37913d575f22b37b235
+SHA1 (patch-aj) = ed49394f525a4040ee80777268b3c784ee9bc501
+SHA1 (patch-ak) = 549b69145e6c9168107ed539311e3be30663d25c
+SHA1 (patch-al) = 1cb04670948988c1eda0d78667ffd529dbca0c6c
+SHA1 (patch-am) = 67a56ba8d63ca0bf6514ffc108f2cc0732928969
+SHA1 (patch-an) = fce7572619f5f451c92cdd70bf664e682825b372
+SHA1 (patch-ao) = a2fbdb0b289eaffb298809abbfd0df18915a50f9
+SHA1 (patch-ap) = 87ca9f2956985742c967a41c26b0efb39621e4f1
+SHA1 (patch-aq) = a6878a1acfc1d28c66bda2aab8624239947e6d81
+SHA1 (patch-ar) = fa5655e8fb037af7ba0c55ead3c2232f9ef489a4
+SHA1 (patch-as) = ac738f6705f69ec0560a4d54c987a994bc4d4acd
+SHA1 (patch-at) = d2151c08de2df84bd2459f091fe3eca4c515e930
+SHA1 (patch-au) = e9f6ca89fe40e8aeab60eb69c7c7256d7b1f4216
+SHA1 (patch-av) = 5bf87602c218de3d5caa468b858277ef58b785d1
+SHA1 (patch-aw) = e1c9b5e4965474299236a12bf9065c53b8ae46ec
+SHA1 (patch-ax) = 408ea245625b518b631db13c016f1dce6c50c7df
+SHA1 (patch-ay) = 10849d0b4b1e3c79e0373d49173662233f2d189b
+SHA1 (patch-az) = f82ac955c7ef7c5df5fab9ea40ad09c7034661e7
+SHA1 (patch-ba) = d68614a41e1c52f2cf4a27f8ddaaffc5d17f4eaa
+SHA1 (patch-bb) = c118f383a6d2f1f02d9eb8c1380260946c74fa90
+SHA1 (patch-bc) = d1c64e78e055dd58ce2c9dbf10556b3d1cdc6cc7
+SHA1 (patch-bd) = ad20e351b047f11c080aaffbd4eed9e83b00696f
+SHA1 (patch-be) = bdd04301c1aa74d9bf014fb79048fe9291ef4e5b
+SHA1 (patch-bf) = c6ffcd705fc5628053be12ddc2acb3357caf75c8
+SHA1 (patch-bg) = 87916546fd59c3c85bcca90fb71012a277bff2d5
+SHA1 (patch-bh) = 916a616910e6411e0e4b22b9b1958008e9c70438
+SHA1 (patch-bi) = 2b98bcb6778c1c61f65a209df44d0db613281d77
+SHA1 (patch-bj) = 30e6ba2b8205f4cf6c90720dd2c150103b66bb0d
+SHA1 (patch-bk) = 166d21bdcec371f764a606506a3bd2bffa9aafa8
+SHA1 (patch-bl) = b544c359091bab86ef4a40e2c11f2b482788f8c1
+SHA1 (patch-bm) = f80704154ccfcfe8e8ab08bd9d0b7f766f0d7ceb
+SHA1 (patch-bn) = 7923b51e89f2ce91d5e8634b879787af2d0a398a
+SHA1 (patch-bo) = 85015e2ff1063a5918d8f0fc1561bc13b8a8b004
+SHA1 (patch-bp) = b8279d2ee88da217dcc208aca3e708e77c6b7e2b
+SHA1 (patch-bq) = 57bc70b1a0ad1c61e8c6ccce785320df037eb722
+SHA1 (patch-br) = f2aacc56e657a84594430e726e2f6a321641254a
+SHA1 (patch-bs) = cc6e85bb98b1db0f08a59f4a3ce1c8cd2b5e8a35
+SHA1 (patch-bt) = bb8a6e052c69aa74082f0ac19450b9d7857c117f
+SHA1 (patch-bu) = 9f470fd5a1abc270c70b57824d34ddf088dfd38a
diff --git a/comms/fidogate/patches/patch-ab b/comms/fidogate/patches/patch-ab
index c6761fa7730..9fc21d18f91 100644
--- a/comms/fidogate/patches/patch-ab
+++ b/comms/fidogate/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.4 2002/07/06 20:15:52 tv Exp $
+$NetBSD: patch-ab,v 1.5 2009/12/18 01:09:23 abs Exp $
---- src/common/getopt.c.orig Wed Apr 17 14:17:39 1996
-+++ src/common/getopt.c Sat Jul 6 15:28:30 2002
-@@ -73,6 +73,7 @@
+--- src/common/getopt.c.orig 1996-04-17 18:17:39.000000000 +0000
++++ src/common/getopt.c
+@@ -73,6 +73,7 @@ char *alloca ();
#include <stdlib.h>
#else /* Not GNU C library. */
#define __alloca alloca
@@ -10,7 +10,7 @@ $NetBSD: patch-ab,v 1.4 2002/07/06 20:15:52 tv Exp $
#endif /* GNU C library. */
/* If GETOPT_COMPAT is defined, `+' as well as `--' can introduce a
-@@ -444,7 +445,7 @@
+@@ -444,7 +445,7 @@ _getopt_internal (argc, argv, optstring,
int exact = 0;
int ambig = 0;
const struct option *pfound = NULL;
diff --git a/comms/fidogate/patches/patch-ad b/comms/fidogate/patches/patch-ad
index 64230f302b9..2361e1e1b6b 100644
--- a/comms/fidogate/patches/patch-ad
+++ b/comms/fidogate/patches/patch-ad
@@ -1,6 +1,6 @@
-$NetBSD: patch-ad,v 1.5 2005/08/17 11:43:27 tv Exp $
+$NetBSD: patch-ad,v 1.6 2009/12/18 01:09:23 abs Exp $
---- src/tick/ftntick.c.orig 2004-08-22 16:19:13.000000000 -0400
+--- src/tick/ftntick.c.orig 2004-08-22 20:19:13.000000000 +0000
+++ src/tick/ftntick.c
@@ -528,7 +528,7 @@ int check_file(Tick *tic)
if(tic->size != st.st_size)
diff --git a/comms/fidogate/patches/patch-ae b/comms/fidogate/patches/patch-ae
index e88b36e6e50..408f1681149 100644
--- a/comms/fidogate/patches/patch-ae
+++ b/comms/fidogate/patches/patch-ae
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.3 2001/02/22 03:00:15 tv Exp $
+$NetBSD: patch-ae,v 1.4 2009/12/18 01:09:23 abs Exp $
---- Makefile.orig Wed Feb 21 18:28:38 2001
-+++ Makefile Wed Feb 21 18:30:25 2001
-@@ -9,7 +9,7 @@
+--- Makefile.orig 2003-06-08 21:01:25.000000000 +0000
++++ Makefile
+@@ -9,7 +9,7 @@ TOPDIR = .
include $(TOPDIR)/config.make
include $(TOPDIR)/rules.make
@@ -11,3 +11,44 @@ $NetBSD: patch-ae,v 1.3 2001/02/22 03:00:15 tv Exp $
INSTALLDIRS = $(DEFAULT_V_CONFIGDIR) \
$(DEFAULT_V_LIBDIR) \
+@@ -51,29 +51,29 @@ clean veryclean::
+ rm -f *~ *.bak *.o tags TAGS core
+
+ install-dirs:
+- for d in $(INSTALLDIRS); do if [ ! -d $(PREFIX)$$d ]; then \
+- echo "Creating $$d ..."; $(INSTALL_DIR) $(PREFIX)$$d; \
++ for d in $(INSTALLDIRS); do if [ ! -d $(DESTDIR)$(PREFIX)$$d ]; then \
++ echo "Creating $$d ..."; $(INSTALL_DIR) $(DESTDIR)$(PREFIX)$$d; \
+ fi; done
+
+ install-uuin:
+- if [ ! -d $(PREFIX)$(DEFAULT_V_UUINBOUND) ]; then \
+- $(INSTALL_DIR) $(PREFIX)$(DEFAULT_V_UUINBOUND); \
++ if [ ! -d $(DESTDIR)$(PREFIX)$(DEFAULT_V_UUINBOUND) ]; then \
++ $(INSTALL_DIR) $(DESTDIR)$(PREFIX)$(DEFAULT_V_UUINBOUND); \
+ fi
+- chgrp mail $(PREFIX)$(DEFAULT_V_UUINBOUND)
+- chmod g+w $(PREFIX)$(DEFAULT_V_UUINBOUND)
++ chgrp mail $(DESTDIR)$(PREFIX)$(DEFAULT_V_UUINBOUND)
++ chmod g+w $(DESTDIR)$(PREFIX)$(DEFAULT_V_UUINBOUND)
+
+ install::
+- cp ANNOUNCE $(PREFIX)$(HTMLDIR)
++ cp ANNOUNCE $(DESTDIR)$(PREFIX)$(HTMLDIR)
+
+ install-html::
+- cp ANNOUNCE $(PREFIX)$(HTMLDIR)
++ cp ANNOUNCE $(DESTDIR)$(PREFIX)$(HTMLDIR)
+ $(MAKE) -C doc/html install
+ $(MAKE) -C doc/gatebau install
+
+ install-spec-src:
+- if [ -d $(RPMSPECSDIR) ]; then \
+- cp fidogate.spec $(RPMSPECSDIR); \
+- cp /var/tmp/fidogate-[0-9].*.tar.gz $(RPMSOURCESDIR); \
++ if [ -d $(DESTDIR)$(RPMSPECSDIR) ]; then \
++ cp fidogate.spec $(DESTDIR)$(RPMSPECSDIR); \
++ cp /var/tmp/fidogate-[0-9].*.tar.gz $(DESTDIR)$(RPMSOURCESDIR); \
+ fi
+
+ install-config:
diff --git a/comms/fidogate/patches/patch-af b/comms/fidogate/patches/patch-af
index 2ba55796b76..14dfaf3fac4 100644
--- a/comms/fidogate/patches/patch-af
+++ b/comms/fidogate/patches/patch-af
@@ -1,13 +1,13 @@
-$NetBSD: patch-af,v 1.4 2001/10/31 14:32:30 tv Exp $
+$NetBSD: patch-af,v 1.5 2009/12/18 01:09:23 abs Exp $
---- scripts/Makefile.orig Wed Feb 21 20:20:36 2001
-+++ scripts/Makefile Wed Feb 21 20:20:43 2001
-@@ -16,7 +16,7 @@
+--- scripts/Makefile.orig 2001-05-28 15:09:25.000000000 +0000
++++ scripts/Makefile
+@@ -16,7 +16,7 @@ include $(TOPDIR)/config.make
include $(TOPDIR)/rules.make
-SUBDIRS = areas filebase maintenance misc nodelist outbound run www
+SUBDIRS = areas filebase maintenance misc nodelist outbound run
-
+
all clean veryclean depend install::
diff --git a/comms/fidogate/patches/patch-ag b/comms/fidogate/patches/patch-ag
index 32a216a01c2..719af337bff 100644
--- a/comms/fidogate/patches/patch-ag
+++ b/comms/fidogate/patches/patch-ag
@@ -1,7 +1,7 @@
-$NetBSD: patch-ag,v 1.3 2001/02/22 03:00:15 tv Exp $
+$NetBSD: patch-ag,v 1.4 2009/12/18 01:09:23 abs Exp $
---- doc/fidogate.texi.orig Wed Feb 21 20:54:05 2001
-+++ doc/fidogate.texi Wed Feb 21 20:54:53 2001
+--- doc/fidogate.texi.orig 2004-08-26 20:56:16.000000000 +0000
++++ doc/fidogate.texi
@@ -15,6 +15,11 @@
diff --git a/comms/fidogate/patches/patch-ah b/comms/fidogate/patches/patch-ah
index bc9a8c228c0..ab8d2195da2 100644
--- a/comms/fidogate/patches/patch-ah
+++ b/comms/fidogate/patches/patch-ah
@@ -1,8 +1,8 @@
-$NetBSD: patch-ah,v 1.3 2001/02/22 03:00:15 tv Exp $
+$NetBSD: patch-ah,v 1.4 2009/12/18 01:09:23 abs Exp $
---- examples/README.orig Wed Feb 21 20:47:37 2001
-+++ examples/README Wed Feb 21 20:47:51 2001
-@@ -13,13 +13,4 @@
+--- examples/README.orig 2002-08-05 23:47:15.000000000 +0000
++++ examples/README
+@@ -13,13 +13,4 @@ morannon/ morannon.fido.de, 2:2452/110,
orodruin/ orodruin.fido.de, 2:2452/110.2, 242:1000/5
point configuration
diff --git a/comms/fidogate/patches/patch-ai b/comms/fidogate/patches/patch-ai
index 61118c0b129..9743fa8b564 100644
--- a/comms/fidogate/patches/patch-ai
+++ b/comms/fidogate/patches/patch-ai
@@ -1,7 +1,7 @@
-$NetBSD: patch-ai,v 1.6 2002/07/06 20:15:52 tv Exp $
+$NetBSD: patch-ai,v 1.7 2009/12/18 01:09:23 abs Exp $
---- fidogate.conf.dist.orig Thu Feb 22 09:58:02 2001
-+++ fidogate.conf.dist Thu Feb 22 09:58:13 2001
+--- fidogate.conf.dist.orig 2009-12-17 21:51:33.000000000 +0000
++++ fidogate.conf.dist
@@ -15,30 +15,30 @@
##############################################################################
@@ -55,4 +55,3 @@ $NetBSD: patch-ai,v 1.6 2002/07/06 20:15:52 tv Exp $
# facility, level when using syslog support (LOGFILE = "syslog")
# NOT YET SUPPORTED by FIDOGATE C programs (used by Perl scripts)
-
diff --git a/comms/fidogate/patches/patch-aj b/comms/fidogate/patches/patch-aj
index 70afde5c829..b5d18a4707a 100644
--- a/comms/fidogate/patches/patch-aj
+++ b/comms/fidogate/patches/patch-aj
@@ -1,8 +1,8 @@
-$NetBSD: patch-aj,v 1.5 2001/03/09 19:06:19 tv Exp $
+$NetBSD: patch-aj,v 1.6 2009/12/18 01:09:23 abs Exp $
---- src/toss/rununpack.pl.orig Thu Feb 22 12:29:19 2001
-+++ src/toss/rununpack.pl Thu Feb 22 12:29:48 2001
-@@ -31,7 +31,7 @@
+--- src/toss/rununpack.pl.orig 1999-05-15 20:54:44.000000000 +0000
++++ src/toss/rununpack.pl
+@@ -31,7 +31,7 @@ my %arc_l;
my %arc_x;
# Archiver programs configuration
# %X is replaced with settings from toss.conf
diff --git a/comms/fidogate/patches/patch-ak b/comms/fidogate/patches/patch-ak
index 8a870a9b1a7..6efaa27a48c 100644
--- a/comms/fidogate/patches/patch-ak
+++ b/comms/fidogate/patches/patch-ak
@@ -1,7 +1,7 @@
-$NetBSD: patch-ak,v 1.7 2005/08/17 11:43:27 tv Exp $
---- src/areafix/areafix.c.orig 2001-05-29 04:00:27.000000000 +1000
-+++ src/areafix/areafix.c 2003-10-10 18:43:07.000000000 +1000
-@@ -770,7 +769,7 @@
+$NetBSD: patch-ak,v 1.8 2009/12/18 01:09:23 abs Exp $
+--- src/areafix/areafix.c.orig 2004-08-26 20:56:18.000000000 +0000
++++ src/areafix/areafix.c
+@@ -769,7 +769,7 @@ int cmd_listall(Node *node)
mark = (lon_search(l, node) ? "*" : " ");
if(p->desc)
@@ -10,7 +10,7 @@ $NetBSD: patch-ak,v 1.7 2005/08/17 11:43:27 tv Exp $
mark, p->zone, p->area, p->desc);
else
areafix_printf("%s Z%-3d %s",
-@@ -836,7 +835,7 @@
+@@ -835,7 +835,7 @@ int cmd_list(Node *node)
mark = (lon_search(l, node) ? "*" : " ");
if(p->desc)
diff --git a/comms/fidogate/patches/patch-al b/comms/fidogate/patches/patch-al
index 40f30fd6cfb..dad979c5cf9 100644
--- a/comms/fidogate/patches/patch-al
+++ b/comms/fidogate/patches/patch-al
@@ -1,6 +1,6 @@
-$NetBSD: patch-al,v 1.6 2005/08/17 11:43:27 tv Exp $
+$NetBSD: patch-al,v 1.7 2009/12/18 01:09:23 abs Exp $
---- src/common/log.c.orig 2004-08-26 16:56:20.000000000 -0400
+--- src/common/log.c.orig 2004-08-26 20:56:20.000000000 +0000
+++ src/common/log.c
@@ -137,7 +137,7 @@ void logit(const char *fmt, ...)
if(fp)
diff --git a/comms/fidogate/patches/patch-am b/comms/fidogate/patches/patch-am
index 9f6da46611f..5ac84d76076 100644
--- a/comms/fidogate/patches/patch-am
+++ b/comms/fidogate/patches/patch-am
@@ -1,6 +1,6 @@
-$NetBSD: patch-am,v 1.5 2004/08/23 15:18:02 tv Exp $
+$NetBSD: patch-am,v 1.6 2009/12/18 01:09:23 abs Exp $
---- src/common/tick.c.orig 2003-02-16 10:38:58.000000000 -0500
+--- src/common/tick.c.orig 2004-08-22 20:19:11.000000000 +0000
+++ src/common/tick.c
@@ -120,7 +120,7 @@ int tick_put(Tick *tic, char *name)
fprintf(fp, "CRC %08lX\r\n", tic->crc);
diff --git a/comms/fidogate/patches/patch-an b/comms/fidogate/patches/patch-an
index 7ed6db6bf1c..5fdfc84edf8 100644
--- a/comms/fidogate/patches/patch-an
+++ b/comms/fidogate/patches/patch-an
@@ -1,6 +1,6 @@
-$NetBSD: patch-an,v 1.5 2004/08/23 15:18:02 tv Exp $
+$NetBSD: patch-an,v 1.6 2009/12/18 01:09:23 abs Exp $
---- src/tick/ftnhatch.c.orig 2003-02-16 10:39:02.000000000 -0500
+--- src/tick/ftnhatch.c.orig 2004-08-22 20:19:13.000000000 +0000
+++ src/tick/ftnhatch.c
@@ -99,7 +99,7 @@ int hatch(char *area, char *file, char *
file_crc = crc32_file(file_name);
diff --git a/comms/fidogate/patches/patch-ao b/comms/fidogate/patches/patch-ao
index 7cf8f0e12b9..9fe42a1ad95 100644
--- a/comms/fidogate/patches/patch-ao
+++ b/comms/fidogate/patches/patch-ao
@@ -1,6 +1,6 @@
-$NetBSD: patch-ao,v 1.3 2005/08/17 11:43:27 tv Exp $
+$NetBSD: patch-ao,v 1.4 2009/12/18 01:09:23 abs Exp $
---- src/toss/ftnexpire.c.orig 2004-08-22 16:19:14.000000000 -0400
+--- src/toss/ftnexpire.c.orig 2004-08-22 20:19:14.000000000 +0000
+++ src/toss/ftnexpire.c
@@ -112,7 +112,7 @@ int do_expire(void)
if(exp_sec < 0)
diff --git a/comms/fidogate/patches/patch-ap b/comms/fidogate/patches/patch-ap
index c1ff0b8fbc4..b252f164045 100644
--- a/comms/fidogate/patches/patch-ap
+++ b/comms/fidogate/patches/patch-ap
@@ -1,6 +1,6 @@
-$NetBSD: patch-ap,v 1.3 2005/08/17 11:43:27 tv Exp $
+$NetBSD: patch-ap,v 1.4 2009/12/18 01:09:23 abs Exp $
---- src/toss/ftntoss.c.orig 2004-08-22 16:19:14.000000000 -0400
+--- src/toss/ftntoss.c.orig 2004-08-22 20:19:14.000000000 +0000
+++ src/toss/ftntoss.c
@@ -1442,7 +1442,7 @@ int unpack_file(char *pkt_name)
exp_sec = now_sec - max_sec;
diff --git a/comms/fidogate/patches/patch-aq b/comms/fidogate/patches/patch-aq
index f88fe33ddbc..268ce4feca2 100644
--- a/comms/fidogate/patches/patch-aq
+++ b/comms/fidogate/patches/patch-aq
@@ -1,6 +1,6 @@
-$NetBSD: patch-aq,v 1.3 2005/08/17 11:43:27 tv Exp $
+$NetBSD: patch-aq,v 1.4 2009/12/18 01:09:23 abs Exp $
---- src/toss/history.c.orig 2004-08-22 16:19:14.000000000 -0400
+--- src/toss/history.c.orig 2004-08-22 20:19:14.000000000 +0000
+++ src/toss/history.c
@@ -151,8 +151,8 @@ static int hi_write_t(time_t t, time_t m
}
diff --git a/comms/fidogate/patches/patch-ar b/comms/fidogate/patches/patch-ar
index 9667675a419..4926c83f0cf 100644
--- a/comms/fidogate/patches/patch-ar
+++ b/comms/fidogate/patches/patch-ar
@@ -1,8 +1,8 @@
-$NetBSD: patch-ar,v 1.1 2002/07/06 20:15:52 tv Exp $
+$NetBSD: patch-ar,v 1.2 2009/12/18 01:09:23 abs Exp $
---- src/charset/charset.c.orig Sat Jul 6 15:31:24 2002
-+++ src/charset/charset.c Sat Jul 6 15:31:41 2002
-@@ -203,7 +203,7 @@
+--- src/charset/charset.c.orig 2004-08-22 20:19:10.000000000 +0000
++++ src/charset/charset.c
+@@ -203,7 +203,7 @@ char *charset_qpen(int c, int qp)
c &= 0xff;
if( qp && (c == '=' || c >= 0x80) )
diff --git a/comms/fidogate/patches/patch-as b/comms/fidogate/patches/patch-as
index 2c0c550540c..b4ae41fe336 100644
--- a/comms/fidogate/patches/patch-as
+++ b/comms/fidogate/patches/patch-as
@@ -1,7 +1,7 @@
-$NetBSD: patch-as,v 1.1 2002/07/06 20:52:36 tv Exp $
+$NetBSD: patch-as,v 1.2 2009/12/18 01:09:23 abs Exp $
---- scripts/maintenance/rc.fidogate.sh.orig Sat Jul 6 16:52:25 2002
-+++ scripts/maintenance/rc.fidogate.sh Sat Jul 6 16:53:14 2002
+--- scripts/maintenance/rc.fidogate.sh.orig 1998-11-08 18:27:57.000000000 +0000
++++ scripts/maintenance/rc.fidogate.sh
@@ -5,9 +5,15 @@
# FIDOGATE boot cleanup
#
diff --git a/comms/fidogate/patches/patch-at b/comms/fidogate/patches/patch-at
index cfff8d062c9..4bf08af896a 100644
--- a/comms/fidogate/patches/patch-at
+++ b/comms/fidogate/patches/patch-at
@@ -1,6 +1,6 @@
-$NetBSD: patch-at,v 1.5 2005/12/19 15:10:18 joerg Exp $
+$NetBSD: patch-at,v 1.6 2009/12/18 01:09:23 abs Exp $
---- src/include/declare.h.orig 2005-12-19 14:46:39.000000000 +0000
+--- src/include/declare.h.orig 2004-08-22 20:19:12.000000000 +0000
+++ src/include/declare.h
@@ -31,13 +31,6 @@
*****************************************************************************/
diff --git a/comms/fidogate/patches/patch-au b/comms/fidogate/patches/patch-au
new file mode 100644
index 00000000000..60fe34f07a8
--- /dev/null
+++ b/comms/fidogate/patches/patch-au
@@ -0,0 +1,13 @@
+$NetBSD: patch-au,v 1.5 2009/12/18 01:09:23 abs Exp $
+
+--- src/charset/Makefile.orig 1999-10-04 08:18:18.000000000 +0000
++++ src/charset/Makefile
+@@ -49,7 +49,7 @@ $(CHARSETMAP): $(CHARSETSRC) $(PROGS)
+
+
+ install:
+- $(INSTALL_DATA) $(CHARSETMAP) $(CHARSETSRC) $(PREFIX)$(LIBDIR)
++ $(INSTALL_DATA) $(CHARSETMAP) $(CHARSETSRC) $(DESTDIR)$(PREFIX)$(LIBDIR)
+
+
+ clean veryclean:
diff --git a/comms/fidogate/patches/patch-av b/comms/fidogate/patches/patch-av
index 2f24b26aed0..0761291a836 100644
--- a/comms/fidogate/patches/patch-av
+++ b/comms/fidogate/patches/patch-av
@@ -1,6 +1,6 @@
-$NetBSD: patch-av,v 1.1 2004/12/08 14:55:56 tv Exp $
+$NetBSD: patch-av,v 1.2 2009/12/18 01:09:23 abs Exp $
---- src/common/areas.c.orig 2004-12-08 09:53:06.000000000 -0500
+--- src/common/areas.c.orig 2004-08-22 20:19:11.000000000 +0000
+++ src/common/areas.c
@@ -369,7 +369,7 @@ static Area *area_build(Area *pa, char *
if(areas_x_a[(unsigned char)*q])
diff --git a/comms/fidogate/patches/patch-aw b/comms/fidogate/patches/patch-aw
index d933678a537..9729e3950e4 100644
--- a/comms/fidogate/patches/patch-aw
+++ b/comms/fidogate/patches/patch-aw
@@ -1,6 +1,6 @@
-$NetBSD: patch-aw,v 1.1 2005/12/19 15:10:18 joerg Exp $
+$NetBSD: patch-aw,v 1.2 2009/12/18 01:09:23 abs Exp $
---- src/toss/dbz.c.orig 2005-12-19 15:00:58.000000000 +0000
+--- src/toss/dbz.c.orig 2000-10-18 21:53:57.000000000 +0000
+++ src/toss/dbz.c
@@ -46,6 +46,8 @@ if the incore facility is used.
* NOBUFFER do not buffer hash-table i/o, B News locking is defective
diff --git a/comms/fidogate/patches/patch-ax b/comms/fidogate/patches/patch-ax
index b31749885f0..bf2d845feb5 100644
--- a/comms/fidogate/patches/patch-ax
+++ b/comms/fidogate/patches/patch-ax
@@ -1,9 +1,9 @@
-$NetBSD: patch-ax,v 1.1 2005/12/20 10:19:09 rillig Exp $
+$NetBSD: patch-ax,v 1.2 2009/12/18 01:09:23 abs Exp $
Keywords: ctype
---- src/common/mime.c.orig Sun Aug 22 22:19:11 2004
-+++ src/common/mime.c Tue Dec 20 11:12:02 2005
+--- src/common/mime.c.orig 2004-08-22 20:19:11.000000000 +0000
++++ src/common/mime.c
@@ -32,12 +32,13 @@
#include "fidogate.h"
diff --git a/comms/fidogate/patches/patch-ay b/comms/fidogate/patches/patch-ay
index 3060bc6865b..a514f40c278 100644
--- a/comms/fidogate/patches/patch-ay
+++ b/comms/fidogate/patches/patch-ay
@@ -1,6 +1,6 @@
-$NetBSD: patch-ay,v 1.1 2005/12/29 23:31:36 joerg Exp $
+$NetBSD: patch-ay,v 1.2 2009/12/18 01:09:23 abs Exp $
---- src/common/misc.c.orig 2005-12-30 00:09:32.000000000 +0100
+--- src/common/misc.c.orig 2004-08-22 20:19:11.000000000 +0000
+++ src/common/misc.c
@@ -124,7 +124,7 @@ char *str_lastp(char *s, size_t len)
*/
diff --git a/comms/fidogate/patches/patch-az b/comms/fidogate/patches/patch-az
index 9a90ce27509..452d0696734 100644
--- a/comms/fidogate/patches/patch-az
+++ b/comms/fidogate/patches/patch-az
@@ -1,6 +1,6 @@
-$NetBSD: patch-az,v 1.1 2005/12/29 23:31:36 joerg Exp $
+$NetBSD: patch-az,v 1.2 2009/12/18 01:09:23 abs Exp $
---- src/common/msgid.c.orig 2005-12-30 00:11:24.000000000 +0100
+--- src/common/msgid.c.orig 2004-08-22 20:19:11.000000000 +0000
+++ src/common/msgid.c
@@ -320,9 +320,9 @@ char *s_msgid_rfc_to_fido(int *origid_fl
*/
diff --git a/comms/fidogate/patches/patch-ba b/comms/fidogate/patches/patch-ba
index e6b1c538150..b24ca239c7c 100644
--- a/comms/fidogate/patches/patch-ba
+++ b/comms/fidogate/patches/patch-ba
@@ -1,6 +1,6 @@
-$NetBSD: patch-ba,v 1.1 2005/12/29 23:31:36 joerg Exp $
+$NetBSD: patch-ba,v 1.2 2009/12/18 01:09:23 abs Exp $
---- src/common/parsedate.y.orig 2005-12-30 00:13:31.000000000 +0100
+--- src/common/parsedate.y.orig 2000-10-18 21:53:57.000000000 +0000
+++ src/common/parsedate.y
@@ -41,7 +41,7 @@ typedef char *STRING;
typedef char *CSTRING;
diff --git a/comms/fidogate/patches/patch-bb b/comms/fidogate/patches/patch-bb
index 778a82c8d26..4c0f116a494 100644
--- a/comms/fidogate/patches/patch-bb
+++ b/comms/fidogate/patches/patch-bb
@@ -1,6 +1,6 @@
-$NetBSD: patch-bb,v 1.1 2005/12/29 23:31:36 joerg Exp $
+$NetBSD: patch-bb,v 1.2 2009/12/18 01:09:23 abs Exp $
---- src/charset/charsetc.c.orig 2005-12-30 00:21:07.000000000 +0100
+--- src/charset/charsetc.c.orig 2004-08-22 20:19:10.000000000 +0000
+++ src/charset/charsetc.c
@@ -79,7 +79,7 @@ int charset_parse_c(char *s)
s++;
diff --git a/comms/fidogate/patches/patch-bc b/comms/fidogate/patches/patch-bc
index d3f7b4df059..3882c88ade7 100644
--- a/comms/fidogate/patches/patch-bc
+++ b/comms/fidogate/patches/patch-bc
@@ -1,6 +1,6 @@
-$NetBSD: patch-bc,v 1.1 2005/12/29 23:31:36 joerg Exp $
+$NetBSD: patch-bc,v 1.2 2009/12/18 01:09:23 abs Exp $
---- src/ffx/ffxqt.c.orig 2005-12-30 00:22:33.000000000 +0100
+--- src/ffx/ffxqt.c.orig 2004-08-22 20:19:11.000000000 +0000
+++ src/ffx/ffxqt.c
@@ -127,7 +127,7 @@ void parse_ffxcmd()
cmd = xstrtok(NULL, "\n");
diff --git a/comms/fidogate/patches/patch-bd b/comms/fidogate/patches/patch-bd
index ee3dc1103f1..8cb6bb3d9bb 100644
--- a/comms/fidogate/patches/patch-bd
+++ b/comms/fidogate/patches/patch-bd
@@ -1,6 +1,6 @@
-$NetBSD: patch-bd,v 1.1 2005/12/29 23:31:36 joerg Exp $
+$NetBSD: patch-bd,v 1.2 2009/12/18 01:09:23 abs Exp $
---- src/gate/ftn2rfc.c.orig 2005-12-30 00:24:28.000000000 +0100
+--- src/gate/ftn2rfc.c.orig 2004-08-22 20:19:12.000000000 +0000
+++ src/gate/ftn2rfc.c
@@ -272,7 +272,7 @@ int check_valid_domain(char *s)
return FALSE;
diff --git a/comms/fidogate/patches/patch-be b/comms/fidogate/patches/patch-be
index caf981223a6..925fe400198 100644
--- a/comms/fidogate/patches/patch-be
+++ b/comms/fidogate/patches/patch-be
@@ -1,6 +1,6 @@
-$NetBSD: patch-be,v 1.1 2005/12/29 23:31:36 joerg Exp $
+$NetBSD: patch-be,v 1.2 2009/12/18 01:09:23 abs Exp $
---- src/gate/rfc2ftn.c.orig 2005-12-30 00:26:00.000000000 +0100
+--- src/gate/rfc2ftn.c.orig 2004-08-22 20:19:12.000000000 +0000
+++ src/gate/rfc2ftn.c
@@ -619,7 +619,7 @@ void cvt_user_name(char *s)
* capitalized. If no '_' chars are found, '.' are converted to
diff --git a/comms/fidogate/patches/patch-bf b/comms/fidogate/patches/patch-bf
index 35f7c5776cd..60d35461b24 100644
--- a/comms/fidogate/patches/patch-bf
+++ b/comms/fidogate/patches/patch-bf
@@ -1,9 +1,9 @@
-$NetBSD: patch-bf,v 1.1 2007/09/29 12:32:22 rillig Exp $
+$NetBSD: patch-bf,v 1.2 2009/12/18 01:09:23 abs Exp $
Unused variable.
---- src/include/prototypes.h.orig 2004-08-22 22:19:12.000000000 +0200
-+++ src/include/prototypes.h 2007-09-29 14:29:31.000000000 +0200
+--- src/include/prototypes.h.orig 2004-08-22 20:19:12.000000000 +0000
++++ src/include/prototypes.h
@@ -49,9 +49,6 @@ int list_init (char ***, char *);
int list_match (register int, char **, char **);
#endif
diff --git a/comms/fidogate/patches/patch-bg b/comms/fidogate/patches/patch-bg
new file mode 100644
index 00000000000..c9a38cc8c8d
--- /dev/null
+++ b/comms/fidogate/patches/patch-bg
@@ -0,0 +1,23 @@
+$NetBSD: patch-bg,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- src/areafix/Makefile.orig 2001-01-28 15:53:16.000000000 +0000
++++ src/areafix/Makefile
+@@ -44,12 +44,12 @@ ftnafutil: $(TOPDIR)/src/common/$(LIB) $
+
+
+ install:
+- $(INSTALL_PROG) ftnaf$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftnafpkt$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftnafutil$(EXE) $(PREFIX)$(BINDIR)
+- $(INSTALL_SETUID) ftnafmail$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_DATA) areafix.help $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) runafutil $(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) ftnaf$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftnafpkt$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftnafutil$(EXE) $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_SETUID) ftnafmail$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_DATA) areafix.help $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) runafutil $(DESTDIR)$(PREFIX)$(BINDIR)
+
+
+ clean veryclean:
diff --git a/comms/fidogate/patches/patch-bh b/comms/fidogate/patches/patch-bh
new file mode 100644
index 00000000000..35e224b199f
--- /dev/null
+++ b/comms/fidogate/patches/patch-bh
@@ -0,0 +1,25 @@
+$NetBSD: patch-bh,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- src/ffx/Makefile.orig 2000-04-11 11:32:43.000000000 +0000
++++ src/ffx/Makefile
+@@ -30,13 +30,13 @@ $(SCRIPTS): $(TOPDIR)/subst.pl $(TOPDIR)
+
+
+ install:
+- $(INSTALL_SETUID) ffx$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ffxqt$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ffxmail $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ffxrmail $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ffxnews $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) runffx $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) send-ffx $(PREFIX)$(BINDIR)
++ $(INSTALL_SETUID) ffx$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ffxqt$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ffxmail $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ffxrmail $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ffxnews $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) runffx $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) send-ffx $(DESTDIR)$(PREFIX)$(BINDIR)
+
+
+ clean veryclean:
diff --git a/comms/fidogate/patches/patch-bi b/comms/fidogate/patches/patch-bi
new file mode 100644
index 00000000000..0a5e4d20de7
--- /dev/null
+++ b/comms/fidogate/patches/patch-bi
@@ -0,0 +1,27 @@
+$NetBSD: patch-bi,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- src/gate/Makefile.orig 1999-10-04 08:18:22.000000000 +0000
++++ src/gate/Makefile
+@@ -31,14 +31,14 @@ ftnamil: $(TOPDIR)/src/common/$(LIB)
+
+
+ install:
+- $(INSTALL_SETUID) ftnmail$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) rfc2ftn$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftn2rfc$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftnin$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftninpost $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftninrecomb $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) rungate $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) send-fidogate $(PREFIX)$(BINDIR)
++ $(INSTALL_SETUID) ftnmail$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) rfc2ftn$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftn2rfc$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftnin$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftninpost $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftninrecomb $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) rungate $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) send-fidogate $(DESTDIR)$(PREFIX)$(BINDIR)
+
+
+ clean veryclean:
diff --git a/comms/fidogate/patches/patch-bj b/comms/fidogate/patches/patch-bj
new file mode 100644
index 00000000000..30bb3c42851
--- /dev/null
+++ b/comms/fidogate/patches/patch-bj
@@ -0,0 +1,17 @@
+$NetBSD: patch-bj,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- src/tick/Makefile.orig 1999-08-08 09:14:32.000000000 +0000
++++ src/tick/Makefile
+@@ -26,9 +26,9 @@ ftntick: $(TOPDIR)/src/common/$(LIB)
+
+
+ install:
+- $(INSTALL_PROG) ftntick$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftntickpost $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) ftnhatch$(EXE) $(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftntick$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftntickpost $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) ftnhatch$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
+
+
+ clean veryclean:
diff --git a/comms/fidogate/patches/patch-bk b/comms/fidogate/patches/patch-bk
new file mode 100644
index 00000000000..b9e2bee92eb
--- /dev/null
+++ b/comms/fidogate/patches/patch-bk
@@ -0,0 +1,33 @@
+$NetBSD: patch-bk,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- src/toss/Makefile.orig 1999-01-10 16:56:04.000000000 +0000
++++ src/toss/Makefile
+@@ -42,17 +42,17 @@ ftnexpire: $(TOPDIR)/src/common/$(LIB) $
+
+
+ install:
+- $(INSTALL_PROG) ftn2ftn$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftntoss$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftnexpire$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftnroute$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftnpack$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) runtoss $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) rununpack $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) runin $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) runmail $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) runnews $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) runout $(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) ftn2ftn$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftntoss$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftnexpire$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftnroute$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftnpack$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) runtoss $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) rununpack $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) runin $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) runmail $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) runnews $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) runout $(DESTDIR)$(PREFIX)$(BINDIR)
+
+
+
diff --git a/comms/fidogate/patches/patch-bl b/comms/fidogate/patches/patch-bl
new file mode 100644
index 00000000000..f12d0e38869
--- /dev/null
+++ b/comms/fidogate/patches/patch-bl
@@ -0,0 +1,33 @@
+$NetBSD: patch-bl,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- src/util/Makefile.orig 1998-04-03 20:15:37.000000000 +0000
++++ src/util/Makefile
+@@ -35,17 +35,17 @@ ftnoutpkt: $(TOPDIR)/src/common/$(LIB)
+
+
+ install:
+- $(INSTALL_PROG) ftnbsy$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftnconfig$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftnseq$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftnfattach$(EXE) $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) ftnflo$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) sumcrc$(EXE) $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) ftnlock$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftnlog$(EXE) $(PREFIX)$(LIBDIR)
+- $(INSTALL_PROG) ftnoutpkt$(EXE) $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) pktdebug$(EXE) $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) pktmore $(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) ftnbsy$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftnconfig$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftnseq$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftnfattach$(EXE) $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) ftnflo$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) sumcrc$(EXE) $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) ftnlock$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftnlog$(EXE) $(DESTDIR)$(PREFIX)$(LIBDIR)
++ $(INSTALL_PROG) ftnoutpkt$(EXE) $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) pktdebug$(EXE) $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) pktmore $(DESTDIR)$(PREFIX)$(BINDIR)
+
+
+ clean veryclean:
diff --git a/comms/fidogate/patches/patch-bm b/comms/fidogate/patches/patch-bm
new file mode 100644
index 00000000000..7533de57039
--- /dev/null
+++ b/comms/fidogate/patches/patch-bm
@@ -0,0 +1,17 @@
+$NetBSD: patch-bm,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- scripts/run/Makefile.orig 2000-04-19 17:07:28.000000000 +0000
++++ scripts/run/Makefile
+@@ -25,9 +25,9 @@ $(PROGS): $(TOPDIR)/config.make $(TOPDIR
+
+
+ install:
+- $(INSTALL_PROG) runpoll $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) runpoll-orodruin $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) runpoll-binkd $(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) runpoll $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) runpoll-orodruin $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) runpoll-binkd $(DESTDIR)$(PREFIX)$(BINDIR)
+
+
+ clean:
diff --git a/comms/fidogate/patches/patch-bn b/comms/fidogate/patches/patch-bn
new file mode 100644
index 00000000000..c6f035a19d9
--- /dev/null
+++ b/comms/fidogate/patches/patch-bn
@@ -0,0 +1,12 @@
+$NetBSD: patch-bn,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- doc/html/Makefile.orig 1997-10-11 21:24:19.000000000 +0000
++++ doc/html/Makefile
+@@ -27,6 +27,6 @@ veryclean: clean
+ check:
+
+ install:
+- cp fidogate_*.html $(PREFIX)$(HTMLDIR)
++ cp fidogate_*.html $(DESTDIR)$(PREFIX)$(HTMLDIR)
+
+ depend:
diff --git a/comms/fidogate/patches/patch-bo b/comms/fidogate/patches/patch-bo
new file mode 100644
index 00000000000..ef7bd47a957
--- /dev/null
+++ b/comms/fidogate/patches/patch-bo
@@ -0,0 +1,12 @@
+$NetBSD: patch-bo,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- doc/gatebau/Makefile.orig 1999-01-10 16:55:58.000000000 +0000
++++ doc/gatebau/Makefile
+@@ -34,6 +34,6 @@ veryclean: clean
+ check:
+
+ install:
+- cp msgid*.html $(PREFIX)$(HTMLDIR)
++ cp msgid*.html $(DESTDIR)$(PREFIX)$(HTMLDIR)
+
+ depend:
diff --git a/comms/fidogate/patches/patch-bp b/comms/fidogate/patches/patch-bp
new file mode 100644
index 00000000000..ce16f15e75f
--- /dev/null
+++ b/comms/fidogate/patches/patch-bp
@@ -0,0 +1,12 @@
+$NetBSD: patch-bp,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- doc/Makefile.orig 1999-04-03 13:28:56.000000000 +0000
++++ doc/Makefile
+@@ -50,6 +50,6 @@ test: check
+
+
+ install::
+- $(INSTALL_DATA) fidogate.info* $(PREFIX)$(INFODIR)
++ $(INSTALL_DATA) fidogate.info* $(DESTDIR)$(PREFIX)$(INFODIR)
+
+ depend::
diff --git a/comms/fidogate/patches/patch-bq b/comms/fidogate/patches/patch-bq
new file mode 100644
index 00000000000..86616057671
--- /dev/null
+++ b/comms/fidogate/patches/patch-bq
@@ -0,0 +1,21 @@
+$NetBSD: patch-bq,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- scripts/misc/Makefile.orig 2001-01-04 20:03:43.000000000 +0000
++++ scripts/misc/Makefile
+@@ -32,11 +32,11 @@ morannon:
+
+
+ install:
+- $(INSTALL_PROG) areasbbssync $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) recvuu $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) senduu $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) senduumail $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) hosts2dns $(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) areasbbssync $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) recvuu $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) senduu $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) senduumail $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) hosts2dns $(DESTDIR)$(PREFIX)$(BINDIR)
+
+
+ clean:
diff --git a/comms/fidogate/patches/patch-br b/comms/fidogate/patches/patch-br
new file mode 100644
index 00000000000..7fc18771553
--- /dev/null
+++ b/comms/fidogate/patches/patch-br
@@ -0,0 +1,13 @@
+$NetBSD: patch-br,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- scripts/areas/Makefile.orig 2001-01-07 15:29:44.000000000 +0000
++++ scripts/areas/Makefile
+@@ -32,7 +32,7 @@ morannon:
+
+
+ install:
+- $(INSTALL_PROG) areasbbssync $(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) areasbbssync $(DESTDIR)$(PREFIX)$(BINDIR)
+
+
+ clean:
diff --git a/comms/fidogate/patches/patch-bs b/comms/fidogate/patches/patch-bs
new file mode 100644
index 00000000000..7ff48bc02e4
--- /dev/null
+++ b/comms/fidogate/patches/patch-bs
@@ -0,0 +1,25 @@
+$NetBSD: patch-bs,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- scripts/maintenance/Makefile.orig 2004-08-20 21:21:38.000000000 +0000
++++ scripts/maintenance/Makefile
+@@ -27,13 +27,13 @@ $(PROGS): $(TOPDIR)/config.make $(TOPDIR
+
+
+ install:
+- $(INSTALL_PROG) logsendmail $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) logsendmail2 $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) logreport $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) logstat $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) logdaily $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) logcheck $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) runchklock $(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) logsendmail $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) logsendmail2 $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) logreport $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) logstat $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) logdaily $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) logcheck $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) runchklock $(DESTDIR)$(PREFIX)$(BINDIR)
+
+
+ clean:
diff --git a/comms/fidogate/patches/patch-bt b/comms/fidogate/patches/patch-bt
new file mode 100644
index 00000000000..5be1b3b770a
--- /dev/null
+++ b/comms/fidogate/patches/patch-bt
@@ -0,0 +1,21 @@
+$NetBSD: patch-bt,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- scripts/nodelist/Makefile.orig 1999-05-15 20:54:36.000000000 +0000
++++ scripts/nodelist/Makefile
+@@ -27,11 +27,11 @@ $(PROGS): $(TOPDIR)/config.make $(TOPDIR
+
+
+ install:
+- $(INSTALL_PROG) latest $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) nl-autoupd $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) nl-del $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) nl-diff $(PREFIX)$(BINDIR)
+- $(INSTALL_PROG) nl-check $(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) latest $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) nl-autoupd $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) nl-del $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) nl-diff $(DESTDIR)$(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) nl-check $(DESTDIR)$(PREFIX)$(BINDIR)
+
+
+ clean:
diff --git a/comms/fidogate/patches/patch-bu b/comms/fidogate/patches/patch-bu
new file mode 100644
index 00000000000..6849da841ee
--- /dev/null
+++ b/comms/fidogate/patches/patch-bu
@@ -0,0 +1,13 @@
+$NetBSD: patch-bu,v 1.1 2009/12/18 01:09:23 abs Exp $
+
+--- scripts/outbound/Makefile.orig 2001-01-28 15:53:16.000000000 +0000
++++ scripts/outbound/Makefile
+@@ -26,7 +26,7 @@ $(PROGS): $(TOPDIR)/config.make $(TOPDIR
+
+
+ install:
+- $(INSTALL_PROG) $(PROGS) $(PREFIX)$(BINDIR)
++ $(INSTALL_PROG) $(PROGS) $(DESTDIR)$(PREFIX)$(BINDIR)
+
+
+ clean: