Bug 184765 - sysutils/cbsd to 10.0.0
Summary: sysutils/cbsd to 10.0.0
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: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-14 14:50 UTC by Oleg Ginzburg
Modified: 2013-12-14 19:30 UTC (History)
0 users

See Also:


Attachments
file.diff (957 bytes, patch)
2013-12-14 14:50 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-12-14 14:50:00 UTC
update to 10.0.0

Fix: Patch attached with submission follows:
Comment 1 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2013-12-14 18:37:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danilo

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-12-14 19:24:04 UTC
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
_______________________________________________
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 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2013-12-14 19:25:39 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!