From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 10 Oct 2008 10:22:14 +0400 From: Alexey Tourbin To: ALT Linux Team development discussions Message-ID: <20081010062214.GG6399@altlinux.org> Mail-Followup-To: ALT Linux Team development discussions References: <20081009210722.GA18699@lks.home> <20081010053847.GE6399@altlinux.org> <48EEEE3A.6020005@altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4xmAKYnxoHNXa3WQ" Content-Disposition: inline In-Reply-To: <48EEEE3A.6020005@altlinux.ru> Subject: Re: [devel] =?koi8-r?b?UTog18/Q0s/TIMsg2s7B1M/Lwc0gcnBt?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 06:22:15 -0000 Archived-At: List-Archive: List-Post: --4xmAKYnxoHNXa3WQ Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 10, 2008 at 09:55:06AM +0400, Alexey Gladkov wrote: > Alexey Tourbin wrote: > >=E8=C5=C4=C5=D2 =C4=CF=CC=D6=C5=CE =C3=C5=CC=C9=CB=CF=CD =D0=CF=CD=C5=DD= =C1=D4=D8=D3=D1 =D7=20 > >=D0=C1=CD=D1=D4=D8, =CF=C2=DD=C9=CA =CC=C9=CD=C9=D4 16M. >=20 > =F2=C1=DA =D5=D6 =DA=C1=DB=A3=CC =D2=C1=DA=C7=CF=D7=CF=D2 =D0=D2=CF =DA= =C1=D7=C9=D3=C9=CD=CF=D3=D4=C9.=20 > =E1=CC=C5=CB=D3=C5=CA, =D7=CF=D0=D2=CF=D3 =CB =D4=C5=C2=C5, =D1 =DE=C1=D3= =D4=CF =CE=C1=C2=CC=C0=C4=C1=C0=20 > =D4=C1=CB=D5=C0 =CB=C1=D2=D4=C9=CE=D5: >=20 > $ rpmquery -R firefox |grep /bin/sh > /bin/sh > /bin/sh > /bin/sh >=20 > =D0=CF=CE=D1=D4=CE=CF, =DE=D4=CF =DC=D4=C9 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4= =C9 =C2=C5=D2=D5=D4=D3=D1=20 > =C9=DA-=DA=C1 =D3=CB=D2=C9=D0=D4=CF=D7. >=20 > =F0=CF =C6=C1=CB=D4=D5 =DC=D4=CF Requires(post), Prequires(pre) =C9 =D4.= =C4. =C9=CC=C9 =D5=20 > =CE=C1=D3 =C7=C5=CE=C5=D2=C9=D2=D5=C0=D4=D3=D1 =D0=D2=CF=D3=D4=CF Require= s: /bin/sh ? =F5 =CB=C1=D6=C4=CF=CA =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C9, =CB=D2=CF=CD=C5 %= {REQUIRENAME}, =C5=D3=D4=D8 =C5=DD=A3 %{REQUIREFLAGS}. $ rpmquery --qf '[%{REQUIRENAME}\t%{REQUIREFLAGS}\n]' firefox |fgrep /bin/sh /bin/sh 832 /bin/sh 1344 /bin/sh 2368 $ lib/rpmlib.h: 468 typedef enum rpmsenseFlags_e { 469 RPMSENSE_ANY =3D 0, 470 /*@-enummemuse@*/ 471 RPMSENSE_SERIAL =3D (1 << 0), /*!< @todo Legacy. */ 472 /*@=3Denummemuse@*/ 473 RPMSENSE_LESS =3D (1 << 1), 474 RPMSENSE_GREATER =3D (1 << 2), 475 RPMSENSE_EQUAL =3D (1 << 3), 476 RPMSENSE_PROVIDES =3D (1 << 4), /* only used internally by bu= ilds */ 477 RPMSENSE_CONFLICTS =3D (1 << 5), /* only used internally by bu= ilds */ 478 RPMSENSE_PREREQ =3D (1 << 6), /*!< @todo Legacy. */ 479 RPMSENSE_OBSOLETES =3D (1 << 7), /* only used internally by bu= ilds */ 480 RPMSENSE_INTERP =3D (1 << 8), /*!< Interpreter used by = scriptlet. */ 481 RPMSENSE_SCRIPT_PRE =3D ((1 << 9)|RPMSENSE_PREREQ), /*!< %pre d= ependency. */ 482 RPMSENSE_SCRIPT_POST =3D ((1 << 10)|RPMSENSE_PREREQ), /*!< %pos= t dependency. */ 483 RPMSENSE_SCRIPT_PREUN =3D ((1 << 11)|RPMSENSE_PREREQ), /*!< %pr= eun dependency. */ 484 RPMSENSE_SCRIPT_POSTUN =3D ((1 << 12)|RPMSENSE_PREREQ), /*!< %p= ostun dependency. */ 485 RPMSENSE_SCRIPT_VERIFY =3D (1 << 13), /*!< %verify dependency. = */ 486 RPMSENSE_FIND_REQUIRES =3D (1 << 14), /*!< find-requires genera= ted dependency. */ 487 RPMSENSE_FIND_PROVIDES =3D (1 << 15), /*!< find-provides genera= ted dependency. */ 488 =20 489 RPMSENSE_TRIGGERIN =3D (1 << 16), /*!< %triggerin dependenc= y. */ 490 RPMSENSE_TRIGGERUN =3D (1 << 17), /*!< %triggerun dependenc= y. */ 491 RPMSENSE_TRIGGERPOSTUN =3D (1 << 18), /*!< %triggerpostun depen= dency. */ 492 RPMSENSE_MULTILIB =3D (1 << 19), 493 RPMSENSE_SCRIPT_PREP =3D (1 << 20), /*!< %prep build dependen= cy. */ 494 RPMSENSE_SCRIPT_BUILD =3D (1 << 21), /*!< %build build depende= ncy. */ 495 RPMSENSE_SCRIPT_INSTALL =3D (1 << 22),/*!< %install build depen= dency. */ 496 RPMSENSE_SCRIPT_CLEAN =3D (1 << 23), /*!< %clean build depende= ncy. */ 497 RPMSENSE_RPMLIB =3D ((1 << 24) | RPMSENSE_PREREQ), /*!< rpm= lib(feature) dependency. */ 498 /*@-enummemuse@*/ 499 RPMSENSE_TRIGGERPREIN =3D (1 << 25), /*!< @todo Implement %tri= ggerprein. */ 500 /*@=3Denummemuse@*/ 501 =20 502 /*@-enummemuse@*/ 503 RPMSENSE_KEYRING =3D (1 << 26) 504 /*@=3Denummemuse@*/ 505 } rpmsenseFlags; =F4=CF =C5=D3=D4=D8 =C6=CC=C1=C7=C9 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C5=CA = =D2=C1=D3=DB=C9=C6=D2=CF=D7=D9=D7=C1=C0=D4=D3=D1 =D4=C1=CB: $ perl -le 'printf "%16b\n", shift' 832 1101000000 $ perl -le 'printf "%16b\n", shift' 1344 10101000000 $ perl -le 'printf "%16b\n", shift' 2368 100101000000 $=20 =FC=D4=CF =C2=D5=C4=C5=D4, =D3=CF=CF=D4=D7=C5=D4=D3=D4=D7=C5=CE=CE=CF, RPMSENSE_PREREQ|RPMSENSE_INTERP|RPMSENSE_SCRIPT_PRE, RPMSENSE_PREREQ|RPMSENSE_INTERP|RPMSENSE_SCRIPT_POST, RPMSENSE_PREREQ|RPMSENSE_INTERP|RPMSENSE_SCRIPT_PREUN. =FC=D4=C9 =D4=D2=C9 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C9 =CD=CF=D6=CE=CF =C2= =D9=CC=CF =C2=D9 =D3=C7=D2=D5=D0=D0=C9=D2=CF=D7=C1=D4=D8 =D7 =CF=C4=CE=D5, = =D3 =C6=CC=C1=C7=C1=CD=C9 RPMSENSE_PREREQ|RPMSENSE_INTERP|RPMSENSE_SCRIPT_PRE|RPMSENSE_SCRIPT_POST|RP= MSENSE_SCRIPT_PREUN. =F7 build/reqprov.c =D5=D6=C5 =C5=D3=D4=D8 =CE=C5=CB=CF=D4=CF=D2=C1=D1 =CC= =CF=C7=C9=CB=C1 =D5=C4=C1=CC=C5=CE=C9=D1 =C4=D5=C2=CC=C9=D2=D5=C0=DD=C9=C8= =D3=D1 =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C5=CA, =CE=CF =D3=CC=C9=D1=CE=C9=D1 =D0=CF = =C6=CC=C1=C7=C1=CD =D4=C1=CD =D0=CF=CB=C1 =CE=C5=D4. --4xmAKYnxoHNXa3WQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkju9JYACgkQfBKgtDjnu0ZR2gCeJXsh80u3G44iDvkfpqnCtE/J 7esAn0kTl1vW1w5oSJyiPm8JlN2CKleT =JRpg -----END PGP SIGNATURE----- --4xmAKYnxoHNXa3WQ--