FreeBSD Bugzilla – Attachment 106622 Details for
Bug 147261
[NEW PORT] sysutils/ckl: A command line tool for noting when something was changed on a machine
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
ckl.txt
ckl.txt (text/plain), 3.55 KB, created by
Tomaž Muraus
on 2010-06-02 18:51:02 UTC
(
hide
)
Description:
ckl.txt
Filename:
MIME Type:
Creator:
Tomaž Muraus
Created:
2010-06-02 18:51:02 UTC
Size:
3.55 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: ># ># ckl ># ckl/pkg-descr ># ckl/distinfo ># ckl/pkg-plist ># ckl/Makefile ># ckl/files ># ckl/files/patch-src-conf.c ># ckl/files/cloudkick.conf.example ># >echo c - ckl >mkdir -p ckl > /dev/null 2>&1 >echo x - ckl/pkg-descr >sed 's/^X//' >ckl/pkg-descr << '939bdd7723aa8662e133f2e9d5936add' >XA command line tool for noting when something was changed on a machine. >XThe contents of the message are POST'ed to another server for logging. >X >XWWW: http://github.com/pquerna/ckl >939bdd7723aa8662e133f2e9d5936add >echo x - ckl/distinfo >sed 's/^X//' >ckl/distinfo << '83d720edac8444a18f8d693425bfd00b' >XMD5 (ckl-0.9.1.tar.bz2) = 010b2e7455a41b5c2380cb0c56954802 >XSHA256 (ckl-0.9.1.tar.bz2) = 270d8de8f08ff0eeb88191527f6991467d3fee10b99c5c9319b5e027e1d3f77f >XSIZE (ckl-0.9.1.tar.bz2) = 297908 >83d720edac8444a18f8d693425bfd00b >echo x - ckl/pkg-plist >sed 's/^X//' >ckl/pkg-plist << '362a87ca86e1d31a889eeb003c57b85d' >Xbin/ckl >Xshare/examples/ckl/cloudkick.conf.example >Xshare/examples/ckl/webapp/ckl.cgi >X@dirrm share/examples/ckl/webapp >X@dirrm share/examples/ckl >362a87ca86e1d31a889eeb003c57b85d >echo x - ckl/Makefile >sed 's/^X//' >ckl/Makefile << 'c6d4cd68b9a79e7fff44a130e337e1e9' >X# New ports collection makefile for: ckl >X# Date created: 1 June 2010 >X# Whom: Tomaž Muraus <kami@k5-storitve.net> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= ckl >XPORTVERSION= 0.9.1 >XCATEGORIES= sysutils net >XMASTER_SITES= http://packages.cloudkick.com/releases/ckl/ >XDISTNAME= ckl-${PORTVERSION} >X >XMAINTAINER= kami@k5-storitve.net >XCOMMENT= A command line tool for noting when something was changed on a machine >X >XUSE_SCONS= yes >XUSE_BZIP2= yes >XLIB_DEPENDS= curl:${PORTSDIR}/ftp/curl >X >XPORTDOCS= CHANGES LICENSE NOTICE README >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/src/ckl ${PREFIX}/bin >X >Xpost-install: >X ${MKDIR} ${EXAMPLESDIR} >X ${MKDIR} ${EXAMPLESDIR}/webapp >X ${INSTALL_DATA} ${PATCHDIR}/cloudkick.conf.example ${EXAMPLESDIR} >X (cd ${WRKSRC}/webapp/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/webapp) >X >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${DOCSDIR} >X.for file in ${PORTDOCS} >X ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} >X.endfor >X.endif >X >X @if [ ! -f ${PREFIX}/etc/cloudkick.conf ]; then \ >X ${TOUCH} ${PREFIX}/etc/cloudkick.conf ; \ >X fi >X >X.include <bsd.port.mk> >c6d4cd68b9a79e7fff44a130e337e1e9 >echo c - ckl/files >mkdir -p ckl/files > /dev/null 2>&1 >echo x - ckl/files/patch-src-conf.c >sed 's/^X//' >ckl/files/patch-src-conf.c << '3f942d8fda99e0d239351ca82e5b50c3' >X*** src/conf.c.orig Sun Jan 24 02:46:27 2010 >X--- src/conf.c Tue Jun 1 07:19:59 2010 >X*************** >X*** 86,96 **** >X { >X int rv; >X FILE *fp; >X >X /* TODO: respect prefix */ >X! fp = fopen("/etc/cloudkick.conf", "r"); >X if (fp == NULL) { >X char buf[2048]; >X const char *home = getenv("HOME"); >X >X if (home == NULL) { >X--- 86,96 ---- >X { >X int rv; >X FILE *fp; >X >X /* TODO: respect prefix */ >X! fp = fopen("/usr/local/etc/cloudkick.conf", "r"); >X if (fp == NULL) { >X char buf[2048]; >X const char *home = getenv("HOME"); >X >X if (home == NULL) { >3f942d8fda99e0d239351ca82e5b50c3 >echo x - ckl/files/cloudkick.conf.example >sed 's/^X//' >ckl/files/cloudkick.conf.example << 'a1f61b8f10fe5f4d1b9d32157e464e19' >Xckl_endpoint http://ckl.example.com/ >Xsecret mySuperSecret >a1f61b8f10fe5f4d1b9d32157e464e19 >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 147261
:
106620
|
106621
| 106622