FreeBSD Bugzilla – Attachment 162665 Details for
Bug 204145
sysutils/tuptime: Does not require linprocfs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Correct pkg-message.in and install upgrade scripts for older databases.
tuptime-freebsd.diff (text/plain), 2.23 KB, created by
Jeremy Johnston
on 2015-11-01 05:25:55 UTC
(
hide
)
Description:
Correct pkg-message.in and install upgrade scripts for older databases.
Filename:
MIME Type:
Creator:
Jeremy Johnston
Created:
2015-11-01 05:25:55 UTC
Size:
2.23 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 400563) >+++ Makefile (working copy) >@@ -13,7 +13,7 @@ > > RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7:${PORTSDIR}/databases/py-sqlite3 > >-USES= python shebangfix >+USES= python:run shebangfix > > USE_GITHUB= yes > GH_ACCOUNT= rfrail3 >@@ -21,12 +21,17 @@ > NO_BUILD= yes > USE_RC_SUBR= ${PORTNAME} > >-SHEBANG_FILES= latest/tuptime >+SHEBANG_FILES= ${WRKSRC}/latest/tuptime ${WRKSRC}/scripts/* > SUB_FILES= pkg-message > >-PLIST_FILES= bin/tuptime >+PLIST_FILES= bin/tuptime \ >+ ${EXAMPLESDIR}/db-tuptime-migrate.sh \ >+ ${EXAMPLESDIR}/db-tuptime-migrate-3.0-to-3.1.sh > > do-install: >- ${INSTALL_SCRIPT} ${WRKSRC}/latest/tuptime ${STAGEDIR}${PREFIX}/bin >+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} >+ ${INSTALL_SCRIPT} ${WRKSRC}/latest/tuptime ${STAGEDIR}${PREFIX}/bin/tuptime >+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/db-tuptime-migrate.sh ${STAGEDIR}${EXAMPLESDIR}/db-tuptime-migrate.sh >+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/db-tuptime-migrate-3.0-to-3.1.sh ${STAGEDIR}${EXAMPLESDIR}/db-tuptime-migrate-3.0-to-3.1.sh > > .include <bsd.port.mk> >Index: files/pkg-message.in >=================================================================== >--- files/pkg-message.in (revision 400563) >+++ files/pkg-message.in (working copy) >@@ -1,18 +1,12 @@ > ====================================================================== > >-tuptime requires linprocfs(5) mounted under /compat/linux/proc. >+tuptime requires the following be added to /etc/crontab: > >-If you have not done it yet, please do the following: >+ */5 * * * * root %%PREFIX%%/bin/tuptime -x > /dev/null > >- mkdir -p /usr/compat/linux/proc; ln -sf usr/compat /compat >- mount -t linprocfs linprocfs /compat/linux/proc >+If you are upgrading from an older version you need to run the following scripts: > >-To make it permanent, you need the following lines in /etc/fstab: >+ %%EXAMPLESDIR%%/db-tuptime-migrate.sh >+ %%EXAMPLESDIR%%/db-tuptime-migrate-3.0-to-3.1.sh > >- linproc /compat/linux/proc linprocfs rw,late 0 0 >- >-tuptime also requires the following be added to /etc/crontab: >- >- */5 * * * * root test -x %%PREFIX%%/bin/tuptime && %%PREFIX%%/bin/tuptime -x > /dev/null >- > ======================================================================
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
Flags:
jeremy
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 204145
: 162665 |
162666