Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2013 17:55:03 +0000 (UTC)
From:      Andrej Zverev <az@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323897 - in head/sysutils/cbsd: . files
Message-ID:  <201307291755.r6THt3OU074204@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: az
Date: Mon Jul 29 17:55:03 2013
New Revision: 323897
URL: http://svnweb.freebsd.org/changeset/ports/323897

Log:
  - update to 9.2.1
  - add github as distfiles second mirror
  
  PR:		ports/180878
  Submitted by:	 Oleg Ginzburg <olevole@olevole.ru> (maintainer)

Deleted:
  head/sysutils/cbsd/pkg-plist
Modified:
  head/sysutils/cbsd/Makefile
  head/sysutils/cbsd/distinfo
  head/sysutils/cbsd/files/pkg-message.in

Modified: head/sysutils/cbsd/Makefile
==============================================================================
--- head/sysutils/cbsd/Makefile	Mon Jul 29 17:12:54 2013	(r323896)
+++ head/sysutils/cbsd/Makefile	Mon Jul 29 17:55:03 2013	(r323897)
@@ -1,9 +1,10 @@
 # $FreeBSD$
 
 PORTNAME=	cbsd
-PORTVERSION=	9.2.0
+PORTVERSION=	9.2.1
 CATEGORIES=	sysutils
-MASTER_SITES=	http://www.bsdstore.ru/downloads/
+MASTER_SITES=	http://www.bsdstore.ru/downloads/ \
+		GH
 
 MAINTAINER=	olevole@olevole.ru
 COMMENT=	Yet another FreeBSD Jail Management Utility
@@ -13,8 +14,15 @@ RUN_DEPENDS=	rsync:${PORTSDIR}/net/rsync
 		sqlite3:${PORTSDIR}/databases/sqlite3
 LIB_DEPENDS=	ssh2:${PORTSDIR}/security/libssh2
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	olevole
+GH_PROJECT=	cbsd
+GH_COMMIT=	68e0f95
+
 SUB_FILES=	pkg-message
 
+CBSD_HOME?=	${PREFIX}/cbsd
+
 MAN7=		cbsd.7
 
 .include <bsd.port.pre.mk>
@@ -24,6 +32,10 @@ IGNORE=	does not work on FreeBSD < 9.1
 .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}
 
 .include <bsd.port.post.mk>

Modified: head/sysutils/cbsd/distinfo
==============================================================================
--- head/sysutils/cbsd/distinfo	Mon Jul 29 17:12:54 2013	(r323896)
+++ head/sysutils/cbsd/distinfo	Mon Jul 29 17:55:03 2013	(r323897)
@@ -1,2 +1,2 @@
-SHA256 (cbsd-9.2.0.tar.gz) = 745084b1085c974eca68ed94009e826e99a4f6f8c2638b052a89d9a20157195b
-SIZE (cbsd-9.2.0.tar.gz) = 1602579
+SHA256 (cbsd-9.2.1.tar.gz) = 2a49eef35cfb1390da33829d689f0ace5ad62255e2dd0828c92fc76e0294b133
+SIZE (cbsd-9.2.1.tar.gz) = 1580778

Modified: head/sysutils/cbsd/files/pkg-message.in
==============================================================================
--- head/sysutils/cbsd/files/pkg-message.in	Mon Jul 29 17:12:54 2013	(r323896)
+++ head/sysutils/cbsd/files/pkg-message.in	Mon Jul 29 17:55:03 2013	(r323897)
@@ -1,10 +1,14 @@
 ===============================================================================
 cbsd is now installed, but it requires some additional setup.
 
-****************************************************
-Please run: env workdir="/path" %%PREFIX%%/cbsd/sudoexec/initenv
-****************************************************
+For the first time please run:
 
-Where /path is path for cbsd workdir, e.g.: /usr/jails
+ env workdir="/path" %%PREFIX%%/cbsd/sudoexec/initenv
 
-=============================================================================
+where /path is path for cbsd workdir, e.g.: /usr/jails 
+
+For upgrade an existing installation:
+
+ cbsd initenv
+
+===============================================================================



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