ports/131379: [New Port]www/drupal6-mimedetect:An API for Consistent Server Side Mime Detection

Wen Heping wenheping at gmail.com
Thu Feb 5 03:30:01 UTC 2009


>Number:         131379
>Category:       ports
>Synopsis:       [New Port]www/drupal6-mimedetect:An API for Consistent Server Side Mime Detection
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 05 03:30:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD-8.0 Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Tue Dec 16 00:26:59 HKT 2008     root at fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
MimeDetect provides an API for consistent server side mime detection
using the PHP FileInfo extension, the UNIX 'file' command, user supplied
mime data, or file extension lookups. It is distributed with it's own
magic library for use with the PHP FileInfo extension to make mime
detection more consistent in different environments.

WWW: http://drupal.org/project/mimedetect
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	drupal6-mimedetect
#	drupal6-mimedetect/pkg-descr
#	drupal6-mimedetect/distinfo
#	drupal6-mimedetect/Makefile
#
echo c - drupal6-mimedetect
mkdir -p drupal6-mimedetect > /dev/null 2>&1
echo x - drupal6-mimedetect/pkg-descr
sed 's/^X//' >drupal6-mimedetect/pkg-descr << 'dc778482444dd650d0fc08cca8e8a221'
XMimeDetect provides an API for consistent server side mime detection
Xusing the PHP FileInfo extension, the UNIX 'file' command, user supplied
Xmime data, or file extension lookups. It is distributed with it's own
Xmagic library for use with the PHP FileInfo extension to make mime
Xdetection more consistent in different environments.
X
XWWW: http://drupal.org/project/mimedetect
dc778482444dd650d0fc08cca8e8a221
echo x - drupal6-mimedetect/distinfo
sed 's/^X//' >drupal6-mimedetect/distinfo << '8beec99302a6506aa60a15e4d9890d10'
XMD5 (drupal/mimedetect-6.x-1.0.tar.gz) = 88800ceb6843a42422a8b34c15db803b
XSHA256 (drupal/mimedetect-6.x-1.0.tar.gz) = e1d6aacbbcb0b721b79d912e4f2c2059003101013f9fc997da45cf308a3e9988
XSIZE (drupal/mimedetect-6.x-1.0.tar.gz) = 272623
8beec99302a6506aa60a15e4d9890d10
echo x - drupal6-mimedetect/Makefile
sed 's/^X//' >drupal6-mimedetect/Makefile << '759c43bdc33f74930e308bcbb0080a1b'
X# New ports collection makefile for:	drupal6-mimedetect
X# Date created:		05 Feb,2009
X# Whom:			Wen Heping <wenheping at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mimedetect
XDISTVERSION=	6.x-1.0
XCATEGORIES=	www
XMASTER_SITES=	http://ftp.drupal.org/files/projects/
X
XMAINTAINER=	wenheping at gmail.com
XCOMMENT=	An API for Consistent Server Side Mime Detection
X
XDRUPAL6_MODULE=	yes
X
XMODULE_FILES=	magic magic.mgc magic.mime \
X		mimedetect.info mimedetect.install mimedetect.module
XDOC_FILES=	LICENSE.txt README.txt
X
X.include <bsd.port.pre.mk>
X.include "${.CURDIR}/../../www/drupal5/bsd.drupal.mk"
X.include <bsd.port.post.mk>
759c43bdc33f74930e308bcbb0080a1b
exit



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



More information about the freebsd-ports-bugs mailing list