Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2013 19:23:57 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336475 - in head/sysutils/cbsd: . files
Message-ID:  <201312141923.rBEJNvp7017210@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Dec 14 19:23:56 2013
New Revision: 336475
URL: http://svnweb.freebsd.org/changeset/ports/336475

Log:
  - Update from 9.2.5 to 10.0.0 [1]
  - Add stage support
  - Convert LIB_DEPENDS to new syntax
  
  PR:		ports/184765
  Submitted by:	Oleg Ginzburg <olevole@olevole.ru> (maintainer) [1]

Added:
  head/sysutils/cbsd/files/patch-Makefile   (contents, props changed)
Modified:
  head/sysutils/cbsd/Makefile
  head/sysutils/cbsd/distinfo

Modified: head/sysutils/cbsd/Makefile
==============================================================================
--- head/sysutils/cbsd/Makefile	Sat Dec 14 19:19:06 2013	(r336474)
+++ head/sysutils/cbsd/Makefile	Sat Dec 14 19:23:56 2013	(r336475)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	cbsd
-PORTVERSION=	9.2.5
+PORTVERSION=	10.0.0
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.bsdstore.ru/downloads/ \
 		GH
@@ -14,21 +14,18 @@ LICENSE=	BSD
 RUN_DEPENDS=	rsync:${PORTSDIR}/net/rsync \
 		sudo:${PORTSDIR}/security/sudo \
 		sqlite3:${PORTSDIR}/databases/sqlite3
-LIB_DEPENDS=	ssh2:${PORTSDIR}/security/libssh2
+LIB_DEPENDS=	libssh2.so:${PORTSDIR}/security/libssh2
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	olevole
 GH_PROJECT=	cbsd
-GH_COMMIT=	f39bd8f
+GH_COMMIT=	1d65639
 
 SUB_FILES=	pkg-message
+PLIST_FILES+=	man/man8/cbsd.8.gz
 
 CBSD_HOME?=	${PREFIX}/cbsd
 
-MAN8=		cbsd.8
-
-NO_STAGE=	yes
-
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 901000
@@ -40,10 +37,9 @@ RUN_DEPENDS+=	sysrc:${PORTSDIR}/sysutils
 .endif
 
 post-install:
-	@${FIND} -s ${CBSD_HOME} -not -type d | ${SORT} | \
-	${SED} -e 's#^${PREFIX}/##' >> ${TMPPLIST}
-	@${FIND} ${CBSD_HOME} -type d | ${SORT} -r | \
-	${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
-	@${CAT} ${PKGMESSAGE}
+	@${FIND} -s ${STAGEDIR}${CBSD_HOME} -not -type d | ${SORT} | \
+	${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
+	@${FIND} ${STAGEDIR}${CBSD_HOME} -type d | ${SORT} -r | \
+	${SED} -e 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
 
 .include <bsd.port.post.mk>

Modified: head/sysutils/cbsd/distinfo
==============================================================================
--- head/sysutils/cbsd/distinfo	Sat Dec 14 19:19:06 2013	(r336474)
+++ head/sysutils/cbsd/distinfo	Sat Dec 14 19:23:56 2013	(r336475)
@@ -1,2 +1,2 @@
-SHA256 (cbsd-9.2.5.tar.gz) = c647a138f067645e6c267e8ebbaaccac7a7017c96347aea8ffabaf5caca18ae7
-SIZE (cbsd-9.2.5.tar.gz) = 1725182
+SHA256 (cbsd-10.0.0.tar.gz) = ef527e2925a0be7fc59f43230caa9c9faf0e73043cec812d8b9bc966a2e1844d
+SIZE (cbsd-10.0.0.tar.gz) = 1747707

Added: head/sysutils/cbsd/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/cbsd/files/patch-Makefile	Sat Dec 14 19:23:56 2013	(r336475)
@@ -0,0 +1,14 @@
+--- ./Makefile.orig	2013-12-14 16:53:31.000000000 -0200
++++ ./Makefile	2013-12-14 16:53:49.000000000 -0200
+@@ -3,7 +3,7 @@
+ all:
+ 
+ install:
+-	mkdir -p ${PREFIX}/cbsd
+-	cp -Rpv * ${PREFIX}/cbsd/
+-	cp -Rpv .ssh ${PREFIX}/cbsd/
+-	install man/cbsd.8  ${PREFIX}/man/man8/cbsd.8
++	mkdir -p ${DESTDIR}${PREFIX}/cbsd
++	cp -Rpv * ${DESTDIR}${PREFIX}/cbsd/
++	cp -Rpv .ssh ${DESTDIR}${PREFIX}/cbsd/
++	install man/cbsd.8 ${DESTDIR}${PREFIX}/man/man8/cbsd.8



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