[Bug 211522] [NEW PORT]: net-mgmt/librenms-agent

1 view
Skip to first unread message

bugzilla...@freebsd.org

unread,
Aug 2, 2016, 3:55:52 AM8/2/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211522

Bug ID: 211522
Summary: [NEW PORT]: net-mgmt/librenms-agent
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-p...@FreeBSD.org
Reporter: ki...@oav.net

Created attachment 173184
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173184&action=edit
Librenms-agent port.

This port will install the librenms agent.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-p...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-b...@freebsd.org"

bugzilla...@freebsd.org

unread,
Aug 5, 2016, 3:22:20 PM8/5/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211522

Pawel Pekala <pa...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |pa...@FreeBSD.org

--- Comment #1 from Pawel Pekala <pa...@FreeBSD.org> ---
(In reply to kiwi from comment #0)

Proposed port is not PREFIX safe, it will break if PREFIX!=/usr/local:

X+export MK_CONFDIR="/usr/local/etc/check_mk"

X+ server = /usr/local/bin/check_mk_agent

X+plugdir=/usr/local/lib/check_mk_agent/plugins
X+repodir=/usr/local/lib/check_mk_agent/repo

Xdo-install:
X cd ${STAGEDIR} ; \
X ${MKDIR} usr/local/etc/xinetd.d/ usr/local/lib/check_mk_agent/plugins
usr/local/lib/check_mk_agent/repo usr/local/lib/check_mk_agent/local ; \
X cd ${WRKSRC} ; \
X ${INSTALL_SCRIPT} check_mk_agent_freebsd
${STAGEDIR}/usr/local/bin/check_mk_agent ; \
X ${INSTALL_SCRIPT} mk_enplug ${STAGEDIR}/usr/local/bin/ ; \
X ${INSTALL_SCRIPT} check_mk_xinetd
${STAGEDIR}/usr/local/etc/xinetd.d/check_mk ; \
X ${INSTALL_SCRIPT} snmp/distro ${STAGEDIR}/usr/local/bin ; \
X for agent_local in $$( ${FIND} ./agent-local -type f ! -name README );
do \
X ${INSTALL_SCRIPT} "$$agent_local"
${STAGEDIR}/usr/local/lib/check_mk_agent/repo/ ; \
X done

For details, please see:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-prefix.html
Reply all
Reply to author
Forward
0 new messages