ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Поиск зависимостей
Date: Wed, 19 Sep 2007 12:32:08 +0400
Message-ID: <20070919083208.GZ5297@solemn.turbinal> (raw)
In-Reply-To: <46F0DC8A.1080407@tangramltd.com>

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

On Wed, Sep 19, 2007 at 11:23:38AM +0300, Slava Dubrovskiy wrote:
> Alexey Tourbin пишет:
> > On Wed, Sep 19, 2007 at 10:52:52AM +0300, Slava Dubrovskiy wrote:
> >   
> >> Есть набор скриптов расположенных в /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

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

  reply	other threads:[~2007-09-19  8:32 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 [this message]
2007-09-19  8:53       ` Slava Dubrovskiy
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=20070919083208.GZ5297@solemn.turbinal \
    --to=at@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