Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 17:38:11 +0400 (MSK)
From:      Pavel I Volkov <pavelivolkov@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        pavelivolkov@googlemail.com
Subject:   ports/186041: [PATCH] net-mgmt/ssgless: update to 1.3, fix package creation error
Message-ID:  <201401231338.s0NDcB3L050348@be.dns4soho.net>
Resent-Message-ID: <201401231800.s0NI00IT075837@freefall.freebsd.org>

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

>Number:         186041
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/ssgless: update to 1.3, fix package creation error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 23 18:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Pavel I Volkov
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD be.dns4soho.net 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #4 r260656: Wed Jan 15 11:21:37 MSK
>Description:
- Update to 1.3
- Change the email address at the maintainer
- Change license from BSD to BSD2CLAUSE
- Stage allowed

Port maintainer (pavelivolkov@googlemail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: update, diff: suffix)
>How-To-Repeat:
>Fix:

--- ssgless-1.3.patch begins here ---
diff -ruN ../ssgless.orig/Makefile ./Makefile
--- ../ssgless.orig/Makefile	2014-01-23 11:35:50.000000000 +0400
+++ ./Makefile	2014-01-23 17:11:09.000000000 +0400
@@ -2,21 +2,20 @@
 # $FreeBSD: head/net-mgmt/ssgless/Makefile 340722 2014-01-22 17:00:46Z mat $
 
 PORTNAME=	ssgless
-PORTVERSION=	1.2
+PORTVERSION=	1.3
 CATEGORIES=	net-mgmt
 DISTFILES=
 
-MAINTAINER=	pavelivolkov@googlemail.com
+MAINTAINER=	pavelivolkov@gmail.com
 COMMENT=	View ScreenOS configuration files
 
-LICENSE=	BSD
+LICENSE=	BSD2CLAUSE
 
 LESS=	`whereis -bq less`
 
 NOFETCHFILES=	yes
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
-NO_MTREE=	yes
 
 PLIST_FILES=	bin/${PORTNAME} bin/lesspipe-ssg.awk
 
@@ -24,14 +23,8 @@
 
 SUB_LIST=	"AWK=${AWK}" "LESS=${LESS}"
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKDIR}/lesspipe-ssg.awk ${PREFIX}/bin
-
-post-install:
-	@${ECHO}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO}
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_SCRIPT} ${WRKDIR}/lesspipe-ssg.awk ${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>
diff -ruN ../ssgless.orig/files/ssgless.in ./files/ssgless.in
--- ../ssgless.orig/files/ssgless.in	2014-01-23 11:35:50.000000000 +0400
+++ ./files/ssgless.in	2014-01-23 17:10:08.000000000 +0400
@@ -1,3 +1,4 @@
 #!/bin/sh
+[ $# -lt 1 ] && echo 'usage:	ssgless -x3 ssg-device_cfg.txt' && echo '	("less --help" for help)' && exit 1
 export LESSOPEN="|%%PREFIX%%/bin/lesspipe-ssg.awk %s"
 exec %%LESS%% "$@"
diff -ruN ../ssgless.orig/pkg-message ./pkg-message
--- ../ssgless.orig/pkg-message	2014-01-23 11:35:50.000000000 +0400
+++ ./pkg-message	1970-01-01 03:00:00.000000000 +0300
@@ -1 +0,0 @@
-usage:	ssgless -x3 ssg-device_cfg.txt
--- ssgless-1.3.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?201401231338.s0NDcB3L050348>