From liukang@bjpu.edu.cn  Thu Sep  4 02:57:16 2003
Return-Path: <liukang@bjpu.edu.cn>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B0BF516A4BF
	for <freebsd-gnats-submit@freebsd.org>; Thu,  4 Sep 2003 02:57:16 -0700 (PDT)
Received: from bjpu.edu.cn (egw.bjpu.edu.cn [202.112.78.77])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 751C843FF3
	for <freebsd-gnats-submit@freebsd.org>; Thu,  4 Sep 2003 02:57:14 -0700 (PDT)
	(envelope-from liukang@bjpu.edu.cn)
Received: (eyou gateway send program); Thu, 04 Sep 2003 17:57:50 +0800
Received: from unknown (HELO ssc) (unknown@61.51.124.62)
 by 202.112.78.77 with ; Thu, 04 Sep 2003 17:57:50 +0800
Message-Id: <000101c372cb$94977fb0$0501a8c0@ssc>
Date: Thu, 4 Sep 2003 18:01:42 +0800
From: "Kang Liu" <liukang@bjpu.edu.cn>
To: <FreeBSD-gnats-submit@freebsd.org>
Cc: <trevor@FreeBSD.org>
Subject: [patch]unbreak ports/security/mcrypt

>Number:         56411
>Category:       ports
>Synopsis:       [patch]unbreak ports/security/mcrypt
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    trevor
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 04 03:00:31 PDT 2003
>Closed-Date:    Thu Feb 12 09:59:07 PST 2004
>Last-Modified:  Thu Feb 12 09:59:07 PST 2004
>Originator:     Kang Liu
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Beijing University of Technology
>Environment:
System: FreeBSD ipfwtest.frontfree.net 5.1-CURRENT FreeBSD 5.1-CURRENT #9: Sat Aug 9 22:50:36 CST 2003
root@testipfw.bjpu.edu.cn:/usr/obj/usr/src/sys/IPFW i386
>Description:
ports/security/mcrypt is marked as broken(Does not configure) now.
In my patch:
1. change MASTER_SITES to sourceforge. (As it is said in the orignal site of mcrypt: http://mcrypt.hellug.gr/)
2. update distinfo
3. Add "WWW" into pkg-descr
4. dump PORTREVISION
>How-To-Repeat:
n/a
>Fix:
diff -ruN mcrypt.orig/Makefile mcrypt/Makefile
--- mcrypt.orig/Makefile	Wed Aug 27 04:25:54 2003
+++ mcrypt/Makefile	Thu Sep  4 17:12:36 2003
@@ -9,16 +9,13 @@

 PORTNAME=	mcrypt
 PORTVERSION=	2.6.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
-MASTER_SITES=	ftp://argeas.cs-net.gr/pub/unix/mcrypt/ \
-		ftp://mcrypt.hellug.gr/pub/mcrypt/ \
-		ftp://ftp.ntua.gr/pub/security/mcrypt/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=     ${PORTNAME}

 MAINTAINER=	trevor@FreeBSD.org
 COMMENT=	Replacement for crypt(1)
-
-BROKEN=		Does not configure

 BUILD_DEPENDS=	autoconf257:${PORTSDIR}/devel/autoconf257
 LIB_DEPENDS=	mcrypt.8:${PORTSDIR}/security/libmcrypt/ \
diff -ruN mcrypt.orig/distinfo mcrypt/distinfo
--- mcrypt.orig/distinfo	Fri Aug  8 11:25:38 2003
+++ mcrypt/distinfo	Thu Sep  4 16:58:07 2003
@@ -1 +1 @@
-MD5 (mcrypt-2.6.4.tar.gz) = 5a011846fd0f166428c8d97359aaa6b3
+MD5 (mcrypt-2.6.4.tar.gz) = 0556254f76b2ad7640456cb4fcf724ff
diff -ruN mcrypt.orig/pkg-descr mcrypt/pkg-descr
--- mcrypt.orig/pkg-descr	Thu Sep  4 16:48:21 2003
+++ mcrypt/pkg-descr	Thu Sep  4 17:12:19 2003
@@ -3,3 +3,5 @@
 3-WAY, SAFER, LOKI97, GOST, RC2, RC6, MARS, IDEA, RIJNDAEL, SERPENT,
 CAST, ARCFOUR and WAKE), and is compatibile with UNIX crypt(1) and
 with des(1) from Solaris.
+
+WWW: http://www.sf.net/projects/mcrypt/


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->trevor  
Responsible-Changed-By: krion 
Responsible-Changed-When: Thu Sep 4 03:04:14 PDT 2003 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56411 
State-Changed-From-To: open->closed 
State-Changed-By: trevor 
State-Changed-When: Thu Feb 12 09:52:31 PST 2004 
State-Changed-Why:  
The distfile on Sourceforge didn't work well for me, so I changed 
the MASTER_SITES to look on the old sites in the attic/ directories. 
I added the WWW: line though.  Thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56411 
>Unformatted:
