Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2016 03:20:03 -0400
From:      "Jason E. Hale" <jhale@freebsd.org>
To:        Warner Losh <imp@freebsd.org>
Cc:        ports-committers <ports-committers@freebsd.org>,  "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>,  "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>
Subject:   Re: svn commit: r424494 - in head/devel/libsysinfo: . files
Message-ID:  <CAJE75NFHRAh5zPS43XJWhx1_WYZ6JGN2EgguEVK5dikPrs6z2w@mail.gmail.com>
In-Reply-To: <201610230359.u9N3xt7u074086@repo.freebsd.org>
References:  <201610230359.u9N3xt7u074086@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 22, 2016 at 11:59 PM, Warner Losh <imp@freebsd.org> wrote:
>
> Author: imp
> Date: Sun Oct 23 03:59:55 2016
> New Revision: 424494
> URL: https://svnweb.freebsd.org/changeset/ports/424494
>
> Log:
>   Take over libsysinfo. It's been in google code for a while unupdated
>   and has been marked as broken here. Strap on the hob-nailed tennis
>   shoes of progress and adopt it into my github realm. I want my
>   lxpanel back, and this stands stupidly in the way.
>
> Deleted:
>   head/devel/libsysinfo/files/
> Modified:
>   head/devel/libsysinfo/Makefile
>   head/devel/libsysinfo/distinfo
>
> Modified: head/devel/libsysinfo/Makefile
> ==============================================================================
> --- head/devel/libsysinfo/Makefile      Sun Oct 23 03:55:09 2016        (r424493)
> +++ head/devel/libsysinfo/Makefile      Sun Oct 23 03:59:55 2016        (r424494)
> @@ -2,21 +2,21 @@
>  # $FreeBSD$
>
>  PORTNAME=      libsysinfo
> -PORTVERSION=   0.0.2
> -PORTREVISION=  1
> +PORTVERSION=   0.0.3
>  CATEGORIES=    devel
> -MASTER_SITES=  GOOGLE_CODE
> +MASTER_SITES=  GH
>
> -MAINTAINER=    bacon4000@gmail.com
> +MAINTAINER=    imp@bsdimp.com
>  COMMENT=       GNU libc's sysinfo port for FreeBSD
>
>  LICENSE=       BSD3CLAUSE
>
> -BROKEN=                Unfetchable (google code has gone away)
> +USE_GITHUB=    yes
> +GH_ACCOUNT=    bsdimp
> +GH_TAGNAME=    v${PORTVERSION}
>
>  USES=          uidfix
>  USE_LDCONFIG=  yes
> -PROJECTHOST=   sysinfo-bsd
>
>  LDFLAGS+=      -lkvm
>
>
> Modified: head/devel/libsysinfo/distinfo
> ==============================================================================
> --- head/devel/libsysinfo/distinfo      Sun Oct 23 03:55:09 2016        (r424493)
> +++ head/devel/libsysinfo/distinfo      Sun Oct 23 03:59:55 2016        (r424494)
> @@ -1,2 +1,3 @@
> -SHA256 (libsysinfo-0.0.2.tar.gz) = 190fbb5002950bcb16d618eeceb144d226dc363d44949ee0c935166f0420db8b
> -SIZE (libsysinfo-0.0.2.tar.gz) = 3541
> +TIMESTAMP = 1477194911
> +SHA256 (bsdimp-libsysinfo-0.0.3-v0.0.3_GH0.tar.gz) = 0ef6c9aa67f977924c7e6e570a0e77b24da3247058992b5b8a96b0b7d9d1d41a
> +SIZE (bsdimp-libsysinfo-0.0.3-v0.0.3_GH0.tar.gz) = 3623
>

You can drop MASTER_SITES, and you should define DISTVERSIONPREFIX=v
instead of using GH_TAGNAME. That will give a more reasonable DISTNAME
(bsdimp-libsysinfo-v0.0.3_GH0 instead of
bsdimp-libsysinfo-0.0.3-v0.0.3_GH0).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJE75NFHRAh5zPS43XJWhx1_WYZ6JGN2EgguEVK5dikPrs6z2w>