ports/155518: [MAINTAINER] net/erlyvideo: update to 2.6.5

Ruslan Mahmatkhanov cvs-src at yandex.ru
Sun Mar 13 10:40:11 UTC 2011


>Number:         155518
>Category:       ports
>Synopsis:       [MAINTAINER] net/erlyvideo: update to 2.6.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 13 10:40:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        8.2-STABLE
>Organization:
>Environment:
8.2-STABLE i386
>Description:
- update to 2.6.5
- move pkg-deinstall into files/pkg-deinstall.in
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruNa erlyvideo.orig/Makefile erlyvideo/Makefile
--- erlyvideo.orig/Makefile	2011-02-27 16:44:21.000000000 +0300
+++ erlyvideo/Makefile	2011-03-13 13:02:29.000000000 +0300
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	erlyvideo
-PORTVERSION=	2.6.3
+PORTVERSION=	2.6.5
 CATEGORIES=	net
 MASTER_SITES=	http://host5.webstroy.ru/
 
@@ -27,11 +27,13 @@
 ERLYVIDEO=	ebin src include lib Emakefile
 DEPSLIST=	amf log4erl erlydtl erlmedia mpegts rtmp rtp rtsp ibrowse
 PLIST_SUB=	PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION}
+SUB_FILES=	pkg-deinstall
 
 post-patch:
 	@${REINPLACE_CMD} -e 's#/etc/#${PREFIX}/etc/#g' \
 		${WRKSRC}/src/${PORTNAME}.erl ${WRKSRC}/contrib/erlyctl \
-		${WRKSRC}/deps/erlmedia/src/ems_log.erl
+		${WRKSRC}/deps/erlmedia/src/ems_log.erl \
+		${WRKSRC}/priv/production.config.debian
 	@${REINPLACE_CMD} -e 's#"wwwroot"#"${PREFIX}/www/${PORTNAME}/wwwroot"#g' \
 		${WRKSRC}/priv/${PORTNAME}.conf.sample
 	@${REINPLACE_CMD} -e 's#"movies"#"/var/lib/${PORTNAME}/movies"#g' \
@@ -43,7 +45,7 @@
 do-install:
 	${MKDIR} ${ETCDIR} ${ERLYDIR} ${WWWDIR}
 .for dir in /var/lib/${PORTNAME}/movies /var/lib/${PORTNAME}/plugins \
-	/var/log/${PORTNAME}
+	/var/log/${PORTNAME} /var/cache/${PORTNAME}/licensed
 	${MKDIR} ${dir}
 .endfor
 .for entry in ${ERLYVIDEO}
diff -ruNa erlyvideo.orig/distinfo erlyvideo/distinfo
--- erlyvideo.orig/distinfo	2011-02-27 16:44:21.000000000 +0300
+++ erlyvideo/distinfo	2011-03-12 22:49:49.000000000 +0300
@@ -1,2 +1,2 @@
-SHA256 (erlyvideo-2.6.3.tar.gz) = 6a3d154f3b64675e87488d0512fffb99989b1e373438efe2e3a9e5eaaa01c368
-SIZE (erlyvideo-2.6.3.tar.gz) = 2093789
+SHA256 (erlyvideo-2.6.5.tar.gz) = 6b8946486d93a6ef4d2650bc47c7f13d1c52b0b99d3ef46d4fa02961066677ae
+SIZE (erlyvideo-2.6.5.tar.gz) = 2094838
diff -ruNa erlyvideo.orig/files/pkg-deinstall.in erlyvideo/files/pkg-deinstall.in
--- erlyvideo.orig/files/pkg-deinstall.in	1970-01-01 03:00:00.000000000 +0300
+++ erlyvideo/files/pkg-deinstall.in	2011-03-13 12:48:39.000000000 +0300
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ x"$2" != x"POST-DEINSTALL" ]; then
+    exit 0
+fi
+
+cat <<EOF
+If you wish to completely delete erlyvideo, please remove
+this directories manually:
+/var/lib/erlyvideo
+/var/log/erlyvideo
+/var/cache/erlyvideo
+EOF
+
+exit 0
diff -ruNa erlyvideo.orig/pkg-deinstall erlyvideo/pkg-deinstall
--- erlyvideo.orig/pkg-deinstall	2011-01-31 14:50:36.000000000 +0300
+++ erlyvideo/pkg-deinstall	1970-01-01 03:00:00.000000000 +0300
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-if [ x"$2" != x"POST-DEINSTALL" ]; then
-    exit 0
-fi
-
-cat <<EOF
-If you wish to completely delete erlyvideo, please remove
-this directories manually:
-/var/lib/erlyvideo
-/var/log/erlyvideo
-EOF
-
-exit 0
diff -ruNa erlyvideo.orig/pkg-plist erlyvideo/pkg-plist
--- erlyvideo.orig/pkg-plist	2011-02-27 16:44:21.000000000 +0300
+++ erlyvideo/pkg-plist	2011-03-13 13:14:22.000000000 +0300
@@ -1436,3 +1436,6 @@
 @dirrmtry lib/%%PORTNAME%%
 @exec /bin/mkdir %D/log/%%PORTNAME%%
 @dirrmtry log/%%PORTNAME%%
+ at exec /bin/mkdir -p %D/cache/%%PORTNAME%%/licensed
+ at dirrmtry cache/%%PORTNAME%%/licensed
+ at dirrmtry cache/%%PORTNAME%%


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list