ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] rpm-build-4.0.4-alt78 beehive_status
@ 2007-09-11 22:16 Alexey Tourbin
  0 siblings, 0 replies; only message in thread
From: Alexey Tourbin @ 2007-09-11 22:16 UTC (permalink / raw)
  To: devel; +Cc: Igor Zubkov

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

> wanpipe-3.1.3-alt1
> 	shell.req: /usr/src/tmp/wanpipe-buildroot/etc/wanpipe/lib/x25_lib.sh: menu_name not found
> 	(skip)
> 	/usr/src/tmp/wanpipe-buildroot/etc/wanpipe/samples/redialer: line 17: syntax error near
> 	unexpected token `newline'
> 	/usr/src/tmp/wanpipe-buildroot/etc/wanpipe/samples/redialer: line 17: `PHONE1=<INSERT
> 	PHONE NUMBER>'
> 	error: /bin/sh failed
> 	error:

Здесь находится неисполняемый /bin/sh скрипт.  Неисполняемые
шелл-скрипты теперь тоже обрабатываются, как и исполняемые (rationale:
невозможно отличить скрипт от библиотеки шелл-функций).

Этот скрипт, по-видимому, является шаблоном.

$ rpmpeek wanpipe-3.1.3-alt1.i586.rpm cat -n ./etc/wanpipe/samples/redialer |grep -C1 -w 17
    16  # and see the function 'callall' below for the dial process.
    17  PHONE1=<INSERT PHONE NUMBER>
    18  
$

Вообще странно, что существует каталог /etc/wanpipe/samples и в нём
лежит какой-то скрипт-шаблон.  Думаю, что если всё же очень хочется
так делать, то можно исправить номер телефона на какой-нибудь 555-555.
Или заквотить: '<INSERT PHONE NUMBER>'.

Другой вариант -- явно игнорировать зависимости:
%add_findreq_skiplist /etc/wanpipe/samples/*

Для каталога /usr/share/doc/ эта "операция" выполняется автоматически.

Но, кстати, в этом скрипте есть зависимость на /usr/sbin/chat (ppp),
которой нет у самого пакета wanpipe.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-11 22:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-11 22:16 [devel] rpm-build-4.0.4-alt78 beehive_status Alexey Tourbin

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