FreeBSD Bugzilla – Attachment 162900 Details for
Bug 203374
[NEW PORTS] devel/rubygem-oxidised{-web,-script}: Slightly different approach to RANCID
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
updated rubygem-oxidized packages for oxidized 0.9.0 and slop3
rubygem-oxidized.shar (text/plain), 4.01 KB, created by
Nick Hilliard
on 2015-11-08 14:22:53 UTC
(
hide
)
Description:
updated rubygem-oxidized packages for oxidized 0.9.0 and slop3
Filename:
MIME Type:
Creator:
Nick Hilliard
Created:
2015-11-08 14:22:53 UTC
Size:
4.01 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># rubygem-oxidized ># rubygem-oxidized/pkg-descr ># rubygem-oxidized/distinfo ># rubygem-oxidized/Makefile ># rubygem-oxidized/files ># rubygem-oxidized/files/oxidized.in ># >echo c - rubygem-oxidized >mkdir -p rubygem-oxidized > /dev/null 2>&1 >echo x - rubygem-oxidized/pkg-descr >sed 's/^X//' >rubygem-oxidized/pkg-descr << '4c9c62c399d539a90ab657f8078156ae' >XOxidized is a network device configuration backup tool. It's a rancid >Xreplacement. >X >XWWW: https://github.com/ytti/oxidized >4c9c62c399d539a90ab657f8078156ae >echo x - rubygem-oxidized/distinfo >sed 's/^X//' >rubygem-oxidized/distinfo << '62ebf73c1055453c569e29b1e7d3a26a' >XSHA256 (rubygem/oxidized-0.9.0.gem) = 5766116e9bd359353145c7dae2d8018fa7d525d693eb0a644872207a2efa45d0 >XSIZE (rubygem/oxidized-0.9.0.gem) = 40960 >62ebf73c1055453c569e29b1e7d3a26a >echo x - rubygem-oxidized/Makefile >sed 's/^X//' >rubygem-oxidized/Makefile << '42f929daf7588c05c4719a2fcdba5a1c' >X# Created by: Nick Hilliard <nick@foobar.org> >X# $FreeBSD: $ >X >XPORTNAME= oxidized >XPORTVERSION= 0.9.0 >XCATEGORIES= net-mgmt rubygems >XMASTER_SITES= RG >X >XMAINTAINER= nick@foobar.org >XCOMMENT= Network device configuration backup tool >X >XLICENSE= APACHE20 >X >XRUN_DEPENDS= rubygem-asetus>=0.1:${PORTSDIR}/devel/rubygem-asetus \ >X rubygem-net-ssh>=2.8:${PORTSDIR}/security/rubygem-net-ssh \ >X rubygem-slop3>=3.6:${PORTSDIR}/devel/rubygem-slop3 \ >X rubygem-rugged>=0.21.4:${PORTSDIR}/devel/rubygem-rugged >X >XNO_ARCH= yes >X >XUSE_RC_SUBR= oxidized >X >XUSE_RUBY= yes >XUSE_RUBYGEMS= yes >XRUBYGEM_AUTOPLIST= yes >X >XOXIDIZED_HOME?= /var/db/${PORTNAME} >XOXIDIZED_USER?= ${PORTNAME} >XOXIDIZED_GROUP?=${PORTNAME} >X >X.if ${OXIDIZED_USER} == "oxidized" >XUSERS= oxidized >X.endif >X.if ${OXIDIZED_GROUP} == "oxidized" >XGROUPS= oxidized >X.endif >X >XSUB_LIST+= OXIDIZED_HOME=${OXIDIZED_HOME} \ >X OXIDIZED_USER=${OXIDIZED_USER} \ >X OXIDIZED_GROUP=${OXIDIZED_GROUP} \ >X PREFIX=${PREFIX} >X >XPLIST_FILES= bin/oxidized >X >X.include <bsd.port.mk> >42f929daf7588c05c4719a2fcdba5a1c >echo c - rubygem-oxidized/files >mkdir -p rubygem-oxidized/files > /dev/null 2>&1 >echo x - rubygem-oxidized/files/oxidized.in >sed 's/^X//' >rubygem-oxidized/files/oxidized.in << 'bdd6603a4abbb7598f3d6d83ad6dcea4' >X#!/bin/sh >X >X# $FreeBSD: $ >X# >X# PROVIDE: oxidized >X# REQUIRE: LOGIN >X# KEYWORD: shutdown >X >X# >X# Configuration settings for oxidized in /etc/rc.conf: >X# >X# oxidized_enable (bool): >X# Set to "NO" by default. >X# Set it to "YES" to enable oxidized >X# >X# oxidized_args (str): >X# Extra arguments passed to start command >X# >X# oxidized_home (str) >X# Set to "%%OXIDIZED_HOME%%" by default. >X# Set the OXIDIZED_HOME variable for oxidized process >X# >X# oxidized_user (str): >X# Set to "%%OXIDIZED_USER%%" by default. >X# User to run oxidized as. >X# >X# oxidized_group (str): >X# Set to "%%OXIDIZED_GROUP%%" by default. >X# Group for data file ownership. >X# >X >X. /etc/rc.subr >X >Xname="oxidized" >Xrcvar=oxidized_enable >X >Xload_rc_config "${name}" >X >X: ${oxidized_enable="NO"} >X: ${oxidized_home="%%OXIDIZED_HOME%%"} >X: ${oxidized_args=""} >X: ${oxidized_user="%%OXIDIZED_USER%%"} >X: ${oxidized_group="%%OXIDIZED_GROUP%%"} >X >Xpiddir="/var/run/${name}" >Xpidfile="${piddir}/${name}.pid" >Xcommand="/usr/sbin/daemon" >Xcommand_args="-f -p ${pidfile} %%PREFIX%%/bin/oxidized ${oxidized_args}" >X >Xstart_precmd="oxidized_prestart" >Xstart_cmd="oxidized_start" >Xstop_cmd="oxidized_stop" >X >Xoxidized_prestart() { >X if [ ! -d ${piddir} ]; then >X install -d -o "${oxidized_user}" -g "${oxidized_group}" -m 750 ${piddir} >X fi >X} >X >Xoxidized_start() >X{ >X check_startmsgs && echo "Starting ${name}." >X su -l ${oxidized_user} -c "exec ${command} ${command_args} ${rc_arg}" >X} >X >Xoxidized_stop() >X{ >X [ -f $pidfile ] \ >X && kill -TERM $(cat $pidfile) \ >X || echo ${name} not running? \(check ${pidfile}\) >X} >X >Xrun_rc_command "$1" >bdd6603a4abbb7598f3d6d83ad6dcea4 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 203374
:
161428
|
161429
|
161430
| 162900 |
162901
|
162902