Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2011 19:01:52 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-ports@freebsd.org
Subject:   Re: Recent ports removal
Message-ID:  <4EC2B720.4000605@infracaninophile.co.uk>
In-Reply-To: <4EBDA077.5070105@FreeBSD.org>
References:  <20111109124325.17efc0d1.stas@deglitch.com> <20111109222435.GD92221@azathoth.lan> <20111110110637.GA3514@hades.panopticon> <4EBCC587.10701@FreeBSD.org> <20111111100708.GA24126@hades.panopticon> <20111111124012.3ec48cb3.stas@deglitch.com> <20111111213817.GB8896@lonesome.com> <4EBD9E6F.3040708@delphij.net> <4EBDA077.5070105@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigCC1835E9E88A0FC1D396CD72
Content-Type: multipart/mixed; boundary="------------030609050806060901070805"

This is a multi-part message in MIME format.
--------------030609050806060901070805
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 11/11/2011 22:23, Doug Barton wrote:
>> By its
>> > nature, deprecated ports tends not to be updated for long time, port=

>> > tools like portmaster, portupgrade will not even see it because no
>> > PORTREVISION bump happen.

> portmaster -L will warn you about ports marked
> DEPRECATED/FORBIDDEN/IGNORE/BROKEN if you run it against an updated
> ports tree. One area where we actually can improve here is to also put
> this information in the INDEX. I have an idea for that, just haven't
> been able to put the time into making it happen.

How about something like the attached?  Rather than adding to the INDEX,
this appends DEPRECATED, FORBIDDEN, IGNORE, BROKEN and EXPIRATION_DATE
values to pkg-message, creating one if the port doesn't already have it.

The duplication of echoing messages to STDOUT as well as the pkg-message
file is not ideal, but displaying pkg-message at install time is not
automatic when installing from ports.   It might be an idea to have a
standard port-install target to display ${PKGMESSAGE} if the file exists.=


	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW

--------------030609050806060901070805
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
	name="p5-FreeBSD-Portindex.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="p5-FreeBSD-Portindex.diff"

Index: Makefile
=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
RCS file: /home/ncvs/ports/ports-mgmt/p5-FreeBSD-Portindex/Makefile,v
retrieving revision 1.20
diff -u -u -r1.20 Makefile
--- Makefile	29 Aug 2011 04:43:56 -0000	1.20
+++ Makefile	26 Oct 2011 08:14:43 -0000
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/ports-mgmt/p5-FreeBSD-Portindex/Makefile,v 1.20 2011/0=
8/29 04:43:56 dougb Exp $
=20
 PORTNAME=3D	FreeBSD-Portindex
-PORTVERSION=3D	2.4
+PORTVERSION=3D	2.6
 CATEGORIES=3D	ports-mgmt perl5
 MASTER_SITES=3D	http://www.infracaninophile.co.uk/portindex/
 PKGNAMEPREFIX=3D	p5-
@@ -15,9 +15,20 @@
=20
 LICENSE=3D	BSD
=20
+# GraphViz not required for portindex to run or generate GraphViz
+# format output: this is only needed to render the output on the same
+# machine.
+OPTIONS=3D	GRAPHVIZ "Add GraphViz run-time dependency" off
+
 BUILD_DEPENDS=3D	${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/dat=
abases/p5-BerkeleyDB
 RUN_DEPENDS:=3D	${BUILD_DEPENDS}
=20
+.include <bsd.port.options.mk>
+
+.if defined(WITH_GRAPHVIZ) && !defined(WITHOUT_GRAPHVIZ)
+RUN_DEPENDS+=3D	dot:${PORTSDIR}/graphics/graphviz
+.endif
+
 USE_XZ=3D	yes
 PERL_CONFIGURE=3D	yes
=20
Index: distinfo
=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
RCS file: /home/ncvs/ports/ports-mgmt/p5-FreeBSD-Portindex/distinfo,v
retrieving revision 1.15
diff -u -u -r1.15 distinfo
--- distinfo	29 Aug 2011 04:43:56 -0000	1.15
+++ distinfo	26 Oct 2011 08:14:43 -0000
@@ -1,2 +1,2 @@
-SHA256 (FreeBSD-Portindex-2.4.tar.xz) =3D 78f461e35dcadb9fb79665c698825f=
d54e081030858cf023bedfeb47b73891d0
-SIZE (FreeBSD-Portindex-2.4.tar.xz) =3D 50724
+SHA256 (FreeBSD-Portindex-2.6.tar.xz) =3D 909ea1b4ff67ea08617a54452b6ed9=
e999787d6ff3458cb59fb6aa81ecc67c13
+SIZE (FreeBSD-Portindex-2.6.tar.xz) =3D 51828
Index: pkg-plist
=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
RCS file: /home/ncvs/ports/ports-mgmt/p5-FreeBSD-Portindex/pkg-plist,v
retrieving revision 1.5
diff -u -u -r1.5 pkg-plist
--- pkg-plist	14 Mar 2011 16:05:35 -0000	1.5
+++ pkg-plist	26 Oct 2011 08:14:43 -0000
@@ -8,6 +8,7 @@
 @exec [ ! -f %B/portindex.cfg ] && cp -p %B/%f %B/portindex.cfg || true
 %%SITE_PERL%%/FreeBSD/Portindex/Config.pm
 %%SITE_PERL%%/FreeBSD/Portindex/Category.pm
+%%SITE_PERL%%/FreeBSD/Portindex/GraphViz.pm
 %%SITE_PERL%%/FreeBSD/Portindex/Port.pm
 %%SITE_PERL%%/FreeBSD/Portindex/Tree.pm
 %%SITE_PERL%%/FreeBSD/Portindex/TreeObject.pm

--------------030609050806060901070805--

--------------enigCC1835E9E88A0FC1D396CD72
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7CtygACgkQ8Mjk52CukIyswgCePP5+L91lSoSr/1v6A5MHcH6V
3nEAnR2+qU8KkUVbPYir+4Q/kNlenxOS
=ScGD
-----END PGP SIGNATURE-----

--------------enigCC1835E9E88A0FC1D396CD72--



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