ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Cc: Igor Zubkov <icesik@altlinux.org>
Subject: Re: [devel] rpm-build-4.0.4-alt78 beehive_status
Date: Wed, 12 Sep 2007 02:16:01 +0400
Message-ID: <20070911221601.GX6051@solemn.turbinal> (raw)

[-- 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 --]

                 reply	other threads:[~2007-09-11 22:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20070911221601.GX6051@solemn.turbinal \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    --cc=icesik@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