Update to 1.16, use Python 3

Upstream moved to GitHub, sadly without tags or release tarballs.
Sort RDEPs while here.

Feedback OK sthen
This commit is contained in:
kn 2020-03-14 15:59:46 +00:00
parent 3288dda8b8
commit e7e36108a4
5 changed files with 25 additions and 17 deletions

View File

@ -1,8 +1,11 @@
# $OpenBSD: Makefile,v 1.3 2019/07/12 20:47:51 sthen Exp $
# $OpenBSD: Makefile,v 1.4 2020/03/14 15:59:46 kn Exp $
COMMENT= command-line tools to work with RFCs and Internet Drafts
DISTNAME= ietf-cli-1.14
GH_ACCOUNT= paulehoffman
GH_PROJECT= ietf-cli
GH_TAGNAME= 4b2b52dc333b6b59403b102349572f8af1b20a52
DISTNAME= ${GH_PROJECT}-1.16
CATEGORIES= misc net books
@ -11,17 +14,15 @@ HOMEPAGE= https://trac.tools.ietf.org/tools/ietf-cli/
# WTFPL
PERMIT_PACKAGE= Yes
# packaged from http://svn.tools.ietf.org/svn/tools/ietf-cli/ r32
MASTER_SITES= https://spacehopper.org/mirrors/
MODULES= lang/python
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
MODPY_BUILDDEP= No
NO_BUILD= Yes
NO_TEST= Yes
RUN_DEPENDS= net/rsync \
devel/xdg-utils
RUN_DEPENDS= devel/xdg-utils \
net/rsync
PKG_ARCH= *

View File

@ -1,2 +1,2 @@
SHA256 (ietf-cli-1.14.tar.gz) = IISinevmIKGaaM1jq7HdB7o5BZCUGUXvG3mYh5KW/iQ=
SIZE (ietf-cli-1.14.tar.gz) = 14447
SHA256 (ietf-cli-1.16.tar.gz) = p5e+Qob6zYGItFBjykFuAx93lAH3y3mNW+W6Jtot/AM=
SIZE (ietf-cli-1.16.tar.gz) = 16619

View File

@ -1,12 +1,16 @@
$OpenBSD: patch-ietf,v 1.1.1.1 2015/11/21 20:13:04 sthen Exp $
--- ietf.orig Fri Nov 20 20:46:35 2015
+++ ietf Fri Nov 20 20:57:03 2015
$OpenBSD: patch-ietf,v 1.2 2020/03/14 15:59:46 kn Exp $
Adjust ConfigPlaces.
Index: ietf
--- ietf.orig
+++ ietf
@@ -78,7 +78,7 @@ __license__ = "https://en.wikipedia.org/wiki/WTFPL"
KnownCmds = ("auth48", "author", "bcp", "charter", "conflict", "diff", "draft", "draftstatus", "iesg", "mirror", \
"rfc", "rfcextra", "rfcinfo", "rfcstatus", "tools", "tracker", "foo")
"rfc", "rfcextra", "rfcinfo", "rfcstatus", "rg", "std", "tools", "tracker", "foo")
-ConfigPlaces = ("~/bin/ietf.config", "/usr/local/bin/ietf.config", "~/.ietf/ietf.config")
+ConfigPlaces = ("~/.ietf/ietf.config", "${SYSCONFDIR}/ietf.config")
RFCZerosPat = compile(r'^0+(.*)')
# Make a block of text that can be executed in the CLI
CLICmdCode = ""

View File

@ -1,4 +1,7 @@
$OpenBSD: patch-ietf_config,v 1.1.1.1 2015/11/21 20:13:04 sthen Exp $
$OpenBSD: patch-ietf_config,v 1.2 2020/03/14 15:59:46 kn Exp $
Adjust MirrorDir and DisplayTextCommand.
--- ietf.config.orig Fri Nov 20 20:46:35 2015
+++ ietf.config Fri Nov 20 21:09:49 2015
@@ -30,7 +30,7 @@ __license__ = "http://en.wikipedia.org/wiki/WTFPL"

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/11/21 20:13:04 sthen Exp $
@comment $OpenBSD: PLIST,v 1.2 2020/03/14 15:59:46 kn Exp $
@extraunexec rm -rf ${LOCALSTATEDIR}/db/ietf-mirrors/*
bin/ietf
share/doc/ietf/
@ -6,6 +6,6 @@ share/doc/ietf/README
share/examples/ietf/
share/examples/ietf/ietf.config
@sample ${SYSCONFDIR}/ietf.config
@group wheel
@mode 775
@group wheel
@sample ${LOCALSTATEDIR}/db/ietf-mirrors/