summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2015-08-13 10:58:53 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2015-08-13 10:58:53 -0700
commita3df9e6d9991fe01b7f758293e02ac79cf00088a (patch)
tree3e9507ac463d198f8740a4a75a342837251568be /sys-auth/palmer-keyring/palmer-keyring-2015.08.04-r1.ebuild
parentClean up old mhng ebuilds (diff)
downloadpalmer-a3df9e6d9991fe01b7f758293e02ac79cf00088a.tar.gz
palmer-a3df9e6d9991fe01b7f758293e02ac79cf00088a.tar.bz2
palmer-a3df9e6d9991fe01b7f758293e02ac79cf00088a.zip
Install my certificate in /usr/local
I guess update-ca-certificates doesn't actually look at /usr/share/ca-certificates, I just had a symlink floating around.
Diffstat (limited to 'sys-auth/palmer-keyring/palmer-keyring-2015.08.04-r1.ebuild')
-rw-r--r--sys-auth/palmer-keyring/palmer-keyring-2015.08.04-r1.ebuild62
1 files changed, 62 insertions, 0 deletions
diff --git a/sys-auth/palmer-keyring/palmer-keyring-2015.08.04-r1.ebuild b/sys-auth/palmer-keyring/palmer-keyring-2015.08.04-r1.ebuild
new file mode 100644
index 0000000..fff0802
--- /dev/null
+++ b/sys-auth/palmer-keyring/palmer-keyring-2015.08.04-r1.ebuild
@@ -0,0 +1,62 @@
+EAPI="4"
+inherit eutils
+
+DESCRIPTION="Ubuntu's distribution keys"
+HOMEPAGE="http://packages.ubuntu.com/precise/misc/ubuntu-keyring"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE=""
+
+RDEPEND="app-misc/ca-certificates"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ mkdir -p ${S}
+}
+
+src_install() {
+ mkdir -p ${ED}/usr/local/share/ca-certificates/dabbelt.com
+ cat >${ED}/usr/local/share/ca-certificates/dabbelt.com/dabbelt_com.crt <<EOF
+-----BEGIN CERTIFICATE-----
+MIIF2zCCA8OgAwIBAgIJAN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