From fde0acf7afe2d50f9920dc9510ce682d109815b5 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Fri, 4 Nov 2016 19:21:06 +0000 Subject: Resurrect ftp/spegla. The original upstream has gone but the distfile is maintained in the Github repo now. --- ftp/spegla/Makefile | 37 +++++++++++++++++++++++++++++++++++++ ftp/spegla/distinfo | 3 +++ ftp/spegla/pkg-descr | 3 +++ 3 files changed, 43 insertions(+) create mode 100644 ftp/spegla/Makefile create mode 100644 ftp/spegla/distinfo create mode 100644 ftp/spegla/pkg-descr (limited to 'ftp/spegla') diff --git a/ftp/spegla/Makefile b/ftp/spegla/Makefile new file mode 100644 index 000000000000..250b8a3d1005 --- /dev/null +++ b/ftp/spegla/Makefile @@ -0,0 +1,37 @@ +# Created by: Jordan Hubbard +# $FreeBSD$ + +PORTNAME= spegla +PORTVERSION= 1.1p5 +DISTVERSIONPREFIX= v +CATEGORIES= ftp ipv6 + +MAINTAINER= hrs@FreeBSD.org +COMMENT= Mirror program for FTP sites (written in C) + +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 + +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} + ${INSTALL_DATA} ${WRKSRC}/spegla.conf ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/spegla.sh ${STAGEDIR}${EXAMPLESDIR} + +.include diff --git a/ftp/spegla/distinfo b/ftp/spegla/distinfo new file mode 100644 index 000000000000..990a3218e3ea --- /dev/null +++ b/ftp/spegla/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1469008226 +SHA256 (hrs-allbsd-spegla-v1.1p5_GH0.tar.gz) = 9cecdb5ddeb25012f5bd02f27f0feb340fa36526eff122e862d42be004d7722f +SIZE (hrs-allbsd-spegla-v1.1p5_GH0.tar.gz) = 101505 diff --git a/ftp/spegla/pkg-descr b/ftp/spegla/pkg-descr new file mode 100644 index 000000000000..c12ed1e7b4f1 --- /dev/null +++ b/ftp/spegla/pkg-descr @@ -0,0 +1,3 @@ +Spegla is a mirror program for FTP sites. It was written because the author +couldn't find any fast mirroring program for big mirrors. It makes a +complete mirror of a FTP area. -- cgit v1.2.3