mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
42a7222c78
- Update MAINTAINER e-mail address PR: ports/142428 Submitted by: Alex Deiter <alex.deiter@gmail.com> (maintainer)
33 lines
1.1 KiB
Python
33 lines
1.1 KiB
Python
--- binlsrv.py.orig 2007-09-28 19:29:12.000000000 +0400
|
|
+++ binlsrv.py 2010-01-07 18:50:47.218704824 +0300
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env python
|
|
+#! @PYTHON_CMD@
|
|
# -*- Mode: Python; tab-width: 4 -*-
|
|
#
|
|
# Boot Information Negotiation Layer - OpenSource Implementation
|
|
@@ -40,7 +40,7 @@
|
|
[--pid pidfile] [devlist.cache]
|
|
-h, --help : show this help
|
|
-d, --daemon : daemonize, unix only [false]
|
|
--l, --logfile= : logfile when used in daemon mode [/var/log/binlsrv.log]
|
|
+-l, --logfile= : logfile when used in daemon mode [@LOG_FILE@]
|
|
-a, --address= : ip address to bind to [all interfaces]
|
|
-p, --port= : port to bind to [4011]
|
|
--pid= : pid file to use instead of the default
|
|
@@ -1015,11 +1015,11 @@
|
|
## Defaults
|
|
global pidfile, s
|
|
daemon = False
|
|
- logfile = '/var/log/binlsrv.log'
|
|
+ logfile = '@LOG_FILE@'
|
|
address = ''
|
|
port = 4011
|
|
- devfile = 'devlist.cache'
|
|
- pidfile = '/var/run/binlsrv.pid'
|
|
+ devfile = '@DEVLIST_CACHE@'
|
|
+ pidfile = '@PID_FILE@'
|
|
|
|
## Parse command line arguments
|
|
shortopts = 'hdl:a:p:'
|