From: Alexey Tourbin <at@altlinux.ru>
To: devel@altlinux.ru
Subject: [devel] Re: net-snmp
Date: Fri, 12 Dec 2003 20:30:37 +0300
Message-ID: <20031212173037.GQ18450@julia.office.altlinux.ru> (raw)
In-Reply-To: <20031210121301.GM27405@julia.office.altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 1775 bytes --]
On Wed, Dec 10, 2003 at 03:13:01PM +0300, Alexey Tourbin wrote:
> > > Этот модуль теперь входит в net-snmp bundle и не распространяется
> > > через CPAN. Так что он должен собираться из самого net-snmp.
> > > Попробую сейчас этим заняться.
> > есть ли какие новости?
>
> Нет. :(
Появились новости. Технически это нужно собирать так, как это есть в
прилагаемом патче. Фактически оно заваливается на тестах, т.е.
признается, что не работает.
Кто-нибудь может посмотреть, что там по существу не работает? Я в SNMP
плохо разбираюсь. И у меня локальная сеть периодически отваливается. :)
И ещё вопрос: откуда взялся perlmodules.patch?
PS: pushd и popd -- это bashism'ы, как и &>.
--- net-snmp.spec- 2003-11-27 13:31:18 +0000
+++ net-snmp.spec 2003-12-12 17:02:59 +0000
@@ -151,6 +151,14 @@ package installed.
%make
+# the order matters!
+for d in default_store SNMP ASN OID AnyData_SNMP agent manager; do
+ pushd perl/$d
+ export PERL5LIB="$PERL5LIB:$PWD/blib/lib:$PWD/blib/arch"
+ %perl_vendor_build --NET_SNMP_CONFIG=../../net-snmp-config --NET_SNMP_IN_SOURCE=true
+ popd
+done
+
%install
%makeinstall INSTALL='$(LIBTOOL) --mode=install /usr/bin/install -c' \
includedir=$RPM_BUILD_ROOT%_includedir/%name \
@@ -166,11 +174,18 @@ package installed.
# Remove tkmib.
%__rm -fv $RPM_BUILD_ROOT%_bindir/tkmib
+for d in default_store SNMP ASN OID AnyData_SNMP agent manager; do
+ pushd perl/$d
+ %perl_vendor_install
+ popd
+done
+chrpath -d $RPM_BUILD_ROOT%perl_vedor_autolib/*/*.so
+
%post -n lib%name -p /sbin/ldconfig
%postun -n lib%name -p /sbin/ldconfig
%post
-/usr/sbin/useradd -r -d /dev/null -s /dev/null -n snmp &> /dev/null ||:
+/usr/sbin/useradd -r -d /dev/null -s /dev/null -n snmp >/dev/null 2>&1 ||:
%post_service snmpd
%preun
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next parent reply other threads:[~2003-12-12 17:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-12 17:30 ` Alexey Tourbin [this message]
2003-12-15 8:50 ` [devel] bashisms in specs (was: net-snmp) Michael Shigorin
2003-12-16 16:36 ` [devel] Re: net-snmp Alexey Tourbin
2003-12-17 10:23 ` Stanislav Ievlev
2003-12-17 14:34 ` Dmitry V. Levin
2003-12-17 17:29 ` Alexey Tourbin
2003-12-17 17:33 ` Alexey Tourbin
2003-12-17 17:39 ` Dmitry V. Levin
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=20031212173037.GQ18450@julia.office.altlinux.ru \
--to=at@altlinux.ru \
--cc=devel@altlinux.ru \
/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