Bug 180598 - devel/pcsc-lite - distfile unavailable
Summary: devel/pcsc-lite - distfile unavailable
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tilman Keskinoz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-16 20:00 UTC by Florent Peterschmitt
Modified: 2014-04-13 14:31 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florent Peterschmitt 2013-07-16 20:00:00 UTC
Distfile fetch.

Fix: 

Just change distfile source to:

https://alioth.debian.org/frs/download.php/file/3862/pcsc-lite-1.8.8.tar.bz2
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-07-20 22:14:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->arved

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2013-07-21 11:12:57 UTC
State Changed
From-To: open->analyzed

Unfortunately it is not that easy: 

=> pcsc-lite-1.8.8.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. 
=> Attempting to fetch http://alioth.debian.org/frs/download.php/file/3862/pcsc-lite-1.8.8.tar.bz2 
fetch: http://alioth.debian.org/frs/download.php/file/3862/pcsc-lite-1.8.8.tar.bz2: Not Acceptable 


According to this debian bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712261 
Alioth requires an additional HTTP Header.  

I have not yet found out how to do this with FreeBSD fetch.
Comment 3 Tatsuki Makino 2014-03-10 03:21:20 UTC
Hello.

Could you use newer than below:
https://svnweb.freebsd.org/base?view=revision&revision=253805
https://svnweb.freebsd.org/base?view=revision&revision=256257

Or, would you use this URL below:
https://alioth.debian.org/frs/download.php/latestfile/39/pcsc-lite-1.8.11.tar.bz2
This link can be pickup from anchor "Latest version" in right side of 
https://alioth.debian.org/frs/?group_id=30105
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-04-13 14:23:56 UTC
Author: arved
Date: Sun Apr 13 13:23:52 2014
New Revision: 351220
URL: http://svnweb.freebsd.org/changeset/ports/351220
QAT: https://qat.redports.org/buildarchive/r351220/

Log:
  Update pcsc-lite to 1.8.11
  Update libccid to 1.4.16
  
  Use wget to fetch distfiles on FreeBSD < 10
  PR:		180598

Modified:
  head/devel/libccid/Makefile
  head/devel/libccid/distinfo
  head/devel/pcsc-lite/Makefile
  head/devel/pcsc-lite/distinfo

Modified: head/devel/libccid/Makefile
==============================================================================
--- head/devel/libccid/Makefile	Sun Apr 13 13:22:44 2014	(r351219)
+++ head/devel/libccid/Makefile	Sun Apr 13 13:23:52 2014	(r351220)
@@ -2,20 +2,18 @@
 # $FreeBSD$
 
 PORTNAME=	ccid
-PORTVERSION=	1.4.14
+PORTVERSION=	1.4.16
 CATEGORIES=	devel
-#MASTER_SITES=	https://alioth.debian.org/frs/download.php/file/3971/
-MASTER_SITES=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	arved
+MASTER_SITES=	https://alioth.debian.org/frs/download.php/file/4016/
 
 MAINTAINER=	arved@FreeBSD.org
 COMMENT=	Generic USB CCID (Chip/Smart Card Interface Devices) driver
 
-LIB_DEPENDS=	pcsclite.1:${PORTSDIR}/devel/pcsc-lite
-
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+LIB_DEPENDS=	pcsclite.1:${PORTSDIR}/devel/pcsc-lite
+
 USE_BZIP2=	yes
 USES=		pkgconfig perl5
 GNU_CONFIGURE=	yes
@@ -34,6 +32,12 @@ PLIST_SUB=	VER=${PORTVERSION}
 IGNORE=		needs a complete libusb-1 implementation
 .endif
 
+.if ${OSVERSION} < 1000000
+FETCH_DEPENDS=	wget:${PORTSDIR}/ftp/wget
+DISABLE_SIZE=	yes
+FETCH_CMD=	${LOCALBASE}/bin/wget -c -nc --no-check-certificate
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -e "s,use warnings;,," ${WRKSRC}/src/create_Info_plist.pl
 	${REINPLACE_CMD} -e "s,ndef __APPLE__, !(__APPLE__ || __FreeBSD__)," ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.c

Modified: head/devel/libccid/distinfo
==============================================================================
--- head/devel/libccid/distinfo	Sun Apr 13 13:22:44 2014	(r351219)
+++ head/devel/libccid/distinfo	Sun Apr 13 13:23:52 2014	(r351220)
@@ -1,2 +1,2 @@
-SHA256 (ccid-1.4.14.tar.bz2) = c50b04ac8e800a14246ea42cf37f73bd42fdb3645afb290b7af091f9e15cd146
-SIZE (ccid-1.4.14.tar.bz2) = 484659
+SHA256 (ccid-1.4.16.tar.bz2) = 0a0e6aa38863c79e38673c085254fa94fd0aa040b9622304a8d6d4222b7e7ea0
+SIZE (ccid-1.4.16.tar.bz2) = 490965

Modified: head/devel/pcsc-lite/Makefile
==============================================================================
--- head/devel/pcsc-lite/Makefile	Sun Apr 13 13:22:44 2014	(r351219)
+++ head/devel/pcsc-lite/Makefile	Sun Apr 13 13:23:52 2014	(r351220)
@@ -2,12 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	pcsc-lite
-PORTVERSION=	1.8.10
+PORTVERSION=	1.8.11
 PORTEPOCH=	2
 CATEGORIES=	devel security
-#MASTER_SITES=	https://alioth.debian.org/frs/download.php/file/3963/
-MASTER_SITES=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	arved
+MASTER_SITES=	https://alioth.debian.org/frs/download.php/file/3991/
 
 MAINTAINER=	arved@FreeBSD.org
 COMMENT=	A smartcard development library
@@ -28,6 +26,12 @@ PKGMESSAGE=	${WRKDIR}/pkg-message
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} < 1000000
+FETCH_DEPENDS=	wget:${PORTSDIR}/ftp/wget
+DISABLE_SIZE=	yes
+FETCH_CMD=	${LOCALBASE}/bin/wget -c -nc --no-check-certificate
+.endif
+
 .if !defined(WITHOUT_USB) && ${OSVERSION} >= 800069
 CONFIGURE_ENV+=	LIBUSB_LIBS="-lusb"
 CONFIGURE_ARGS+=--enable-libusb=/usr

Modified: head/devel/pcsc-lite/distinfo
==============================================================================
--- head/devel/pcsc-lite/distinfo	Sun Apr 13 13:22:44 2014	(r351219)
+++ head/devel/pcsc-lite/distinfo	Sun Apr 13 13:23:52 2014	(r351220)
@@ -1,2 +1,2 @@
-SHA256 (pcsc-lite-1.8.10.tar.bz2) = 607c4bd730526d282a63edb2ba4ee043f497877be642c5c647e37995e21f2612
-SIZE (pcsc-lite-1.8.10.tar.bz2) = 561707
+SHA256 (pcsc-lite-1.8.11.tar.bz2) = 945041c94c53959ae5a767616a4ec5099fe67f549bfd344e8bd0cfe7a3c71ac6
+SIZE (pcsc-lite-1.8.11.tar.bz2) = 571837
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Tilman Keskinoz freebsd_committer freebsd_triage 2014-04-13 14:30:55 UTC
State Changed
From-To: analyzed->closed

A patch has been committed. Thanks for reporting