ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Pavlov Konstantin <thresh@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] net-snmp soname change [SONAME CHANGE POLICY?]
Date: Sat, 16 Dec 2006 15:36:31 +0300
Message-ID: <200612161536.42513.thresh@altlinux.ru> (raw)
In-Reply-To: <20061216085710.GB23004@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1677 bytes --]

On Saturday 16 December 2006 11:57, Денис Смирнов wrote:
> On Fri, Dec 15, 2006 at 09:10:55PM +0300, Pavlov Konstantin wrote:
> >> А нельзя ли теперь залить версию со старым soname?
>
> PK> Залить можно всё, что угодно.
> PK> Policy на это заливание есть?
>
> Нет, есть сложившаяся практика.

Из таких практик я помню только libssl4 да libreadline4.3. Более того, как 
правильно поступать с пакетами, где сменилась soname, я так нигде и не нашел.
Вариантов может быть два:
1) Сменился SONAME и сменился API. В этом случае простая пересборка пакетов, 
зависящих от данного не поможет, нужно хирургическое вмешательство.
2) Сменился SONAME, но API не поменялся. Тут пересборка поможет.

Распишите, пожалуйста, как правильно в этих случаях паковать версию со старым 
SONAME и с новым. 

Пример 1) -- пакет flac, в котором помимо смены SONAME сменился еще и API. Тут 
я пока что сделал так -- старый пакет libflac7, из которого получаются только 
библиотеки, без devel, и новый libflac, из которого получается все, что было 
раньше в старом пакете.

Пример 2) -- пакет net-snmp, в котором сменился SONAME, а API не поменялось. 
Тут я думал сделать примерно так же, как и в flac, т.к. простая пересборка с 
новой версией должна пройти успешно.

Поправьте меня, если я где не прав.

> Кроме того для пакетов которые относительно часто меняют soname мне вообще
> не нравится практика именовать их как lib%name. Это lib%name%soversion.
> Иначе у обновляющихся с более старых дистрибутивов apt'у крышняк срывает
> напрочь.

OK, Напишите, как что делать правильно, а я уж и policy draft попробую 
накатать.

-- 
Pavlov Konstantin,
ALT Linux Team,
VideoLAN Team,
jid: thresh@altlinux.org

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2006-12-16 12:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-13 13:50 ` [devel] [Sisyphus-cybertalk] net-snmp soname change Pavlov Konstantin
2006-12-13 14:39   ` Dmitry V. Levin
2006-12-14  5:02   ` [devel] механизмы пересборки Ildar Mulyukov
2006-12-15 15:51   ` [devel] [Sisyphus-cybertalk] net-snmp soname change Денис Смирнов
2006-12-15 18:10     ` [devel] net-snmp soname change [SONAME CHANGE POLICY?] Pavlov Konstantin
2006-12-16  8:57       ` Денис Смирнов
2006-12-16 12:04         ` Michael Shigorin
2006-12-16 12:36         ` Pavlov Konstantin [this message]
2006-12-16 16:18           ` Aleksey Avdeev
2006-12-16 19:15             ` Pavlov Konstantin
2006-12-16 21:18             ` Денис Смирнов
2006-12-16 16:44           ` Денис Смирнов
2006-12-18 10:08             ` Led
2006-12-18 17:53               ` Pavlov Konstantin
2006-12-18 19:01                 ` Dmitry V. Levin
2006-12-22  0:26               ` Денис Смирнов
2006-12-20  6:19         ` Ildar Mulyukov
2006-12-22  0:24           ` Денис Смирнов
2006-12-16 10:28     ` [devel] [Sisyphus-cybertalk] net-snmp soname change Sergey Y. Afonin
2006-12-16 10:53       ` Денис Смирнов
2006-12-16 20:31   ` Alexey Tourbin
2006-12-17 12:03     ` Pavlov Konstantin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200612161536.42513.thresh@altlinux.ru \
    --to=thresh@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git