Bug 70162 - Port upgrade: sysutils/portdowngrade to 0.5
Summary: Port upgrade: sysutils/portdowngrade to 0.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-08 13:10 UTC by Heiner
Modified: 2004-08-08 15:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiner 2004-08-08 13:10:23 UTC
Upgrade to 0.5

2004-08-08
	Version 0.5 release
	bugfix: saometimes the ports version was wrong
	a default cvs server can be set
	port revision is added to port version number
	user selection if several ports start with the supplied port name

Fix: See attached diff. 
















--Boundary-00=_adhFBNHN+4Cq/aj
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="diff"



--Boundary-00=_adhFBNHN+4Cq/aj----OGfgC3c5RM1oSxnTiINh40vbyUazgHu1WEePjVNaWkNQiAqh
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -u ../../sysutils/portdowngrade/Makefile ./Makefile
--- ../../sysutils/portdowngrade/Makefile	Mon Jun 21 22:24:05 2004
+++ ./Makefile	Sun Aug  8 14:04:17 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	portdowngrade
-PORTVERSION=	0.4
+PORTVERSION=	0.5
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -20,6 +20,9 @@
 POPT_LIB=	`pkg_info -xL ^popt | ${GREP} libpopt.a | ${SED} -e 's?/libpopt.a??'`
 CONFIGURE_ENV=	CPPFLAGS="-I${POPT_INCLUDE}" \
 		LIBS="-lpopt -L${POPT_LIB}"
+.if defined(DEFAULT_CVS_SERVER)
+CONFIGURE_ARGS+=	--enable-default-server=${DEFAULT_CVS_SERVER}
+.endif
 
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -29,5 +32,15 @@
 
 MAN1=		portdowngrade.1
 PLIST_FILES=	sbin/portdowngrade
+
+pre-everything::
+.if !defined(DEFAULT_CVS_SERVER)
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "Press CTRL-C and define DEFAULT_CVS_SERVER"
+	@${ECHO_MSG} "(e.g. make DEFAULT_CVS_SERVER=\":pserver:anoncvs@anoncvs. ... .FreeBSD.org:/home/ncvs\" install)"
+	@${ECHO_MSG} "if you want to use a special CVS server as default."
+	@${ECHO_MSG} ""
+	@sleep 3
+.endif
 
 .include <bsd.port.mk>
diff -u ../../sysutils/portdowngrade/distinfo ./distinfo
--- ../../sysutils/portdowngrade/distinfo	Mon Jun 21 22:24:05 2004
+++ ./distinfo	Sun Aug  8 13:10:04 2004
@@ -1,2 +1,2 @@
-MD5 (portdowngrade-0.4.tar.bz2) = 9ad4d2351ac10851082a1b7d58c52cd6
-SIZE (portdowngrade-0.4.tar.bz2) = 68832
+MD5 (portdowngrade-0.5.tar.bz2) = e43e6c91b2d1a92517131d48ea023e6f
+SIZE (portdowngrade-0.5.tar.bz2) = 73380
Comment 1 Thierry Thomas freebsd_committer 2004-08-08 15:16:13 UTC
State Changed
From-To: open->closed


Committed, thanks!