Bug 184332 - [maintainer-update] Update www/cakephp13 to version 1.3.17 and fix build bug
Summary: [maintainer-update] Update www/cakephp13 to version 1.3.17 and fix build bug
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: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-27 16:20 UTC by theis
Modified: 2013-11-27 21:40 UTC (History)
0 users

See Also:


Attachments
file.diff (2.11 KB, patch)
2013-11-27 16:20 UTC, theis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description theis 2013-11-27 16:20:01 UTC
Update www/cakephp13 to version 1.3.17
Switch to use USE_GITHUB to fetch files
Fix a build error of the previous patch

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-27 16:20:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-27 21:33:37 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-11-27 21:37:52 UTC
Author: sunpoet
Date: Wed Nov 27 21:33:24 2013
New Revision: 335065
URL: http://svnweb.freebsd.org/changeset/ports/335065

Log:
  - Update to 1.3.7
  - Use USE_GITHUB
  - Fix patch file
  
  Changes:	https://github.com/cakephp/cakephp/commits/1.3
  PR:		ports/184332
  Submitted by:	Christoph Theis <theis@gmx.at> (maintainer)

Modified:
  head/www/cakephp13/Makefile
  head/www/cakephp13/distinfo
  head/www/cakephp13/files/patch-cake__console__cake   (contents, props changed)

Modified: head/www/cakephp13/Makefile
==============================================================================
--- head/www/cakephp13/Makefile	Wed Nov 27 21:33:18 2013	(r335064)
+++ head/www/cakephp13/Makefile	Wed Nov 27 21:33:24 2013	(r335065)
@@ -2,20 +2,19 @@
 # $FreeBSD$
 
 PORTNAME=	cakephp
-PORTVERSION=	1.3.15
+PORTVERSION=	1.3.17
 CATEGORIES=	www
-MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/tarball/${PORTVERSION}/
 PKGNAMESUFFIX=	13
-DISTNAME=	${PORTNAME}-${PORTNAME}-${PORTVERSION}-${GITVERSION}
 
 MAINTAINER=	theis@gmx.at
 COMMENT=	Framework for developing PHP web applications
 
 LICENSE=	MIT
 
-GITVERSION=	0-g3ff1ff1
-FETCH_ARGS=	-pRr
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-5e063d7
+USE_GITHUB=	yes
+GH_ACCOUNT=	${PORTNAME}
+GH_PROJECT=	${PORTNAME}
+GH_COMMIT=	3a101d9
 
 PORTDOCS=	README
 

Modified: head/www/cakephp13/distinfo
==============================================================================
--- head/www/cakephp13/distinfo	Wed Nov 27 21:33:18 2013	(r335064)
+++ head/www/cakephp13/distinfo	Wed Nov 27 21:33:24 2013	(r335065)
@@ -1,2 +1,2 @@
-SHA256 (cakephp-cakephp-1.3.15-0-g3ff1ff1.tar.gz) = 1f3dc2c426647c57ae7790920c291100bc022656b06fe0a49ef75792a83abfac
-SIZE (cakephp-cakephp-1.3.15-0-g3ff1ff1.tar.gz) = 117760
+SHA256 (cakephp-1.3.17.tar.gz) = 7e9e1091e3d6b370ea371a34341fe547c2ab359351e1adb9f3f0148fcb049e3d
+SIZE (cakephp-1.3.17.tar.gz) = 991549

Modified: head/www/cakephp13/files/patch-cake__console__cake
==============================================================================
--- head/www/cakephp13/files/patch-cake__console__cake	Wed Nov 27 21:33:18 2013	(r335064)
+++ head/www/cakephp13/files/patch-cake__console__cake	Wed Nov 27 21:33:24 2013	(r335065)
@@ -1,15 +1,8 @@
---- ./cake/console/cake.orig	2011-10-29 11:06:55.000000000 +0200
-+++ ./cake/console/cake	2011-10-29 11:08:00.000000000 +0200
+--- cake/console/cake.orig	2013-11-27 16:28:16.000000000 +0100
++++ cake/console/cake	2013-11-27 16:28:29.000000000 +0100
 @@ -1,4 +1,4 @@
--#!/bin/bash
+-#!/usr/bin/env bash
 +#!/bin/sh
  ################################################################################
  #
  # Bake is a shell script for running CakePHP bake script
-@@ -31,4 +31,4 @@
- 
- exec php -q ${LIB}cake.php -working "${APP}" "$@"
- 
--exit;
-\ No newline at end of file
-+exit;
_______________________________________________
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"