Bug 179671 - games/holotz-castle: MASTER_SITES disappeared, unfetchable
Summary: games/holotz-castle: MASTER_SITES disappeared, unfetchable
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: 2013-06-18 08:20 UTC by John Marino
Modified: 2013-06-22 22:40 UTC (History)
0 users

See Also:


Attachments
holotz-castle.diff (6.61 KB, patch)
2013-06-18 19:47 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino 2013-06-18 08:20:00 UTC
The mainreactor.net domain resolves to a startup apache page.  The full MASTER_SITES does not exist.  The distfile is unfetchable.

Fix: 

mark broken or replace with a working MASTER_SITES.
Comment 1 Edwin Groothuis freebsd_committer 2013-06-18 08:20:07 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer 2013-06-18 08:20:07 UTC
Maintainer of games/holotz-castle,

Please note that PR ports/179671 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/179671

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 nemysis 2013-06-18 19:47:29 UTC
- Bump portrevision
- Change master sites
- Add Desktop entry file for Solutions
- Add SOLUTIONS Option
- Add files/holotz-castle-solutions.in
- Trim files/pkg-message.in
- Update WWW
- Trim pkg-plist

Added file(s):
- files/holotz-castle-solutions.in


Build log

https://redports.org/buildarchive/20130618172500-50521/
Comment 4 dfilter service freebsd_committer 2013-06-22 22:38:26 UTC
Author: rakuco
Date: Sat Jun 22 21:38:17 2013
New Revision: 321596
URL: http://svnweb.freebsd.org/changeset/ports/321596

Log:
  - Bump PORTREVISION
  - Fix MASTER_SITES
  - Add Desktop entry file for Solutions
  - Add SOLUTIONS Option
  - Add files/holotz-castle-solutions.in
  - Trim files/pkg-message.in
  - Update WWW
  - Trim pkg-plist
  
  PR:		ports/179671
  Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)

Added:
  head/games/holotz-castle/files/holotz-castle-solutions.in   (contents, props changed)
Modified:
  head/games/holotz-castle/Makefile
  head/games/holotz-castle/distinfo
  head/games/holotz-castle/files/pkg-message.in
  head/games/holotz-castle/pkg-descr
  head/games/holotz-castle/pkg-plist

Modified: head/games/holotz-castle/Makefile
==============================================================================
--- head/games/holotz-castle/Makefile	Sat Jun 22 21:25:49 2013	(r321595)
+++ head/games/holotz-castle/Makefile	Sat Jun 22 21:38:17 2013	(r321596)
@@ -3,11 +3,13 @@
 
 PORTNAME=	holotz-castle
 PORTVERSION=	1.3.14
+PORTREVISION=	1
 CATEGORIES=	games
-MASTER_SITES=	http://www.mainreactor.net/holotzcastle/download/ \
-		SF/nemysisfreebsdp/:icons
+MASTER_SITES=	SF/nemysisfreebsdp/holotz-castle/
 DISTFILES=	${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
-		${PORTNAME}_icons${EXTRACT_SUFX}:icons
+		${PORTNAME}_icons${EXTRACT_SUFX}
+EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
+		${PORTNAME}_icons${EXTRACT_SUFX}
 
 MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Platform game with high doses of mystery
@@ -28,11 +30,30 @@ MAN6=		${PORTNAME}.6 ${PORTNAME}-editor.
 INSTALLS_ICONS=	yes
 ICON_SIZES=	32x32 48x48 64x64 72x72 96x96 128x128
 
-SUB_FILES=	pkg-message
+SUB_FILES=	pkg-message ${PORTNAME}-solutions
 
 DESKTOP_ENTRIES="Holotz's Castle" "${COMMENT}" ${PORTNAME} \
 		"${PORTNAME}" "Game;LogicGame;" false
 
+DESKTOP_ENTRIES="Holotz's Castle Solutions" "${COMMENT}" ${PORTNAME} \
+		"xterm -e ${PORTNAME}-solutions" "Game;LogicGame;" false
+
+OPTIONS_DEFINE=	SOLUTIONS
+OPTIONS_DEFAULT=SOLUTIONS
+SOLUTIONS_DESC=	Solutions for Holotz's Castle
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSOLUTIONS}
+DISTFILES+=	${PORTNAME}_solutions${EXTRACT_SUFX}
+EXTRACT_ONLY+=	${PORTNAME}_solutions${EXTRACT_SUFX}
+RUN_DEPENDS=	mplayer:${PORTSDIR}/multimedia/mplayer \
+		xterm:${PORTSDIR}/x11/xterm
+PLIST_SUB+=	SOLUTIONS=""
+.else
+PLIST_SUB+=	SOLUTIONS="@comment "
+.endif
+
 post-install:
 .for s in ${ICON_SIZES}
 	${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
@@ -42,8 +63,13 @@ post-install:
 	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
 	(cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN6} ${MAN6PREFIX}/man/man6)
 
+.if ${PORT_OPTIONS:MSOLUTIONS}
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-solutions ${PREFIX}/bin
+	@${MKDIR} ${DATADIR}/solutions
+	@(cd ${WRKDIR} ; ${INSTALL_DATA} *.avi ${DATADIR}/solutions)
 	@${ECHO_CMD}
 	@${CAT} ${PKGMESSAGE}
 	@${ECHO_CMD}
