Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2016 19:21:06 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425351 - in head: . ftp ftp/spegla ftp/spegla/files
Message-ID:  <201611041921.uA4JL6r8084224@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Fri Nov  4 19:21:06 2016
New Revision: 425351
URL: https://svnweb.freebsd.org/changeset/ports/425351

Log:
  Resurrect ftp/spegla.  The original upstream has gone but the distfile is
  maintained in the Github repo now.

Added:
  head/ftp/spegla/
     - copied from r400159, head/ftp/spegla/
Deleted:
  head/ftp/spegla/files/
Modified:
  head/MOVED
  head/ftp/Makefile
  head/ftp/spegla/Makefile
  head/ftp/spegla/distinfo

Modified: head/MOVED
==============================================================================
--- head/MOVED	Fri Nov  4 19:06:56 2016	(r425350)
+++ head/MOVED	Fri Nov  4 19:21:06 2016	(r425351)
@@ -7957,7 +7957,6 @@ graphics/icoconvert||2015-11-28|Has expi
 cad/geda-utils||2015-11-28|Has expired: Broken for more than 6 months
 deskutils/tomboy-plugin-wordcount||2015-11-28|Has expired: Broken for more than 6 months
 graphics/sketch||2015-11-28|Has expired: Broken for more than 6 months
-ftp/spegla||2015-11-28|Has expired: Broken for more than 6 months
 graphics/clutter-box2d||2015-11-28|Has expired: Broken for more than 6 months
 audio/scmpc||2015-11-28|Has expired: Broken for more than 6 months
 ftp/gnusget||2015-11-28|Has expired: Broken for more than 6 months

Modified: head/ftp/Makefile
==============================================================================
--- head/ftp/Makefile	Fri Nov  4 19:06:56 2016	(r425350)
+++ head/ftp/Makefile	Fri Nov  4 19:21:06 2016	(r425351)
@@ -87,6 +87,7 @@
     SUBDIR += rubygem-curb
     SUBDIR += scythia
     SUBDIR += smbftpd
+    SUBDIR += spegla
     SUBDIR += tftp-hpa
     SUBDIR += tnftp
     SUBDIR += tnftpd

Modified: head/ftp/spegla/Makefile
==============================================================================
--- head/ftp/spegla/Makefile	Sun Oct 25 19:23:40 2015	(r400159)
+++ head/ftp/spegla/Makefile	Fri Nov  4 19:21:06 2016	(r425351)
@@ -2,21 +2,20 @@
 # $FreeBSD$
 
 PORTNAME=	spegla
-PORTVERSION=	1.1p4
-PORTREVISION=	6
+PORTVERSION=	1.1p5
+DISTVERSIONPREFIX=	v
 CATEGORIES=	ftp ipv6
-MASTER_SITES=	ftp://subzero.campus.luth.se/pub/spegla/ \
-		ftp://ftp.luth.se/pub/unix/mirror/
-
-PATCH_SITES=	http://www.mahoroba.org/~ume/ipv6/
-PATCHFILES=	${DISTNAME}-ipv6-20020129-3.diff.gz
 
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	Mirror program for FTP sites (written in C)
 
-BROKEN=		Checksum mismatch
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USES=		uidfix
+USE_GITHUB=	yes
+GH_ACCOUNT=	hrs-allbsd
+LICENSE_BSD2CLAUSE_REGEX="/ \* [Cc]opyright/,/ \*\//!d;s,^ \*,,;s,^/,,"
 MAKE_ARGS=	MANDIR=${MAN1PREFIX}/man/man
 PLIST_FILES=	bin/spegla man/man1/spegla.1.gz
 PORTEXAMPLES=	freebsd.org spegla.conf spegla.sh
@@ -25,6 +24,10 @@ OPTIONS_DEFINE=	IPV6
 OPTIONS_DEFAULT=IPV6
 IPV6_MAKE_ARGS=	-DINET6
 
+post-extract:
+	cd ${WRKSRC} && ${SED} -e ${LICENSE_BSD2CLAUSE_REGEX} \
+	    ${WRKSRC}/spegla.c > ${LICENSE_FILE}
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/freebsd.org ${STAGEDIR}${EXAMPLESDIR}

Modified: head/ftp/spegla/distinfo
==============================================================================
--- head/ftp/spegla/distinfo	Sun Oct 25 19:23:40 2015	(r400159)
+++ head/ftp/spegla/distinfo	Fri Nov  4 19:21:06 2016	(r425351)
@@ -1,4 +1,3 @@
-SHA256 (spegla-1.1p4.tar.gz) = 439ae7d4b59cd012e9c6b93939abd7345ff2495513eed51a34c8879434b3f3d2
-SIZE (spegla-1.1p4.tar.gz) = 101515
-SHA256 (spegla-1.1p4-ipv6-20020129-3.diff.gz) = 8c8217ff1ac46a414aba2d16b497f184249299aeb26133f96407473447275d4c
-SIZE (spegla-1.1p4-ipv6-20020129-3.diff.gz) = 5119
+TIMESTAMP = 1469008226
+SHA256 (hrs-allbsd-spegla-v1.1p5_GH0.tar.gz) = 9cecdb5ddeb25012f5bd02f27f0feb340fa36526eff122e862d42be004d7722f
+SIZE (hrs-allbsd-spegla-v1.1p5_GH0.tar.gz) = 101505



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611041921.uA4JL6r8084224>