pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ucspi-tcp6 Fix paths to installed binaries in shel...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b13207019ba0
branches:  trunk
changeset: 384007:b13207019ba0
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Aug 15 17:49:22 2018 +0000

description:
Fix paths to installed binaries in shell scripts. Bump PKGREVISION.

diffstat:

 net/ucspi-tcp6/Makefile                   |   9 ++-
 net/ucspi-tcp6/distinfo                   |   3 +-
 net/ucspi-tcp6/patches/patch-src_Makefile |  69 +++++++++++++++++++++++++++++++
 3 files changed, 77 insertions(+), 4 deletions(-)

diffs (111 lines):

diff -r cdf147393f85 -r b13207019ba0 net/ucspi-tcp6/Makefile
--- a/net/ucspi-tcp6/Makefile   Wed Aug 15 16:26:32 2018 +0000
+++ b/net/ucspi-tcp6/Makefile   Wed Aug 15 17:49:22 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2018/07/26 13:16:57 schmonz Exp $
+# $NetBSD: Makefile,v 1.4 2018/08/15 17:49:22 schmonz Exp $
 
 DISTNAME=              ucspi-tcp6-1.06
+PKGREVISION=           1
 CATEGORIES=            net
 MASTER_SITES=          https://www.fehcom.de/ipnet/ucspi-tcp6/
 EXTRACT_SUFX=          .tgz
@@ -30,8 +31,10 @@
 .endif
 
 post-configure:
-       ${RUN}cd ${DJB_CONFIG_DIR};     \
-       ${ECHO} ${PKGMANDIR} > conf-man
+       ${RUN}cd ${DJB_CONFIG_DIR};             \
+       ${ECHO} ${PKGMANDIR} > conf-man;        \
+       ${MKDIR} compile;                       \
+       ${ECHO} ${DJB_CONFIG_PREFIX}/bin > compile/home
 
 do-install:
        cd ${WRKSRC};                                                   \
diff -r cdf147393f85 -r b13207019ba0 net/ucspi-tcp6/distinfo
--- a/net/ucspi-tcp6/distinfo   Wed Aug 15 16:26:32 2018 +0000
+++ b/net/ucspi-tcp6/distinfo   Wed Aug 15 17:49:22 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2018/07/28 07:48:02 schmonz Exp $
+$NetBSD: distinfo,v 1.3 2018/08/15 17:49:22 schmonz Exp $
 
 SHA1 (ucspi-tcp6-1.06.tgz) = bc304397b213e4bf793c28b1a79f5d14c61ca833
 RMD160 (ucspi-tcp6-1.06.tgz) = a954234a9ff35c98d6895da09bcfb1d7bb03477b
 SHA512 (ucspi-tcp6-1.06.tgz) = f27c363cce93e9e0ddc06cb84330e7535d883366e211375ba945f870599833d60cefc979f862b594626cb0a3e34ff5c256e26e337588506df599b795dc924e44
 Size (ucspi-tcp6-1.06.tgz) = 81920 bytes
 SHA1 (patch-package_man) = 3fe66e854b7d469aa04cf0ed48625be03eb56647
+SHA1 (patch-src_Makefile) = f8b190130e8c629116e02f551afdcec4a24389ff
diff -r cdf147393f85 -r b13207019ba0 net/ucspi-tcp6/patches/patch-src_Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-tcp6/patches/patch-src_Makefile Wed Aug 15 17:49:22 2018 +0000
@@ -0,0 +1,69 @@
+$NetBSD: patch-src_Makefile,v 1.1 2018/08/15 17:49:22 schmonz Exp $
+
+Fix paths to installed binaries in shell scripts.
+
+--- src/Makefile.orig  2018-06-08 16:28:32.000000000 +0000
++++ src/Makefile
+@@ -139,7 +139,7 @@ choose: \
+ home warn-auto.sh choose.sh 
+       rm -f choose
+       cat warn-auto.sh choose.sh \
+-      | sed s}HOME}"`head -1 home`"}g \
++      | sed s}HOME/command}"`head -1 home`"}g \
+       > choose
+       chmod 755 choose
+ 
+@@ -159,7 +159,7 @@ date@: \
+ home warn-auto.sh date@.sh 
+       rm -f date@
+       cat warn-auto.sh date@.sh \
+-      | sed s}HOME}"`head -1 home`"}g \
++      | sed s}HOME/command}"`head -1 home`"}g \
+       > date@
+       chmod 755 date@
+ 
+@@ -298,7 +298,7 @@ finger@: \
+ home warn-auto.sh finger@.sh 
+       rm -f finger@
+       cat warn-auto.sh finger@.sh \
+-      | sed s}HOME}"`head -1 home`"}g \
++      | sed s}HOME/command}"`head -1 home`"}g \
+       > finger@
+       chmod 755 finger@
+ 
+@@ -361,7 +361,7 @@ http@: \
+ home warn-auto.sh http@.sh 
+       rm -f http@
+       cat warn-auto.sh http@.sh \
+-      | sed s}HOME}"`head -1 home`"}g \
++      | sed s}HOME/command}"`head -1 home`"}g \
+       > http@
+       chmod 755 http@
+ 
+@@ -440,7 +440,7 @@ mconnect: \
+ home warn-auto.sh mconnect.sh
+       rm -f mconnect
+       cat warn-auto.sh mconnect.sh \
+-      | sed s}HOME}"`head -1 home`"}g \
++      | sed s}HOME/command}"`head -1 home`"}g \
+       > mconnect
+       chmod 755 mconnect
+ 
+@@ -802,7 +802,7 @@ tcpcat: \
+ home warn-auto.sh tcpcat.sh home
+       rm -f tcpcat
+       cat warn-auto.sh tcpcat.sh \
+-      | sed s}HOME}"`head -1 home`"}g \
++      | sed s}HOME/command}"`head -1 home`"}g \
+       > tcpcat
+       chmod 755 tcpcat
+ 
+@@ -931,7 +931,7 @@ who@: \
+ home warn-auto.sh who@.sh 
+       rm -f who@
+       cat warn-auto.sh who@.sh \
+-      | sed s}HOME}"`head -1 home`"}g \
++      | sed s}HOME/command}"`head -1 home`"}g \
+       > who@
+       chmod 755 who@
+       



Home | Main Index | Thread Index | Old Index