Bug 182528 - update for net/crtmpserver
Summary: update for net/crtmpserver
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: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-01 02:10 UTC by Gavriloaie Eugen-Andrei
Modified: 2013-12-01 16:30 UTC (History)
0 users

See Also:


Attachments
file.diff (2.56 KB, patch)
2013-10-01 02:10 UTC, Gavriloaie Eugen-Andrei
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gavriloaie Eugen-Andrei 2013-10-01 02:10:00 UTC
Update for net/crtmpserver from 0.806 to 0.811

It fixes a serious SIGSEGV and also fixes the build for FreeBSD 10.0

I've put back "@stopdaemon crtmpserver" inside pkg-plist. Although is there, it doesn't seems to work. When doing deinstall while the server is running, is not stopping it before starting to do the deletes. Any hints are greatly appreciated.

Also, I have disabled parallel build. GCC chokes on it because of precompiled headers support. clang works great tho

Fix: Patch attached with submission follows:
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2013-12-01 16:29:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 2 William Grzybowski freebsd_committer freebsd_triage 2013-12-01 16:29:31 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-12-01 16:29:38 UTC
Author: wg
Date: Sun Dec  1 16:29:29 2013
New Revision: 335403
URL: http://svnweb.freebsd.org/changeset/ports/335403

Log:
  net/crtmpserver: update to 0.811
  
  - Update to 0.811 [1]
  - Allow staging
  
  PR:		ports/182528
  Submitted by:	maintainer

Modified:
  head/net/crtmpserver/Makefile
  head/net/crtmpserver/distinfo
  head/net/crtmpserver/pkg-plist

Modified: head/net/crtmpserver/Makefile
==============================================================================
--- head/net/crtmpserver/Makefile	Sun Dec  1 16:11:26 2013	(r335402)
+++ head/net/crtmpserver/Makefile	Sun Dec  1 16:29:29 2013	(r335403)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	crtmpserver
-PORTVERSION=	0.806
+PORTVERSION=	0.811
 CATEGORIES=	net
 MASTER_SITES=	http://rtmpd.com/assets/sources/
 
@@ -16,6 +16,7 @@ LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/
 USE_LUA=	5.1
 WANT_LUA_VER=	5.1
 
+MAKE_JOBS_UNSAFE=	yes
 USE_LDCONFIG=	yes
 USES=		cmake:outsource
 CMAKE_SOURCE_PATH=	${WRKSRC}/builders/cmake
@@ -26,20 +27,8 @@ GROUPS=	crtmpserver
 
 USE_RC_SUBR=	crtmpserver
 
-MAN1=	crtmpserver.1
-
-NO_STAGE=	yes
 pre-install:
 	@${SH} $(WRKSRC)/fixConfFile.sh "${WRKSRC}/builders/cmake/crtmpserver/crtmpserver.lua" "${PREFIX}" "${WRKSRC}"
 	@${SH} $(WRKSRC)/fixConfFile.sh "${WRKSRC}/builders/cmake/crtmpserver/all.debug.lua" "${PREFIX}" "${WRKSRC}"
 
-post-install:
-	@if [ ! -f ${PREFIX}/etc/crtmpserver.lua ]; then \
-		${CP} -p ${PREFIX}/etc/crtmpserver.lua.sample ${PREFIX}/etc/crtmpserver.lua ; \
-	fi
-	@if [ ! -f ${PREFIX}/etc/crtmpserver.all.lua ]; then \
-		${CP} -p ${PREFIX}/etc/crtmpserver.all.lua.sample ${PREFIX}/etc/crtmpserver.all.lua ; \
-	fi
-	@${MKDIR} ${PREFIX}/var/log/crtmpserver
-
 .include <bsd.port.mk>

Modified: head/net/crtmpserver/distinfo
==============================================================================
--- head/net/crtmpserver/distinfo	Sun Dec  1 16:11:26 2013	(r335402)
+++ head/net/crtmpserver/distinfo	Sun Dec  1 16:29:29 2013	(r335403)
@@ -1,2 +1,2 @@
-SHA256 (crtmpserver-0.806.tar.gz) = 162333b8559cfdcd1506368eaae0a7143fd4d5ce6d594bc9f44d32db619dab48
-SIZE (crtmpserver-0.806.tar.gz) = 1399313
+SHA256 (crtmpserver-0.811.tar.gz) = e0284f2e06e08f115b317e7087c4d66dc4f37d7d8b1de2187fb40ec3ee9bb06f
+SIZE (crtmpserver-0.811.tar.gz) = 1464451

Modified: head/net/crtmpserver/pkg-plist
==============================================================================
--- head/net/crtmpserver/pkg-plist	Sun Dec  1 16:11:26 2013	(r335402)
+++ head/net/crtmpserver/pkg-plist	Sun Dec  1 16:29:29 2013	(r335403)
@@ -14,9 +14,8 @@ lib/crtmpserver/applications/vptests/lib
 lib/crtmpserver/applications/admin/libadmin.so
 lib/crtmpserver/applications/proxypublish/libproxypublish.so
 lib/crtmpserver/applications/stresstest/libstresstest.so
+man/man1/crtmpserver.1.gz
 sbin/crtmpserver
-@dirrmtry var/crtmpserver/media
-@dirrmtry var/crtmpserver
 @dirrmtry lib/crtmpserver/applications/flvplayback
 @dirrmtry lib/crtmpserver/applications/appselector
 @dirrmtry lib/crtmpserver/applications/samplefactory
@@ -26,4 +25,7 @@ sbin/crtmpserver
 @dirrmtry lib/crtmpserver/applications/stresstest
 @dirrmtry lib/crtmpserver/applications
 @dirrmtry lib/crtmpserver
+@exec /bin/mkdir -p var/log/crtmpserver
 @dirrmtry var/log/crtmpserver
+@dirrmtry var/crtmpserver/media
+@dirrmtry var/crtmpserver
_______________________________________________
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"