Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 500332

Summary: dev-db/ctdb-2.5.4 version bump
Product: Gentoo Linux Reporter: Chan Min Wai <dcmwai>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED WONTFIX    
Severity: normal CC: dcmwai
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2017-07-05   
Attachments: ctdb-2.5.2.ebuild
Updated ebuild
ctdb env files to export ctdb socket
ctdb init files
ctdbd config files Not present on source or other

Description Chan Min Wai 2014-02-05 04:43:14 UTC
Version bump to ctdb 2.5.2

Add change to put ctdb (sysconf) files to /etc/default


Reproducible: Always

Steps to Reproduce:
Build without error
Comment 1 Chan Min Wai 2014-02-05 04:44:34 UTC
Created attachment 369562 [details]
ctdb-2.5.2.ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-05 10:41:11 UTC
Comment on attachment 369562 [details]
ctdb-2.5.2.ebuild

--- ctdb-1.13.ebuild    2013-09-10 16:58:41.259713865 +0200
+++ -   2014-02-05 11:40:41.050313467 +0100
@@ -10,7 +10,8 @@
 HOMEPAGE="http://ctdb.samba.org/"
 # upstream is too sexy for releases, grab tags from:
 #    http://git.samba.org/?p=ctdb.git;a=summary
-SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
+#SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
+SRC_URI="http://ftp.samba.org/pub/ctdb/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -20,9 +21,9 @@
 DEPEND="dev-libs/popt"
 RDEPEND="${DEPEND}"
 
-PATCHES=(
-       "${FILESDIR}/${P}-ldflags.patch"
-)
+#PATCHES=(
+#      "${FILESDIR}/${P}-ldflags.patch"
+#)
 
 src_configure() {
        econf \
@@ -33,6 +34,10 @@
 
 src_install() {
        default
+
+       # ctdb.sysconf
+       insinto /etc/default/
+       newins config/ctdb.sysconfig ctdb || die 
 
        dohtml web/* doc/*.html
 }
Comment 3 Chan Min Wai 2014-02-09 10:10:30 UTC
(In reply to Jeroen Roovers from comment #2)
> Comment on attachment 369562 [details]
> ctdb-2.5.2.ebuild
> 
SNAP

Dear Jeroen what next?

Thank You.
Comment 4 Chan Min Wai 2014-08-26 14:45:47 UTC
init and config files are not inside ebuild...

If I check the old ebuild files there are 2 line like below.


        newinitd "${FILESDIR}/${PN}.initd" ctdb || die "newinitd failed"
        newconfd "${S}/config/ctdb.sysconfig" ctdb || die "newconfd failed"

Which should be added.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-10 21:30:10 UTC
*** Bug 524980 has been marked as a duplicate of this bug. ***
Comment 6 Chan Min Wai 2014-10-12 19:23:25 UTC
Created attachment 386546 [details]
Updated ebuild

New ebuild
Comment 7 Chan Min Wai 2014-10-12 19:23:59 UTC
Created attachment 386548 [details]
ctdb env files to export ctdb socket

ctdb env files to export ctdb socket
Comment 8 Chan Min Wai 2014-10-12 19:25:01 UTC
Created attachment 386550 [details]
ctdb init files

Updated ctdb init files with new ctdbd_wrapper 

Also remove the old non use parameter.
Comment 9 Chan Min Wai 2014-10-12 19:27:06 UTC
Created attachment 386552 [details]
ctdbd config files Not present on source or other

This files should make ctdb configuration much easier

As the source don't include any example of ctdbd.conf.

This would help to make the configuration much easier.

Also it is move to /etc/ctdb/ctdbd.conf

As ctdbd can read from other sources and confuse users...
Comment 10 Chan Min Wai 2014-10-12 19:28:22 UTC
Please help to verify.

As I can see they are working fine.


Thank You.
Comment 11 Chan Min Wai 2014-10-14 23:48:19 UTC
Update anyone?
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-05 16:21:10 UTC
# Michał Górny <mgorny@gentoo.org> (05 Jun 2017)
# (on behalf of Treecleaner project)
# Unmaintained in Gentoo. Multiple versions behind upstream.
# Security vulnerabilities. No reverse dependencies anymore.
# Removal in 30 days. Bug #512292.
dev-db/ctdb
Comment 13 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-07-05 10:48:36 UTC
commit 70bb72fbed3d0e407d2a2ff7a33c6fdf307e9f9d
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Wed Jul 5 12:31:26 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Wed Jul 5 12:35:18 2017

    dev-db/ctdb: Remove last-rited pkg, #512292