Bug 180878 - sysutils/cbsd update to 9.2.1
Summary: sysutils/cbsd update to 9.2.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Andrej Zverev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-26 16:20 UTC by Oleg Ginzburg
Modified: 2013-07-29 19:00 UTC (History)
0 users

See Also:


Attachments
file.diff (15.28 KB, patch)
2013-07-26 16:20 UTC, Oleg Ginzburg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Ginzburg 2013-07-26 16:20:00 UTC
- update to 9.2.1
- add github as distfiles second mirror

Fix: Patch attached with submission follows:
Comment 1 Andrej Zverev freebsd_committer freebsd_triage 2013-07-29 08:16:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->az

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-07-29 18:55:11 UTC
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
+
+===============================================================================
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Andrej Zverev freebsd_committer freebsd_triage 2013-07-29 18:57:04 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!