Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479806 - net-misc/csync reversion/rename, sys-auth/pam-csync dependency breakage
Summary: net-misc/csync reversion/rename, sys-auth/pam-csync dependency breakage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-05 09:06 UTC by Antonino Catinello
Modified: 2014-02-15 15:01 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
csync-0.50.0.ebuild (file_479806.txt,1.19 KB, text/plain)
2013-08-06 11:40 UTC, Antonino Catinello
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonino Catinello 2013-08-05 09:06:16 UTC
There is obviously a wrong name and version declaration of the package csync in portage.

The ebuild of csync-0.80.0 is using the source archive of a csync fork called ocsync which is part of the owncloud project. Andreas Schneider who is a developer of csync just confirmed this and pointed me to the following notice for clarification. https://dragotin.wordpress.com/2013/08/05/csync-upstream-release-0-50-0/

On 1st August version 0.50.0 was released. http://www.csync.org/2013/08/01/csync-version-0-50-0/

So maybe the ebuilds of the fork should be renamed to ocsync to have proper names and versions in portage?

Reproducible: Always
Comment 1 Michael Palimaka (kensington) gentoo-dev 2013-08-05 16:11:27 UTC
How should we fix this? Just rename the package ocsync (remembering that we would no longer be able to reuse the original package name)? Alternatively, we could create a new ocsync package and bump real csync (which would be presented to the user as a downgrade).
Comment 2 Antonino Catinello 2013-08-06 06:51:56 UTC
Why is the package name not reusable at a later point? Is this a portage limitation?

I think in that case your approach may be the best solution. Keeping in mind that all ebuilds that depend on csync (ocsync) have to be fixed as well.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2013-08-06 07:28:45 UTC
(In reply to Antonino Catinello from comment #2)
> Why is the package name not reusable at a later point? Is this a portage
> limitation?
If we move/rename csync -> ocsync, it will not just be renamed in the tree, but automatically renamed on everyone's system too. If we then re-created the csync package, the package would just be automatically moved again.

> I think in that case your approach may be the best solution. Keeping in mind
> that all ebuilds that depend on csync (ocsync) have to be fixed as well.
There are only currently two dependants, so it is only a small amount of work.
Comment 4 Antonino Catinello 2013-08-06 11:40:47 UTC
Created attachment 355230 [details]
csync-0.50.0.ebuild

This is an ebuild for csync-0.50.0.
Comment 5 Manuel Rüger (RETIRED) gentoo-dev 2013-08-06 11:43:05 UTC
(In reply to Michael Palimaka (kensington) from comment #3)
> (In reply to Antonino Catinello from comment #2)
> > Why is the package name not reusable at a later point? Is this a portage
> > limitation?
> If we move/rename csync -> ocsync, it will not just be renamed in the tree,
> but automatically renamed on everyone's system too. If we then re-created
> the csync package, the package would just be automatically moved again.
> 
> > I think in that case your approach may be the best solution. Keeping in mind
> > that all ebuilds that depend on csync (ocsync) have to be fixed as well.
> There are only currently two dependants, so it is only a small amount of
> work.

Well you could also move net-misc/csync to net-misc/ocsync and introduce csync in another category afterwards (like app-misc)
Comment 6 Chris Reffett (RETIRED) gentoo-dev Security 2013-08-18 17:54:57 UTC
I would rather csync-* not be reused anytime soon. Yes, I know this is a problem, but it will mess up current users' systems to have a rename and then add the new one, and the most appropriate category seems to be net-misc/.
Comment 7 Michael Palimaka (kensington) gentoo-dev 2013-09-18 10:21:47 UTC
We should action this sooner rather than later, see bug #483696 comment 7.
Comment 8 Michael Palimaka (kensington) gentoo-dev 2013-09-18 10:38:00 UTC
I will do the straight rename soon if nobody objects.
Comment 9 Dennis Schridde 2013-12-28 11:21:12 UTC
This is (partly, without a package move) InOverlay, see bug #494314 comment #5.
Comment 10 Bernard Cafarelli gentoo-dev 2014-02-06 14:24:14 UTC
Thanks everyone in this bug, this is now fixed in main tree

owncloud-client (moved from mirall) simply now depends on net-misc/ocsync, and csync is the correct upstream version.
Comment 11 Patrick Lauer gentoo-dev 2014-02-07 04:54:04 UTC
Some fallout from the renaming:

RepoMan scours the neighborhood...
  dependency.bad                20
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~amd64(default/linux/amd64/13.0) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~amd64(default/linux/amd64/13.0/desktop) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~amd64(default/linux/amd64/13.0/desktop/gnome) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~amd64(default/linux/amd64/13.0/desktop/gnome/systemd) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~amd64(default/linux/amd64/13.0/desktop/kde) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~amd64(default/linux/amd64/13.0/desktop/kde/systemd) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~amd64(default/linux/amd64/13.0/developer) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~x86(default/linux/x86/13.0) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~x86(default/linux/x86/13.0/desktop) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~x86(default/linux/x86/13.0/desktop/gnome) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~x86(default/linux/x86/13.0/desktop/gnome/systemd) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~x86(default/linux/x86/13.0/desktop/kde) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~x86(default/linux/x86/13.0/desktop/kde/systemd) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~x86(default/linux/x86/13.0/developer) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~amd64(hardened/linux/amd64) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~amd64(hardened/linux/amd64/no-multilib) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~amd64(hardened/linux/amd64/no-multilib/selinux) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~amd64(hardened/linux/amd64/selinux) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~x86(hardened/linux/x86) ['>=net-misc/csync-0.60.0']
   sys-auth/pam-csync/pam-csync-0.42.0-r1.ebuild: RDEPEND: ~x86(hardened/linux/x86/selinux) ['>=net-misc/csync-0.60.0']
Comment 12 Bernard Cafarelli gentoo-dev 2014-02-07 09:05:03 UTC
Thanks patrick, I had not seen pam-csync was patched to support ocsync, and not the original csync. Fixed dependency
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-14 11:37:41 UTC
*** Bug 501228 has been marked as a duplicate of this bug. ***