Resurrect ftp/spegla. The original upstream has gone but the distfile is

maintained in the Github repo now.
This commit is contained in:
Hiroki Sato 2016-11-04 19:21:06 +00:00
parent f1197dbcac
commit fde0acf7af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425351
5 changed files with 44 additions and 1 deletions

1
MOVED
View file

@ -7957,7 +7957,6 @@ graphics/icoconvert||2015-11-28|Has expired: Broken for more than 6 months
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

View file

@ -87,6 +87,7 @@
SUBDIR += rubygem-curb
SUBDIR += scythia
SUBDIR += smbftpd
SUBDIR += spegla
SUBDIR += tftp-hpa
SUBDIR += tnftp
SUBDIR += tnftpd

37
ftp/spegla/Makefile Normal file
View file

@ -0,0 +1,37 @@
# Created by: Jordan Hubbard <jkh@FreeBSD.org>
# $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 <bsd.port.mk>

3
ftp/spegla/distinfo Normal file
View file

@ -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

3
ftp/spegla/pkg-descr Normal file
View file

@ -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.