aboutsummaryrefslogtreecommitdiff
path: root/archivers/opkg
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2018-08-03 09:07:08 +0000
committerMartin Matuska <mm@FreeBSD.org>2018-08-03 09:07:08 +0000
commit6459810979652b16a334fd3aea8ac7ac85c618d0 (patch)
tree7ac2979d4e4646f2c7ba43fe71c11d1c57f2a9f4 /archivers/opkg
parent5dd8de83e3925675cf90dfc71ea5b553abeeda6a (diff)
downloadports-6459810979652b16a334fd3aea8ac7ac85c618d0.tar.gz
ports-6459810979652b16a334fd3aea8ac7ac85c618d0.zip
Notes
Diffstat (limited to 'archivers/opkg')
-rw-r--r--archivers/opkg/Makefile23
-rw-r--r--archivers/opkg/distinfo6
-rw-r--r--archivers/opkg/pkg-descr2
3 files changed, 12 insertions, 19 deletions
diff --git a/archivers/opkg/Makefile b/archivers/opkg/Makefile
index 8ea923c1d21e..db30ff929b51 100644
--- a/archivers/opkg/Makefile
+++ b/archivers/opkg/Makefile
@@ -2,20 +2,21 @@
# $FreeBSD$
PORTNAME= opkg
-DISTVERSION= 20180802
-DISTVERSIONSUFFIX= -3b417b9f
-PORTREVISION= 1
+DISTVERSION= 20180803
CATEGORIES= archivers sysutils
-MASTER_SITES= LOCAL/mm/openwrt
+MASTER_SITES= GH
MAINTAINER= mm@FreeBSD.org
COMMENT= OpenWrt package manager
LICENSE= GPLv2
-OPKG_GITURL= https://git.openwrt.org/project/opkg-lede.git
+USES= cmake
+USE_GITHUB= yes
+GH_ACCOUNT= mmatuska
+GH_PROJECT= opkg
+GH_TAGNAME= b07cde3
-USES= cmake tar:xz
BUILD_DEPENDS+= ${LOCALBASE}/lib/libubox.a:devel/libubox
.include <bsd.port.pre.mk>
@@ -50,14 +51,4 @@ post-install:
${STAGEDIR}${MANPREFIX}/man/man1/${file}
.endfor
-maintainer-fetch:
- @${MAKE} clean
- @${MKDIR} ${WRKSRC}
- @git clone ${OPKG_GITURL} ${WRKSRC}
- @cd ${WRKSRC} && git reset --hard ${DISTVERSIONSUFFIX:S|^-||}
- @${TAR} -c -J -f ${_DISTDIR:S|/$||}/${DISTFILES:M${PORTNAME}-*} \
- -C ${WRKDIR} --exclude .git ${WRKSRC:S|${WRKDIR}/||}
- @${MAKE} makesum
- @${MAKE} clean
-
.include <bsd.port.post.mk>
diff --git a/archivers/opkg/distinfo b/archivers/opkg/distinfo
index 3539ea1437e0..7370f61a0c1a 100644
--- a/archivers/opkg/distinfo
+++ b/archivers/opkg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1533218886
-SHA256 (opkg-20180802-3b417b9f.tar.xz) = f03cbf7f22c8fe1ab9d43a2562be1bbc1eb0b236d817b735e74e3a1ceebe9c78
-SIZE (opkg-20180802-3b417b9f.tar.xz) = 120104
+TIMESTAMP = 1533287195
+SHA256 (mmatuska-opkg-20180803-b07cde3_GH0.tar.gz) = da5742cf16815f7cf52c940111747ab305c9325b3279de1ad77163d6e74891fd
+SIZE (mmatuska-opkg-20180803-b07cde3_GH0.tar.gz) = 147814
diff --git a/archivers/opkg/pkg-descr b/archivers/opkg/pkg-descr
index 5d802c3f955b..f4b48eb47dc3 100644
--- a/archivers/opkg/pkg-descr
+++ b/archivers/opkg/pkg-descr
@@ -4,4 +4,6 @@ or ones located in the Internet.
opkg is part of the OpenWrt project
+This is a patched version with chroot support
+
WWW: https://openwrt.org/docs/guide-user/additional-software/opkg