Bug 190135 - sysutils/cfengine: URL for cfengine* tarballs has changed
Summary: sysutils/cfengine: URL for cfengine* tarballs has changed
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: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-23 08:50 UTC by Phillip R. Jaenke
Modified: 2014-05-29 06:30 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 Phillip R. Jaenke 2014-05-23 08:50:00 UTC
The URLs for CFEngine tar balls have changed, affecting sysutils/cfengine* 

No file changes, just URL scheme change.

Current: http://cfengine.com/source-code/download?file=PORT_FILENAME
Should now be: https://s3.amazonaws.com/cfengine.package-repos/tarballs/PORT_FILENAME

Fix: 

cd /usr/ports/sysutils/
for i in `ls cfengine[2-3]*`; do
sed -i '' 's,http://cfengine.com/source-code/download?file=,https://s3.amazonaws.com/cfengine.package-repos/tarballs/' $i/Makefile 
done

Tested and confirmed working here. The patch, not so much so. Sorry!
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-29 05:20:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cy

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-29 06:20:31 UTC
Author: cy
Date: Thu May 29 05:20:25 2014
New Revision: 355665
URL: http://svnweb.freebsd.org/changeset/ports/355665
QAT: https://qat.redports.org/buildarchive/r355665/

Log:
  Update MASTER_SITES.
  
  Fix other issues including USES shebangfix and libtool. Stage remaining
  cfengine ports.
  
  PR:		190135 and 190329

Modified:
  head/sysutils/cfengine22/Makefile
  head/sysutils/cfengine22/pkg-plist
  head/sysutils/cfengine32/Makefile
  head/sysutils/cfengine32/pkg-plist
  head/sysutils/cfengine33/Makefile
  head/sysutils/cfengine33/pkg-plist
  head/sysutils/cfengine34/Makefile
  head/sysutils/cfengine34/pkg-plist
  head/sysutils/cfengine35/Makefile
  head/sysutils/cfengine35/pkg-plist

Modified: head/sysutils/cfengine22/Makefile
==============================================================================
--- head/sysutils/cfengine22/Makefile	Thu May 29 05:11:17 2014	(r355664)
+++ head/sysutils/cfengine22/Makefile	Thu May 29 05:20:25 2014	(r355665)
@@ -5,7 +5,8 @@ PORTNAME=	cfengine
 PORTVERSION=	2.2.10
 PORTREVISION=	1
 CATEGORIES=	sysutils
-MASTER_SITES=	http://cfengine.com/source-code/download?file=
+MASTER_SITES=	http://cfengine.com/source-code/download?file= \
+		https://s3.amazonaws.com/cfengine.package-repos/tarballs/
 PKGNAMESUFFIX=	22
 
 MAINTAINER=	cy@FreeBSD.org
@@ -18,6 +19,9 @@ CONFLICTS=	cfengine-3* cfengine-devel-*
 
 USE_RC_SUBR=	cfexecd cfservd
 
+USES=		libtool shebangfix
+SHEBANG_FILES=	contrib/cfdoc
+
 WITH_BDB_VER?=	46
 USE_BDB=	yes
 USE_OPENSSL=	yes

Modified: head/sysutils/cfengine22/pkg-plist
==============================================================================
--- head/sysutils/cfengine22/pkg-plist	Thu May 29 05:11:17 2014	(r355664)
+++ head/sysutils/cfengine22/pkg-plist	Thu May 29 05:20:25 2014	(r355665)
@@ -1,4 +1,3 @@
-lib/libcfengine.la
 lib/libcfengine.a
 sbin/cfagent
 sbin/cfdoc
@@ -56,8 +55,3 @@ man/man8/cfshow.8.gz
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-@unexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
-@unexec rmdir "/var/cfengine/modules" >/dev/null 2>&1 || :
-@unexec rmdir "/var/cfengine/outputs" >/dev/null 2>&1 || :
-@unexec rmdir "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
-@unexec rmdir "/var/cfengine" >/dev/null 2>&1 || :

Modified: head/sysutils/cfengine32/Makefile
==============================================================================
--- head/sysutils/cfengine32/Makefile	Thu May 29 05:11:17 2014	(r355664)
+++ head/sysutils/cfengine32/Makefile	Thu May 29 05:20:25 2014	(r355665)
@@ -6,7 +6,8 @@ PORTVERSION=	3.2.3
 PORTREVISION=	4
 PORTEPOCH=	1
 CATEGORIES=	sysutils
-MASTER_SITES=	http://cfengine.com/source-code/download?file=
+MASTER_SITES=	http://cfengine.com/source-code/download?file= \
+		https://s3.amazonaws.com/cfengine.package-repos/tarballs/
 PKGNAMESUFFIX=	32
 
 MAINTAINER=	cy@FreeBSD.org
@@ -22,6 +23,7 @@ USE_RC_SUBR=	cf-execd cf-serverd
 
 LIB_DEPENDS=	pcre.3:${PORTSDIR}/devel/pcre
 
