pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45508: update net/ucarp to 1.5.2
>Number: 45508
>Category: pkg
>Synopsis: update net/ucarp to 1.5.2
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Oct 22 11:00:00 +0000 2011
>Originator: Nils Ratusznik
>Release: NetBSD 5.1
>Organization:
>Environment:
>Description:
Pkgsrc version of ucarp is 1.1, and vendor provides 1.5.2
>How-To-Repeat:
Look in package source. Look at web page. Note version discrepancy
>Fix:
Patch for Makefile :
RCS file: /cvsroot/pkgsrc/net/ucarp/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile 22 Apr 2011 13:44:28 -0000 1.12
+++ Makefile 22 Oct 2011 10:49:05 -0000
@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.12 2011/04/22 13:44:28 obache Exp $
#
-DISTNAME= ucarp-1.1
-PKGREVISION= 2
+DISTNAME= ucarp-1.5.2
+#PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ftp://ftp.ucarp.org/pub/ucarp/
EXTRACT_SUFX= .tar.bz2
@@ -20,14 +20,16 @@ USE_TOOLS+= msgfmt
# pcap_freecode with one argument only
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.6.0
-INSTALLATION_DIRS+= share/doc/ucarp share/examples/ucarp
+DOCDIR= share/doc/ucarp
+EXAMPLES_DIR= share/examples/ucarp
+INSTALLATION_DIRS= sbin ${DOCDIR} ${EXAMPLES_DIR}
post-install:
- for DOC in AUTHORS COPYING NEWS README; do \
- ${INSTALL_DATA} ${WRKSRC}/$$DOC
${DESTDIR}${PREFIX}/share/doc/ucarp; \
- done
- ${INSTALL_SCRIPT} ${WRKSRC}/examples/bsd/*sh \
- ${DESTDIR}${PREFIX}/share/examples/ucarp
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/bsd/*sh
${DESTDIR}${PREFIX}/${EXAMPLES_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${DESTDIR}${PREFIX}/${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${DOCDIR}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
file patches/patch-configure :
$NetBSD$
Remove redundancy of $(SHELL) to avoid an error in installation phase.
--- configure.orig 2011-07-16 11:42:01.000000000 +0000
+++ configure
@@ -2245,7 +2245,7 @@ else
if test -f "$ac_aux_dir/mkinstalldirs"; then
mkdir_p='$(mkinstalldirs)'
else
- mkdir_p='$(SHELL) $(install_sh) -d'
+ mkdir_p='$(install_sh) -d'
fi
fi
Home |
Main Index |
Thread Index |
Old Index