Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2014 07:39:26 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361426 - in head/sysutils/cbsd: . files
Message-ID:  <201407100739.s6A7dQpK021253@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Thu Jul 10 07:39:26 2014
New Revision: 361426
URL: http://svnweb.freebsd.org/changeset/ports/361426
QAT: https://qat.redports.org/buildarchive/r361426/

Log:
  sysutils/cbsd: Add libsqlite3.so to LIB_DEPENDS
  
  - Add sqlite3 to LIB_DEPENDS
  - Remove MASTER_SITES, not required when USE_GITHUB=yes
  - Remove GH_PROJECT, already defaults to ${PORTNAME}
  - Strip trailing-slash from pkg-descr WWW: URL
  
  While I'm here:
  
  - Tweak IGNORE message
  - Tweak pkg-message.in and pkg-deinstall
  
  PR:		191772
  Submitted by:	Oleg Ginzburg <olevole@olevole.ru> (maintainer)

Modified:
  head/sysutils/cbsd/Makefile
  head/sysutils/cbsd/files/pkg-message.in
  head/sysutils/cbsd/pkg-deinstall
  head/sysutils/cbsd/pkg-descr

Modified: head/sysutils/cbsd/Makefile
==============================================================================
--- head/sysutils/cbsd/Makefile	Thu Jul 10 05:30:16 2014	(r361425)
+++ head/sysutils/cbsd/Makefile	Thu Jul 10 07:39:26 2014	(r361426)
@@ -2,10 +2,8 @@
 
 PORTNAME=	cbsd
 PORTVERSION=	10.0.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
-MASTER_SITES=	http://www.bsdstore.ru/downloads/ \
-		GH
 
 MAINTAINER=	olevole@olevole.ru
 COMMENT=	Yet another FreeBSD Jail Management Utility
@@ -15,11 +13,11 @@ LICENSE=	BSD2CLAUSE
 RUN_DEPENDS=	rsync:${PORTSDIR}/net/rsync \
 		sudo:${PORTSDIR}/security/sudo \
 		sqlite3:${PORTSDIR}/databases/sqlite3
-LIB_DEPENDS=	libssh2.so:${PORTSDIR}/security/libssh2
+LIB_DEPENDS=	libssh2.so:${PORTSDIR}/security/libssh2 \
+		libsqlite3.so:${PORTSDIR}/databases/sqlite3
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	olevole
-GH_PROJECT=	cbsd
 GH_COMMIT=	01f481c
 
 USE_RC_SUBR=	cbsdd cbsdrsyncd
@@ -35,7 +33,7 @@ USERS=	${PORTNAME}
 GROUPS=	${PORTNAME}
 
 .if ${OSVERSION} < 901000
-IGNORE=	does not work on FreeBSD < 9.1
+IGNORE=	does not support FreeBSD versions < 9.1
 .endif
 
 .if ${OSVERSION} < 902001

Modified: head/sysutils/cbsd/files/pkg-message.in
==============================================================================
--- head/sysutils/cbsd/files/pkg-message.in	Thu Jul 10 05:30:16 2014	(r361425)
+++ head/sysutils/cbsd/files/pkg-message.in	Thu Jul 10 07:39:26 2014	(r361426)
@@ -1,14 +1,15 @@
 ===============================================================================
-cbsd is now installed, but it requires some additional setup.
 
-For the first time please run:
+cbsd is now installed, but requires additional setup steps:
 
- env workdir="/path" %%PREFIX%%/cbsd/sudoexec/initenv
+Upon initial installation, run:
 
-where /path is path for cbsd workdir, e.g.: /usr/jails
+  env workdir="/path" %%PREFIX%%/cbsd/sudoexec/initenv
 
-For upgrade an existing installation:
+Where /path is the path to the cbsd workdir, e.g.: /usr/jails
 
- cbsd initenv
+For upgrading an existing installation, run:
+
+  cbsd initenv
 
 ===============================================================================