+USES=		libtool
 WITH_BDB_VER?=	47
 USE_BDB=	yes
 USE_OPENSSL=	yes

Modified: head/sysutils/cfengine32/pkg-plist
==============================================================================
--- head/sysutils/cfengine32/pkg-plist	Thu May 29 05:11:17 2014	(r355664)
+++ head/sysutils/cfengine32/pkg-plist	Thu May 29 05:20:25 2014	(r355665)
@@ -1,6 +1,6 @@
-lib/libpromises.la
 lib/libpromises.so
 lib/libpromises.so.1
+lib/libpromises.so.1.0.0
 man/man8/cf-agent.8.gz
 man/man8/cf-execd.8.gz
 man/man8/cf-key.8.gz
@@ -263,8 +263,3 @@ share/cfengine/masterfiles/promises.cf
 @dirrm %%DOCSDIR%%
 @dirrm share/cfengine/masterfiles
 @dirrm share/cfengine
-@unexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
-@unexec rmdir "/var/cfengine/modules" >/dev/null 2>&1 || :
-@unexec rmdir "/var/cfengine/outputs" >/dev/null 2>&1 || :
-@unexec rmdir "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
-@unexec rmdir "/var/cfengine" >/dev/null 2>&1 || :

Modified: head/sysutils/cfengine33/Makefile
==============================================================================
--- head/sysutils/cfengine33/Makefile	Thu May 29 05:11:17 2014	(r355664)
+++ head/sysutils/cfengine33/Makefile	Thu May 29 05:20:25 2014	(r355665)
@@ -5,7 +5,8 @@ PORTNAME=	cfengine
 PORTVERSION=	3.3.8
 PORTREVISION=	5
 CATEGORIES=	sysutils
-MASTER_SITES=	http://cfengine.com/source-code/download?file=
+MASTER_SITES=	http://cfengine.com/source-code/download?file= \
+		https://s3.amazonaws.com/cfengine.package-repos/tarballs/
 PKGNAMESUFFIX=	33
 
 MAINTAINER=	cy@FreeBSD.org
@@ -18,7 +19,7 @@ CONFLICTS=	cfengine-2* cfengine-3.[245]*
 
 USE_RC_SUBR=	cf-execd cf-serverd
 
-USES=		gmake
+USES=		gmake libtool
 USE_LDCONFIG=	yes
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
@@ -42,15 +43,10 @@ MYSQL_DESC=	Enable MySQL integration
 LIBVIRT_DESC=	Enable libvirt integration
 OPTIONS_DEFAULT=TOKYOCABINET
 
-MAN8=	cf-agent.8	cf-key.8	cf-monitord.8	\
-	cf-report.8	cf-serverd.8	cf-execd.8	\
-	cf-know.8	cf-promises.8	cf-runagent.8
-
 post-patch:
 	@${REINPLACE_CMD} -e '/^htmldir/s!=.*!= @htmldir@!' \
 		${WRKSRC}/docs/Makefile.in
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MTOKYOCABINET}

Modified: head/sysutils/cfengine33/pkg-plist
==============================================================================
--- head/sysutils/cfengine33/pkg-plist	Thu May 29 05:11:17 2014	(r355664)
+++ head/sysutils/cfengine33/pkg-plist	Thu May 29 05:20:25 2014	(r355665)
@@ -1,6 +1,15 @@
-libexec/cfengine/libpromises.la
 libexec/cfengine/libpromises.so
 libexec/cfengine/libpromises.so.1
+libexec/cfengine/libpromises.so.1.0.0
+man/man8/cf-agent.8.gz
+man/man8/cf-execd.8.gz
+man/man8/cf-key.8.gz
+man/man8/cf-know.8.gz
+man/man8/cf-monitord.8.gz
+man/man8/cf-promises.8.gz
+man/man8/cf-report.8.gz
+man/man8/cf-runagent.8.gz
+man/man8/cf-serverd.8.gz
 sbin/cf-agent
 sbin/cf-execd
 sbin/cf-key
@@ -261,3 +270,10 @@ share/cfengine/CoreBase/promises.cf
 @dirrm share/cfengine/CoreBase
 @dirrm share/cfengine
 @dirrm libexec/cfengine
+@unexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
+@unexec rmdir "/var/cfengine/masterfiles" >/dev/null 2>&1 || :
+@unexec rmdir "/var/cfengine/modules" >/dev/null 2>&1 || :
+@unexec rmdir "/var/cfengine/outputs" >/dev/null 2>&1 || :
+@unexec rmdir "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
+@unexec rmdir "/var/cfengine" >/dev/null 2>&1 || :
+

Modified: head/sysutils/cfengine34/Makefile
==============================================================================
--- head/sysutils/cfengine34/Makefile	Thu May 29 05:11:17 2014	(r355664)
+++ head/sysutils/cfengine34/Makefile	Thu May 29 05:20:25 2014	(r355665)
@@ -5,7 +5,8 @@ PORTNAME=	cfengine
 PORTVERSION=	3.4.5
 PORTREVISION=	2
 CATEGORIES=	sysutils
