Bug 177681 - [maintainer update] ports audio/libamrnb and audio/libamrwb up to date, security/p5-Mcrypt fix
Summary: [maintainer update] ports audio/libamrnb and audio/libamrwb up to date, secur...
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-04-07 02:50 UTC by Tatsuki Makino
Modified: 2013-09-09 19:21 UTC (History)
0 users

See Also:


Attachments
file.shar (5.50 KB, text/plain)
2013-04-07 02:50 UTC, Tatsuki Makino
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tatsuki Makino 2013-04-07 02:50:00 UTC
audio/libamrnb update to 11.0.0.0
audio/libamrwb update to 11.0.0.0
security/p5-Mcrypt fix header.

Fix: extract patches from the shell archive.
apply audio.libamrnb.diff to audio/libamrnb.
apply audio.libamrwb.diff to audio/libamrwb.
apply security.p5-Mcrypt.diff to security/p5-Mcrypt.

Patch attached with submission follows:
How-To-Repeat: # portlint /usr/ports/security/p5-Mcrypt/
FATAL: Makefile: [1]: old style headers found.
1 fatal error and 0 warnings found.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-07 02:52:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-09-09 16:15:50 UTC
Responsible Changed
From-To: perl->sunpoet

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-09-09 19:19:18 UTC
Author: sunpoet
Date: Mon Sep  9 18:19:09 2013
New Revision: 326828
URL: http://svnweb.freebsd.org/changeset/ports/326828

Log:
  - Update to 11.0.0.0
  - Convert to new options framework
  - While I'm here, simplify PORTDOCS installation
  
  Changes:
  - Uses new upstream version 11.0.0 (which does not contain any code changes)
  
  PR:		ports/177681
  Submitted by:	Tatsuki Makino <tatsuki_makino@hotmail.com> (maintainer)

Modified:
  head/audio/libamrnb/Makefile   (contents, props changed)
  head/audio/libamrnb/distinfo   (contents, props changed)
  head/audio/libamrnb/pkg-plist   (contents, props changed)

Modified: head/audio/libamrnb/Makefile
==============================================================================
--- head/audio/libamrnb/Makefile	Mon Sep  9 18:18:57 2013	(r326827)
+++ head/audio/libamrnb/Makefile	Mon Sep  9 18:19:09 2013	(r326828)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libamrnb
-PORTVERSION=	10.0.0.0
+PORTVERSION=	11.0.0.0
 PORTEPOCH=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://ftp.penguin.cz/pub/users/utx/amr/ \
@@ -30,18 +30,19 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	LANG=C
 MAKE_ENV=	LANG=C
 USE_LDCONFIG=	yes
+OPTIONS_DEFINE=	DOCS
 
