summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-26 20:44:21 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-26 20:44:21 (GMT)
commit0d29973b73419a2baa101234e0f19d3d19bb6de2 (patch)
treeb756edcdae028b298bb344bafb7fa8e3f2682894
parent49aae8b40acb600a58e0202cb83e2f194db47690 (diff)
downloadlinhes_pkgbuild-0d29973b73419a2baa101234e0f19d3d19bb6de2.zip
linhes_pkgbuild-0d29973b73419a2baa101234e0f19d3d19bb6de2.tar.gz
linhes_pkgbuild-0d29973b73419a2baa101234e0f19d3d19bb6de2.tar.bz2
splitting certmaster out from func
-rw-r--r--abs/mv-core/certmaster/PKGBUILD30
-rw-r--r--abs/mv-core/certmaster/certmaster-0.24.tar.gzbin0 -> 43666 bytes
-rw-r--r--abs/mv-core/certmaster/certmaster.conf12
-rw-r--r--abs/mv-core/certmaster/minion.conf8
4 files changed, 50 insertions, 0 deletions
diff --git a/abs/mv-core/certmaster/PKGBUILD b/abs/mv-core/certmaster/PKGBUILD
new file mode 100644
index 0000000..96b8d2c
--- /dev/null
+++ b/abs/mv-core/certmaster/PKGBUILD
@@ -0,0 +1,30 @@
+pkgname=certmaster
+pkgver=0.24
+pkgrel=5
+pkgdesc="certmaster"
+url=""
+license="gpl"
+depends=(pyopenssl)
+makedepends=()
+conflicts=()
+replaces=()
+backup=()
+moddir="pkg/usr/lib/python2.5/site-packages/func/minion/modules/"
+backup=('etc/certmaster/certmaster.conf' 'etc/certmaster/minion.conf')
+
+
+source=($pkgname-$pkgver.tar.gz certmaster.conf minion.conf)
+md5sums=()
+arch=('i686')
+
+build() {
+ cd $startdir/src/$pkgname-${pkgver}
+ python setup.py build
+ python setup.py install --prefix=$startdir/pkg/usr
+ cd $startdir/src
+ install -m755 -D minion.conf $startdir/pkg/etc/certmaster/minion.conf
+ install -m755 -D certmaster.conf $startdir/pkg/etc/certmaster/certmaster.conf
+ mkdir -p $startdir/pkg/var/log/certmaster
+ cd $startdir/pkg
+ find ./ -name "*.pyc" -print | xargs rm -f
+}
diff --git a/abs/mv-core/certmaster/certmaster-0.24.tar.gz b/abs/mv-core/certmaster/certmaster-0.24.tar.gz
new file mode 100644
index 0000000..3cd0667
--- /dev/null
+++ b/abs/mv-core/certmaster/certmaster-0.24.tar.gz
Binary files differ
diff --git a/abs/mv-core/certmaster/certmaster.conf b/abs/mv-core/certmaster/certmaster.conf
new file mode 100644
index 0000000..fabf4d5
--- /dev/null
+++ b/abs/mv-core/certmaster/certmaster.conf
@@ -0,0 +1,12 @@
+# configuration for certmasterd and certmaster-ca
+
+[main]
+autosign = yes
+listen_addr =
+listen_port = 51235
+cadir = /etc/pki/certmaster/ca
+cert_dir = /etc/pki/certmaster
+certroot = /var/lib/certmaster/certmaster/certs
+csrroot = /var/lib/certmaster/certmaster/csrs
+cert_extension = cert
+
diff --git a/abs/mv-core/certmaster/minion.conf b/abs/mv-core/certmaster/minion.conf
new file mode 100644
index 0000000..47c6540
--- /dev/null
+++ b/abs/mv-core/certmaster/minion.conf
@@ -0,0 +1,8 @@
+# configuration for minions
+
+[main]
+certmaster = certmaster
+certmaster_port = 51235
+log_level = DEBUG
+cert_dir = /etc/pki/certmaster
+