FreeBSD Bugzilla – Attachment 80407 Details for
Bug 115342
[PATCH] sysutils/py-bcfg2: FreeBSD fixes and startup script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-bcfg2.patch
py-bcfg2.patch (text/plain), 1.76 KB, created by
lerik
on 2007-08-09 08:00:10 UTC
(
hide
)
Description:
py-bcfg2.patch
Filename:
MIME Type:
Creator:
lerik
Created:
2007-08-09 08:00:10 UTC
Size:
1.76 KB
patch
obsolete
>diff -ruN py-bcfg2/Makefile py-bcfg2.old/Makefile >--- py-bcfg2/Makefile Tue Aug 7 09:29:39 2007 >+++ py-bcfg2.old/Makefile Mon Aug 6 11:49:50 2007 >@@ -7,7 +7,6 @@ > > PORTNAME= bcfg2 > PORTVERSION= 0.9.4 >-PORTREVISION= 1 > CATEGORIES= sysutils > MASTER_SITES= ftp://ftp.mcs.anl.gov/pub/bcfg/ \ > http://mirror.opensysadmin.com/bcfg/ >@@ -23,10 +22,6 @@ > USE_PYTHON= yes > USE_PYDISTUTILS= yes > >-USE_RC_SUBR= bcfg2 >-SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} >- >- > MAN1= bcfg2.1 > MAN5= bcfg2.conf.5 > MAN8= bcfg2-admin.8 bcfg2-build-reports.8 bcfg2-repo-validate.8 bcfg2-server.8 bcfg2-info.8 >@@ -35,10 +30,6 @@ > > post-patch: > @${REINPLACE_CMD} -e 's|share/man|man|g' ${WRKSRC}/setup.py >-.for f in bcfg2 bcfg2-admin bcfg2-build-reports bcfg2-info bcfg2-repo-validate bcfg2-server bcfg2-ping-sweep bcfg2-query >- @${REINPLACE_CMD} -e 's|/etc/bcfg2.conf|${PREFIX}/etc/bcfg2.conf|g' ${WRKSRC}/src/sbin/$f >-.endfor >- @${RM} ${WRKSRC}/src/sbin/*.bak > > .if !defined(NOPORTDOCS) > post-install: >diff -ruN py-bcfg2/files/bcfg2.in py-bcfg2.old/files/bcfg2.in >--- py-bcfg2/files/bcfg2.in Tue Aug 7 09:51:30 2007 >+++ py-bcfg2.old/files/bcfg2.in Thu Jan 1 01:00:00 1970 >@@ -1,30 +0,0 @@ >-#!/bin/sh >-# >-# $FreeBSD$ >-# >-# PROVIDE: bcfg2 >-# REQUIRE: LOGIN >-# KEYWORD: shutdown >-# >-# Add the following lines to /etc/rc.conf to enable bcfg2-server: >-# bcfg2_enable (bool): Set it to "YES" to enable bcfg2. >-# Default is "NO". >-# bcfg2_flags (str): Flags passed to bcfg2 on startup. >-# Default is "". >- >-. %%RC_SUBR%% >- >-name="bcfg2" >-rcvar=${name}_enable >- >-load_rc_config $name >- >-: ${bcfg2_enable="NO"} >-: ${bcfg2_pidfile="/var/run/$name.pid"} >-: ${bcfg2_flags="-D ${bcfg2_pidfile}"} >- >-pidfile=${bcfg2_pidfile} >-command=%%PREFIX%%/bin/${name}-server >-command_interpreter=%%PYTHON_CMD%% >- >-run_rc_command "$1"
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 115342
: 80407