ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@tangramltd.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Поиск зависимостей
Date: Wed, 19 Sep 2007 11:53:19 +0300
Message-ID: <46F0E37F.10901@tangramltd.com> (raw)
In-Reply-To: <20070919083208.GZ5297@solemn.turbinal>

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

Alexey Tourbin пишет:
>>>> Есть набор скриптов расположенных в /var/www/cgi-bin на перле.
>>>> Нужно определить их зависимости на перловые модули. Собирать их в пакет
>>>> нет необходимости.
>>>> Возможно ли запустить парсер для /var/www/cgi-bin чтобы получить список
>>>> всех используемых модулей?    
>>>>         
>>> В каком формате Вам хочется получить список перловых модулей?  
>>>       
>> А какие возможны варианты? Хотелось бы иметь в виде списка пакетов или в
>> виде  Math::BigInt
>>     
> В общем-то то что дает perl.req это и есть список пакетов.
> Его можно скармливать апту почти что в чистом виде.
>   
Не очень понятно как. Приведите пример, пожалуйста.
>>> Попробуйте /usr/lib/rpm/perl.req .  
>>>       
>> # /usr/lib/rpm/perl.req .
>> /usr/lib/rpm/perl.req: .: No such file or directory
>>     
> Вы хотите немало.  Для отбора перловых файлов есть отдельная программа:
> $ find /var/www/cgi-bin -type f |file -NF$'\t' -f - |/usr/lib/rpm/perl.req.files |/usr/lib/rpm/perl.req
>   
Запустил:
# find /var/www/cgi-bin -type f |file -NF$'\t' -f -
|/usr/lib/rpm/perl.req.files |/usr/lib/rpm/perl.req
/var/www/cgi-bin/printenv syntax OK
/var/www/cgi-bin/video/get_dir_url.pm syntax OK
/var/www/cgi-bin/video/filter_tvc.pm syntax OK
# perl(cgi-lib.pl) at line 9 (depth 3) inside eval SKIP
# perl(easydata.set) at line 12 (depth 3) invalid SKIP
# perl(staff_users.set) at line 14 (depth 3) invalid SKIP
# perl(dblib.pl) at line 15 (depth 3) inside eval SKIP
# perl(edfunc.pl) at line 16 (depth 3) inside eval SKIP
# perl(staff_auth.pm) at line 17 (depth 3) inside eval SKIP
/var/www/cgi-bin/video/staff_adm_login.cgi syntax OK

и т.д. Там где Ok все понятно, а там где "inside eval SKIP" что это значит?

-- 
WBR,
Dubrovskiy Vyacheslav


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3249 bytes --]

  reply	other threads:[~2007-09-19  8:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19  7:52 Slava Dubrovskiy
2007-09-19  8:11 ` Alexey Tourbin
2007-09-19  8:23   ` Slava Dubrovskiy
2007-09-19  8:32     ` Alexey Tourbin
2007-09-19  8:53       ` Slava Dubrovskiy [this message]
2007-09-19  9:13         ` Alexey Tourbin
2007-09-19 19:03           ` Michael Shigorin
2007-09-19 19:18             ` Alexey Tourbin
2007-09-19  9:29         ` Epiphanov Sergei
2007-09-19  9:41           ` Alexey Tourbin
2007-09-19  9:45           ` Slava Dubrovskiy

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=46F0E37F.10901@tangramltd.com \
    --to=slava@tangramltd.com \
    --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