diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/unison |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/unison')
-rw-r--r-- | net-misc/unison/Manifest | 11 | ||||
-rw-r--r-- | net-misc/unison/metadata.xml | 8 | ||||
-rw-r--r-- | net-misc/unison/unison-2.48.3.ebuild | 81 | ||||
-rw-r--r-- | net-misc/unison/unison-2.48.4.ebuild | 84 |
4 files changed, 184 insertions, 0 deletions
diff --git a/net-misc/unison/Manifest b/net-misc/unison/Manifest new file mode 100644 index 000000000000..086a368e1c6b --- /dev/null +++ b/net-misc/unison/Manifest @@ -0,0 +1,11 @@ +DIST unison-2.48.3-manual.html 278156 SHA256 500d8f83770fc3b07cf443dfb1579281d4379002d51523aa73451e03f6cdbe1a SHA512 50924c624abd86f231ad8cbcfd4e383322a55733108685255df21df6da26d9ad1ac7d4f7d7dcd82faf4696f3f0136c0ff3c8cf5ffda4042f63451f2b7c8e9502 WHIRLPOOL 9a48a23049cd8753ebfd71e2f396107039b1fdc76877a8dc4f229ef8dda6a9481b80156e66c27015c96e7a752dedb2ca7781f42c01a8839ec0361f150910dfcd +DIST unison-2.48.3-manual.pdf 516703 SHA256 cba2946656e04b856d98184b539e382ed85d987d24458a39e156946125f7b578 SHA512 3a16d6e0df6370784f960d37749f56a223c5eaab24ded299f6a61058f7692139239d0d64436d93268b4cbd8031de6139e187aca0beb54345a615e71253bce977 WHIRLPOOL fd57fec2e5a2605bca216bc4ae441ecd122faa26cd5abdfb39ea19ca4f44961691d266e86b702536dd7326b4072718d9c67739d7a264f9b4127330a41aff6823 +DIST unison-2.48.3.tar.gz 1172646 SHA256 f40d3cfbe82078d79328b51acab3e5179f844135260c2f4710525b9b45b15483 SHA512 169b272119b33146e4f770d1fc9a45d8278502a85a4ae02fd5cb94bade667bdd0ee31bef9acf6cf5170368ecfff948ee668ee195ff7e956c4eeaeed6f83d8d0d WHIRLPOOL a903f1f5e996655e3e001f33b959d839d2540d0a5c0584fded7aa483a774d8b07b3e7997357f03426f41ef6505cf3d40dec18616252c02add4a417dfef4c8df4 +DIST unison-2.48.4-manual.html 278110 SHA256 2b5674e2fd7751148784a716ce5a03f8cd0a321c8a3bd4343832ed9b83d2d404 SHA512 b995712cda51d612bd81c89589d872099b3b9c90f7413268b24ab399a1eff7690200980514a834ee3d12bd3c89ef61bb8a29b3970c01433e0c4671d363a96b68 WHIRLPOOL c843519b90faf440e1ef6c2a5cd2e4a64fe7044e76f55be26ca61ff54d8ca0ee5f4c2e9e827df27a2af03351d1532ccb22a36010f0420cd7ee476dc451650e6f +DIST unison-2.48.4-manual.pdf 516093 SHA256 eaf9bf89967eb17c59b98f0a7ba6b6ff260b6c6de73277a633d954ceb42f5f93 SHA512 514da1eda0405416e53b1c8e027d39a803f9030824deccfaf5630aec21c52c6c9ea0d1006461faa8fb26738f4a33eecfe1ae24126fdb7a53ada6b90db270e6c9 WHIRLPOOL a2fd465e13c7d5832684e2ddf194c24d5e4e278ed5c8b53f2e7acac8f4ae2810bf74a3db0674ef73e2a686cf3a66db5b28dbf1320f78b8dc7568ee3cec4cd152 +DIST unison-2.48.4.tar.gz 1200861 SHA256 30aa53cd671d673580104f04be3cf81ac1e20a2e8baaf7274498739d59e99de8 SHA512 c8e7bd2b14edae31e7d08154cdc2dce8173546b6163b9e5f4f2b1c8255792a7645d8449da88d7acfcbf498746481d24d0a3936978969920530a15a16bcbc6024 WHIRLPOOL 73d8637106cf43ab945a026310276f3636867f609e7d4491a80ff4b7dc98d5d737ee56d00987253e98200e13d971d09e41164b40283530df19f681000bf4733e +EBUILD unison-2.48.3.ebuild 2194 SHA256 a6555a1aabf065cfce0101802d7385f8a76589682994e8caa846f60a0c8339f0 SHA512 602cfa6731ff3844c5abdd03b8b4e4e327fc80ac9c1aee7fd8a8292c81f880472748741f09e4ec43ddab71e739036a4f494c0eafd38073a535cd160eb3ef09d7 WHIRLPOOL 6df006c0a6a76bd3551ca6a153cfdb29a512fb9ec5d47623163927638965abb7f0f46395a146cb3412fd776aa356d59d6d8fee3fa893406bf2ad15444d772aaa +EBUILD unison-2.48.4.ebuild 2249 SHA256 a91add94c8ec4135620cbfacd6115e9b17860276a6f7c7581ee628b12fa352c9 SHA512 e3513c2b6bc46df34fb68103b6fb785093ba2b9252a7f0481701de6fd04b5a2d162ef1f66f4f3c9759d82b2c28884501c494a4ff095f28c658ebfee2d08c36ff WHIRLPOOL c852a3501b39a1a850914ab8d31f4a156ca9ba6ba538833e34ae0bac067400431c884ce669c72246588b05013a7a2a866529cdf13ebed0c4ae18f6ac2cd388a3 +MISC ChangeLog 3687 SHA256 1f9c193957af831b7449b5ae18693fc3c77b1649b40f3c68cfec96bf0d5d27bb SHA512 33f8b1bfe50e5985ea2eb55954f67c87f480838b90440733add0bcfc8a78c7aeb654b0064084c99ea75529acb830c21558c47f752f4370cae85a5d78c7617d15 WHIRLPOOL 1a68015e6b2bdfbe155654bb2df94865778eed82a09a10fd2a7878dc77d4b1582d75058807069d7d925d5b581a21b37aad7c2f602c736dff986da6f892b563a1 +MISC ChangeLog-2015 11268 SHA256 d7c0324a2251676c6453a0713a9e00536bc2be8ea0ef0f99cbf392cb03e96de6 SHA512 58044c03a0d728fb0a85b87c2e2b2794151e00699c52d51661b967b52b0b47ad281fcef717af19ade76fd63c80ffc642d3bb54a24665fbbcc72153c46dfe5d16 WHIRLPOOL 069d779860f2d062bf1ec186a9eee52fa77daa17145a7e0715baf6433663d6828c46919d50ad93ad42613a8783173d6fc854459d3b46e7d089182b9dd72d1c2f +MISC metadata.xml 243 SHA256 5e9b58b0b795266f973d066675839499e3a56d7d932d702404a4b91ded8eb26c SHA512 1c5b4b2163017e496999d1f87e5c9c5ac6c11b2e9187450ccfb3df258f34e54d278972f04ee0e8429476c6f87e091a869ac2a28c6e8c8e6d20678c3e74061449 WHIRLPOOL 085df2e84901cbe563c7c1d30d04c229547f15f8ee26ac61d44d07c3f6999f2bbfa4cf309963172fb507cce5450d27598b762c3ccab92351601965c3afc05e3a diff --git a/net-misc/unison/metadata.xml b/net-misc/unison/metadata.xml new file mode 100644 index 000000000000..ffac4d7ebc01 --- /dev/null +++ b/net-misc/unison/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>ml@gentoo.org</email> + <name>Gentoo ML Project</name> +</maintainer> +</pkgmetadata> diff --git a/net-misc/unison/unison-2.48.3.ebuild b/net-misc/unison/unison-2.48.3.ebuild new file mode 100644 index 000000000000..19d3bb695fb9 --- /dev/null +++ b/net-misc/unison/unison-2.48.3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils versionator + +IUSE="gtk doc static debug threads +ocamlopt test" + +DESCRIPTION="Two-way cross-platform file synchronizer" +HOMEPAGE="http://www.cis.upenn.edu/~bcpierce/unison/" +LICENSE="GPL-2" +SLOT="$(get_version_component_range 1-2 ${PV})" +KEYWORDS="amd64 ~arm ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" + +# ocaml version so we are sure it has ocamlopt use flag +DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?] + gtk? ( >=dev-ml/lablgtk-2.2 ) + test? ( || ( dev-util/ctags virtual/emacs ) )" + +RDEPEND="gtk? ( >=dev-ml/lablgtk-2.2 + || ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) ) + !net-misc/unison:0 + app-eselect/eselect-unison" + +#PDEPEND="gtk? ( media-fonts/font-schumacher-misc )" + +SRC_URI="http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz + doc? ( http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf + http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html )" + +src_compile() { + local myconf + + if use threads; then + myconf="$myconf THREADS=true" + fi + + if use static; then + myconf="$myconf STATIC=true" + fi + + if use debug; then + myconf="$myconf DEBUGGING=true" + fi + + if use gtk; then + myconf="$myconf UISTYLE=gtk2" + else + myconf="$myconf UISTYLE=text" + fi + + use ocamlopt || myconf="$myconf NATIVE=false" + + # Discard cflags as it will try to pass them to ocamlc... + emake $myconf CFLAGS="" buildexecutable +} + +src_test() { + emake selftest +} + +src_install () { + # install manually, since it's just too much + # work to force the Makefile to do the right thing. + newbin unison unison-${SLOT} + dodoc BUGS.txt CONTRIB INSTALL NEWS \ + README ROADMAP.txt TODO.txt + + if use doc; then + dohtml "${DISTDIR}/${P}-manual.html" + dodoc "${DISTDIR}/${P}-manual.pdf" + fi + use ocamlopt || export STRIP_MASK="*/bin/*" +} + +pkg_postinst() { + elog "Unison now uses SLOTs, so you can specify servercmd=/usr/bin/unison-${SLOT}" + elog "in your profile files to access exactly this version over ssh." + elog "Or you can use 'eselect unison' to set the version." +} diff --git a/net-misc/unison/unison-2.48.4.ebuild b/net-misc/unison/unison-2.48.4.ebuild new file mode 100644 index 000000000000..3a685747ee20 --- /dev/null +++ b/net-misc/unison/unison-2.48.4.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils versionator + +IUSE="gtk doc static debug threads +ocamlopt test" + +DESCRIPTION="Two-way cross-platform file synchronizer" +HOMEPAGE="https://www.seas.upenn.edu/~bcpierce/unison/" +LICENSE="GPL-2" +SLOT="$(get_version_component_range 1-2 ${PV})" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" + +# ocaml version so we are sure it has ocamlopt use flag +DEPEND="dev-lang/ocaml[ocamlopt?] + gtk? ( dev-ml/lablgtk ) + test? ( || ( dev-util/ctags virtual/emacs ) )" + +RDEPEND="gtk? ( dev-ml/lablgtk + || ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) ) + !net-misc/unison:0 + app-eselect/eselect-unison" + +#PDEPEND="gtk? ( media-fonts/font-schumacher-misc )" + +SRC_URI="https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz + doc? ( https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf + https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html )" +S="${WORKDIR}"/src + +src_compile() { + local myconf + + if use threads; then + myconf="$myconf THREADS=true" + fi + + if use static; then + myconf="$myconf STATIC=true" + fi + + if use debug; then + myconf="$myconf DEBUGGING=true" + fi + + if use gtk; then + myconf="$myconf UISTYLE=gtk2" + else + myconf="$myconf UISTYLE=text" + fi + + use ocamlopt || myconf="$myconf NATIVE=false" + + # Discard cflags as it will try to pass them to ocamlc... + emake $myconf CFLAGS="" buildexecutable +} + +src_test() { + emake selftest +} + +src_install () { + # install manually, since it's just too much + # work to force the Makefile to do the right thing. + newbin unison unison-${SLOT} + dobin unison-fsmonitor + dodoc BUGS.txt CONTRIB INSTALL NEWS \ + README ROADMAP.txt TODO.txt + + if use doc; then + dohtml "${DISTDIR}/${P}-manual.html" + dodoc "${DISTDIR}/${P}-manual.pdf" + fi + use ocamlopt || export STRIP_MASK="*/bin/*" +} + +pkg_postinst() { + elog "Unison now uses SLOTs, so you can specify servercmd=/usr/bin/unison-${SLOT}" + elog "in your profile files to access exactly this version over ssh." + elog "Or you can use 'eselect unison' to set the version." + eselect unison update +} |