View | Details | Raw Unified | Return to bug 261649
Collapse All | Expand All

(-)b/net/ceph14/Makefile (-4 / +4 lines)
Lines 3-9 Link Here
3
PORTNAME=	ceph
3
PORTNAME=	ceph
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	14.2.22
5
DISTVERSION=	14.2.22
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	net
7
CATEGORIES=	net
8
PKGNAMESUFFIX=	14
8
PKGNAMESUFFIX=	14
9
9
Lines 51-65 RUN_DEPENDS= \ Link Here
51
	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
51
	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
52
	${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAVOR} \
52
	${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAVOR} \
53
	${PYTHON_PKGNAMEPREFIX}protobuf>=0:devel/py-protobuf@${PY_FLAVOR} \
53
	${PYTHON_PKGNAMEPREFIX}protobuf>=0:devel/py-protobuf@${PY_FLAVOR} \
54
	${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
54
	${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \
55
	${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \
55
	${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \
56
	${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \
56
	${PYTHON_PKGNAMEPREFIX}pyjwt>=0:www/py-pyjwt@${PY_FLAVOR} \
57
	${PYTHON_PKGNAMEPREFIX}pyjwt1>=0:www/py-pyjwt1@${PY_FLAVOR} \
57
	${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} \
58
	${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} \
58
	${PYTHON_PKGNAMEPREFIX}cherrypy>=0:www/py-cherrypy@${PY_FLAVOR} \
59
	${PYTHON_PKGNAMEPREFIX}cherrypy>=0:www/py-cherrypy@${PY_FLAVOR} \
59
	${PYTHON_PKGNAMEPREFIX}pecan>=0:www/py-pecan@${PY_FLAVOR} \
60
	${PYTHON_PKGNAMEPREFIX}pecan>=0:www/py-pecan@${PY_FLAVOR} \
60
	${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
61
	${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
61
	${PYTHON_PKGNAMEPREFIX}routes>=0:www/py-routes@${PY_FLAVOR} \
62
	${PYTHON_PKGNAMEPREFIX}routes>=0:www/py-routes@${PY_FLAVOR} 
62
	${PYTHON_PKGNAMEPREFIX}prettytable>=0:devel/py-prettytable@${PY_FLAVOR}
63
63
64
USES=		cmake:noninja compiler:c++17-lang cpe dos2unix fuse gettext-runtime gmake ncurses \
64
USES=		cmake:noninja compiler:c++17-lang cpe dos2unix fuse gettext-runtime gmake ncurses \
65
		pkgconfig python:3.8-3.9 readline shebangfix ssl
65
		pkgconfig python:3.8-3.9 readline shebangfix ssl
(-)b/net/ceph14/pkg-message (-10 / +23 lines)
Lines 2-20 Link Here
2
{ type: install
2
{ type: install
3
  message: <<EOM
3
  message: <<EOM
4
This package has installed ceph14, called nautilus.
4
This package has installed ceph14, called nautilus.
5
It comes with a web based dashboard that cannot be build 
6
into a package but will require the user to install it himself.
7
5
8
To install the dashboard, please execute:
6
To be able to run Ceph, the following setup changes are needed:
9
    as root execute:
7
10
    cd ${LOCALBASE}/share/ceph/mgr/dashboard/frontend
8
 - Mount linux compat filesystem, add to /etc/fstab:
9
   # required by ceph
10
   linprocfs   /compat/linux/proc      linprocfs rw            0       0
11
   linsysfs    /compat/linux/sys       linsysfs  rw            0       0
12
   fdescfs     /compat/linux/dev/fd    fdescfs rw,linrdlnk     0       0
13
14
 - Shorten the WAIT2 time for TCP teardown
15
   echo "net.inet.tcp.msl=3000" >> /etc/sysctl.conf
16
17
Ceph comes with a web based dashboard that cannot be build 
18
into a packagei. But the user can it himselfi from a ready-made RPM.
19
20
To install the dashboard, please execute (as root):
21
22
    mkdir -p /usr/local/share/ceph/mgr/dashboard
11
    pkg install rpm2cpio
23
    pkg install rpm2cpio
24
    cd /tmp
12
    fetch http://download.ceph.com/rpm-nautilus/el8/noarch/ceph-mgr-dashboard-14.2.22-0.el8.noarch.rpm
25
    fetch http://download.ceph.com/rpm-nautilus/el8/noarch/ceph-mgr-dashboard-14.2.22-0.el8.noarch.rpm
13
    rpm2cpio ${DISTDIR}/ceph-mgr-dashboard-${DISTVERSION}-0.el7.noarch.rpm | \
26
    rpm2cpio ./ceph-mgr-dashboard-${DISTVERSION}-0.el8.noarch.rpm | cpio -divm 
14
        ( cd ${WRKDIR}/dashboard; cpio -divm )
27
    cd /tmp/usr/share/ceph/mgr/dashboard
15
    chown -R ceph:ceph .
28
    rsync -vra . /usr/local/share/ceph/mgr/dashboard/
16
    chown -R ceph:ceph /var/lib/ceph
29
    chown -R ceph:ceph /usr/local/share/ceph/mgr/dashboard/
17
30
    chown -R ceph:ceph /var/lib/ceph /var/run/ceph /var/log/ceph 
18
EOM
31
EOM
19
}
32
}
20
]
33
]

Return to bug 261649