diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-08-28 05:40:46 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-08-28 05:40:46 +0200 |
commit | 2f80acd93b4a99b0299bef95b15aa55a64eccb30 (patch) | |
tree | 0111b4748ceb95aa3b69dee4479dc4f17b2e0592 /app-misc/ca-certificates | |
parent | 123285736eada0ef5cb1cdc7b45edaa7787b7829 (diff) | |
download | gentoo-2f80acd93b4a99b0299bef95b15aa55a64eccb30.tar.gz gentoo-2f80acd93b4a99b0299bef95b15aa55a64eccb30.tar.xz |
app-misc/ca-certificates: Remove old
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-misc/ca-certificates')
15 files changed, 0 insertions, 1280 deletions
diff --git a/app-misc/ca-certificates/Manifest b/app-misc/ca-certificates/Manifest index a479f3e79c0..a963113971a 100644 --- a/app-misc/ca-certificates/Manifest +++ b/app-misc/ca-certificates/Manifest @@ -1,13 +1,3 @@ -DIST ca-certificates_20090709_all.deb 154620 SHA256 de1e35997eb39c7ba5713f206aba034ff8ce8aa3aebebfc7eb1823de9968d767 SHA512 2237f03c6794f33e5dde2acc05c04447daf2b8a41fc4182297d971cf4bc1eb2ae1abdf21561fb8fdf9dad27465e63c17b8bd2060d3b270edcfdf22c5c5cb094d WHIRLPOOL 174facc0da0677baae403a0e9234692768d6a6342a1894116561a2c41878850cdc603c3556961641ba743fe347c436adef1d914060b23767549dd40041c4120c -DIST ca-certificates_20110421_all.deb 176778 SHA256 a60a9c0faf1847df4553ce13ffe337412b88dd1b9d502741ac1760204c0bdda3 SHA512 11c9ba3f483cd17ca964f19e6ec394a2239fd74187f57224d7b13d1c0bf5dc55bb6c66217c1dd8273695ff92710617a897f7a40be6e4ec9960276f1bfe6b2bbb WHIRLPOOL 67dee5217526d5abec740f367fe28ce0f823d3c21b99fc988b73e75859e47beb00cb76e3d83572e704c3924e45bd9f6a7c818a1a1b2dd3bf7594864c9d9b2c5f -DIST ca-certificates_20110502+nmu1_all.deb 174242 SHA256 d44284ee9b733b9890a54516f66b68a382ac5fb2c0bdceafed4cf229aa3b05a1 SHA512 2ba33346689d21846632390ad55f2a6102a333cc32019a6e00d85c00970a6f744b4a4d548b68bf9b6369d0cfc2b06009db4b4be4ffafd3629bf05737fdc096d2 WHIRLPOOL 88ffbbc68e1299a2b3cc243e1b17160f9862c469279e8dca03841c45defb238c034c8d81abe811a3d32f9968d7754f6d8c64a697cbcba0c2eb4be9d513d527e9 -DIST ca-certificates_20110502_all.deb 175556 SHA256 fa14c729b48ed58f5c048b8721f09fded9824c1f450a656fb2cc396195935a98 SHA512 12b148987c292320e90b7124bf5d0194a3b7d8f1807b13b05461b18798e6a5346e205b065256d0bbdce7bf13d5db2b9c756b0f5a63a309d9164eff973179a363 WHIRLPOOL 79a8dd9c27f094dbe687d61f41d39c26229a21d02713134c71dd0878927eefcbe325cf801b63caf4421a6c97dd21731dd49862e931cef7a5895734039ad877b2 -DIST ca-certificates_20111025_all.deb 185800 SHA256 7d743b307ab31138176d6da4fff1f4c7f6bd246b42698662894bfb1b74e55647 SHA512 4be682158891110d32e8f065af64c597da09476263fdebb860d08387c873e7839b106b6f9ad6be7acfb4e0eb568274e2196377b4e0bbb61aafaeaecaeef88284 WHIRLPOOL 78568cc1b4f21ef7ca747dd9c60d43a98b15da9236c76ce928d416ad0875bd5ec2a1096d7e0551fada838d6ffbfe30366080f698ea4a35ef4748b9833c1550f8 -DIST ca-certificates_20120212_all.deb 176812 SHA256 7e4277a0a5a0ac42c370a93f986839b4e3ff82646581caa8c5135ad0a41d01d7 SHA512 c22cb3b3472deb7819bae6518b136a5af27e4cb29610b12713908ce7effbe5e39f9f1856efd75d071d70016462e66b34d5800ab061a2b3a213e4f2969330f8f0 WHIRLPOOL 306cbafa408ddb0444d5cb547ff201ca5709527db0ca5f4798db751d8ef8df147ef8ffe382adda3cefadd110197104af9bc8e45a6276a2d7739d59ffccd498c5 -DIST ca-certificates_20120623_all.deb 183022 SHA256 41f719a63b8cace12a6cd69dce3fea9720c2702511205c2bab20c5d05528ede7 SHA512 970478971f545919e15f1af7e774043113fee725c7dba89bff27969814d60e1187219fb7f87e250261c54bc0cb03098b69748c33b625f5e5061df65c6bbe019a WHIRLPOOL 07b693dabae839bde3c31548e11d8cb8b0940de6aa1838eab3834ad3a5206f4a32a3cd7d134c9722ce244ac5ed21c5a222b74899972be9f5ae59876c4b61fc22 -DIST ca-certificates_20121114_all.deb 192630 SHA256 f6991820d1c6431a7db42e92efa51f4058e921bdcc491a906dc1309e9ba35286 SHA512 b2810d1b728c71189100352706fda17c6d87f53b5c6fc2dfb78be13fcfb5758ddd7f5a4bb69742c18241bd05809cbbe67b7a4c179e678b8cf46e277b54d77869 WHIRLPOOL a75ef6c7cbb12ab24070ef7cc016dbd03509dc1cee95634281210fc45bd4a620b5854a76349e060f46f1f0844d774a5f53aeac5c34f73e025b890364b70be1ee -DIST ca-certificates_20130119_all.deb 185428 SHA256 08f8e5a1fab74a365c284ed4e353b4f14596f5ef533fced6395ead81fb3a76f7 SHA512 b93621e578dfa5ea224b3528839ca250fd9470dc28b17dd82e8669d64a631cb62218f1c53ebdb165ea3fffcaa8717210132215b5407ea0185e76ac2a11c0d157 WHIRLPOOL 9cedaba913d90f9f10ce7c97bcd248400b17c4fc3016e2fc3fca81333094f33ce60997da49144763fe86d705c458a273fd1e279a0237a1e855ae8ffe6d1e4c51 -DIST ca-certificates_20130610_all.deb 184342 SHA256 ab20ee409012c980725a6392d71ac0464bb87edd1645221d0eb4ecb32c2e00bd SHA512 6f5f3523d4f70b1a5f2ec45ee36ae2bd706fc713edfdcddab4bafe27c42c2c169f87852abfc7e9daf4d597b633bfcaea08cb0a36ea3a88b770a45c62c134e248 WHIRLPOOL 7dd5e5a0dc0c8a3bc1556aefea5d5544183af68fce234899e56678fcdba4ac988c07f8a76a4f05e4861ed086cc3c1d1c15601d3372bbc4431c8d8e7bb54f1c4a DIST ca-certificates_20130906_all.deb 185064 SHA256 b2326834479192de2298c607bc020715c949cbd4dc5dd6be28a1b3f348eb9b76 SHA512 0410d11843e36fb488698a5ce7e1eda473b91d476c99d8e3bd006705167c9f2ac9a554e7fce1595f3717f1781a1390af345b3e7e4bc1e58c055e0a11321ececa WHIRLPOOL b9cf04b0e080752567a82c8fecffd033d10f19e41c0ecb1e676246947a34d1380002f9860539611dd79b04c47d19f6631a126c5887cff7ee52ff866b36c50109 DIST ca-certificates_20140223.tar.xz 274768 SHA256 815b7cd97200b0d76450bb3e7d9b65997ac494ab6467b17369f65b2ef94bcb0c SHA512 14855eba51f90ab062b53a0d1986889de9ad7db4cb52bd4d764872b7c90eaaee62920543a4670ab45329469f76365d1e902219397b660034689159f13b8668d8 WHIRLPOOL f841d9a5fa2d4b3d46d06a2de947108ccb8bf7f19c99979822e22f043624656e789ba0340657b21a15560fd6593efa4256efc9f317974bdca8088a3647836e49 DIST ca-certificates_20140223_all.deb 190226 SHA256 13cb11144a97d95a8be130e4bcdd6c9ffc3df269bb194699bcd21ca377e01df2 SHA512 003b6fd2301eee3ca2119781ee75a1b195f142678d4570b598c4b93847de23c4f659152f834db1f0c8866767324d02b27807260cf43f6ae16207538fa419aa31 WHIRLPOOL 179a0bcf341e7de07d02f6574850614ef221851379945db00018d25f485cee6c11915322ee370e72321d81464d7d6bb96401b41029b8f7215a68e46971671deb diff --git a/app-misc/ca-certificates/ca-certificates-20090709.ebuild b/app-misc/ca-certificates/ca-certificates-20090709.ebuild deleted file mode 100644 index b5697959766..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20090709.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="" - -DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils" - -S=${WORKDIR} - -src_unpack() { - unpack ${A} - unpack ./data.tar.gz - rm -f control.tar.gz data.tar.gz debian-binary -} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f /etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_install() { - cp -pPR * "${D}"/ || die "installing data failed" - - ( - echo "# Automatically generated by ${CAT}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${D}"/usr/share/ca-certificates - find . -name '*.crt' | sort | cut -b3- - ) > "${D}"/etc/ca-certificates.conf - - mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die - prepalldocs - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ "${ROOT}" = "/" ] ; then - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - update-ca-certificates - fi - - local badcerts=0 - for c in $(find -L "${ROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${ROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/ca-certificates-20110421.ebuild b/app-misc/ca-certificates/ca-certificates-20110421.ebuild deleted file mode 100644 index 1e074c08556..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20110421.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" -IUSE="" - -DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils" - -S=${WORKDIR} - -src_unpack() { - unpack ${A} - unpack ./data.tar.gz - rm -f control.tar.gz data.tar.gz debian-binary -} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f /etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_install() { - cp -pPR * "${D}"/ || die - - ( - echo "# Automatically generated by ${CATEGORY}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${D}"/usr/share/ca-certificates - find . -name '*.crt' | sort | cut -b3- - ) > "${D}"/etc/ca-certificates.conf - - mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die - prepalldocs - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ "${ROOT}" = "/" ] ; then - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - update-ca-certificates - fi - - local c badcerts=0 - for c in $(find -L "${ROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${ROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r1.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r1.ebuild deleted file mode 100644 index a38aae8366f..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20110502-r1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}+nmu1_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="" - -DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils" - -S=${WORKDIR} - -src_unpack() { - unpack ${A} - unpack ./data.tar.gz - rm -f control.tar.gz data.tar.gz debian-binary -} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f /etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_install() { - cp -pPR * "${D}"/ || die - - ( - echo "# Automatically generated by ${CATEGORY}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${D}"/usr/share/ca-certificates - find . -name '*.crt' | sort | cut -b3- - ) > "${D}"/etc/ca-certificates.conf - - mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die - prepalldocs - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ "${ROOT}" = "/" ] ; then - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - update-ca-certificates - fi - - local c badcerts=0 - for c in $(find -L "${ROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${ROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r2.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r2.ebuild deleted file mode 100644 index deb91a980a9..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20110502-r2.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" - -inherit eutils - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}+nmu1_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils - kernel_AIX? ( app-arch/deb2targz )" # platforms like AIX don't have a good ar - -S=${WORKDIR} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_unpack() { - unpack ${A} - unpack ./data.tar.gz - rm -f control.tar.gz data.tar.gz debian-binary -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-20090709-root.patch -} - -src_compile() { - ( - echo "# Automatically generated by ${CATEGORY}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${S}"/usr/share/ca-certificates - find * -name '*.crt' | LC_ALL=C sort - ) > "${S}"/etc/ca-certificates.conf - - sed -i "/^ROOT=""/s:=.*:='${EPREFIX}':" "${S}"/usr/sbin/update-ca-certificates || die - "${S}"/usr/sbin/update-ca-certificates --root "${S}" -} - -src_install() { - mkdir -p "${ED}" - cp -pPR * "${ED}"/ || die - - mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die - prepalldocs - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then - # if the user has local certs, we need to rebuild again - # to include their stuff in the db. - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" - fi - - local c badcerts=0 - for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r3.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r3.ebuild deleted file mode 100644 index 4e47b1e9556..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20110502-r3.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" - -inherit eutils - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}+nmu1_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -# platforms like AIX don't have a good ar -DEPEND="kernel_AIX? ( app-arch/deb2targz )" -# openssl: we run `c_rehash` -# debianutils: we run `run-parts` -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils" - -S=${WORKDIR} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_unpack() { - if [[ -n ${EPREFIX} ]] ; then - # need to perform everything in the offset, #381937 - mkdir -p "./${EPREFIX}" - cd "./${EPREFIX}" || die - fi - unpack ${A} - unpack ./data.tar.gz - rm -f control.tar.gz data.tar.gz debian-binary -} - -src_prepare() { - cd "./${EPREFIX}" || die - epatch "${FILESDIR}"/${PN}-20090709-root.patch - sed -i -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ - usr/sbin/update-ca-certificates || die -} - -src_compile() { - ( - echo "# Automatically generated by ${CATEGORY}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${S}${EPREFIX}"/usr/share/ca-certificates - find * -name '*.crt' | LC_ALL=C sort - ) > "${S}${EPREFIX}"/etc/ca-certificates.conf - - "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" -} - -src_install() { - cp -pPR * "${D}"/ || die - - mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die - prepalldocs - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then - # if the user has local certs, we need to rebuild again - # to include their stuff in the db. - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" - fi - - local c badcerts=0 - for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild deleted file mode 100644 index 3aaa519e4ca..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" - -inherit eutils - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}+nmu1_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -# platforms like AIX don't have a good ar -DEPEND="kernel_AIX? ( app-arch/deb2targz )" -# openssl: we run `c_rehash` -# debianutils: we run `run-parts` -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils" - -S=${WORKDIR} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_unpack() { - if [[ -n ${EPREFIX} ]] ; then - # need to perform everything in the offset, #381937 - mkdir -p "./${EPREFIX}" - cd "./${EPREFIX}" || die - fi - unpack ${A} - unpack ./data.tar.gz - rm -f control.tar.gz data.tar.gz debian-binary -} - -src_prepare() { - cd "./${EPREFIX}" || die - epatch "${FILESDIR}"/${PN}-20110502-root.patch - local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') - sed -i \ - -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ - -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ - usr/sbin/update-ca-certificates || die -} - -src_compile() { - ( - echo "# Automatically generated by ${CATEGORY}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${S}${EPREFIX}"/usr/share/ca-certificates - find * -name '*.crt' | LC_ALL=C sort - ) > "${S}${EPREFIX}"/etc/ca-certificates.conf - - sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die -} - -src_install() { - cp -pPR * "${D}"/ || die - - mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die - prepalldocs - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then - # if the user has local certs, we need to rebuild again - # to include their stuff in the db. - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" - fi - - local c badcerts=0 - for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/ca-certificates-20110502.ebuild b/app-misc/ca-certificates/ca-certificates-20110502.ebuild deleted file mode 100644 index 1e074c08556..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20110502.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" -IUSE="" - -DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils" - -S=${WORKDIR} - -src_unpack() { - unpack ${A} - unpack ./data.tar.gz - rm -f control.tar.gz data.tar.gz debian-binary -} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f /etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_install() { - cp -pPR * "${D}"/ || die - - ( - echo "# Automatically generated by ${CATEGORY}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${D}"/usr/share/ca-certificates - find . -name '*.crt' | sort | cut -b3- - ) > "${D}"/etc/ca-certificates.conf - - mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die - prepalldocs - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ "${ROOT}" = "/" ] ; then - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - update-ca-certificates - fi - - local c badcerts=0 - for c in $(find -L "${ROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${ROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/ca-certificates-20111025.ebuild b/app-misc/ca-certificates/ca-certificates-20111025.ebuild deleted file mode 100644 index 6934f8ccc45..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20111025.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" - -inherit eutils - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -#NMU_PR="1" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -# platforms like AIX don't have a good ar -DEPEND="kernel_AIX? ( app-arch/deb2targz ) - !<sys-apps/portage-2.1.10.41" -# openssl: we run `c_rehash` -# debianutils: we run `run-parts` -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils" - -S=${WORKDIR} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_unpack() { - if [[ -n ${EPREFIX} ]] ; then - # need to perform everything in the offset, #381937 - mkdir -p "./${EPREFIX}" - cd "./${EPREFIX}" || die - fi - unpack ${A} - unpack ./data.tar.gz - rm -f control.tar.gz data.tar.gz debian-binary -} - -src_prepare() { - cd "./${EPREFIX}" || die - epatch "${FILESDIR}"/${PN}-20110502-root.patch - local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') - sed -i \ - -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ - -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ - usr/sbin/update-ca-certificates || die -} - -src_compile() { - ( - echo "# Automatically generated by ${CATEGORY}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${S}${EPREFIX}"/usr/share/ca-certificates - find * -name '*.crt' | LC_ALL=C sort - ) > "${S}${EPREFIX}"/etc/ca-certificates.conf - - sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die -} - -src_install() { - cp -pPR * "${D}"/ || die - - mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die - prepalldocs - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then - # if the user has local certs, we need to rebuild again - # to include their stuff in the db. - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" - fi - - local c badcerts=0 - for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/ca-certificates-20120212.ebuild b/app-misc/ca-certificates/ca-certificates-20120212.ebuild deleted file mode 100644 index 9b55707ce50..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20120212.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" - -inherit eutils - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -#NMU_PR="1" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -# platforms like AIX don't have a good ar -DEPEND="kernel_AIX? ( app-arch/deb2targz ) - !<sys-apps/portage-2.1.10.41" -# openssl: we run `c_rehash` -# debianutils: we run `run-parts` -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils" - -S=${WORKDIR} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_unpack() { - if [[ -n ${EPREFIX} ]] ; then - # need to perform everything in the offset, #381937 - mkdir -p "./${EPREFIX}" - cd "./${EPREFIX}" || die - fi - unpack ${A} - unpack ./data.tar.gz - rm -f control.tar.gz data.tar.gz debian-binary -} - -src_prepare() { - cd "./${EPREFIX}" || die - epatch "${FILESDIR}"/${PN}-20110502-root.patch - local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') - sed -i \ - -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ - -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ - usr/sbin/update-ca-certificates || die -} - -src_compile() { - ( - echo "# Automatically generated by ${CATEGORY}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${S}${EPREFIX}"/usr/share/ca-certificates - find * -name '*.crt' | LC_ALL=C sort - ) > "${S}${EPREFIX}"/etc/ca-certificates.conf - - sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die -} - -src_install() { - cp -pPR * "${D}"/ || die - - mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die - prepalldocs - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then - # if the user has local certs, we need to rebuild again - # to include their stuff in the db. - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" - fi - - local c badcerts=0 - for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/ca-certificates-20120623.ebuild b/app-misc/ca-certificates/ca-certificates-20120623.ebuild deleted file mode 100644 index 9b55707ce50..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20120623.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" - -inherit eutils - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -#NMU_PR="1" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -# platforms like AIX don't have a good ar -DEPEND="kernel_AIX? ( app-arch/deb2targz ) - !<sys-apps/portage-2.1.10.41" -# openssl: we run `c_rehash` -# debianutils: we run `run-parts` -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils" - -S=${WORKDIR} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_unpack() { - if [[ -n ${EPREFIX} ]] ; then - # need to perform everything in the offset, #381937 - mkdir -p "./${EPREFIX}" - cd "./${EPREFIX}" || die - fi - unpack ${A} - unpack ./data.tar.gz - rm -f control.tar.gz data.tar.gz debian-binary -} - -src_prepare() { - cd "./${EPREFIX}" || die - epatch "${FILESDIR}"/${PN}-20110502-root.patch - local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') - sed -i \ - -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ - -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ - usr/sbin/update-ca-certificates || die -} - -src_compile() { - ( - echo "# Automatically generated by ${CATEGORY}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${S}${EPREFIX}"/usr/share/ca-certificates - find * -name '*.crt' | LC_ALL=C sort - ) > "${S}${EPREFIX}"/etc/ca-certificates.conf - - sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die -} - -src_install() { - cp -pPR * "${D}"/ || die - - mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die - prepalldocs - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then - # if the user has local certs, we need to rebuild again - # to include their stuff in the db. - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" - fi - - local c badcerts=0 - for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/ca-certificates-20121114.ebuild b/app-misc/ca-certificates/ca-certificates-20121114.ebuild deleted file mode 100644 index 6c0e2c46f19..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20121114.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" - -inherit eutils - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -#NMU_PR="1" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -# platforms like AIX don't have a good ar -DEPEND="kernel_AIX? ( app-arch/deb2targz ) - !<sys-apps/portage-2.1.10.41" -# openssl: we run `c_rehash` -# debianutils: we run `run-parts` -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils" - -S=${WORKDIR} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_unpack() { - if [[ -n ${EPREFIX} ]] ; then - # need to perform everything in the offset, #381937 - mkdir -p "./${EPREFIX}" - cd "./${EPREFIX}" || die - fi - unpack ${A} - unpack ./data.tar.gz - rm -f control.tar.gz data.tar.gz debian-binary -} - -src_prepare() { - cd "./${EPREFIX}" || die - epatch "${FILESDIR}"/${PN}-20110502-root.patch - local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') - sed -i \ - -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ - -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ - usr/sbin/update-ca-certificates || die -} - -src_compile() { - ( - echo "# Automatically generated by ${CATEGORY}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${S}${EPREFIX}"/usr/share/ca-certificates - find * -name '*.crt' | LC_ALL=C sort - ) > "${S}${EPREFIX}"/etc/ca-certificates.conf - - sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die -} - -src_install() { - cp -pPR * "${D}"/ || die - - mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die - prepalldocs - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then - # if the user has local certs, we need to rebuild again - # to include their stuff in the db. - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" - fi - - local c badcerts=0 - for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/ca-certificates-20130119.ebuild b/app-misc/ca-certificates/ca-certificates-20130119.ebuild deleted file mode 100644 index 8e6e4f18b3c..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20130119.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" - -inherit eutils unpacker - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -#NMU_PR="1" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -# platforms like AIX don't have a good ar -DEPEND="kernel_AIX? ( app-arch/deb2targz ) - !<sys-apps/portage-2.1.10.41" -# openssl: we run `c_rehash` -# debianutils: we run `run-parts` -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils" - -S=${WORKDIR} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_unpack() { - if [[ -n ${EPREFIX} ]] ; then - # need to perform everything in the offset, #381937 - mkdir -p "./${EPREFIX}" - cd "./${EPREFIX}" || die - fi - unpack_deb ${A} -} - -src_prepare() { - cd "./${EPREFIX}" || die - epatch "${FILESDIR}"/${PN}-20110502-root.patch - local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') - sed -i \ - -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ - -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ - usr/sbin/update-ca-certificates || die -} - -src_compile() { - ( - echo "# Automatically generated by ${CATEGORY}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${S}${EPREFIX}"/usr/share/ca-certificates - find * -name '*.crt' | LC_ALL=C sort - ) > "${S}${EPREFIX}"/etc/ca-certificates.conf - - sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die -} - -src_install() { - cp -pPR . "${D}"/ || die - - mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die - prepalldocs - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then - # if the user has local certs, we need to rebuild again - # to include their stuff in the db. - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" - fi - - local c badcerts=0 - for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/ca-certificates-20130610.ebuild b/app-misc/ca-certificates/ca-certificates-20130610.ebuild deleted file mode 100644 index 8142937e118..00000000000 --- a/app-misc/ca-certificates/ca-certificates-20130610.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -inherit eutils unpacker - -DESCRIPTION="Common CA Certificates PEM files" -HOMEPAGE="http://packages.debian.org/sid/ca-certificates" -#NMU_PR="1" -SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="" - -# platforms like AIX don't have a good ar -DEPEND="kernel_AIX? ( app-arch/deb2targz ) - !<sys-apps/portage-2.1.10.41" -# openssl: we run `c_rehash` -# debianutils: we run `run-parts` -RDEPEND="${DEPEND} - dev-libs/openssl - sys-apps/debianutils" - -S=${WORKDIR} - -pkg_setup() { - # For the conversion to having it in CONFIG_PROTECT_MASK, - # we need to tell users about it once manually first. - [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ - || ewarn "You should run update-ca-certificates manually after etc-update" -} - -src_unpack() { - if [[ -n ${EPREFIX} ]] ; then - # need to perform everything in the offset, #381937 - mkdir -p "./${EPREFIX}" - cd "./${EPREFIX}" || die - fi - unpack_deb ${A} -} - -src_prepare() { - cd "./${EPREFIX}" || die - epatch "${FILESDIR}"/${PN}-20110502-root.patch - local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') - sed -i \ - -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ - -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ - usr/sbin/update-ca-certificates || die -} - -src_compile() { - ( - echo "# Automatically generated by ${CATEGORY}/${PF}" - echo "# $(date -u)" - echo "# Do not edit." - cd "${S}${EPREFIX}"/usr/share/ca-certificates - find * -name '*.crt' | LC_ALL=C sort - ) > "${S}${EPREFIX}"/etc/ca-certificates.conf - - sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die -} - -src_install() { - cp -pPR . "${D}"/ || die - - mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die - - echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates - doenvd 98ca-certificates -} - -pkg_postinst() { - if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then - # if the user has local certs, we need to rebuild again - # to include their stuff in the db. - # However it's too overzealous when the user has custom certs in place. - # --fresh is to clean up dangling symlinks - "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" - fi - - local c badcerts=0 - for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do - ewarn "Broken symlink for a certificate at $c" - badcerts=1 - done - if [ $badcerts -eq 1 ]; then - ewarn "You MUST remove the above broken symlinks" - ewarn "Otherwise any SSL validation that use the directory may fail!" - ewarn "To batch-remove them, run:" - ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" - fi -} diff --git a/app-misc/ca-certificates/files/ca-certificates-20090709-root.patch b/app-misc/ca-certificates/files/ca-certificates-20090709-root.patch deleted file mode 100644 index 72a4ba1a6dd..00000000000 --- a/app-misc/ca-certificates/files/ca-certificates-20090709-root.patch +++ /dev/null @@ -1,107 +0,0 @@ ---- a/usr/sbin/update-ca-certificates -+++ b/usr/sbin/update-ca-certificates -@@ -23,6 +23,7 @@ - - verbose=0 - fresh=0 -+ROOT="" - while [ $# -gt 0 ]; - do - case $1 in -@@ -30,6 +31,9 @@ - verbose=1;; - --fresh|-f) - fresh=1;; -+ --root|-r) -+ ROOT=$(readlink -f "$2") -+ shift;; - --help|-h|*) -- echo "$0: [--verbose] [--fresh]" -+ echo "$0: [--verbose] [--fresh] [--root <dir>]" - exit;; -@@ -37,11 +41,11 @@ - shift - done - --CERTSCONF=/etc/ca-certificates.conf --CERTSDIR=/usr/share/ca-certificates --LOCALCERTSDIR=/usr/local/share/ca-certificates -+CERTSCONF="$ROOT/etc/ca-certificates.conf" -+CERTSDIR="$ROOT/usr/share/ca-certificates" -+LOCALCERTSDIR="$ROOT/usr/local/share/ca-certificates" - CERTBUNDLE=ca-certificates.crt --ETCCERTSDIR=/etc/ssl/certs -+ETCCERTSDIR="$ROOT/etc/ssl/certs" - - cleanup() { - rm -f "$TEMPBUNDLE" -@@ -66,7 +70,7 @@ - -e 's/,/_/g').pem" - if ! test -e "$PEM" || [ "$(readlink "$PEM")" != "$CERT" ] - then -- ln -sf "$CERT" "$PEM" -+ ln -sf "${CERT#$ROOT}" "$PEM" - echo +$PEM >> "$ADDED" - fi - cat "$CERT" >> "$TEMPBUNDLE" -@@ -78,22 +82,22 @@ - if test -L "$PEM" - then - rm -f "$PEM" -- echo -$PEM >> "$REMOVED" -+ echo "-$PEM" >> "$REMOVED" - fi - } - --cd $ETCCERTSDIR -+cd "$ETCCERTSDIR" - if [ "$fresh" = 1 ]; then - echo -n "Clearing symlinks in $ETCCERTSDIR..." - find . -type l -print | while read symlink - do -- case $(readlink $symlink) in -- $CERTSDIR*) rm -f $symlink;; -+ case $(readlink "$symlink") in -+ "$CERTSDIR"*) rm -f "$symlink";; - esac - done - find . -type l -print | while read symlink - do -- test -f $symlink || rm -f $symlink -+ test -f "$symlink" || rm -f "$symlink" - done - echo "done." - fi -@@ -102,12 +106,12 @@ - - # Handle certificates that should be removed. This is an explicit act - # by prefixing lines in the configuration files with exclamation marks (!). --sed -n -e '/^$/d' -e 's/^!//p' $CERTSCONF | while read crt -+sed -n -e '/^$/d' -e 's/^!//p' "$CERTSCONF" | while read crt - do - remove "$CERTSDIR/$crt" - done - --sed -e '/^$/d' -e '/^#/d' -e '/^!/d' $CERTSCONF | while read crt -+sed -e '/^$/d' -e '/^#/d' -e '/^!/d' "$CERTSCONF" | while read crt - do - if ! test -f "$CERTSDIR/$crt" - then -@@ -146,14 +150,14 @@ - - echo "$ADDED_CNT added, $REMOVED_CNT removed; done." - --HOOKSDIR=/etc/ca-certificates/update.d -+HOOKSDIR="$ROOT/etc/ca-certificates/update.d" - echo -n "Running hooks in $HOOKSDIR...." - VERBOSE_ARG= - [ "$verbose" = 0 ] || VERBOSE_ARG=--verbose --eval run-parts $VERBOSE_ARG --test -- $HOOKSDIR | while read hook -+eval run-parts $VERBOSE_ARG --test -- \""$HOOKSDIR"\" | while read hook - do - ( cat $ADDED -- cat $REMOVED ) | $hook || echo E: $hook exited with code $?. -+ cat $REMOVED ) | "$hook" || echo E: "$hook" exited with code $?. - done - echo "done." - |