Update to hgd-0.5.3. A bugfix release.

This commit is contained in:
edd 2012-03-21 17:44:41 +00:00
parent 2f14c31dcf
commit 3364e31eef
5 changed files with 7 additions and 83 deletions

View File

@ -1,8 +1,7 @@
# $OpenBSD: Makefile,v 1.11 2011/12/04 12:57:08 edd Exp $
# $OpenBSD: Makefile,v 1.12 2012/03/21 17:44:41 edd Exp $
COMMENT = music system for hackathons
DISTNAME = hgd-0.5.2
REVISION = 0
DISTNAME = hgd-0.5.3
CATEGORIES = audio net
HOMEPAGE = https://github.com/vext01/hgd/

View File

@ -1,5 +1,5 @@
MD5 (hgd-0.5.2.tar.gz) = vJEoarJ1VYICk1S+ZC+Xqg==
RMD160 (hgd-0.5.2.tar.gz) = Vubih5Arc7gBSvnTblX9ZL8gqi0=
SHA1 (hgd-0.5.2.tar.gz) = eKEryX9RDW3EmzEeAJwdbsrWyX0=
SHA256 (hgd-0.5.2.tar.gz) = Afh4cGjDbKwaR9OmnQPE6aLf4DHFhY66d7Nn3UD14QE=
SIZE (hgd-0.5.2.tar.gz) = 190004
MD5 (hgd-0.5.3.tar.gz) = GtgzPeaEdiEk+P+8LG46qg==
RMD160 (hgd-0.5.3.tar.gz) = 4zuJ3L5bY50YWwnRYD3bQaDliDY=
SHA1 (hgd-0.5.3.tar.gz) = tNFOH+r9upqGqKur9PqZM4UC7x4=
SHA256 (hgd-0.5.3.tar.gz) = vR05iMkzvvVGqc7MHuK7B8lYEdhU1nodKU+OMbTViQY=
SIZE (hgd-0.5.3.tar.gz) = 252710

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-configure,v 1.3 2011/12/04 12:57:09 edd Exp $
MPlayer is not actually a build dependency, so don't bail if not installed at build time.
Bug raised upstream.
--- configure.orig Fri Nov 25 13:48:50 2011
+++ configure Sun Dec 4 12:42:05 2011
@@ -3441,9 +3441,9 @@ $as_echo "no" >&6; }
fi
- if test "x${MPLAYER}" = "xno"; then :
- as_fn_error $? "mplayer is missing" "$LINENO" 5
-fi
+# if test "x${MPLAYER}" = "xno"; then :
+# as_fn_error $? "mplayer is missing" "$LINENO" 5
+#fi
# server just cant work without sqlite

View File

@ -1,27 +0,0 @@
$OpenBSD: patch-hgd-netd_c,v 1.3 2011/12/04 12:57:09 edd Exp $
Fix for bug #139 (Wrong PID file written away).
--- hgd-netd.c.orig Sun Dec 4 12:42:41 2011
+++ hgd-netd.c Sun Dec 4 12:43:29 2011
@@ -1622,16 +1622,14 @@ main(int argc, char **argv)
hgd_exit_nicely();
}
- /* Do this before daemonising so we can see its output if it fails. */
- if (hgd_write_pid_file() != HGD_OK) {
- DPRINTF(HGD_D_ERROR, "Can't write PID away");
- return (HGD_FAIL);
- }
-
/* alright, everything looks good, lets be a daemon and background */
if (background)
hgd_daemonise();
+ if (hgd_write_pid_file() != HGD_OK) {
+ DPRINTF(HGD_D_ERROR, "Can't write PID away");
+ return (HGD_FAIL);
+ }
hgd_listen_loop();

View File

@ -1,27 +0,0 @@
$OpenBSD: patch-hgd-playd_c,v 1.1 2011/12/04 12:57:09 edd Exp $
Fix for bug #139 (Wrong PID file written away).
--- hgd-playd.c.orig Sun Dec 4 12:42:38 2011
+++ hgd-playd.c Sun Dec 4 12:44:06 2011
@@ -329,16 +329,15 @@ main(int argc, char **argv)
hgd_exit_nicely();
}
#endif
- /* Do this before daemonising so we can see the output */
- if (hgd_write_pid_file() != HGD_OK) {
- DPRINTF(HGD_D_ERROR, "Can't write PID away");
- return (HGD_FAIL);
- }
/* start */
if (background)
hgd_daemonise();
+ if (hgd_write_pid_file() != HGD_OK) {
+ DPRINTF(HGD_D_ERROR, "Can't write PID away");
+ return (HGD_FAIL);
+ }
if (hgd_play_loop() == HGD_OK)
exit_ok = 1;