Skip to content

Commit

Permalink
Upgrade ports-mgmt/pkg-provides to v0.6.0
Browse files Browse the repository at this point in the history
Changelog:
- new database format reducing the file size
  • Loading branch information
rosorio committed Nov 23, 2019
1 parent 331c5d2 commit d908d9c
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 26 deletions.
5 changes: 2 additions & 3 deletions ports-mgmt/pkg-provides/Makefile
Expand Up @@ -2,7 +2,7 @@

PORTNAME= pkg-provides
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.0
DISTVERSION= 0.6.0
CATEGORIES= ports-mgmt

MAINTAINER= rodrigo@FreeBSD.org
Expand All @@ -18,11 +18,10 @@ BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash
USE_LDCONFIG= yes
USE_GITHUB= yes

SUB_FILES= pkg-message
SUB_LIST= LOCALBASE=${LOCALBASE}

GH_ACCOUNT= rosorio
GH_TAGNAME= 452ffe6
GH_TAGNAME= 1378a7f

PLIST_FILES= lib/pkg/provides.so man/man8/pkg-provides.8.gz

Expand Down
6 changes: 3 additions & 3 deletions ports-mgmt/pkg-provides/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1533388925
SHA256 (rosorio-pkg-provides-v0.5.0-452ffe6_GH0.tar.gz) = 2fff407a2ea23e5b7d66fd1f25350d1e3a71b9ee8e8f106ddb745eeb9f4ec69d
SIZE (rosorio-pkg-provides-v0.5.0-452ffe6_GH0.tar.gz) = 8854
TIMESTAMP = 1574277609
SHA256 (rosorio-pkg-provides-v0.6.0-1378a7f_GH0.tar.gz) = cadd7a03354c5be98845e4dd58eab850e628e688d5f6d8fca3ac8b166203879c
SIZE (rosorio-pkg-provides-v0.6.0-1378a7f_GH0.tar.gz) = 10991
20 changes: 0 additions & 20 deletions ports-mgmt/pkg-provides/files/pkg-message.in

This file was deleted.

30 changes: 30 additions & 0 deletions ports-mgmt/pkg-provides/pkg-message
@@ -0,0 +1,30 @@
[
{ type: install
message: <<EOM
In order to use the pkg-provides plugin you need to enable plugins in pkg.
To do this, uncomment the following lines in %%LOCALBASE%%/etc/pkg.conf file
and add pkg-provides to the supported plugin list

PKG_PLUGINS_DIR = "%%LOCALBASE%%/lib/pkg/";
PKG_ENABLE_PLUGINS = true;
PLUGINS [ provides ];

After that run `pkg plugins' to see the plugins handled by pkg`.
EOM
}
{ type: upgrade
maximum_version: "0.6.0"
message: <<EOM
To update the provides database run `pkg provides -u`
EOM
}
{
type: upgrade
maximum_version: "0.6.0"
message: <<EOM
Pkg-provides from v0.6.0 introduces a new database file format.

To update the provides database run `pkg provides -uf`
EOM
}
]

0 comments on commit d908d9c

Please sign in to comment.