pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/torrentutils Fix installation to make less warning...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8a5b7ef1fa02
branches: trunk
changeset: 480078:8a5b7ef1fa02
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Aug 29 19:46:45 2004 +0000
description:
Fix installation to make less warnings, and make defrag use
bash, since it uses lots of bash features. Addresses PR 26799
by Simon Hitzemann.
Bump PKGREVISION for bash dependency.
diffstat:
net/torrentutils/Makefile | 10 ++++++++--
net/torrentutils/distinfo | 4 ++--
net/torrentutils/patches/patch-aa | 12 ++++++++----
3 files changed, 18 insertions(+), 8 deletions(-)
diffs (70 lines):
diff -r f68db0b958bc -r 8a5b7ef1fa02 net/torrentutils/Makefile
--- a/net/torrentutils/Makefile Sun Aug 29 16:53:16 2004 +0000
+++ b/net/torrentutils/Makefile Sun Aug 29 19:46:45 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2004/03/08 09:06:39 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2004/08/29 19:46:45 wiz Exp $
#
DISTNAME= torrentutils-0.3.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.student.lu.se/~nbi98oli/src/
@@ -10,6 +10,7 @@
HOMEPAGE= http://www.student.lu.se/~nbi98oli/src/
COMMENT= Manage BitTorrent files and interact with trackers
+DEPENDS+= bash-[0-9]*:../../shells/bash2
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
@@ -19,4 +20,9 @@
REPLACE_PERL= torrenttool.in
+post-build:
+ ${SED} "s!/bin/sh!${PREFIX}/bin/bash!" ${WRKSRC}/defrag \
+ > ${WRKSRC}/defrag.patched && \
+ ${MV} ${WRKSRC}/defrag.patched ${WRKSRC}/defrag
+
.include "../../mk/bsd.pkg.mk"
diff -r f68db0b958bc -r 8a5b7ef1fa02 net/torrentutils/distinfo
--- a/net/torrentutils/distinfo Sun Aug 29 16:53:16 2004 +0000
+++ b/net/torrentutils/distinfo Sun Aug 29 19:46:45 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/03/04 15:47:34 wiz Exp $
+$NetBSD: distinfo,v 1.2 2004/08/29 19:46:45 wiz Exp $
SHA1 (torrentutils-0.3.0.tar.gz) = d9487551e5de128c31abe7fc404ec3a51d6a83a0
Size (torrentutils-0.3.0.tar.gz) = 21697 bytes
-SHA1 (patch-aa) = 391e7f4973629df65925233e548d688ae9a94c1e
+SHA1 (patch-aa) = 634e8f4e3a14f239731924a5aa5078f8cd78b8a6
diff -r f68db0b958bc -r 8a5b7ef1fa02 net/torrentutils/patches/patch-aa
--- a/net/torrentutils/patches/patch-aa Sun Aug 29 16:53:16 2004 +0000
+++ b/net/torrentutils/patches/patch-aa Sun Aug 29 19:46:45 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/03/04 15:47:34 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2004/08/29 19:46:45 wiz Exp $
---- Makefile.orig Sun Oct 12 14:13:16 2003
+--- Makefile.orig 2003-10-12 14:13:16.000000000 +0200
+++ Makefile
@@ -1,9 +1,9 @@
# Root of installation tree
@@ -14,8 +14,12 @@
# Path to Midnight Commander extfs
MCEXTFSDIR = $(PREFIX)/share/mc/extfs
-@@ -44,19 +44,10 @@ torrentutils.spec: torrentutils.spec.in
- if [[ "$@" != *.spec ]]; then chmod a+x $@; fi
+@@ -41,22 +41,13 @@ torrentutils.spec: torrentutils.spec.in
+ cat $^ | sed "s,@VERSION@,$(VERSION),; \
+ s,@PACKAGE@,$(PACKAGE),; \
+ s,@AUTHORS@,$(AUTHORS)," > $@
+- if [[ "$@" != *.spec ]]; then chmod a+x $@; fi
++ if [ "$@" != *.spec ]; then chmod a+x $@; fi
install: all
- install -d $(BINDIR) $(MANDIR)/man1
Home |
Main Index |
Thread Index |
Old Index