Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2018 16:01:30 +0100
From:      =?UTF-8?Q?Ren=C3=A9_Ladan?= <r.c.ladan@gmail.com>
To:        Chris Rees <crees@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r487690 - head/Tools/scripts
Message-ID:  <CADL2u4hTPHaeukMt5hcTWRnLoXNdgYibdsVaPPk8MUu%2BG7fFSQ@mail.gmail.com>
In-Reply-To: <201812171454.wBHEsubK012071@repo.freebsd.org>
References:  <201812171454.wBHEsubK012071@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Support for flavored expiration dates was withdrawn in r487602. This script
would also need to know how to handle flavored deprecation messages.

Ren=C3=A9

Op ma 17 dec. 2018 15:55 schreef Chris Rees <crees@freebsd.org:

> Author: crees
> Date: Mon Dec 17 14:54:56 2018
> New Revision: 487690
> URL: https://svnweb.freebsd.org/changeset/ports/487690
>
> Log:
>   Support flavor_EXPIRATION_DATE
>
>   Correctly ignore commented dates (why would that exist?)
>
>   Handle more neatly when EXPIRATION_DATE is not in the main Makefile
>
> Modified:
>   head/Tools/scripts/rmport
>
> Modified: head/Tools/scripts/rmport
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/Tools/scripts/rmport   Mon Dec 17 14:40:09 2018        (r487689)
> +++ head/Tools/scripts/rmport   Mon Dec 17 14:54:56 2018        (r487690)
> @@ -121,8 +121,9 @@ find_expired()
>         EXPVAR=3DEXPIRATION_DATE
>
>         find -H ${PORTSDIR} -mindepth 3 -maxdepth 3 -name "Makefile*" \
> -               |xargs grep -H  "^[^#]*${EXPVAR}"  \
> -               |sed -E
> "s|${PORTSDIR}/?([^/]+/[^/]+)/Makefile:${EXPVAR}=3D[[:space:]]*([0-9-]{10=
})$|\2
> \1|g" \
> +               |xargs grep -H "^[0-9a-zA-Z_]*${EXPVAR}"  \
> +               |grep -v '^#'  \
> +               |sed -E
> "s|${PORTSDIR}/?([^/]+/[^/]+)/Makefile[^:]*:${EXPVAR}=3D[[:space:]]*([0-9=
-]{10})$|\2
> \1|g" \
>                 |perl -ne "if ((substr(\$_, 0, 10) cmp '${TODAY}') <=3D 0=
) {
> print(\$_); }" \
>                 |while read expdate catport ; do \
>                         echo -n "${expdate} ${catport}: " ; \
>
>



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