Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2011 03:06:10 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/155827: Update port: irc/ratbox-respond
Message-ID:  <20110323030610.82d9747e.tkato432@yahoo.com>
Resent-Message-ID: <201103221820.p2MIKENQ037429@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         155827
>Category:       ports
>Synopsis:       Update port: irc/ratbox-respond
>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:   Tue Mar 22 18:20:14 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.3-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Utilize PLIST_FILES/PORTEXAMPLES

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/irc/ratbox-respond/Makefile irc/ratbox-respond/Makefile
--- /usr/ports/irc/ratbox-respond/Makefile	2011-03-16 06:52:13.000000000 +0900
+++ irc/ratbox-respond/Makefile	2011-03-20 04:23:35.000000000 +0900
@@ -8,39 +8,35 @@
 PORTNAME=	ratbox-respond
 PORTVERSION=	1.0
 CATEGORIES=	irc sysutils
-MASTER_SITES=	ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/${PORTNAME}/		\
-		ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/${PORTNAME}/	\
-		http://respond.ircd-ratbox.org/download/			\
+MASTER_SITES=	http://respond.ratbox.org/download/ \
 		ftp://ftp.parodius.com/pub/ircd-ratbox/${PORTNAME}/
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Client-side implementation of the challenge oper system in ircd-ratbox
 
-DEPRECATED=     Upstream disapear and distfile is no more available
-EXPIRATION_DATE=        2011-05-01
+CONFIGURE_WRKSRC=${WRKSRC}/${PORTNAME}
+BUILD_WRKSRC=	${WRKSRC}/${PORTNAME}
 
-GNU_CONFIGURE=	yes
 USE_OPENSSL=	yes
-
-EXTDIR=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-WRKSRC=		${EXTDIR}/${PORTNAME}
+GNU_CONFIGURE=	yes
 
 SUB_FILES=	pkg-message
 
-PORTDOCS=	challenge.txt
+PORTDOCS=	*
+PORTEXAMPLES=	*
+PLIST_FILES=	bin/ratbox-respond bin/makekeypair
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${EXTDIR}/makekeypair ${PREFIX}/bin
-
-	@${MKDIR} ${EXAMPLESDIR}/client-scripts
-	${INSTALL_DATA} ${EXTDIR}/client-scripts/* ${EXAMPLESDIR}/client-scripts
-
-post-install:
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/makekeypair ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	cd ${EXTDIR} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} challenge.txt ${DOCSDIR}
+.endif
+.if !defined(NOPORTEXAMPLES)
+	@${MKDIR} ${EXAMPLESDIR}/client-scripts
+	${INSTALL_DATA} ${WRKSRC}/client-scripts/* ${EXAMPLESDIR}/client-scripts
 .endif
 	@${CAT} ${PKGMESSAGE}
 
diff -urN /usr/ports/irc/ratbox-respond/pkg-descr irc/ratbox-respond/pkg-descr
--- /usr/ports/irc/ratbox-respond/pkg-descr	2006-05-01 19:14:12.000000000 +0900
+++ irc/ratbox-respond/pkg-descr	2011-03-20 04:15:03.000000000 +0900
@@ -3,4 +3,4 @@
 provides the ability to oper using private key authentication instead of
 passwords to improve security.
 
-WWW: http://respond.ircd-ratbox.org/
+WWW: http://respond.ratbox.org/
diff -urN /usr/ports/irc/ratbox-respond/pkg-plist irc/ratbox-respond/pkg-plist
--- /usr/ports/irc/ratbox-respond/pkg-plist	2006-05-01 19:14:12.000000000 +0900
+++ irc/ratbox-respond/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,8 +0,0 @@
-bin/ratbox-respond
-bin/makekeypair
-%%EXAMPLESDIR%%/client-scripts/challenge-epic.irc
-%%EXAMPLESDIR%%/client-scripts/challenge-irssi.pl
-%%EXAMPLESDIR%%/client-scripts/challenge-xchat.pl
-%%EXAMPLESDIR%%/client-scripts/README
-@dirrm %%EXAMPLESDIR%%/client-scripts
-@dirrm %%EXAMPLESDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110323030610.82d9747e.tkato432>