-MASTER_SITES=	http://cfengine.com/source-code/download?file=
+MASTER_SITES=	http://cfengine.com/source-code/download?file= \
+		https://s3.amazonaws.com/cfengine.package-repos/tarballs/
 
 MAINTAINER=	cy@FreeBSD.org
 #		gjb@FreeBSD.org is also committer for this port
@@ -22,6 +23,7 @@ CONFLICTS=	cfengine-2* cfengine-3.[235]*
 
 USE_RC_SUBR=	cf-execd cf-serverd
 
+USES=		libtool
 USE_LDCONFIG=	yes
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
@@ -50,7 +52,6 @@ PGSQL_DESC=	Enable PostgreSQL connector
 MYSQL_DESC=	Enable MySQL connector
 LIBVIRT_DESC=	Enable libvirt compatibility
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MTOKYOCABINET}
@@ -81,10 +82,6 @@ CONFIGURE_ARGS+=	--with-libvirt=${LOCALB
 LIB_DEPENDS+=		libvirt.so:${PORTSDIR}/devel/libvirt
 .endif
 
-MAN8=	cf-agent.8	cf-key.8	cf-monitord.8	\
-	cf-report.8	cf-serverd.8	cf-execd.8	\
-	cf-promises.8	cf-runagent.8
-
 post-patch:
 		@${REINPLACE_CMD} -e '/^htmldir/s!=.*!= @htmldir@!'\
 				  ${WRKSRC}/docs/Makefile.in

Modified: head/sysutils/cfengine34/pkg-plist
==============================================================================
--- head/sysutils/cfengine34/pkg-plist	Thu May 29 05:11:17 2014	(r355664)
+++ head/sysutils/cfengine34/pkg-plist	Thu May 29 05:20:25 2014	(r355665)
@@ -1,6 +1,14 @@
-libexec/cfengine/libpromises.la
 libexec/cfengine/libpromises.so
 libexec/cfengine/libpromises.so.1
+libexec/cfengine/libpromises.so.1.0.0
+man/man8/cf-agent.8.gz
+man/man8/cf-execd.8.gz
+man/man8/cf-key.8.gz
+man/man8/cf-monitord.8.gz
+man/man8/cf-promises.8.gz
+man/man8/cf-report.8.gz
+man/man8/cf-runagent.8.gz
+man/man8/cf-serverd.8.gz
 sbin/cf-agent
 sbin/cf-execd
 sbin/cf-key
@@ -296,3 +304,10 @@ share/cfengine/CoreBase/update.cf
 @dirrm share/cfengine/CoreBase
 @dirrm share/cfengine
 @dirrm libexec/cfengine
+@unexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
+@unexec rmdir "/var/cfengine/masterfiles" >/dev/null 2>&1 || :
+@unexec rmdir "/var/cfengine/modules" >/dev/null 2>&1 || :
+@unexec rmdir "/var/cfengine/outputs" >/dev/null 2>&1 || :
+@unexec rmdir "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
+@unexec rmdir "/var/cfengine" >/dev/null 2>&1 || :
+

Modified: head/sysutils/cfengine35/Makefile
==============================================================================
--- head/sysutils/cfengine35/Makefile	Thu May 29 05:11:17 2014	(r355664)
+++ head/sysutils/cfengine35/Makefile	Thu May 29 05:20:25 2014	(r355665)
@@ -5,7 +5,8 @@ PORTNAME=	cfengine
 PORTVERSION=	3.5.3
 PORTREVISION=	4
 CATEGORIES=	sysutils
-MASTER_SITES=	http://cfengine.com/source-code/download?file=
+MASTER_SITES=	http://cfengine.com/source-code/download?file= \
+		https://s3.amazonaws.com/cfengine.package-repos/tarballs/
 
 MAINTAINER=	cy@FreeBSD.org
 #		gjb@FreeBSD.org is also committer for this port
@@ -24,6 +25,7 @@ CONFLICTS=	cfengine-[234]*
 
 USE_RC_SUBR=	cf-execd cf-serverd cf-monitord
 
+USES=		libtool
 USE_LDCONFIG=	yes
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes

Modified: head/sysutils/cfengine35/pkg-plist
==============================================================================
--- head/sysutils/cfengine35/pkg-plist	Thu May 29 05:11:17 2014	(r355664)
+++ head/sysutils/cfengine35/pkg-plist	Thu May 29 05:20:25 2014	(r355665)
@@ -324,6 +324,7 @@ share/cfengine/CoreBase/update.cf
 @dirrm share/cfengine/CoreBase
 @dirrm share/cfengine
 @dirrm libexec/cfengine
+@unexec rmdir "/var/cfengine/masterfiles" >/dev/null 2>&1 || :
 @unexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
 @unexec rmdir "/var/cfengine/modules" >/dev/null 2>&1 || :
 @unexec rmdir "/var/cfengine/outputs" >/dev/null 2>&1 || :
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Cy Schubert freebsd_committer freebsd_triage 2014-05-29 06:21:36 UTC
State Changed
From-To: open->closed

Fixed.