-SRC3GPP=	26104-a00.zip
+SRC3GPP=	26104-b00.zip
+
+.include <bsd.port.options.mk>
 
 post-extract:
 	@${CP} ${DISTDIR}/${SRC3GPP} ${WRKSRC}/
 
 post-install:
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-. for FILE in ${PORTDOCS}
-		${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
-. endfor
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
 .endif
 	@${CAT} ${PKGMESSAGE}
 

Modified: head/audio/libamrnb/distinfo
==============================================================================
--- head/audio/libamrnb/distinfo	Mon Sep  9 18:18:57 2013	(r326827)
+++ head/audio/libamrnb/distinfo	Mon Sep  9 18:19:09 2013	(r326828)
@@ -1,4 +1,4 @@
-SHA256 (amrnb-10.0.0.0.tar.bz2) = a5d6c03b8c6b7c912583b6cbb66da093b87a6a070a26540aae7589ab40a48509
-SIZE (amrnb-10.0.0.0.tar.bz2) = 257471
-SHA256 (26104-a00.zip) = 840ed0965f880faeae24c5f8e39fe4ddf1a192d02f0d8b5329b6938cf4e3961d
-SIZE (26104-a00.zip) = 430675
+SHA256 (amrnb-11.0.0.0.tar.bz2) = 3890004b665278b963ecaae2dc1321dcee29c53ea9d91aaf18d9286105e0f1e1
+SIZE (amrnb-11.0.0.0.tar.bz2) = 244917
+SHA256 (26104-b00.zip) = 23df8b24b0f009783027b8eef5fa8225ec71f859f2704bdb06829f09018cc8f1
+SIZE (26104-b00.zip) = 427897

Modified: head/audio/libamrnb/pkg-plist
==============================================================================
--- head/audio/libamrnb/pkg-plist	Mon Sep  9 18:18:57 2013	(r326827)
+++ head/audio/libamrnb/pkg-plist	Mon Sep  9 18:19:09 2013	(r326828)
@@ -19,4 +19,4 @@ lib/libamrnb.a
 lib/libamrnb.la
 lib/libamrnb.so
 lib/libamrnb.so.3
-@dirrm include/amrnb
+@dirrmtry include/amrnb
_______________________________________________
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 4 dfilter service freebsd_committer freebsd_triage 2013-09-09 19:19:25 UTC
Author: sunpoet
Date: Mon Sep  9 18:19:14 2013
New Revision: 326829
URL: http://svnweb.freebsd.org/changeset/ports/326829

Log:
  - Update to 11.0.0.0
  - Convert to new options framework
  - While I'm here, simplify PORTDOCS installation
  
  Changes:
  - Uses new upstream version 11.0.0 (which does not contain any code changes)
  
  PR:		ports/177681
  Submitted by:	Tatsuki Makino <tatsuki_makino@hotmail.com> (maintainer)

Modified:
  head/audio/libamrwb/Makefile   (contents, props changed)
  head/audio/libamrwb/distinfo   (contents, props changed)
  head/audio/libamrwb/pkg-plist   (contents, props changed)

Modified: head/audio/libamrwb/Makefile
==============================================================================
--- head/audio/libamrwb/Makefile	Mon Sep  9 18:19:09 2013	(r326828)
+++ head/audio/libamrwb/Makefile	Mon Sep  9 18:19:14 2013	(r326829)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libamrwb
-PORTVERSION=	10.0.0.0
+PORTVERSION=	11.0.0.0
 CATEGORIES=	audio
 MASTER_SITES=	http://ftp.penguin.cz/pub/users/utx/amr/ \
 		http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/:3GPP
@@ -29,18 +29,19 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	LANG=C
 MAKE_ENV=	LANG=C
 USE_LDCONFIG=	yes
+OPTIONS_DEFINE=	DOCS
 
-SRC3GPP=	26204-a00.zip
+SRC3GPP=	26204-b00.zip
+
+.include <bsd.port.options.mk>
 
 post-extract:
 	@${CP} ${DISTDIR}/${SRC3GPP} ${WRKSRC}/
 
 post-install:
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
-. for FILE in ${PORTDOCS}
-		${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
-. endfor
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
 .endif
 	@${CAT} ${PKGMESSAGE}
 

Modified: head/audio/libamrwb/distinfo
==============================================================================
--- head/audio/libamrwb/distinfo	Mon Sep  9 18:19:09 2013	(r326828)
+++ head/audio/libamrwb/distinfo	Mon Sep  9 18:19:14 2013	(r326829)
@@ -1,4 +1,4 @@
-SHA256 (amrwb-10.0.0.0.tar.bz2) = 1d5209c7f8c9d4d7894e3f03a48b83a53a5630b5d43848b3730bf25ba86061bb
-SIZE (amrwb-10.0.0.0.tar.bz2) = 252042
-SHA256 (26204-a00.zip) = 45acacd40a81436d69caf532a39303141eea020f16594d91c1a81994088f73a7
-SIZE (26204-a00.zip) = 383905
+SHA256 (amrwb-11.0.0.0.tar.bz2) = 5caf59b14480b0cd2a7babb8be472c4af39ff4c7c95f1278116557049a4dd5dc
+SIZE (amrwb-11.0.0.0.tar.bz2) = 240170
+SHA256 (26204-b00.zip) = c885c44483fd4502d354ec9656f2cdc0469050015052f8f3ecc1d5e08c869fec
+SIZE (26204-b00.zip) = 385394

Modified: head/audio/libamrwb/pkg-plist
==============================================================================
--- head/audio/libamrwb/pkg-plist	Mon Sep  9 18:19:09 2013	(r326828)
+++ head/audio/libamrwb/pkg-plist	Mon Sep  9 18:19:14 2013	(r326829)
@@ -24,4 +24,4 @@ lib/libamrwb.a
 lib/libamrwb.la
 lib/libamrwb.so
 lib/libamrwb.so.3
-@dirrm include/amrwb
+@dirrmtry include/amrwb
_______________________________________________
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 dfilter service freebsd_committer freebsd_triage 2013-09-09 19:19:34 UTC
Author: sunpoet
Date: Mon Sep  9 18:19:18 2013
New Revision: 326830
URL: http://svnweb.freebsd.org/changeset/ports/326830

Log:
  - Cleanup Makefile header
  - While I'm here:
    - Convert to new LIB_DEPENDS format
    - Convert to new perl5 framework
  
  PR:		ports/177681
  Submitted by:	Tatsuki Makino <tatsuki_makino@hotmail.com> (maintainer)

Modified:
  head/security/p5-Mcrypt/Makefile   (contents, props changed)
  head/security/p5-Mcrypt/pkg-plist   (contents, props changed)

Modified: head/security/p5-Mcrypt/Makefile
==============================================================================
--- head/security/p5-Mcrypt/Makefile	Mon Sep  9 18:19:14 2013	(r326829)
+++ head/security/p5-Mcrypt/Makefile	Mon Sep  9 18:19:18 2013	(r326830)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	p5-Mcrypt
-# Date created:	27 Jan 2009
-# Whom:		Tatsuki
-#
+# Created by: Tatsuki Makino <tatsuki_makino@hotmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	Mcrypt
 PORTVERSION=	2.5.7.0
@@ -15,12 +11,13 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	tatsuki_makino@hotmail.com
 COMMENT=	Perl extension for the Mcrypt cryptography library
 
-LIB_DEPENDS=	mcrypt.[8]:${PORTSDIR}/security/libmcrypt
+LIB_DEPENDS=	libmcrypt.so:${PORTSDIR}/security/libmcrypt
 
-MAN3=		Mcrypt.3
-PERL_CONFIGURE=	yes
 CONFIGURE_ENV=	MCRYPT_CPPFLAGS=${CPPFLAGS}
-
 CPPFLAGS+=	-I${LOCALBASE}/include
+USE_PERL5=	configure
+USES=		perl5
+
+MAN3=		Mcrypt.3
 
 .include <bsd.port.mk>

Modified: head/security/p5-Mcrypt/pkg-plist
==============================================================================
--- head/security/p5-Mcrypt/pkg-plist	Mon Sep  9 18:19:14 2013	(r326829)
+++ head/security/p5-Mcrypt/pkg-plist	Mon Sep  9 18:19:18 2013	(r326830)
@@ -3,4 +3,4 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mcrypt/Mcrypt.bs
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mcrypt/Mcrypt.so
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mcrypt/autosplit.ix
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mcrypt
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mcrypt
_______________________________________________
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 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-09-09 19:21:12 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!