Update pkg/README

OK ian@ who prodded for this update
This commit is contained in:
bket 2021-01-03 19:59:15 +00:00
parent 9d02a715d1
commit fedcddff6d
4 changed files with 34 additions and 11 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.11 2020/11/05 05:35:33 bket Exp $ # $OpenBSD: Makefile,v 1.12 2021/01/03 19:59:15 bket Exp $
VER= 2.48.15 VER= 2.48.15
REV= v4 REV= v4
REVISION= 4 REVISION= 5
GH_TAGNAME= v${VER}${REV} GH_TAGNAME= v${VER}${REV}
PKGNAME= unison-${VER}${REV:S/^v/pl/} PKGNAME= unison-${VER}${REV:S/^v/pl/}

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.4 2019/09/22 18:29:54 chrisz Exp $ $OpenBSD: README,v 1.5 2021/01/03 19:59:15 bket Exp $
+----------------------------------------------------------------------- +-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD | Running ${PKGSTEM} on OpenBSD
@ -6,13 +6,24 @@ $OpenBSD: README,v 1.4 2019/09/22 18:29:54 chrisz Exp $
Unison uses native OCaml marshalling in its prococol. This Unison uses native OCaml marshalling in its prococol. This
means that unison might not work when the OCaml versions of means that unison might not work when the OCaml versions of
two instances are out of sync. two instances are out of sync. Assuming that both ends are
One way to work around this limitation of unison is to use OpenBSD and under control by the user, pkg_add(1) can be used
to sync unison and ocaml.
Another way to work around this limitation of unison is to use
the OPAM OCaml package manager to build unison with the same the OPAM OCaml package manager to build unison with the same
version of the OCaml compiler on all machines: version of the OCaml compiler on all machines:
doas pkg_add opam doas pkg_add opam
OPAMROOT=~/opam_unison export OPAMROOT=~/opam_unison
opam init --no-setup --compiler ocaml-base-compiler.4.09.0 opam init --no-setup --compiler ocaml-base-compiler.4.09.0
opam install unison lablgtk # To build without the gui, remove lablgtk opam install unison lablgtk # To build without the gui, remove lablgtk
$(opam var bin)/unison $(opam var bin)/unison
Common issue
=============
Unison sometimes reports chown() failures that are actually
failures to change group ownership. This can occur when a user
does not belong to the specified group and is the owner of the
file, or is not the superuser. Issue can be addressed by setting
the option 'group' to 'false'.

View File

@ -1,5 +1,6 @@
# $OpenBSD: Makefile,v 1.9 2020/11/03 19:45:30 bket Exp $ # $OpenBSD: Makefile,v 1.10 2021/01/03 19:59:15 bket Exp $
GH_TAGNAME= v2.51.3 GH_TAGNAME= v2.51.3
REVISION= 0
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.4 2019/09/22 18:29:54 chrisz Exp $ $OpenBSD: README,v 1.5 2021/01/03 19:59:15 bket Exp $
+----------------------------------------------------------------------- +-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD | Running ${PKGSTEM} on OpenBSD
@ -6,13 +6,24 @@ $OpenBSD: README,v 1.4 2019/09/22 18:29:54 chrisz Exp $
Unison uses native OCaml marshalling in its prococol. This Unison uses native OCaml marshalling in its prococol. This
means that unison might not work when the OCaml versions of means that unison might not work when the OCaml versions of
two instances are out of sync. two instances are out of sync. Assuming that both ends are
One way to work around this limitation of unison is to use OpenBSD and under control by the user, pkg_add(1) can be used
to sync unison and ocaml.
Another way to work around this limitation of unison is to use
the OPAM OCaml package manager to build unison with the same the OPAM OCaml package manager to build unison with the same
version of the OCaml compiler on all machines: version of the OCaml compiler on all machines:
doas pkg_add opam doas pkg_add opam
OPAMROOT=~/opam_unison export OPAMROOT=~/opam_unison
opam init --no-setup --compiler ocaml-base-compiler.4.09.0 opam init --no-setup --compiler ocaml-base-compiler.4.09.0
opam install unison lablgtk # To build without the gui, remove lablgtk opam install unison lablgtk # To build without the gui, remove lablgtk
$(opam var bin)/unison $(opam var bin)/unison
Common issue
=============
Unison sometimes reports chown() failures that are actually
failures to change group ownership. This can occur when a user
does not belong to the specified group and is the owner of the
file, or is not the superuser. Issue can be addressed by setting
the option 'group' to 'false'.