+.endif
 
 .include <bsd.port.mk>

Modified: head/games/holotz-castle/distinfo
==============================================================================
--- head/games/holotz-castle/distinfo	Sat Jun 22 21:25:49 2013	(r321595)
+++ head/games/holotz-castle/distinfo	Sat Jun 22 21:38:17 2013	(r321596)
@@ -2,3 +2,5 @@ SHA256 (holotz-castle-1.3.14-src.tar.gz)
 SIZE (holotz-castle-1.3.14-src.tar.gz) = 3691364
 SHA256 (holotz-castle_icons.tar.gz) = 5ca3aee3d7abddbb8baff9961460497c0a2ec8418570c755f2df581f5605960b
 SIZE (holotz-castle_icons.tar.gz) = 35328
+SHA256 (holotz-castle_solutions.tar.gz) = c4fd9c02c82fde1d0c63c94495ce2b47142ab2741b81742527a02c76edc70cc4
+SIZE (holotz-castle_solutions.tar.gz) = 129568789

Added: head/games/holotz-castle/files/holotz-castle-solutions.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/holotz-castle/files/holotz-castle-solutions.in	Sat Jun 22 21:38:17 2013	(r321596)
@@ -0,0 +1,16 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+echo ""
+echo -n  "Which Solution for Holotz's Castle would You see?"
+cd %%DATADIR%%/solutions
+echo ""
+echo ""
+ls
+echo ""
+read SOLUTIONS
+
+mplayer "%%DATADIR%%/solutions/$SOLUTIONS"
+

Modified: head/games/holotz-castle/files/pkg-message.in
==============================================================================
--- head/games/holotz-castle/files/pkg-message.in	Sat Jun 22 21:25:49 2013	(r321595)
+++ head/games/holotz-castle/files/pkg-message.in	Sat Jun 22 21:38:17 2013	(r321596)
@@ -2,8 +2,8 @@
 
 Holotz's Castle has been installed.
 
-You can download the solutions to some Levels from here
+You can look some Solutions for Holotz's Castle with
 
-http://www.mainreactor.net/holotzcastle/en/holotzcastle_en.html#SOLUTIONS
+     %%PREFIX%%/bin/holotz-castle-solutions
 
 ===============================================================================

Modified: head/games/holotz-castle/pkg-descr
==============================================================================
--- head/games/holotz-castle/pkg-descr	Sat Jun 22 21:25:49 2013	(r321595)
+++ head/games/holotz-castle/pkg-descr	Sat Jun 22 21:38:17 2013	(r321596)
@@ -6,4 +6,4 @@ castle?
 
 Test your dexterity with this tremendously exciting platform game!
 
-WWW: http://www.mainreactor.net/holotzcastle/en/index_en.html
+WWW: http://web.archive.org/web/20130606213511/http://mainreactor.net/

Modified: head/games/holotz-castle/pkg-plist
==============================================================================
--- head/games/holotz-castle/pkg-plist	Sat Jun 22 21:25:49 2013	(r321595)
+++ head/games/holotz-castle/pkg-plist	Sat Jun 22 21:38:17 2013	(r321596)
@@ -1,5 +1,6 @@
 bin/holotz-castle
 bin/holotz-castle-editor
+%%SOLUTIONS%%bin/holotz-castle-solutions
 %%DATADIR%%/editor/EnemyMenu/0.tga
 %%DATADIR%%/editor/EnemyMenu/0_hi.tga
 %%DATADIR%%/editor/EnemyMenu/1.tga
@@ -1324,6 +1325,28 @@ bin/holotz-castle-editor
 %%DATADIR%%/game/theme/dungeons/rope/2/edge.tga
 %%DATADIR%%/game/theme/dungeons/rope/2/middle.tga
 %%DATADIR%%/game/theme/dungeons/rope/2/top.tga
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_03.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_04.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_05.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_06.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_08.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_09.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_10.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_11.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_12.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_13.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_15.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_17.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_18.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_21.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_22.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_23.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_24.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_26.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_27.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_28.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_29.avi
+%%SOLUTIONS%%%%DATADIR%%/solutions/holotz_castle_high_31.avi
 share/icons/hicolor/128x128/apps/holotz-castle.png
 share/icons/hicolor/32x32/apps/holotz-castle.png
 share/icons/hicolor/48x48/apps/holotz-castle.png
@@ -1331,6 +1354,7 @@ share/icons/hicolor/64x64/apps/holotz-ca
 share/icons/hicolor/72x72/apps/holotz-castle.png
 share/icons/hicolor/96x96/apps/holotz-castle.png
 share/pixmaps/holotz-castle.png
+%%SOLUTIONS%%@dirrm %%DATADIR%%/solutions
 @dirrm %%DATADIR%%/game/theme/dungeons/rope/2
 @dirrm %%DATADIR%%/game/theme/dungeons/rope/1
 @dirrm %%DATADIR%%/game/theme/dungeons/rope
_______________________________________________
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 5 Raphael Kubo da Costa freebsd_committer 2013-06-22 22:38:32 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!