pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/RealPlayerGold update to RealPlayerGold-10....
details: https://anonhg.NetBSD.org/pkgsrc/rev/3aa61c7818f4
branches: trunk
changeset: 519072:3aa61c7818f4
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Fri Sep 29 21:21:54 2006 +0000
description:
update to RealPlayerGold-10.0.8.805.20060718.
The old distfile for 10.0.7 was not available and thus this package
was broken. While here added a post-fetch target that checks the
version of the downloaded distfile to see if real.com has made
yet another release without changing the distfile name.
diffstat:
multimedia/RealPlayerGold/Makefile | 18 ++++++++++++++++--
multimedia/RealPlayerGold/distinfo | 8 ++++----
2 files changed, 20 insertions(+), 6 deletions(-)
diffs (55 lines):
diff -r 35a83bc73cfb -r 3aa61c7818f4 multimedia/RealPlayerGold/Makefile
--- a/multimedia/RealPlayerGold/Makefile Fri Sep 29 21:20:04 2006 +0000
+++ b/multimedia/RealPlayerGold/Makefile Fri Sep 29 21:21:54 2006 +0000
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.13 2006/07/03 19:42:04 xtraeme Exp $
+# $NetBSD: Makefile,v 1.14 2006/09/29 21:21:54 dmcmahill Exp $
#
DISTNAME= RealPlayer10GOLD
-PKGNAME= RealPlayerGold-10.0.7
+# Exact version obtained from the output of
+# file RealPlayer10GOLD.rpm
+PKGNAME= RealPlayerGold-${PKGVER}
CATEGORIES= multimedia
MASTER_SITES= http://forms.real.com/real/player/download.html?f=unix/
EXTRACT_SUFX= .rpm
@@ -11,6 +13,7 @@
HOMEPAGE= http://www.real.com/linux/
COMMENT= Real Audio and Video Player
+PKGVER= 10.0.8.805.20060718
RPMFILES= ${DISTNAME}${EXTRACT_SUFX}
RPM2PKGARGS= -d ${PREFIX} -f ${PLIST_SRC} -p ${REALPLAYER_SUBDIR} -s3
RPM2PKGSTRIP= 3
@@ -18,6 +21,17 @@
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
DIST_SUBDIR= ${PKGNAME_NOREV}
+# Verify that the version of the distfile (which changes often without the name changing)
+# is still correct. This helps sort out download errors vs out of date pkgsrc errors.
+post-fetch:
+ ver=`file ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${SED} -e 's;.*Player-;;g' -e 's;-;.;g'` ; \
+ if [ "$$ver" != "${PKGVER}" ] ; then \
+ ${ECHO} "It appears that real.com has made a new version ($$ver) available so this" ; \
+ ${ECHO} "package will need updating to work correctly. That likely the reason for" ; \
+ ${ECHO} "the checksum failure." ; \
+ fi
+
+
.include "../../emulators/suse_linux/Makefile.application"
.if !defined(USE_NATIVE_LINUX)
diff -r 35a83bc73cfb -r 3aa61c7818f4 multimedia/RealPlayerGold/distinfo
--- a/multimedia/RealPlayerGold/distinfo Fri Sep 29 21:20:04 2006 +0000
+++ b/multimedia/RealPlayerGold/distinfo Fri Sep 29 21:21:54 2006 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2006/03/29 13:00:07 salo Exp $
+$NetBSD: distinfo,v 1.6 2006/09/29 21:21:54 dmcmahill Exp $
-SHA1 (RealPlayerGold-10.0.7/RealPlayer10GOLD.rpm) = 3853cfd9243de4413c4210c297e4713d15ae60f9
-RMD160 (RealPlayerGold-10.0.7/RealPlayer10GOLD.rpm) = 637dafa86cc3687da3820109641d25ed51e95047
-Size (RealPlayerGold-10.0.7/RealPlayer10GOLD.rpm) = 6650006 bytes
+SHA1 (RealPlayerGold-10.0.8.805.20060718/RealPlayer10GOLD.rpm) = 5bca48a23c747d19409330e6d6a94d49152cc557
+RMD160 (RealPlayerGold-10.0.8.805.20060718/RealPlayer10GOLD.rpm) = 0467c73f478f286483d5bd3a71dab3d0afd8dfb8
+Size (RealPlayerGold-10.0.8.805.20060718/RealPlayer10GOLD.rpm) = 6649992 bytes
Home |
Main Index |
Thread Index |
Old Index