# ChangeLog for app-crypt/gnupg
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.270 2007/01/25 20:30:47 eroyf Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.271 2007/01/28 19:04:24 alonbl Exp $
+
+ 28 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> -gnupg-1.4.2.2.ebuild,
+ -gnupg-1.4.4.ebuild, -gnupg-1.4.5.ebuild, -gnupg-1.4.5-r1.ebuild,
+ -gnupg-1.9.20-r3.ebuild:
+ Partial cleanup, per bug#164197
25 Jan 2007; Alexander H. Færøy <eroyf@gentoo.org> gnupg-1.9.21.ebuild:
Stable on MIPS.
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX gnupg-1.4-emptytrustpackets.patch 611 RMD160 b87072acd446cebeb9b837ac6bba21c9c761e0c6 SHA1 5de97cdd26d155132c828db89b28cd37e9f03aad SHA256 d7a2cfed32f0fef29edf0506fc3602473cc2c6369d672571d06bff902c9e0689
MD5 c0b3223dbc599c2da7707cdae2b3683a files/gnupg-1.4-emptytrustpackets.patch 611
RMD160 b87072acd446cebeb9b837ac6bba21c9c761e0c6 files/gnupg-1.4-emptytrustpackets.patch 611
MD5 30c96069403e772fc6bd777d0622dd9f files/gnupg-2.0.1-bsd-make.patch 6960
RMD160 694eaf6b2b12eb6aa5e425ca48fd37064ce371f2 files/gnupg-2.0.1-bsd-make.patch 6960
SHA256 cfac92c65ed1b8efa1927b8194eea62f7e45fadded559028a7072cc0685d29a3 files/gnupg-2.0.1-bsd-make.patch 6960
-DIST gnupg-1.4.0-ecc0.1.6.diff.bz2 16703 RMD160 1d98f70f2f13e96eed4482be9c3646342b46cf4d SHA1 cf868cfc93951b5ee662ef8ce52e66338013a7a8 SHA256 9bb0b4b7b2fdc757410c332fbf6e41049169d5ee67a06f1b347dbd21cd583ce5
-DIST gnupg-1.4.2.2.tar.bz2 3034652 RMD160 cbbf3ffafa51fdf985c2562ecafccd72bc36ea0d SHA1 f5559ddb004e0638f6bd9efe2bac00134c5065ba SHA256 174e7f78c670d76984c4c4bd6077a0b9fec7b4be700b9f3e40c6889b78110c57
DIST gnupg-1.4.4-ecc0.1.6.diff.bz2 16931 RMD160 30af14d212c50c56d7f170b6697a9148d086bb5a SHA1 15831b5d4cbccdca3c005199d510700ee862fbc5 SHA256 023e1da2837a06e9c92785184f31c6ecb31c0a328446100ab2c6dcf819c1f5be
-DIST gnupg-1.4.4.tar.bz2 3047120 RMD160 b3807b3cf4fc577bf071261eff787c481bd4e0ca SHA1 3414d67f22973576f31e354f44859bafbccb7eee SHA256 d2cafed0a8cde831bdc25218d8b26d4aa373e36d0e0ecfccadf4ca810259ee08
DIST gnupg-1.4.5-ecc0.1.6.diff.bz2 16926 RMD160 1f80d5137f47e48bda96dd59506c452a3833e4e4 SHA1 be330df0b9907a151cd2b97659b93e4fa21fe491 SHA256 3263d8bd2bea6807445f9592b705ae4fca6bb89e8483613a53d553947424c51a
DIST gnupg-1.4.5.tar.bz2 3089617 RMD160 f27447b3aec1423ac10c3a5b4745ea3b13c5a5e5 SHA1 553fefe0da5a91108dd9468e381faf9487754f9a SHA256 f30a2679ed6bed71b4af6919cd9b963c896fca64e42eeb0536788cb41b2e1805
DIST gnupg-1.4.6.tar.bz2 3149454 RMD160 c7e7409358aaaaf7f3bb202aa86f6121749b97e3 SHA1 9cbbef5c94f793867ff3ae4941816962311a0563 SHA256 fd5a72418e55669b88076c2a6f11c3a59bf92a2071008567e65ae12b7372008e
-DIST gnupg-1.9.20.tar.bz2 1810059 RMD160 3501de32f1526f64510a77fe3cc0905dd7fc8854 SHA1 557be26c21c114a3b345ce6b177fcb088883f827 SHA256 6272727e5a0e019743e8520a2ff6b42eb4cc89251cb5bbca73dda09cb765487e
DIST gnupg-1.9.21.tar.bz2 1901908 RMD160 f522125f30a29fd2bcacca5894958242946de430 SHA1 f7c9dea1049dfd3da6d66838005def26898d06e2 SHA256 7dfaa7867427dd44ac3277026dec3602626b657d95952b7a5bdeb9e567b5d34c
DIST gnupg-1.9.22.tar.bz2 1908546 RMD160 43b3e8a17d5e116f5fa0c34bc3beaf68250ec3c3 SHA1 10b2a5c256598d9ed25c84d55ea111710b3f8906 SHA256 2e4472e00c14c881ee1f93deddbe91d3c520311839f30d336ca48a51939e45cf
DIST gnupg-1.9.94.tar.bz2 3870728 RMD160 eee1af2d2c5fea01010979a81e426cac2d288192 SHA1 3dae940f596690a047620685ee3148ad4320e666 SHA256 0647fe9599a43019b4afbd0c63dc6f44546b8475890cc36012f353288693d487
DIST gnupg-2.0.0.tar.bz2 3904270 RMD160 739e303f1380ec9cb5c3a248179001700efe6f2e SHA1 c335957368ea88bcb658922e7d3aae7e3ac6896d SHA256 aae6d4ca81787f05ee98ef6b0c27d54e209b06c62553b1ce10a1b4e84b18897f
DIST gnupg-2.0.1.tar.bz2 3923924 RMD160 3b9252b9b8b1ff5c242a3e541adc0a9700e55df1 SHA1 ec84ffb1d2ac013dc0afb5bdf8b9df2c838673e9 SHA256 49949762a4e080379dcca23948442d50488f0d74e04bcba87fc49e19a899b01d
DIST idea.c.gz 5216 RMD160 e35be5a031d10d52341ac5f029d28f811edd908d SHA1 82fded4ec31b97b3b2dd22741880b67cfee40f84 SHA256 309928da34941dff1d6f6687542ff3d58306d85be9e1a9906bc4f9f8e6011844
-EBUILD gnupg-1.4.2.2.ebuild 6750 RMD160 0b7b65f202ae7e9b20c215101cf3f38236d5fc32 SHA1 d43aec092fe3f4e7933fb2593817f145520abf71 SHA256 89b4f9be9cd97b8f67c07d8809fe52f179dff74b7b71af241701b2cac87175d9
-MD5 5a2dc9c4b08a7519830f18222edde087 gnupg-1.4.2.2.ebuild 6750
-RMD160 0b7b65f202ae7e9b20c215101cf3f38236d5fc32 gnupg-1.4.2.2.ebuild 6750
-SHA256 89b4f9be9cd97b8f67c07d8809fe52f179dff74b7b71af241701b2cac87175d9 gnupg-1.4.2.2.ebuild 6750
-EBUILD gnupg-1.4.4.ebuild 6351 RMD160 5f5ee33af91aefdeb16fff0333a9d5350b12bc30 SHA1 c44580a3eb53ed83bef057590090ac82580a7357 SHA256 68c26e07f2e77edf01ab0e17f20d90d024e6509f82c755baf578fa5603182793
-MD5 1cf62e40b27f53f29b7838dc55f6a170 gnupg-1.4.4.ebuild 6351
-RMD160 5f5ee33af91aefdeb16fff0333a9d5350b12bc30 gnupg-1.4.4.ebuild 6351
-SHA256 68c26e07f2e77edf01ab0e17f20d90d024e6509f82c755baf578fa5603182793 gnupg-1.4.4.ebuild 6351
-EBUILD gnupg-1.4.5-r1.ebuild 5695 RMD160 80bdf2cc2ce96d3ff3c55af0cda2440f60dcc2d8 SHA1 6717d9705b976638c0c997ab74f06edfb1bb14fb SHA256 08d967e6704b28313f3a2901f010ceae81d1e33df5501d30c51fa469d311187b
-MD5 3ff4f51d274ecd83b422287bb8f9e99d gnupg-1.4.5-r1.ebuild 5695
-RMD160 80bdf2cc2ce96d3ff3c55af0cda2440f60dcc2d8 gnupg-1.4.5-r1.ebuild 5695
-SHA256 08d967e6704b28313f3a2901f010ceae81d1e33df5501d30c51fa469d311187b gnupg-1.4.5-r1.ebuild 5695
EBUILD gnupg-1.4.5-r2.ebuild 5989 RMD160 bd31e4304b6b8746dabc17a5c721f991da6c4ebc SHA1 c6c71f8966b9fa6a5e2f4be6bbf17e5f32777c21 SHA256 a67740ddceb8070e22228c60a781fb48329ab3eb20dc4acb179124929013f9fe
MD5 935b15b17f1c232e742d0f5bd3c8f5cf gnupg-1.4.5-r2.ebuild 5989
RMD160 bd31e4304b6b8746dabc17a5c721f991da6c4ebc gnupg-1.4.5-r2.ebuild 5989
SHA256 a67740ddceb8070e22228c60a781fb48329ab3eb20dc4acb179124929013f9fe gnupg-1.4.5-r2.ebuild 5989
-EBUILD gnupg-1.4.5.ebuild 6280 RMD160 27828ff7458cc6cd54f7abbe7124d04aefa6bc1f SHA1 f2fa89fbef494814ae0801acbe1bc9f06fdde00e SHA256 38435fd307f1fce3bf18cd70be5266309ff1a16f72b00c7365ccfb39aaffa9f5
-MD5 02493bb0d81c718e671245fdfd4eb4da gnupg-1.4.5.ebuild 6280
-RMD160 27828ff7458cc6cd54f7abbe7124d04aefa6bc1f gnupg-1.4.5.ebuild 6280
-SHA256 38435fd307f1fce3bf18cd70be5266309ff1a16f72b00c7365ccfb39aaffa9f5 gnupg-1.4.5.ebuild 6280
EBUILD gnupg-1.4.6.ebuild 5847 RMD160 e5662231ddc22f1fad985a29d92926782cef23d4 SHA1 c53d21d82d7f166478302b96cfc9d01c105c6e39 SHA256 1930b5a9bf1f11390198e33c22c44aa7f033c4fa2c22fee730ea8f30d4279320
MD5 b4b626250ccaebda93e37cec4e8249f9 gnupg-1.4.6.ebuild 5847
RMD160 e5662231ddc22f1fad985a29d92926782cef23d4 gnupg-1.4.6.ebuild 5847
SHA256 1930b5a9bf1f11390198e33c22c44aa7f033c4fa2c22fee730ea8f30d4279320 gnupg-1.4.6.ebuild 5847
-EBUILD gnupg-1.9.20-r3.ebuild 2811 RMD160 6ff1964751776cff20e0f29995ad361bb3e6c789 SHA1 a31825d1436ea986a5e6f4729c21cedff1020e22 SHA256 6e170f4b9e9993641cc4f3f75537d4c9058b9a8ce2ddb09165a7efd85a9cd262
-MD5 84304e00faa0473fa88e8cc8aa3b9d54 gnupg-1.9.20-r3.ebuild 2811
-RMD160 6ff1964751776cff20e0f29995ad361bb3e6c789 gnupg-1.9.20-r3.ebuild 2811
-SHA256 6e170f4b9e9993641cc4f3f75537d4c9058b9a8ce2ddb09165a7efd85a9cd262 gnupg-1.9.20-r3.ebuild 2811
EBUILD gnupg-1.9.21-r1.ebuild 2595 RMD160 1678ea534abf668e15360d70e048800292a273f7 SHA1 f6755ec0ab9cd673e582913e1b5961178fa9ae77 SHA256 c2d4f0adf52702dfba75219be03fe5fbe09341342298de275b41ae1fd45a6d6d
MD5 5fcb2a0f59c566a48622d9c0cc64a078 gnupg-1.9.21-r1.ebuild 2595
RMD160 1678ea534abf668e15360d70e048800292a273f7 gnupg-1.9.21-r1.ebuild 2595
MD5 3a9806610a9a92067b4cc68f56bcb09c gnupg-2.0.1.ebuild 2372
RMD160 59454bf9fbd791580892ae03dbd7bffa8cc5c9fa gnupg-2.0.1.ebuild 2372
SHA256 c17f8c88a028ae39ee153406ac5ec78fcddfffbcce2d56d372e41c0489ec9eb0 gnupg-2.0.1.ebuild 2372
-MISC ChangeLog 41990 RMD160 de9279d3a21a16e2be82ee0242b66e56590422d5 SHA1 b18d881316d8edb9b29b46fcb91589557e4f1c4b SHA256 8b4356a06fdc54fe14d13dc3b51c937a5dd1ab09c0ffea07e6a314d4a9ef7582
-MD5 781f717e86c9a7623813f0badb8a0f80 ChangeLog 41990
-RMD160 de9279d3a21a16e2be82ee0242b66e56590422d5 ChangeLog 41990
-SHA256 8b4356a06fdc54fe14d13dc3b51c937a5dd1ab09c0ffea07e6a314d4a9ef7582 ChangeLog 41990
+MISC ChangeLog 42192 RMD160 0cabaa67eba07c9ac1c908e2d82e6a51597f0ab3 SHA1 b871188bd492c651e295d2185c8cbbe2fe364f0c SHA256 f3269b580004430ddf8885c48edbf322d3b61248868da11132bace479316825d
+MD5 00461bc76aa7492dbc8dcf66b5c3e2f8 ChangeLog 42192
+RMD160 0cabaa67eba07c9ac1c908e2d82e6a51597f0ab3 ChangeLog 42192
+SHA256 f3269b580004430ddf8885c48edbf322d3b61248868da11132bace479316825d ChangeLog 42192
MISC metadata.xml 481 RMD160 d5c4e2fc7b94966795cc4c039d850302d8552448 SHA1 13cb529b83ba9feaad91f1d033d6c33d1eafbd25 SHA256 d88eadc2c75a18f57dcd38f20aa72ee7c79504f62bcab3f7dea60651ccd4b672
MD5 b507ee36c7487372de42cc9dab034370 metadata.xml 481
RMD160 d5c4e2fc7b94966795cc4c039d850302d8552448 metadata.xml 481
SHA256 d88eadc2c75a18f57dcd38f20aa72ee7c79504f62bcab3f7dea60651ccd4b672 metadata.xml 481
-MD5 bc94c18c95c8b0e7f438a7f8bae67ee9 files/digest-gnupg-1.4.2.2 714
-RMD160 d63d0eb7227af8515715b2f16756d3289bc2cadd files/digest-gnupg-1.4.2.2 714
-SHA256 25fa4aa5eaea9962a865c2e6b0f123972c0111ee0999060b3aca8a17f087328f files/digest-gnupg-1.4.2.2 714
-MD5 015c1f3fa570f190ba5c8e7d2da977cf files/digest-gnupg-1.4.4 708
-RMD160 9fc25fbc123c91aef099c7b427c66296ea3ede11 files/digest-gnupg-1.4.4 708
-SHA256 5122660ca270163601e13f1bef65ae7c02c413f4540aff26ff4931974c3fad27 files/digest-gnupg-1.4.4 708
-MD5 8f18ae380f06f5dd90d7992982200d25 files/digest-gnupg-1.4.5 708
-RMD160 bd8c14fcd3786d851d9a77b0a9aec639de6a5c23 files/digest-gnupg-1.4.5 708
-SHA256 d8f3903fe059e480b38d1602fd9efa409019129dfc9362acfe3e363375b9f90d files/digest-gnupg-1.4.5 708
-MD5 8f18ae380f06f5dd90d7992982200d25 files/digest-gnupg-1.4.5-r1 708
-RMD160 bd8c14fcd3786d851d9a77b0a9aec639de6a5c23 files/digest-gnupg-1.4.5-r1 708
-SHA256 d8f3903fe059e480b38d1602fd9efa409019129dfc9362acfe3e363375b9f90d files/digest-gnupg-1.4.5-r1 708
MD5 8f18ae380f06f5dd90d7992982200d25 files/digest-gnupg-1.4.5-r2 708
RMD160 bd8c14fcd3786d851d9a77b0a9aec639de6a5c23 files/digest-gnupg-1.4.5-r2 708
SHA256 d8f3903fe059e480b38d1602fd9efa409019129dfc9362acfe3e363375b9f90d files/digest-gnupg-1.4.5-r2 708
MD5 5c3fa7ed67452d1f8d07729de1dbf3d3 files/digest-gnupg-1.4.6 708
RMD160 851f04c7257989afb7d059f3a8eed38ec7b89487 files/digest-gnupg-1.4.6 708
SHA256 923e5f60f1905c9a960016e5cfcc8e6979710c867e40c5b0fb2f22adf3931fad files/digest-gnupg-1.4.6 708
-MD5 b5311626934af7a07b0760601cc3db45 files/digest-gnupg-1.9.20-r3 244
-RMD160 2cee39773952b56927ea28d0eb108c517493c002 files/digest-gnupg-1.9.20-r3 244
-SHA256 a3f14c72acb1d4aa2102ab2ef7d02f12ae0451eef8528fed05a59b07e733d3d0 files/digest-gnupg-1.9.20-r3 244
MD5 3a094d262f7870e0d3148bf61e353a31 files/digest-gnupg-1.9.21 244
RMD160 85a121d64713e41d718ffaafc308776d580c0b9f files/digest-gnupg-1.9.21 244
SHA256 c07e9079f783809952704276a2cc8cded8ee07fa0a1f803d3cd5257fc9e62f76 files/digest-gnupg-1.9.21 244
MD5 973de8c9666fa149d0e9ea04d8490f2d files/digest-gnupg-2.0.1-r2 241
RMD160 24b2ba2a4d33e0f2b910169e8b093caca64d1256 files/digest-gnupg-2.0.1-r2 241
SHA256 bd68ceadd1c0dcb85124b859d63408bcf8f9676d4b95ba345e5f41550614ec53 files/digest-gnupg-2.0.1-r2 241
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFFuRNc6Xxn2nLwtdQRAmrrAJ9UiEacC9TL5Bov5q79uXUnu9WspgCeND7D
-LaRFKdcyqX64p8eRQzL1/+I=
-=rMtM
------END PGP SIGNATURE-----
+++ /dev/null
-MD5 4e7e9d224879e5a3e01cb2ab4c719559 gnupg-1.4.0-ecc0.1.6.diff.bz2 16703
-RMD160 1d98f70f2f13e96eed4482be9c3646342b46cf4d gnupg-1.4.0-ecc0.1.6.diff.bz2 16703
-SHA256 9bb0b4b7b2fdc757410c332fbf6e41049169d5ee67a06f1b347dbd21cd583ce5 gnupg-1.4.0-ecc0.1.6.diff.bz2 16703
-MD5 c34736eb7cb687f9e5b6d4df48aaf7c8 gnupg-1.4.2.2.tar.bz2 3034652
-RMD160 cbbf3ffafa51fdf985c2562ecafccd72bc36ea0d gnupg-1.4.2.2.tar.bz2 3034652
-SHA256 174e7f78c670d76984c4c4bd6077a0b9fec7b4be700b9f3e40c6889b78110c57 gnupg-1.4.2.2.tar.bz2 3034652
-MD5 9dc3bc086824a8c7a331f35e09a3e57f idea.c.gz 5216
-RMD160 e35be5a031d10d52341ac5f029d28f811edd908d idea.c.gz 5216
-SHA256 309928da34941dff1d6f6687542ff3d58306d85be9e1a9906bc4f9f8e6011844 idea.c.gz 5216
+++ /dev/null
-MD5 0be9a69c1ff363e4ad671860a2b9c14f gnupg-1.4.4-ecc0.1.6.diff.bz2 16931
-RMD160 30af14d212c50c56d7f170b6697a9148d086bb5a gnupg-1.4.4-ecc0.1.6.diff.bz2 16931
-SHA256 023e1da2837a06e9c92785184f31c6ecb31c0a328446100ab2c6dcf819c1f5be gnupg-1.4.4-ecc0.1.6.diff.bz2 16931
-MD5 fab063f2218dee3f9af78dd55b521849 gnupg-1.4.4.tar.bz2 3047120
-RMD160 b3807b3cf4fc577bf071261eff787c481bd4e0ca gnupg-1.4.4.tar.bz2 3047120
-SHA256 d2cafed0a8cde831bdc25218d8b26d4aa373e36d0e0ecfccadf4ca810259ee08 gnupg-1.4.4.tar.bz2 3047120
-MD5 9dc3bc086824a8c7a331f35e09a3e57f idea.c.gz 5216
-RMD160 e35be5a031d10d52341ac5f029d28f811edd908d idea.c.gz 5216
-SHA256 309928da34941dff1d6f6687542ff3d58306d85be9e1a9906bc4f9f8e6011844 idea.c.gz 5216
+++ /dev/null
-MD5 0be9a69c1ff363e4ad671860a2b9c14f gnupg-1.4.4-ecc0.1.6.diff.bz2 16931
-RMD160 30af14d212c50c56d7f170b6697a9148d086bb5a gnupg-1.4.4-ecc0.1.6.diff.bz2 16931
-SHA256 023e1da2837a06e9c92785184f31c6ecb31c0a328446100ab2c6dcf819c1f5be gnupg-1.4.4-ecc0.1.6.diff.bz2 16931
-MD5 811525965b4c0987e6418a7729a6444d gnupg-1.4.5.tar.bz2 3089617
-RMD160 f27447b3aec1423ac10c3a5b4745ea3b13c5a5e5 gnupg-1.4.5.tar.bz2 3089617
-SHA256 f30a2679ed6bed71b4af6919cd9b963c896fca64e42eeb0536788cb41b2e1805 gnupg-1.4.5.tar.bz2 3089617
-MD5 9dc3bc086824a8c7a331f35e09a3e57f idea.c.gz 5216
-RMD160 e35be5a031d10d52341ac5f029d28f811edd908d idea.c.gz 5216
-SHA256 309928da34941dff1d6f6687542ff3d58306d85be9e1a9906bc4f9f8e6011844 idea.c.gz 5216
+++ /dev/null
-MD5 0be9a69c1ff363e4ad671860a2b9c14f gnupg-1.4.4-ecc0.1.6.diff.bz2 16931
-RMD160 30af14d212c50c56d7f170b6697a9148d086bb5a gnupg-1.4.4-ecc0.1.6.diff.bz2 16931
-SHA256 023e1da2837a06e9c92785184f31c6ecb31c0a328446100ab2c6dcf819c1f5be gnupg-1.4.4-ecc0.1.6.diff.bz2 16931
-MD5 811525965b4c0987e6418a7729a6444d gnupg-1.4.5.tar.bz2 3089617
-RMD160 f27447b3aec1423ac10c3a5b4745ea3b13c5a5e5 gnupg-1.4.5.tar.bz2 3089617
-SHA256 f30a2679ed6bed71b4af6919cd9b963c896fca64e42eeb0536788cb41b2e1805 gnupg-1.4.5.tar.bz2 3089617
-MD5 9dc3bc086824a8c7a331f35e09a3e57f idea.c.gz 5216
-RMD160 e35be5a031d10d52341ac5f029d28f811edd908d idea.c.gz 5216
-SHA256 309928da34941dff1d6f6687542ff3d58306d85be9e1a9906bc4f9f8e6011844 idea.c.gz 5216
+++ /dev/null
-MD5 93899203fc0530f03e146d49b65c1e28 gnupg-1.9.20.tar.bz2 1810059
-RMD160 3501de32f1526f64510a77fe3cc0905dd7fc8854 gnupg-1.9.20.tar.bz2 1810059
-SHA256 6272727e5a0e019743e8520a2ff6b42eb4cc89251cb5bbca73dda09cb765487e gnupg-1.9.20.tar.bz2 1810059
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.2.2.ebuild,v 1.20 2007/01/24 17:05:34 genone Exp $
-
-inherit eutils flag-o-matic linux-info
-
-ECCVER=0.1.6
-ECCVER_GNUPG=1.4.0
-
-DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
-HOMEPAGE="http://www.gnupg.org/"
-SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2
- idea? ( ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz )
- ecc? ( http://alumnes.eps.udl.es/%7Ed4372211/src/${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="bzip2 caps curl ecc idea ldap nls readline selinux smartcard static usb zlib X linguas_ru"
-
-COMMON_DEPEND="
- caps? ( sys-libs/libcap )
- ldap? ( net-nds/openldap )
- bzip2? ( app-arch/bzip2 )
- zlib? ( sys-libs/zlib )
- curl? ( net-misc/curl )
- virtual/mta
- readline? ( sys-libs/readline )
- smartcard? ( dev-libs/libusb )
- usb? ( dev-libs/libusb )"
-
-RDEPEND="!static? (
- ${COMMON_DEPEND}
- X? ( || ( media-gfx/xloadimage media-gfx/xli ) )
- )
- selinux? ( sec-policy/selinux-gnupg )
- nls? ( virtual/libintl )"
-
-DEPEND="${COMMON_DEPEND}
- dev-lang/perl
- nls? ( sys-devel/gettext )"
-
-pkg_setup() {
- # fix bug #113474 - no compiled kernel needed now
- if use kernel_linux; then
- get_running_version
- fi
-}
-
-src_unpack() {
- unpack ${A}
-
- # Jari's patch to boost iterated key setup by factor of 128
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.2-jari.patch
-
- if use idea; then
- ewarn "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html"
- mv "${WORKDIR}"/idea.c "${S}"/cipher/idea.c || \
- ewarn "failed to insert IDEA module"
- fi
-
- if use ecc; then
- # this trickery is because the only reject in the 1.4.0 patch is the
- # version number!
- local eccpatch="${WORKDIR}"/${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff
- if [ "${ECCVER_GNUPG}" != "${PV}" ]; then
- einfo "Tweaking PV in ECC patch"
- sed -i "s/ VERSION='${ECCVER_GNUPG}/ VERSION='${PV}/g" $eccpatch
- fi
- EPATCH_OPTS="-p1 -d ${S}" epatch $eccpatch
- fi
-
- # maketest fix
- epatch "${FILESDIR}"/${PN}-1.4.2.2-selftest.patch
-
- # install RU man page in right location
- epatch "${FILESDIR}"/${PN}-1.4.2.2-badruman.patch
-
- cd "${S}"
- # keyserver fix
- epatch "${FILESDIR}"/${PN}-1.4.2-keyserver.patch
-
- epatch "${FILESDIR}"/${PN}-1.4.2-mpicoder.patch
-
- # fix segfault of empty segfault packages - bug 129218
- epatch "${FILESDIR}"/${PN}-1.4-emptytrustpackets.patch
-
- # Fix PIC definitions
- sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c
- sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S
-
- # bug 125697 - sandbox violation with FEATURES=test
- epatch "${FILESDIR}"/${PN}-1.4.2.2-test.patch
-}
-
-src_compile() {
- # Certain sparc32 machines seem to have trouble building correctly with
- # -mcpu enabled. While this is not a gnupg problem, it is a temporary
- # fix until the gcc problem can be tracked down.
- if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then
- filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7
- fi
-
- # 'USE=static' support was requested in #29299
- use static &&append-ldflags -static
-
- # Still needed?
- # Bug #6387, --enable-m-guard causes bus error on sparcs
- use sparc || myconf="${myconf} --enable-m-guard"
-
- append-ldflags $(bindnow-flags)
-
- # configure doesn't trean --disable-asm correctly
- use x86 && myconf="${myconf} --enable-asm"
-
- # fix compile problem on ppc64
- use ppc64 && myconf="${myconf} --disable-asm"
-
- econf \
- $(use_enable ldap) \
- --enable-mailto \
- --enable-hkp \
- --enable-finger \
- $(use_with !zlib included-zlib) \
- $(use_with curl libcurl /usr) \
- $(use_enable nls) \
- $(use_enable bzip2) \
- $(use_enable smartcard card-support) \
- $(use_enable selinux selinux-support) \
- $(use_with caps capabilities) \
- $(use_with readline) \
- $(use_with usb libusb /usr) \
- $(use_enable static) \
- $(use_enable X photo-viewers) \
- --enable-static-rnd=linux \
- --libexecdir=/usr/libexec \
- --enable-sha512 \
- --enable-noexecstack \
- ${myconf} || die
- # this is because it will run some tests directly
- gnupg_fixcheckperms
- emake || die
-}
-
-src_install() {
- gnupg_fixcheckperms
- make DESTDIR="${D}" install || die
-
- # keep the documentation in /usr/share/doc/...
- rm -rf "${D}/usr/share/gnupg/FAQ" "${D}/usr/share/gnupg/faq.html"
-
- dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \
- TODO VERSION doc/{FAQ,HACKING,DETAILS,ChangeLog,OpenPGP,faq.raw}
-
- docinto sgml
- dodoc doc/*.sgml
-
- dohtml doc/faq.html
-
- # install RU documentation in right location
- if use linguas_ru
- then
- cp doc/gpg.ru.1 ${T}/gpg.1
- doman -i18n=ru ${T}/gpg.1
- fi
-}
-
-gnupg_fixcheckperms() {
- # GnuPG does weird things for testing that it build correctly
- # as we as for the additional tests. It WILL fail with perms 770 :-(.
- # See bug #80044
- if has userpriv ${FEATURES}; then
- einfo "Fixing permissions in check directory"
- chown -R portage:portage ${S}/checks
- chmod -R ugo+rw ${S}/checks
- chmod ugo+rw ${S}/checks
- fi
-}
-
-src_test() {
- gnupg_fixcheckperms
- einfo "Running tests"
- emake check
- ret=$?
- if [ $ret -ne 0 ]; then
- die "Some tests failed! Please report to the Gentoo Bugzilla"
- fi
-}
-
-pkg_postinst() {
- if ! use kernel_linux || (! use caps && kernel_is lt 2 6 9); then
- chmod u+s,go-r ${ROOT}/usr/bin/gpg
- elog "gpg is installed suid root to make use of protected memory space"
- elog "This is needed in order to have a secure place to store your"
- elog "passphrases, etc. at runtime but may make some sysadmins nervous."
- else
- chmod u-s,go-r ${ROOT}/usr/bin/gpg
- fi
- echo
- if use idea; then
- elog "IDEA"
- elog "you have compiled ${PN} with support for the IDEA algorithm, this code"
- elog "is distributed under the GPL in countries where it is permitted to do so"
- elog "by law."
- elog
- elog "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html for more information."
- elog
- ewarn "If you are in a country where the IDEA algorithm is patented, you are permitted"
- ewarn "to use it at no cost for 'non revenue generating data transfer between private"
- ewarn "individuals'."
- ewarn
- ewarn "Countries where the patent applies are listed here"
- ewarn "http://www.mediacrypt.com/_contents/10_idea/101030_ea_pi.asp"
- ewarn
- ewarn "Further information and other licenses are availble from http://www.mediacrypt.com/"
- fi
- if use ecc; then
- ewarn
- ewarn "The elliptical curves patch is experimental"
- ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html"
- fi
- if use caps; then
- ewarn
- ewarn "Capabilities code is experimental"
- fi
- elog
- elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg"
- elog
-}
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.4.ebuild,v 1.15 2007/01/24 17:05:34 genone Exp $
-
-inherit eutils flag-o-matic linux-info
-
-ECCVER=0.1.6
-ECCVER_GNUPG=1.4.4
-
-DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
-HOMEPAGE="http://www.gnupg.org/"
-SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2
- idea? ( ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz )
- ecc? ( http://alumnes.eps.udl.es/%7Ed4372211/src/${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="bzip2 curl ecc idea ldap nls readline selinux smartcard static usb zlib X linguas_ru"
-# IUSE+=caps
-
-# caps? ( sys-libs/libcap )
-COMMON_DEPEND="
- ldap? ( net-nds/openldap )
- bzip2? ( app-arch/bzip2 )
- zlib? ( sys-libs/zlib )
- curl? ( net-misc/curl )
- virtual/mta
- readline? ( sys-libs/readline )
- smartcard? ( dev-libs/libusb )
- usb? ( dev-libs/libusb )"
-
-RDEPEND="!static? (
- ${COMMON_DEPEND}
- X? ( || ( media-gfx/xloadimage media-gfx/xli ) )
- )
- selinux? ( sec-policy/selinux-gnupg )
- nls? ( virtual/libintl )"
-
-DEPEND="${COMMON_DEPEND}
- dev-lang/perl
- nls? ( sys-devel/gettext )"
-
-pkg_setup() {
- # fix bug #113474 - no compiled kernel needed now
- if use kernel_linux; then
- get_running_version
- fi
-}
-
-src_unpack() {
- unpack ${A}
-
- # Jari's patch to boost iterated key setup by factor of 128
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.3-jari.patch
-
- if use idea; then
- ewarn "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html"
- mv "${WORKDIR}"/idea.c "${S}"/cipher/idea.c || \
- ewarn "failed to insert IDEA module"
- fi
-
- if use ecc; then
- EPATCH_OPTS="-p1 -d ${S}" epatch ${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff
- fi
-
- # maketest fix
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.3-selftest.patch
-
- # install RU man page in right location
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.3-badruman.patch
-
- # keyserver fix
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.3-keyserver.patch
-
- # Already applied
- # fix segfault of empty segfault packages - bug 129218
- # EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4-emptytrustpackets.patch
-
- cd "${S}"
- # Fix PIC definitions
- sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c
- sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S
-}
-
-src_compile() {
- # Certain sparc32 machines seem to have trouble building correctly with
- # -mcpu enabled. While this is not a gnupg problem, it is a temporary
- # fix until the gcc problem can be tracked down.
- if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then
- filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7
- fi
-
- # 'USE=static' support was requested in #29299
- use static &&append-ldflags -static
-
- append-ldflags $(bindnow-flags)
-
- # fix compile problem on ppc64
- use ppc64 && myconf="${myconf} --disable-asm"
-
- # $(use_with caps capabilities) \
- econf \
- $(use_enable ldap) \
- --enable-mailto \
- --enable-hkp \
- --enable-finger \
- $(use_with !zlib included-zlib) \
- $(use_with curl libcurl /usr) \
- $(use_enable nls) \
- $(use_enable bzip2) \
- $(use_enable smartcard card-support) \
- $(use_enable selinux selinux-support) \
- --disable-capabilities \
- $(use_with readline) \
- $(use_with usb libusb /usr) \
- $(use_enable static) \
- $(use_enable X photo-viewers) \
- --enable-static-rnd=linux \
- --libexecdir=/usr/libexec \
- --enable-noexecstack \
- ${myconf} || die
- # this is because it will run some tests directly
- gnupg_fixcheckperms
- emake || die
-}
-
-src_install() {
- gnupg_fixcheckperms
- make DESTDIR="${D}" install || die
-
- # keep the documentation in /usr/share/doc/...
- rm -rf "${D}/usr/share/gnupg/FAQ" "${D}/usr/share/gnupg/faq.html"
-
- dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \
- TODO VERSION doc/{FAQ,HACKING,DETAILS,ChangeLog,OpenPGP,faq.raw}
-
- docinto sgml
- dodoc doc/*.sgml
-
- dohtml doc/faq.html
-
- exeinto /usr/libexec/gnupg
- doexe tools/make-dns-cert
-
- # install RU documentation in right location
- if use linguas_ru
- then
- cp doc/gpg.ru.1 ${T}/gpg.1
- doman -i18n=ru ${T}/gpg.1
- fi
-}
-
-gnupg_fixcheckperms() {
- # GnuPG does weird things for testing that it build correctly
- # as we as for the additional tests. It WILL fail with perms 770 :-(.
- # See bug #80044
- if has userpriv ${FEATURES}; then
- einfo "Fixing permissions in check directory"
- chown -R portage:portage ${S}/checks
- chmod -R ugo+rw ${S}/checks
- chmod ugo+rw ${S}/checks
- fi
-}
-
-src_test() {
- gnupg_fixcheckperms
- einfo "Running tests"
- emake check
- ret=$?
- if [ $ret -ne 0 ]; then
- die "Some tests failed! Please report to the Gentoo Bugzilla"
- fi
-}
-
-pkg_postinst() {
- #if ! use kernel_linux || (! use caps && kernel_is lt 2 6 9); then
- if ! use kernel_linux || kernel_is lt 2 6 9; then
- chmod u+s,go-r ${ROOT}/usr/bin/gpg
- elog "gpg is installed suid root to make use of protected memory space"
- elog "This is needed in order to have a secure place to store your"
- elog "passphrases, etc. at runtime but may make some sysadmins nervous."
- else
- chmod u-s,go-r ${ROOT}/usr/bin/gpg
- fi
- echo
- if use idea; then
- elog
- elog "IDEA"
- elog "you have compiled ${PN} with support for the IDEA algorithm, this code"
- elog "is distributed under the GPL in countries where it is permitted to do so"
- elog "by law."
- elog
- elog "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html for more information."
- elog
- ewarn "If you are in a country where the IDEA algorithm is patented, you are permitted"
- ewarn "to use it at no cost for 'non revenue generating data transfer between private"
- ewarn "individuals'."
- ewarn
- ewarn "Countries where the patent applies are listed here"
- ewarn "http://www.mediacrypt.com/_contents/10_idea/101030_ea_pi.asp"
- ewarn
- ewarn "Further information and other licenses are availble from http://www.mediacrypt.com/"
- fi
- if use ecc; then
- ewarn
- ewarn "The elliptical curves patch is experimental"
- ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html"
- fi
- #if use caps; then
- # ewarn
- # ewarn "Capabilities code is experimental"
- #fi
- elog
- elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg"
- elog
-}
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.5-r1.ebuild,v 1.3 2007/01/24 17:05:34 genone Exp $
-
-inherit eutils flag-o-matic
-
-ECCVER=0.1.6
-ECCVER_GNUPG=1.4.4
-MY_P=${P/_/}
-
-DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
-HOMEPAGE="http://www.gnupg.org/"
-SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2
- idea? ( ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz )
- ecc? ( http://alumnes.eps.udl.es/%7Ed4372211/src/${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="bzip2 curl ecc idea ldap nls readline selinux smartcard static usb zlib X linguas_ru"
-
-COMMON_DEPEND="
- ldap? ( net-nds/openldap )
- bzip2? ( app-arch/bzip2 )
- zlib? ( sys-libs/zlib )
- curl? ( net-misc/curl )
- virtual/mta
- readline? ( sys-libs/readline )
- smartcard? ( dev-libs/libusb )
- usb? ( dev-libs/libusb )"
-
-RDEPEND="!static? (
- ${COMMON_DEPEND}
- X? ( || ( media-gfx/xloadimage media-gfx/xli ) )
- )
- selinux? ( sec-policy/selinux-gnupg )
- nls? ( virtual/libintl )"
-
-DEPEND="${COMMON_DEPEND}
- dev-lang/perl
- nls? ( sys-devel/gettext )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
-
-
- # Jari's patch to boost iterated key setup by factor of 128
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.3-jari.patch
-
- if use idea; then
- ewarn "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html"
- mv "${WORKDIR}"/idea.c "${S}"/cipher/idea.c || \
- ewarn "failed to insert IDEA module"
- fi
-
- if use ecc; then
- epatch "${FILESDIR}"/${P}-ecc-helper.patch
- EPATCH_OPTS="-p1 -d ${S}" epatch ${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff
- fi
-
- # maketest fix
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.3-selftest.patch
-
- # install RU man page in right location
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.3-badruman.patch
-
- # keyserver fix
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.3-keyserver.patch
-
- cd "${S}"
- # Fix PIC definitions
- sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c
- sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S
-}
-
-src_compile() {
- # Certain sparc32 machines seem to have trouble building correctly with
- # -mcpu enabled. While this is not a gnupg problem, it is a temporary
- # fix until the gcc problem can be tracked down.
- if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then
- filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7
- fi
-
- # 'USE=static' support was requested in #29299
- use static &&append-ldflags -static
-
- append-ldflags $(bindnow-flags)
-
- # fix compile problem on ppc64
- use ppc64 && myconf="${myconf} --disable-asm"
-
- econf \
- $(use_enable ldap) \
- --enable-mailto \
- --enable-hkp \
- --enable-finger \
- $(use_with !zlib included-zlib) \
- $(use_with curl libcurl /usr) \
- $(use_enable nls) \
- $(use_enable bzip2) \
- $(use_enable smartcard card-support) \
- $(use_enable selinux selinux-support) \
- --disable-capabilities \
- $(use_with readline) \
- $(use_with usb libusb /usr) \
- $(use_enable static) \
- $(use_enable X photo-viewers) \
- --enable-static-rnd=linux \
- --libexecdir=/usr/libexec \
- --enable-noexecstack \
- ${myconf} || die
- # this is because it will run some tests directly
- gnupg_fixcheckperms
- emake || die
-}
-
-src_install() {
- gnupg_fixcheckperms
- make DESTDIR="${D}" install || die
-
- # keep the documentation in /usr/share/doc/...
- rm -rf "${D}/usr/share/gnupg/FAQ" "${D}/usr/share/gnupg/faq.html"
-
- dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \
- TODO VERSION doc/{FAQ,HACKING,DETAILS,ChangeLog,OpenPGP,faq.raw}
-
- docinto sgml
- dodoc doc/*.sgml
-
- dohtml doc/faq.html
-
- exeinto /usr/libexec/gnupg
- doexe tools/make-dns-cert
-
- # install RU documentation in right location
- if use linguas_ru
- then
- cp doc/gpg.ru.1 ${T}/gpg.1
- doman -i18n=ru ${T}/gpg.1
- fi
-}
-
-gnupg_fixcheckperms() {
- # GnuPG does weird things for testing that it build correctly
- # as we as for the additional tests. It WILL fail with perms 770 :-(.
- # See bug #80044
- if has userpriv ${FEATURES}; then
- einfo "Fixing permissions in check directory"
- chown -R portage:portage ${S}/checks
- chmod -R ugo+rw ${S}/checks
- chmod ugo+rw ${S}/checks
- fi
-}
-
-src_test() {
- gnupg_fixcheckperms
- einfo "Running tests"
- emake check
- ret=$?
- if [ $ret -ne 0 ]; then
- die "Some tests failed! Please report to the Gentoo Bugzilla"
- fi
-}
-
-pkg_postinst() {
- ewarn "If you are using a non-Linux system, or a kernel older than 2.6.9,"
- ewarn "you MUST make the gpg binary setuid."
- echo
- if use idea; then
- elog
- elog "IDEA"
- elog "you have compiled ${PN} with support for the IDEA algorithm, this code"
- elog "is distributed under the GPL in countries where it is permitted to do so"
- elog "by law."
- elog
- elog "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html for more information."
- elog
- ewarn "If you are in a country where the IDEA algorithm is patented, you are permitted"
- ewarn "to use it at no cost for 'non revenue generating data transfer between private"
- ewarn "individuals'."
- ewarn
- ewarn "Countries where the patent applies are listed here"
- ewarn "http://www.mediacrypt.com/_contents/10_idea/101030_ea_pi.asp"
- ewarn
- ewarn "Further information and other licenses are availble from http://www.mediacrypt.com/"
- fi
- if use ecc; then
- ewarn
- ewarn "The elliptical curves patch is experimental"
- ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html"
- fi
- elog
- elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg"
- elog
-}
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.5.ebuild,v 1.12 2007/01/24 17:05:34 genone Exp $
-
-inherit eutils flag-o-matic linux-info
-
-ECCVER=0.1.6
-ECCVER_GNUPG=1.4.4
-MY_P=${P/_/}
-
-DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
-HOMEPAGE="http://www.gnupg.org/"
-SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2
- idea? ( ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz )
- ecc? ( http://alumnes.eps.udl.es/%7Ed4372211/src/${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="bzip2 curl ecc idea ldap nls readline selinux smartcard static usb zlib X linguas_ru"
-# IUSE+=caps
-
-# caps? ( sys-libs/libcap )
-COMMON_DEPEND="
- ldap? ( net-nds/openldap )
- bzip2? ( app-arch/bzip2 )
- zlib? ( sys-libs/zlib )
- curl? ( net-misc/curl )
- virtual/mta
- readline? ( sys-libs/readline )
- smartcard? ( dev-libs/libusb )
- usb? ( dev-libs/libusb )"
-
-RDEPEND="!static? (
- ${COMMON_DEPEND}
- X? ( || ( media-gfx/xloadimage media-gfx/xli ) )
- )
- selinux? ( sec-policy/selinux-gnupg )
- nls? ( virtual/libintl )"
-
-DEPEND="${COMMON_DEPEND}
- dev-lang/perl
- nls? ( sys-devel/gettext )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- # fix bug #113474 - no compiled kernel needed now
- if use kernel_linux; then
- get_running_version
- fi
-}
-
-src_unpack() {
- unpack ${A}
-
-
- # Jari's patch to boost iterated key setup by factor of 128
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.3-jari.patch
-
- if use idea; then
- ewarn "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html"
- mv "${WORKDIR}"/idea.c "${S}"/cipher/idea.c || \
- ewarn "failed to insert IDEA module"
- fi
-
- if use ecc; then
- epatch "${FILESDIR}"/${P}-ecc-helper.patch
- EPATCH_OPTS="-p1 -d ${S}" epatch ${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff
- fi
-
- # maketest fix
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.3-selftest.patch
-
- # install RU man page in right location
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.3-badruman.patch
-
- # keyserver fix
- EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-1.4.3-keyserver.patch
-
- cd "${S}"
- # Fix PIC definitions
- sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c
- sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S
-}
-
-src_compile() {
- # Certain sparc32 machines seem to have trouble building correctly with
- # -mcpu enabled. While this is not a gnupg problem, it is a temporary
- # fix until the gcc problem can be tracked down.
- if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then
- filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7
- fi
-
- # 'USE=static' support was requested in #29299
- use static &&append-ldflags -static
-
- append-ldflags $(bindnow-flags)
-
- # fix compile problem on ppc64
- use ppc64 && myconf="${myconf} --disable-asm"
-
- # $(use_with caps capabilities) \
- econf \
- $(use_enable ldap) \
- --enable-mailto \
- --enable-hkp \
- --enable-finger \
- $(use_with !zlib included-zlib) \
- $(use_with curl libcurl /usr) \
- $(use_enable nls) \
- $(use_enable bzip2) \
- $(use_enable smartcard card-support) \
- $(use_enable selinux selinux-support) \
- --disable-capabilities \
- $(use_with readline) \
- $(use_with usb libusb /usr) \
- $(use_enable static) \
- $(use_enable X photo-viewers) \
- --enable-static-rnd=linux \
- --libexecdir=/usr/libexec \
- --enable-noexecstack \
- ${myconf} || die
- # this is because it will run some tests directly
- gnupg_fixcheckperms
- emake || die
-}
-
-src_install() {
- gnupg_fixcheckperms
- make DESTDIR="${D}" install || die
-
- # keep the documentation in /usr/share/doc/...
- rm -rf "${D}/usr/share/gnupg/FAQ" "${D}/usr/share/gnupg/faq.html"
-
- dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \
- TODO VERSION doc/{FAQ,HACKING,DETAILS,ChangeLog,OpenPGP,faq.raw}
-
- docinto sgml
- dodoc doc/*.sgml
-
- dohtml doc/faq.html
-
- exeinto /usr/libexec/gnupg
- doexe tools/make-dns-cert
-
- # install RU documentation in right location
- if use linguas_ru
- then
- cp doc/gpg.ru.1 ${T}/gpg.1
- doman -i18n=ru ${T}/gpg.1
- fi
-}
-
-gnupg_fixcheckperms() {
- # GnuPG does weird things for testing that it build correctly
- # as we as for the additional tests. It WILL fail with perms 770 :-(.
- # See bug #80044
- if has userpriv ${FEATURES}; then
- einfo "Fixing permissions in check directory"
- chown -R portage:portage ${S}/checks
- chmod -R ugo+rw ${S}/checks
- chmod ugo+rw ${S}/checks
- fi
-}
-
-src_test() {
- gnupg_fixcheckperms
- einfo "Running tests"
- emake check
- ret=$?
- if [ $ret -ne 0 ]; then
- die "Some tests failed! Please report to the Gentoo Bugzilla"
- fi
-}
-
-pkg_postinst() {
- #if ! use kernel_linux || (! use caps && kernel_is lt 2 6 9); then
- if ! use kernel_linux || kernel_is lt 2 6 9; then
- chmod u+s,go-r ${ROOT}/usr/bin/gpg
- elog "gpg is installed suid root to make use of protected memory space"
- elog "This is needed in order to have a secure place to store your"
- elog "passphrases, etc. at runtime but may make some sysadmins nervous."
- else
- chmod u-s,go-r ${ROOT}/usr/bin/gpg
- fi
- echo
- if use idea; then
- elog
- elog "IDEA"
- elog "you have compiled ${PN} with support for the IDEA algorithm, this code"
- elog "is distributed under the GPL in countries where it is permitted to do so"
- elog "by law."
- elog
- elog "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html for more information."
- elog
- ewarn "If you are in a country where the IDEA algorithm is patented, you are permitted"
- ewarn "to use it at no cost for 'non revenue generating data transfer between private"
- ewarn "individuals'."
- ewarn
- ewarn "Countries where the patent applies are listed here"
- ewarn "http://www.mediacrypt.com/_contents/10_idea/101030_ea_pi.asp"
- ewarn
- ewarn "Further information and other licenses are availble from http://www.mediacrypt.com/"
- ewarn
- fi
- if use ecc; then
- ewarn
- ewarn "The elliptical curves patch is experimental"
- ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html"
- fi
- #if use caps; then
- # ewarn
- # ewarn "Capabilities code is experimental"
- #fi
- elog
- elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg"
- elog
-}
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.9.20-r3.ebuild,v 1.12 2007/01/24 17:05:34 genone Exp $
-
-WANT_AUTOMAKE='latest'
-
-inherit eutils flag-o-matic autotools
-
-DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
-HOMEPAGE="http://www.gnupg.org/"
-SRC_URI="mirror://gnupg/alpha/gnupg/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="1.9"
-KEYWORDS="alpha amd64 arm ~hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="X caps gpg2-experimental ldap nls smartcard selinux"
-
-COMMON_DEPEND="
- dev-lang/perl
- sys-libs/zlib
- virtual/libc
- >=dev-libs/pth-1.3.7
- smartcard? ( >=dev-libs/opensc-0.8.0 )
- >=dev-libs/libgcrypt-1.1.94
- >=dev-libs/libksba-0.9.13
- >=dev-libs/libgpg-error-1.0
- ~dev-libs/libassuan-0.6.10
- ldap? ( net-nds/openldap )
- caps? ( sys-libs/libcap )"
-
-DEPEND="${COMMON_DEPEND}
- nls? ( sys-devel/gettext )"
-
-RDEPEND="${COMMON_DEPEND}
- !app-crypt/gpg-agent
- =app-crypt/gnupg-1.4*
- X? ( || ( media-gfx/xloadimage media-gfx/xli ) )
- virtual/mta
- selinux? ( sec-policy/selinux-gnupg )
- nls? ( virtual/libintl )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- if use smartcard && ! built_with_use dev-libs/opensc pcsc-lite ; then
- sed -i -e 's:OPENSC_LIBS="\$OPENSC_LIBS -lpcsclite -lpthread":OPENSC_LIBS="\$OPENSC_LIBS -lopenct -lpthread":' \
- acinclude.m4 || die "openct patching failed."
- ./autogen.sh
- fi
- sed -i -e 's/PIC/__PIC__/g' intl/relocatable.c || die "PIC patching failed"
-
- epatch "${FILESDIR}/${P}-fbsd.patch"
- epatch "${FILESDIR}/${P}-fbsd-gcc41.patch"
- AT_M4DIR="m4 gl/m4" eautoreconf
-}
-
-src_compile() {
- local myconf=""
-
- if use X; then
- local viewer
- if has_version 'media-gfx/xloadimage'; then
- viewer=/usr/bin/xloadimage
- else
- viewer=/usr/bin/xli
- fi
- myconf="${myconf} --with-photo-viewer=${viewer}"
- else
- myconf="${myconf} --disable-photo-viewers"
- fi
-
- use caps || append-ldflags $(bindnow-flags)
-
- econf \
- --enable-agent \
- --enable-symcryptrun \
- $(use_enable gpg2-experimental gpg) \
- --enable-gpgsm \
- $(use_enable smartcard scdaemon) \
- $(use_enable nls) \
- $(use_enable ldap) \
- $(use_with caps capabilities) \
- ${myconf} \
- || die
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc ChangeLog NEWS README THANKS TODO VERSION
-
- if ! use caps; then
- use gpg2-experimental && fperms u+s,go-r /usr/bin/gpg2
- fperms u+s,go-r /usr/bin/gpg-agent
- fi
-}
-
-pkg_postinst() {
- if ! use caps; then
- elog "gpg is installed suid root to make use of protected memory space"
- elog "This is needed in order to have a secure place to store your"
- elog "passphrases, etc. at runtime but may make some sysadmins nervous."
- fi
- elog
- elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg"
- elog
-}