Modified: head/sysutils/cbsd/pkg-deinstall
==============================================================================
--- head/sysutils/cbsd/pkg-deinstall	Thu Jul 10 05:30:16 2014	(r361425)
+++ head/sysutils/cbsd/pkg-deinstall	Thu Jul 10 07:39:26 2014	(r361426)
@@ -3,29 +3,32 @@ case $2 in
 POST-DEINSTALL)
     echo
     echo "The cbsd package has been deleted."
-    echo "If you're *not* upgrading and won't be using it any longer, you may want to"
-    echo "check some files in the system which could modify by cbsd and remove this"
-    echo "changes for complete deinstall. Specifically:"
-    echo
-    echo "1) follow records in the /var/cron/tabs/root file:"
-    echo "* * * * * /usr/bin/lockf -s -t0 \$workdir/ftmp/periodic_minutes \\"
-    echo "/usr/sbin/periodic minutes > /dev/null 2>&1"
-    echo "0 * * * * /usr/bin/lockf -s -t0 \$workdir/ftmp/periodic_hourly \\"
-    echo "/usr/sbin/periodic hourly > /dev/null 2>&1"
-    echo
-    echo "2) follow record in the /etc/periodic.conf file:"
-    echo "local_periodic=\"/usr/local/etc/periodic \$workdir/etc/periodic\""
-    echo
-    echo "3) follow records in the /etc/rc.conf file:"
-    echo "cbsdrsyncd_enable=\"YES\""
-    echo "cbsdrsyncd_flags=\"--config=\$workdir/etc/rsyncd.conf\""
-    echo "cbsdd_enable=\"YES\""
-    echo "devfs_load_rulesets=\"YES\""
-    echo "cbsd_workdir=\"\$workdir\""
-    echo "rcshutdown_timeout=\"900\""
-    echo "sshd_flags=\"-oPort=22222\""
     echo
-    echo "4) /usr/local/etc/sudoers.d/cbsd_sudoers file"
+    echo "If you are *not* upgrading this package, you may want to"
+    echo "remove the following to complete the deinstallation process:"
+    echo
+    echo "1) Records in /var/cron/tabs/root"
+    echo
+    echo "  * * * * * /usr/bin/lockf -s -t0 \$workdir/ftmp/periodic_minutes \\"
+    echo "  /usr/sbin/periodic minutes > /dev/null 2>&1"
+    echo "  0 * * * * /usr/bin/lockf -s -t0 \$workdir/ftmp/periodic_hourly \\"
+    echo "  /usr/sbin/periodic hourly > /dev/null 2>&1"
+    echo
+    echo "2) Records in /etc/periodic.conf"
+    echo
+    echo "  local_periodic=\"/usr/local/etc/periodic \$workdir/etc/periodic\""
+    echo
+    echo "3) Records in /etc/rc.conf"
+    echo
+    echo "  cbsdrsyncd_enable=\"YES\""
+    echo "  cbsdrsyncd_flags=\"--config=\$workdir/etc/rsyncd.conf\""
+    echo "  cbsdd_enable=\"YES\""
+    echo "  devfs_load_rulesets=\"YES\""
+    echo "  cbsd_workdir=\"\$workdir\""
+    echo "  rcshutdown_timeout=\"900\""
+    echo "  sshd_flags=\"-oPort=22222\""
+    echo
+    echo "4) Remove /usr/local/etc/sudoers.d/cbsd_sudoers"
     echo
   ;;
 esac

Modified: head/sysutils/cbsd/pkg-descr
==============================================================================
--- head/sysutils/cbsd/pkg-descr	Thu Jul 10 05:30:16 2014	(r361425)
+++ head/sysutils/cbsd/pkg-descr	Thu Jul 10 07:39:26 2014	(r361426)
@@ -1,3 +1,3 @@
 Yet another FreeBSD jail management tool.
 
-WWW: http://www.bsdstore.ru/
+WWW: http://www.bsdstore.ru



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