From 0d29973b73419a2baa101234e0f19d3d19bb6de2 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Thu, 26 Feb 2009 14:44:21 -0600 Subject: splitting certmaster out from func --- abs/mv-core/certmaster/PKGBUILD | 30 ++++++++++++++++++++++++++ abs/mv-core/certmaster/certmaster-0.24.tar.gz | Bin 0 -> 43666 bytes abs/mv-core/certmaster/certmaster.conf | 12 +++++++++++ abs/mv-core/certmaster/minion.conf | 8 +++++++ 4 files changed, 50 insertions(+) create mode 100644 abs/mv-core/certmaster/PKGBUILD create mode 100644 abs/mv-core/certmaster/certmaster-0.24.tar.gz create mode 100644 abs/mv-core/certmaster/certmaster.conf create mode 100644 abs/mv-core/certmaster/minion.conf 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 Binary files /dev/null and b/abs/mv-core/certmaster/certmaster-0.24.tar.gz 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 + -- cgit v0.12