Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2012 16:50:57 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        garga@FreeBSD.org
Subject:   ports/173972: [PATCH] security/keychain: Changed Homepage, Master sites, comment, options, added license
Message-ID:  <20121128155102.35A03226@hub.freebsd.org>
Resent-Message-ID: <201211281600.qASG00Sn046903@freefall.freebsd.org>

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

>Number:         173972
>Category:       ports
>Synopsis:       [PATCH] security/keychain: Changed Homepage, Master sites, comment, options, added license
>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:   Wed Nov 28 16:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:

Makefile changed:
+		GENTOO/distfiles
+COMMENT=	User-friendly front-end to ssh-agent(1)

Is always enabled
-OPTIONS_DEFINE=	DOCS

+LICENSE=	GPLv2

That can download from Funtoo Site
+FETCH_ARGS?=		-Fpr

Changded and refined:
 do-install:
 .if ${PORT_OPTIONS:MDOCS}

+WWW: http://www.funtoo.org/wiki/Keychain

Port maintainer (garga@FreeBSD.org) is cc'd.

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

Can't give build log, because RedPorts not works at the time.

>Fix:

--- keychain-2.7.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/keychain/Makefile ./Makefile
--- /usr/ports/security/keychain/Makefile	2012-11-16 09:04:36.000000000 +0100
+++ ./Makefile	2012-11-28 16:41:11.000000000 +0100
@@ -5,21 +5,21 @@
 PORTVERSION=	2.7.1
 CATEGORIES=	security
 MASTER_SITES=	http://www.funtoo.org/archive/keychain/ \
-		${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR=	distfiles
+		GENTOO/distfiles
 
 MAINTAINER=	garga@FreeBSD.org
-COMMENT=	A user-friendly front-end to ssh-agent(1)
+COMMENT=	User-friendly front-end to ssh-agent(1)
 
-OPTIONS_DEFINE=	DOCS
+LICENSE=	GPLv2
 
+FETCH_ARGS?=		-Fpr
 USE_BZIP2=		yes
 USE_GMAKE=		yes
 USE_PERL5_BUILD=	yes
 
 MAN1=		keychain.1
 
-PLIST_FILES=	bin/keychain
+PLIST_FILES=	bin/${PORTNAME}
 
 PORTDOCS=	ChangeLog README.rst
 
@@ -30,13 +30,12 @@
 .endif
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/keychain ${PREFIX}/bin/keychain
-	${INSTALL_MAN} ${WRKSRC}/keychain.1 ${PREFIX}/man/man1
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
+
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/security/keychain/pkg-descr ./pkg-descr
--- /usr/ports/security/keychain/pkg-descr	2012-11-16 09:04:36.000000000 +0100
+++ ./pkg-descr	2012-11-28 16:00:36.000000000 +0100
@@ -6,4 +6,4 @@
 incorrect usage of this script may have certain security implications.
 
 Author: Daniel Robbins <drobbins@funtoo.org>
-WWW:    http://www.funtoo.org/en/security/keychain/intro/
+WWW: http://www.funtoo.org/wiki/Keychain
--- keychain-2.7.1.patch ends here ---

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



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