sysutils/rubygem-openvoxserver-ca: New port
Copied from sysutils/rubygem-puppetserver-ca With hat: puppet
This commit is contained in:
@@ -1200,6 +1200,7 @@
|
||||
SUBDIR += rubygem-murder
|
||||
SUBDIR += rubygem-ohai
|
||||
SUBDIR += rubygem-openfact
|
||||
SUBDIR += rubygem-openvoxserver-ca
|
||||
SUBDIR += rubygem-parallel
|
||||
SUBDIR += rubygem-puppet_forge
|
||||
SUBDIR += rubygem-puppetfile-resolver
|
||||
|
||||
23
sysutils/rubygem-openvoxserver-ca/Makefile
Normal file
23
sysutils/rubygem-openvoxserver-ca/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
PORTNAME= openvoxserver-ca
|
||||
PORTVERSION= 3.0.0
|
||||
CATEGORIES= sysutils rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= puppet@FreeBSD.org
|
||||
COMMENT= Ruby CLI tool to interact with the OpenVox Server Certificate Authority
|
||||
WWW= https://github.com/OpenVoxProject/openvoxserver-ca-cli/
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= rubygem-openfact>=5.0.0:sysutils/rubygem-openfact
|
||||
|
||||
USES= gem
|
||||
|
||||
CONFLICTS_INSTALL= rubygem-puppetserver-ca
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PLIST_FILES= bin/puppetserver-ca
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
sysutils/rubygem-openvoxserver-ca/distinfo
Normal file
3
sysutils/rubygem-openvoxserver-ca/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1752683977
|
||||
SHA256 (rubygem/openvoxserver-ca-3.0.0.gem) = 5caf6c4e3cf3d8c166f5cb48f84f5a5e88c5fd6617808d0a984b6a5d7b75fe04
|
||||
SIZE (rubygem/openvoxserver-ca-3.0.0.gem) = 50176
|
||||
@@ -0,0 +1,11 @@
|
||||
--- lib/puppetserver/ca/config/puppet.rb.orig 2020-11-06 21:46:06 UTC
|
||||
+++ lib/puppetserver/ca/config/puppet.rb
|
||||
@@ -97,7 +97,7 @@ module Puppetserver
|
||||
# defaults below
|
||||
base_defaults = [
|
||||
[:confdir, user_specific_puppet_confdir],
|
||||
- [:ssldir,'$confdir/ssl'],
|
||||
+ [:ssldir, '/var/puppet/ssl'],
|
||||
[:certdir, '$ssldir/certs'],
|
||||
[:certname, default_certname],
|
||||
[:server, 'puppet'],
|
||||
@@ -0,0 +1,27 @@
|
||||
--- lib/puppetserver/ca/utils/config.rb.orig 2020-11-28 01:14:43 UTC
|
||||
+++ lib/puppetserver/ca/utils/config.rb
|
||||
@@ -23,7 +23,7 @@ module Puppetserver
|
||||
|
||||
def self.puppet_confdir
|
||||
if running_as_root?
|
||||
- '/etc/puppetlabs/puppet'
|
||||
+ '/usr/local/etc/puppet'
|
||||
else
|
||||
"#{ENV['HOME']}/.puppetlabs/etc/puppet"
|
||||
end
|
||||
@@ -34,11 +34,13 @@ module Puppetserver
|
||||
end
|
||||
|
||||
def self.default_ssldir(confdir = puppet_confdir)
|
||||
- File.join(confdir, 'ssl')
|
||||
+ res = File.join(confdir, 'ssl')
|
||||
+ res = '/var/puppet/ssl' unless File.directory?(res)
|
||||
+ res
|
||||
end
|
||||
|
||||
def self.old_default_cadir(confdir = puppet_confdir)
|
||||
- File.join(confdir, 'ssl', 'ca')
|
||||
+ '/var/puppet/ssl/ca'
|
||||
end
|
||||
|
||||
def self.new_default_cadir(confdir = puppet_confdir)
|
||||
2
sysutils/rubygem-openvoxserver-ca/pkg-descr
Normal file
2
sysutils/rubygem-openvoxserver-ca/pkg-descr
Normal file
@@ -0,0 +1,2 @@
|
||||
This gem provides the functionality behind the OpenVox Server CA interactions.
|
||||
The actual CLI executable lives within the OpenVox Server project.
|
||||
@@ -12,6 +12,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= gem
|
||||
|
||||
CONFLICTS_INSTALL= rubygem-openvoxserver-ca
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PLIST_FILES= bin/puppetserver-ca
|
||||
|
||||
Reference in New Issue
Block a user