[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/files/, dev-util/artifactory-bin/, profiles/

2023-02-12 Thread Jakov Smolić
commit: 30de2e29401ee94f26cb08780d6ad7ed4f146dca
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 12 10:37:32 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 12 18:33:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30de2e29

dev-util/artifactory-bin: treeclean

Bug: https://bugs.gentoo.org/834501
Signed-off-by: Jakov Smolić  gentoo.org>

 dev-util/artifactory-bin/Manifest  |   1 -
 .../artifactory-bin-6.3.3-r2.ebuild| 110 --
 dev-util/artifactory-bin/files/artifactory.xml |   4 -
 dev-util/artifactory-bin/files/confd   |   5 -
 dev-util/artifactory-bin/files/initd-r3| 165 -
 dev-util/artifactory-bin/files/server.xml  |  17 ---
 dev-util/artifactory-bin/metadata.xml  |   5 -
 profiles/package.mask  |   5 -
 8 files changed, 312 deletions(-)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
deleted file mode 100644
index 2c3ee56d22ec..
--- a/dev-util/artifactory-bin/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST artifactory-6.3.3.zip 98166641 BLAKE2B 
33d760bc0f763ba0d8e091ce5484b3a90df4e57f291ea7a96a69bed13579c3c17af0005f95dbda847b2ab428d7dc36ddbee594d008f6e3badbb04e45c3b5dd89
 SHA512 
12f545d5e66b70e35d8b9967baadcfb503df7457bc48957a80b38d447cc9f024ce8f33b2463da65f5616161906bc64652fdd042446c5e8615e24ecc7f23a527b

diff --git a/dev-util/artifactory-bin/artifactory-bin-6.3.3-r2.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-6.3.3-r2.ebuild
deleted file mode 100644
index 4f84f4602eeb..
--- a/dev-util/artifactory-bin/artifactory-bin-6.3.3-r2.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Using a binary ebuild until a source ebuild is doable.
-# This was previously blocked by two major bugs upstream:
-# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
-# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
-# Upstream now releases source and instructions (yay!), but most of 
artifactory's
-# dependencies are not in portage yet.
-
-EAPI=7
-
-inherit java-pkg-2 systemd
-
-MY_P="${P/-bin}"
-MY_PN="${PN/-bin}"
-MY_PV="${PV/-bin}"
-
-DESCRIPTION="The world's most advanced repository manager for maven"
-HOMEPAGE="http://www.jfrog.org/products.php;
-SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
-S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
-
-LICENSE="AGPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ssl"
-
-DEPEND="
-   acct-group/artifactory
-   acct-user/artifactory
-"
-RDEPEND="
-   ${DEPEND}
-   >=virtual/jre-1.8
-"
-BDEPEND="app-arch/unzip"
-
-limitsdfile=40-${MY_PN}.conf
-
-print_limitsdfile() {
-   printf "# Start of ${limitsdfile} from ${P}\n\n"
-   printf "@${MY_PN}\t-\tnofile\t32000\n"
-   printf "\n# End of ${limitsdfile} from ${P}\n"
-}
-
-src_prepare() {
-   default
-
-   if use ssl ; then
-   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
-   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
-   fi
-
-   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
-   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
-   etc/artifactory.system.properties || die
-
-   # See FIXME in src_install(), this can probably go away,
-   # but catalina.sh may need to be fixed for that:
-   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
-   misc/service/setenv.sh || die
-
-   einfo "Generating ${limitsdfile}"
-   print_limitsdfile > "${S}/${limitsdfile}"
-}
-
-src_install() {
-   local ARTIFACTORY_HOME="/opt/artifactory"
-   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
-
-   insinto ${ARTIFACTORY_HOME}
-   doins -r etc misc tomcat webapps
-
-   dodir /etc/opt/jfrog
-   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
-
-   exeinto ${ARTIFACTORY_HOME}/bin
-   doexe bin/*
-
-   # FIXME: this is called by catalina.sh (it echoes the variables before 
starting
-   # artifactory, as well as makes sure log dir, etc. exists). Those 
directories
-   # could probably be moved to the ebuild and the script removed from 
catalina.sh
-   # without consequence (and quieter starts). Would need to check if 
CATALINA_*
-   # variables are actually used anywhere (from reading code don't appear 
to be
-   # actually needed)
-   exeinto ${TOMCAT_HOME}/bin
-   doexe misc/service/setenv.sh
-   doexe tomcat/bin/*
-
-   keepdir ${ARTIFACTORY_HOME}/backup
-   keepdir ${ARTIFACTORY_HOME}/data
-   keepdir ${ARTIFACTORY_HOME}/run
-   

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2021-04-16 Thread Conrad Kostecki
commit: 7fe220aa121228c611e82fd02ff847a15deafbca
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Fri Apr 16 21:48:55 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Apr 16 21:53:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fe220aa

dev-util/artifactory-bin: drop old version

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../artifactory-bin-6.3.3-r1.ebuild| 112 -
 1 file changed, 112 deletions(-)

diff --git a/dev-util/artifactory-bin/artifactory-bin-6.3.3-r1.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-6.3.3-r1.ebuild
deleted file mode 100644
index e7b28a6f039..000
--- a/dev-util/artifactory-bin/artifactory-bin-6.3.3-r1.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Using a binary ebuild until a source ebuild is doable.
-# This was previously blocked by two major bugs upstream:
-# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
-# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
-# Upstream now releases source and instructions (yay!), but most of 
artifactory's
-# dependencies are not in portage yet.
-
-EAPI=6
-
-inherit systemd user
-
-MY_P="${P/-bin}"
-MY_PN="${PN/-bin}"
-MY_PV="${PV/-bin}"
-
-DESCRIPTION="The world's most advanced repository manager for maven"
-HOMEPAGE="http://www.jfrog.org/products.php;
-SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
-
-LICENSE="AGPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ssl"
-
-RDEPEND=">=virtual/jre-1.8"
-DEPEND=">=virtual/jdk-1.8
-   app-arch/unzip"
-
-S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
-
-pkg_setup() {
-   enewgroup artifactory
-   enewuser artifactory -1 /bin/sh -1 artifactory
-}
-
-limitsdfile=40-${MY_PN}.conf
-
-print_limitsdfile() {
-   printf "# Start of ${limitsdfile} from ${P}\n\n"
-   printf "@${MY_PN}\t-\tnofile\t32000\n"
-   printf "\n# End of ${limitsdfile} from ${P}\n"
-}
-
-src_prepare() {
-   default
-
-   if use ssl ; then
-   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
-   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
-   fi
-
-   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
-   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
-   etc/artifactory.system.properties || die
-
-   # See FIXME in src_install(), this can probably go away,
-   # but catalina.sh may need to be fixed for that:
-   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
-   misc/service/setenv.sh || die
-
-   einfo "Generating ${limitsdfile}"
-   print_limitsdfile > "${S}/${limitsdfile}"
-}
-
-src_install() {
-   local ARTIFACTORY_HOME="/opt/artifactory"
-   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
-
-   insinto ${ARTIFACTORY_HOME}
-   doins -r etc logs misc tomcat webapps
-
-   dodir /etc/opt/jfrog
-   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
-
-   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
-
-   exeinto ${ARTIFACTORY_HOME}/bin
-   doexe bin/*
-
-   # FIXME: this is called by catalina.sh (it echoes the variables before 
starting
-   # artifactory, as well as makes sure log dir, etc. exists). Those 
directories
-   # could probably be moved to the ebuild and the script removed from 
catalina.sh
-   # without consequence (and quieter starts). Would need to check if 
CATALINA_*
-   # variables are actually used anywhere (from reading code don't appear 
to be
-   # actually needed)
-   exeinto ${TOMCAT_HOME}/bin
-   doexe misc/service/setenv.sh
-   doexe tomcat/bin/*
-
-   keepdir ${ARTIFACTORY_HOME}/backup
-   keepdir ${ARTIFACTORY_HOME}/data
-   keepdir ${ARTIFACTORY_HOME}/run
-   keepdir ${ARTIFACTORY_HOME}/work
-   keepdir ${TOMCAT_HOME}/logs/catalina
-   keepdir ${TOMCAT_HOME}/temp
-   keepdir ${TOMCAT_HOME}/work
-   keepdir /var/opt/jfrog/artifactory/run
-
-   newconfd "${FILESDIR}/confd" ${MY_PN}
-   newinitd "${FILESDIR}/initd-r3" ${MY_PN}
-
-   systemd_dounit misc/service/artifactory.service
-
-   fowners -R artifactory:artifactory ${ARTIFACTORY_HOME}
-   fperms -R u+w ${TOMCAT_HOME}/work
-
-   insinto /etc/security/limits.d
-   doins "${S}/${limitsdfile}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2021-04-16 Thread Conrad Kostecki
commit: 57279114d0f51addfdff5c7583d0acda33043e06
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Fri Apr 16 21:46:19 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Apr 16 21:53:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57279114

dev-util/artifactory-bin: migrate to GLEP 81

Closes: https://bugs.gentoo.org/671166
Closes: https://bugs.gentoo.org/781299
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../artifactory-bin-6.3.3-r2.ebuild| 110 +
 1 file changed, 110 insertions(+)

diff --git a/dev-util/artifactory-bin/artifactory-bin-6.3.3-r2.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-6.3.3-r2.ebuild
new file mode 100644
index 000..4f84f4602ee
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-6.3.3-r2.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=7
+
+inherit java-pkg-2 systemd
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ssl"
+
+DEPEND="
+   acct-group/artifactory
+   acct-user/artifactory
+"
+RDEPEND="
+   ${DEPEND}
+   >=virtual/jre-1.8
+"
+BDEPEND="app-arch/unzip"
+
+limitsdfile=40-${MY_PN}.conf
+
+print_limitsdfile() {
+   printf "# Start of ${limitsdfile} from ${P}\n\n"
+   printf "@${MY_PN}\t-\tnofile\t32000\n"
+   printf "\n# End of ${limitsdfile} from ${P}\n"
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+
+   einfo "Generating ${limitsdfile}"
+   print_limitsdfile > "${S}/${limitsdfile}"
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+   doexe bin/*
+
+   # FIXME: this is called by catalina.sh (it echoes the variables before 
starting
+   # artifactory, as well as makes sure log dir, etc. exists). Those 
directories
+   # could probably be moved to the ebuild and the script removed from 
catalina.sh
+   # without consequence (and quieter starts). Would need to check if 
CATALINA_*
+   # variables are actually used anywhere (from reading code don't appear 
to be
+   # actually needed)
+   exeinto ${TOMCAT_HOME}/bin
+   doexe misc/service/setenv.sh
+   doexe tomcat/bin/*
+
+   keepdir ${ARTIFACTORY_HOME}/backup
+   keepdir ${ARTIFACTORY_HOME}/data
+   keepdir ${ARTIFACTORY_HOME}/run
+   keepdir ${ARTIFACTORY_HOME}/work
+   keepdir ${TOMCAT_HOME}/logs/catalina
+   keepdir ${TOMCAT_HOME}/temp
+   keepdir ${TOMCAT_HOME}/work
+   keepdir /var/opt/jfrog/artifactory/run
+
+   newconfd "${FILESDIR}/confd" ${MY_PN}
+   newinitd "${FILESDIR}/initd-r3" ${MY_PN}
+
+   systemd_dounit misc/service/artifactory.service
+
+   fowners -R artifactory:artifactory ${ARTIFACTORY_HOME}
+   fperms -R u+w ${TOMCAT_HOME}/work
+
+   insinto /etc/security/limits.d
+   doins "${S}/${limitsdfile}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2021-03-11 Thread Ben Kohler
commit: 8ca69b3163a85af1fba13ae956d20c8be94382c7
Author: Ben Kohler  gentoo  org>
AuthorDate: Thu Mar 11 20:33:14 2021 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Thu Mar 11 20:33:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca69b31

dev-util/artifactory-bin: install systemd unit to correct place

Closes: https://bugs.gentoo.org/770784

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Ben Kohler  gentoo.org>

 ...artifactory-bin-6.3.3.ebuild => artifactory-bin-6.3.3-r1.ebuild} | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-util/artifactory-bin/artifactory-bin-6.3.3.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-6.3.3-r1.ebuild
similarity index 96%
rename from dev-util/artifactory-bin/artifactory-bin-6.3.3.ebuild
rename to dev-util/artifactory-bin/artifactory-bin-6.3.3-r1.ebuild
index b36f57e1e59..e7b28a6f039 100644
--- a/dev-util/artifactory-bin/artifactory-bin-6.3.3.ebuild
+++ b/dev-util/artifactory-bin/artifactory-bin-6.3.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Using a binary ebuild until a source ebuild is doable.
@@ -10,7 +10,7 @@
 
 EAPI=6
 
-inherit user
+inherit systemd user
 
 MY_P="${P/-bin}"
 MY_PN="${PN/-bin}"
@@ -102,6 +102,8 @@ src_install() {
newconfd "${FILESDIR}/confd" ${MY_PN}
newinitd "${FILESDIR}/initd-r3" ${MY_PN}
 
+   systemd_dounit misc/service/artifactory.service
+
fowners -R artifactory:artifactory ${ARTIFACTORY_HOME}
fperms -R u+w ${TOMCAT_HOME}/work
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2019-04-08 Thread Austin English
commit: a1508bdc0514dde70d2a0dfae8d8a01f567ef15e
Author: Austin English  gentoo  org>
AuthorDate: Tue Apr  9 02:49:11 2019 +
Commit: Austin English  gentoo  org>
CommitDate: Tue Apr  9 03:13:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1508bdc

dev-util/artifactory-bin: move my packages to maintainer-needed

Signed-off-by: Austin English  gentoo.org>
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12

 dev-util/artifactory-bin/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-util/artifactory-bin/metadata.xml 
b/dev-util/artifactory-bin/metadata.xml
index b9b43a43611..fff2f58633f 100644
--- a/dev-util/artifactory-bin/metadata.xml
+++ b/dev-util/artifactory-bin/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-wizarde...@gentoo.org
-Austin English
-  
+  
   
   Respository manager for Maven (among other binary package formats).
   



[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2018-09-05 Thread Austin English
commit: f8c3fad5ed1cc81c6eb70b56fa1df336c12fbf15
Author: Austin English  gentoo  org>
AuthorDate: Wed Sep  5 21:11:41 2018 +
Commit: Austin English  gentoo  org>
CommitDate: Wed Sep  5 21:12:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8c3fad5

dev-util/artifactory-bin: version bumps (5.11.2 / 6.3.3)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-util/artifactory-bin/Manifest  |   2 +
 .../artifactory-bin/artifactory-bin-5.11.2.ebuild  | 110 +
 .../artifactory-bin/artifactory-bin-6.3.3.ebuild   | 110 +
 3 files changed, 222 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index aa7cf59e0a1..26ad80b675d 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -1,5 +1,6 @@
 DIST artifactory-4.16.0.zip 41455447 BLAKE2B 
0f9f575d5ce3ba983c905e70c8e3545946065ff458f9a1c0f0e346bebeffe002bbea4214b7a23829e3a11d8ccf6aec4548f6ba5abd405d30165d3c07e2372e98
 SHA512 
e861b66ed7586ba881267312462584fd9037e2b72021e930a52489ae718ca2449c7997278cb26cb3dead774f16d74cf285c8ce2fca0c085e7edb444f71deaa14
 DIST artifactory-4.16.1.zip 41489457 BLAKE2B 
7854710a5cf4dd52d7c92581a030259df6b0b8038f9843e528b0c57211eafd405a114b709ba5407a9c83e4d693f1ecb8eafe3d5e98bb22542d5c48e15bc3cf6f
 SHA512 
b8f5441f011966837861073c928512704961c7683fadac4603f2177df1c64861432f894c5fe0669c4842a4b7d008553169e88aaffdde6e3d6e6bbdff6adf9d78
+DIST artifactory-5.11.2.zip 96724749 BLAKE2B 
832fba6bec97e2974e3cb9e21542a76a3d10c1c6c600692cbd73b6452a50276b12b5081dbcb4a4fc0102e297657f58c77aa3eb0537e7423a480b79a8a1f957b8
 SHA512 
8c6d6305799631f430f7f7d74c4ef37e9a4cea50b5c3d50d44b37346a2296bd99cf96d09752006e61c97a6d6fea684183dc2b52d383810f06b3cbeabf41189ef
 DIST artifactory-5.3.2.zip 45729254 BLAKE2B 
1fe6ec8a5a33d8735bd92d480e8fb7b035af2b27bf9034791f1bdca3c3d2a13794ba06613fb508ea8f221cc1647f2a8e213994ef7603d92c88b17037fd3c7266
 SHA512 
60fbbed97c9915ed4a7627a3b893fa6c5bcec695932415d3102b9788ba6182c8cef937ad48639d4398a682ab2f517771c3dcda9306842e4202bbd45ab4768f1d
 DIST artifactory-5.4.4.zip 76841935 BLAKE2B 
d763122cf0d2d1237fad41b825f68ecd6ec3c3453e5ec0a76a5b367c70c5aec4ee3cd81b9ab453628c879db22e0a292fc9b43d2b3d3d5461fc63d43bffde7b2d
 SHA512 
f949e4c2ecaaf4581bc2e96058403684cab09f10b0bec512eda9b65bb41577a792b08d05f7a16e0e7f1614567dc9b0d1d59bb3c6ad6a4dafeb0c054a3add09a8
 DIST artifactory-5.4.6.zip 76857888 BLAKE2B 
04185e4c585a6e8121b9b6d78a4565c5107381cae53fe3d8aea647ea6ebb0920f9775a7275ba79d282a0c87a7e0544f6382a2ed10dbecb6b279679be0fd94066
 SHA512 
08d7895dc823e61be83026d31eea387eb914f17cb2f13b03d5314c6473f30de9279d230d242d8160dba0d3c8f6981b25b5ad46f52ad12d1c39ee820ac7a676fe
@@ -7,3 +8,4 @@ DIST artifactory-5.5.1.zip 77406287 BLAKE2B 
be60fbbc3b8c61fc9d1a7272889219de7ea4
 DIST artifactory-5.5.2.zip 77438814 BLAKE2B 
b77d9348fbae8bf871e4fb6716e2a9d357cd0d268d65360ec7509b0999db78a8b80f68eb22cbbc0a85ee2980fbc72c7aa390a60c8129451506441d7cbfd9f776
 SHA512 
fd052e66316ec050599f6262274cdf5232ebb1385fedd2c19c6ba8e3dca0d9fe86d7a89fddbb8974b28e0f9dc3d7ccda1aac6b3f9159f0b77bfc51873ffd5e3b
 DIST artifactory-5.6.2.zip 91577071 BLAKE2B 
1f9687bef239519171bdb28fb033368e5dea10186ef350c7ee7d9e4a33ce99c5e965692d8052d82454c83f42c84e79c18edafbb98540da4b818b65b577a9ac72
 SHA512 
b4bde9bcf53d2af6901a8e80827f3b09d685a8bbe7073badad586401b6881d046e5cade4165fa68843e981dea2912374c187518e29ab1ee86d3d0fac134a54f0
 DIST artifactory-5.6.3.zip 91592176 BLAKE2B 
1214bac4d5bd6f15915e05a2e42de4b6b55b885210fa06ee4b4b63599b8f3c13c6fe46a04569e790ea6e274c4837a09b260736412805119e7f93f7867be8e421
 SHA512 
a2348b8667a1d936e90dc6fd42e3967f63cc88cc99bf425ea26731ff4c54f0177ea386c5b19be97a4ac8f89ce41e65237d14593112b38656d60ada45d3b62371
+DIST artifactory-6.3.3.zip 98166641 BLAKE2B 
33d760bc0f763ba0d8e091ce5484b3a90df4e57f291ea7a96a69bed13579c3c17af0005f95dbda847b2ab428d7dc36ddbee594d008f6e3badbb04e45c3b5dd89
 SHA512 
12f545d5e66b70e35d8b9967baadcfb503df7457bc48957a80b38d447cc9f024ce8f33b2463da65f5616161906bc64652fdd042446c5e8615e24ecc7f23a527b

diff --git a/dev-util/artifactory-bin/artifactory-bin-5.11.2.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-5.11.2.ebuild
new file mode 100644
index 000..3079fc35b32
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-5.11.2.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2017-12-18 Thread Austin English
commit: efa8855df353466dc7605a79d0e4138b62372e2a
Author: Austin English  gentoo  org>
AuthorDate: Mon Dec 18 22:51:02 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Mon Dec 18 22:51:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efa8855d

dev-util/artifactory-bin: version bump, 5.6.3

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-util/artifactory-bin/Manifest  |   1 +
 .../artifactory-bin/artifactory-bin-5.6.3.ebuild   | 110 +
 2 files changed, 111 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index d3996dc2cfb..aa7cf59e0a1 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -6,3 +6,4 @@ DIST artifactory-5.4.6.zip 76857888 BLAKE2B 
04185e4c585a6e8121b9b6d78a4565c51073
 DIST artifactory-5.5.1.zip 77406287 BLAKE2B 
be60fbbc3b8c61fc9d1a7272889219de7ea4e5b8c760afaa7e0003f6bff48d41783f76d62ac64b81ffa42393a265ed184ad4a4a23789dc79955907290035dae1
 SHA512 
7327135be0c2a08dd97c575b05be1c3e4be99b38354864313d201334d3276912bcff0c6b0743fb83a2433a82fc8fcf4ec43e98f4183287fc34f1807342abedf8
 DIST artifactory-5.5.2.zip 77438814 BLAKE2B 
b77d9348fbae8bf871e4fb6716e2a9d357cd0d268d65360ec7509b0999db78a8b80f68eb22cbbc0a85ee2980fbc72c7aa390a60c8129451506441d7cbfd9f776
 SHA512 
fd052e66316ec050599f6262274cdf5232ebb1385fedd2c19c6ba8e3dca0d9fe86d7a89fddbb8974b28e0f9dc3d7ccda1aac6b3f9159f0b77bfc51873ffd5e3b
 DIST artifactory-5.6.2.zip 91577071 BLAKE2B 
1f9687bef239519171bdb28fb033368e5dea10186ef350c7ee7d9e4a33ce99c5e965692d8052d82454c83f42c84e79c18edafbb98540da4b818b65b577a9ac72
 SHA512 
b4bde9bcf53d2af6901a8e80827f3b09d685a8bbe7073badad586401b6881d046e5cade4165fa68843e981dea2912374c187518e29ab1ee86d3d0fac134a54f0
+DIST artifactory-5.6.3.zip 91592176 BLAKE2B 
1214bac4d5bd6f15915e05a2e42de4b6b55b885210fa06ee4b4b63599b8f3c13c6fe46a04569e790ea6e274c4837a09b260736412805119e7f93f7867be8e421
 SHA512 
a2348b8667a1d936e90dc6fd42e3967f63cc88cc99bf425ea26731ff4c54f0177ea386c5b19be97a4ac8f89ce41e65237d14593112b38656d60ada45d3b62371

diff --git a/dev-util/artifactory-bin/artifactory-bin-5.6.3.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-5.6.3.ebuild
new file mode 100644
index 000..242019ded03
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-5.6.3.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+limitsdfile=40-${MY_PN}.conf
+
+print_limitsdfile() {
+   printf "# Start of ${limitsdfile} from ${P}\n\n"
+   printf "@${MY_PN}\t-\tnofile\t32000\n"
+   printf "\n# End of ${limitsdfile} from ${P}\n"
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+
+   einfo "Generating ${limitsdfile}"
+   print_limitsdfile > "${S}/${limitsdfile}"
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc logs misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2017-11-27 Thread Austin English
commit: f3774d089cf9692fa13040e33eee121bfc528498
Author: Austin English  gentoo  org>
AuthorDate: Mon Nov 27 22:07:06 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Mon Nov 27 22:19:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3774d08

dev-util/artifactory-bin: version bumps

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-util/artifactory-bin/Manifest  |  14 +--
 .../artifactory-bin/artifactory-bin-5.5.2.ebuild   | 110 +
 .../artifactory-bin/artifactory-bin-5.6.2.ebuild   | 110 +
 3 files changed, 228 insertions(+), 6 deletions(-)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index cd370dddee8..d3996dc2cfb 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -1,6 +1,8 @@
-DIST artifactory-4.16.0.zip 41455447 SHA256 
f5711536cdf0a597799e01c570bbd38e6f5f3ffb6935cde21d38119be6592f16 SHA512 
e861b66ed7586ba881267312462584fd9037e2b72021e930a52489ae718ca2449c7997278cb26cb3dead774f16d74cf285c8ce2fca0c085e7edb444f71deaa14
 WHIRLPOOL 
01a60743fe85909d06f69ef4bda94a2cfb37e847ee481ee025075c0b586df8566f7f99352a7808147eec51fc1bacb649853baa97a90253ab89d3b92279a5
-DIST artifactory-4.16.1.zip 41489457 SHA256 
f3715397f7e792de76cfecfe2b41ebbf54541e0460ff14e82a69160e0f3f06fb SHA512 
b8f5441f011966837861073c928512704961c7683fadac4603f2177df1c64861432f894c5fe0669c4842a4b7d008553169e88aaffdde6e3d6e6bbdff6adf9d78
 WHIRLPOOL 
dc7dfc0044d3770fcfc1dc56da6ffe8bc8fb07892a2888d88f5a05640ac8144cb25afc2119340d820323046bbaa0aa718a98cda6863340297e3ced696ed3e3f7
-DIST artifactory-5.3.2.zip 45729254 SHA256 
e086a067ad191859cd0a0c996313cf5c7386e6ee892b55697c27b0f42ae2bc14 SHA512 
60fbbed97c9915ed4a7627a3b893fa6c5bcec695932415d3102b9788ba6182c8cef937ad48639d4398a682ab2f517771c3dcda9306842e4202bbd45ab4768f1d
 WHIRLPOOL 
bf3b31f7a1989ddb90b03396172eeac37dc5230c4bbcc99b54c66326e5d52e26dbb83003824647c6e89926049c31b9644212aee183fa24db7475831dda0ceaec
-DIST artifactory-5.4.4.zip 76841935 SHA256 
bf2198a0fefe818fe412579dd008f2a24dc065780da4c9657a923363c70a0a3d SHA512 
f949e4c2ecaaf4581bc2e96058403684cab09f10b0bec512eda9b65bb41577a792b08d05f7a16e0e7f1614567dc9b0d1d59bb3c6ad6a4dafeb0c054a3add09a8
 WHIRLPOOL 
c0c27a0ce5b0035d9266b6af4316044cf1aed361dbe0f7aaf66844015a70678e92bb0c6a13330ffd8f5a05903f66a82b48995605c272ba3950a19aa47d1fc85d
-DIST artifactory-5.4.6.zip 76857888 SHA256 
43fb4b14ad5350daa200e0282a36903495505ccb536b5f0ac7d7b5487dcdfca6 SHA512 
08d7895dc823e61be83026d31eea387eb914f17cb2f13b03d5314c6473f30de9279d230d242d8160dba0d3c8f6981b25b5ad46f52ad12d1c39ee820ac7a676fe
 WHIRLPOOL 
dcc86f1326011bb89c3e65a420c9f9ad02afea3a144b4b5eac8b617bec7dbb72256a6ac1f67d2bae034897bd02801b24e59746d1543e957d8e595d7ea83a4964
-DIST artifactory-5.5.1.zip 77406287 SHA256 
e4180ec0c6a4ed9bc8da1287ac1d661c421d59bc11e56d47dd106ead31d8a44f SHA512 
7327135be0c2a08dd97c575b05be1c3e4be99b38354864313d201334d3276912bcff0c6b0743fb83a2433a82fc8fcf4ec43e98f4183287fc34f1807342abedf8
 WHIRLPOOL 
fcd3c368eafbd956eba15ae1c5cd7362d423acb0e6a0b529c8b7088ff2ec1437e02dd5b5b277c71d7bbba788db11963c2eed784ce95ba1dcb550fd41a0224722
+DIST artifactory-4.16.0.zip 41455447 BLAKE2B 
0f9f575d5ce3ba983c905e70c8e3545946065ff458f9a1c0f0e346bebeffe002bbea4214b7a23829e3a11d8ccf6aec4548f6ba5abd405d30165d3c07e2372e98
 SHA512 
e861b66ed7586ba881267312462584fd9037e2b72021e930a52489ae718ca2449c7997278cb26cb3dead774f16d74cf285c8ce2fca0c085e7edb444f71deaa14
+DIST artifactory-4.16.1.zip 41489457 BLAKE2B 
7854710a5cf4dd52d7c92581a030259df6b0b8038f9843e528b0c57211eafd405a114b709ba5407a9c83e4d693f1ecb8eafe3d5e98bb22542d5c48e15bc3cf6f
 SHA512 
b8f5441f011966837861073c928512704961c7683fadac4603f2177df1c64861432f894c5fe0669c4842a4b7d008553169e88aaffdde6e3d6e6bbdff6adf9d78
+DIST artifactory-5.3.2.zip 45729254 BLAKE2B 
1fe6ec8a5a33d8735bd92d480e8fb7b035af2b27bf9034791f1bdca3c3d2a13794ba06613fb508ea8f221cc1647f2a8e213994ef7603d92c88b17037fd3c7266
 SHA512 
60fbbed97c9915ed4a7627a3b893fa6c5bcec695932415d3102b9788ba6182c8cef937ad48639d4398a682ab2f517771c3dcda9306842e4202bbd45ab4768f1d
+DIST artifactory-5.4.4.zip 76841935 BLAKE2B 
d763122cf0d2d1237fad41b825f68ecd6ec3c3453e5ec0a76a5b367c70c5aec4ee3cd81b9ab453628c879db22e0a292fc9b43d2b3d3d5461fc63d43bffde7b2d
 SHA512 
f949e4c2ecaaf4581bc2e96058403684cab09f10b0bec512eda9b65bb41577a792b08d05f7a16e0e7f1614567dc9b0d1d59bb3c6ad6a4dafeb0c054a3add09a8
+DIST artifactory-5.4.6.zip 76857888 BLAKE2B 
04185e4c585a6e8121b9b6d78a4565c5107381cae53fe3d8aea647ea6ebb0920f9775a7275ba79d282a0c87a7e0544f6382a2ed10dbecb6b279679be0fd94066
 SHA512 
08d7895dc823e61be83026d31eea387eb914f17cb2f13b03d5314c6473f30de9279d230d242d8160dba0d3c8f6981b25b5ad46f52ad12d1c39ee820ac7a676fe
+DIST artifactory-5.5.1.zip 77406287 BLAKE2B 
be60fbbc3b8c61fc9d1a7272889219de7ea4e5b8c760afaa7e0003f6bff48d41783f76d62ac64b81ffa42393a265ed184ad4a4a23789dc79955907290035dae1
 SHA512 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2017-10-10 Thread Austin English
commit: d38f587db1163cc59cf039d56a62d472d594a9e1
Author: Austin English  gentoo  org>
AuthorDate: Tue Oct 10 16:52:46 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Tue Oct 10 16:53:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d38f587d

dev-util/artifactory-bin: version bump - 5.5.1

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-util/artifactory-bin/Manifest  |   1 +
 .../artifactory-bin/artifactory-bin-5.5.1.ebuild   | 110 +
 2 files changed, 111 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 7ca5b7f87e3..cd370dddee8 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -3,3 +3,4 @@ DIST artifactory-4.16.1.zip 41489457 SHA256 
f3715397f7e792de76cfecfe2b41ebbf5454
 DIST artifactory-5.3.2.zip 45729254 SHA256 
e086a067ad191859cd0a0c996313cf5c7386e6ee892b55697c27b0f42ae2bc14 SHA512 
60fbbed97c9915ed4a7627a3b893fa6c5bcec695932415d3102b9788ba6182c8cef937ad48639d4398a682ab2f517771c3dcda9306842e4202bbd45ab4768f1d
 WHIRLPOOL 
bf3b31f7a1989ddb90b03396172eeac37dc5230c4bbcc99b54c66326e5d52e26dbb83003824647c6e89926049c31b9644212aee183fa24db7475831dda0ceaec
 DIST artifactory-5.4.4.zip 76841935 SHA256 
bf2198a0fefe818fe412579dd008f2a24dc065780da4c9657a923363c70a0a3d SHA512 
f949e4c2ecaaf4581bc2e96058403684cab09f10b0bec512eda9b65bb41577a792b08d05f7a16e0e7f1614567dc9b0d1d59bb3c6ad6a4dafeb0c054a3add09a8
 WHIRLPOOL 
c0c27a0ce5b0035d9266b6af4316044cf1aed361dbe0f7aaf66844015a70678e92bb0c6a13330ffd8f5a05903f66a82b48995605c272ba3950a19aa47d1fc85d
 DIST artifactory-5.4.6.zip 76857888 SHA256 
43fb4b14ad5350daa200e0282a36903495505ccb536b5f0ac7d7b5487dcdfca6 SHA512 
08d7895dc823e61be83026d31eea387eb914f17cb2f13b03d5314c6473f30de9279d230d242d8160dba0d3c8f6981b25b5ad46f52ad12d1c39ee820ac7a676fe
 WHIRLPOOL 
dcc86f1326011bb89c3e65a420c9f9ad02afea3a144b4b5eac8b617bec7dbb72256a6ac1f67d2bae034897bd02801b24e59746d1543e957d8e595d7ea83a4964
+DIST artifactory-5.5.1.zip 77406287 SHA256 
e4180ec0c6a4ed9bc8da1287ac1d661c421d59bc11e56d47dd106ead31d8a44f SHA512 
7327135be0c2a08dd97c575b05be1c3e4be99b38354864313d201334d3276912bcff0c6b0743fb83a2433a82fc8fcf4ec43e98f4183287fc34f1807342abedf8
 WHIRLPOOL 
fcd3c368eafbd956eba15ae1c5cd7362d423acb0e6a0b529c8b7088ff2ec1437e02dd5b5b277c71d7bbba788db11963c2eed784ce95ba1dcb550fd41a0224722

diff --git a/dev-util/artifactory-bin/artifactory-bin-5.5.1.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-5.5.1.ebuild
new file mode 100644
index 000..242019ded03
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-5.5.1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+limitsdfile=40-${MY_PN}.conf
+
+print_limitsdfile() {
+   printf "# Start of ${limitsdfile} from ${P}\n\n"
+   printf "@${MY_PN}\t-\tnofile\t32000\n"
+   printf "\n# End of ${limitsdfile} from ${P}\n"
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+
+   einfo "Generating ${limitsdfile}"
+   print_limitsdfile > "${S}/${limitsdfile}"
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2017-08-14 Thread Austin English
commit: 46d514f08f9869a1fdd8af470e104ff40fa554e9
Author: Austin English  gentoo  org>
AuthorDate: Mon Aug 14 17:47:42 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Mon Aug 14 17:47:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d514f0

dev-util/artifactory-bin: version bumps

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-util/artifactory-bin/Manifest  |   2 +
 .../artifactory-bin/artifactory-bin-4.16.1.ebuild  | 110 +
 .../artifactory-bin/artifactory-bin-5.4.6.ebuild   | 110 +
 3 files changed, 222 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 66dd70d677d..7ca5b7f87e3 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -1,3 +1,5 @@
 DIST artifactory-4.16.0.zip 41455447 SHA256 
f5711536cdf0a597799e01c570bbd38e6f5f3ffb6935cde21d38119be6592f16 SHA512 
e861b66ed7586ba881267312462584fd9037e2b72021e930a52489ae718ca2449c7997278cb26cb3dead774f16d74cf285c8ce2fca0c085e7edb444f71deaa14
 WHIRLPOOL 
01a60743fe85909d06f69ef4bda94a2cfb37e847ee481ee025075c0b586df8566f7f99352a7808147eec51fc1bacb649853baa97a90253ab89d3b92279a5
+DIST artifactory-4.16.1.zip 41489457 SHA256 
f3715397f7e792de76cfecfe2b41ebbf54541e0460ff14e82a69160e0f3f06fb SHA512 
b8f5441f011966837861073c928512704961c7683fadac4603f2177df1c64861432f894c5fe0669c4842a4b7d008553169e88aaffdde6e3d6e6bbdff6adf9d78
 WHIRLPOOL 
dc7dfc0044d3770fcfc1dc56da6ffe8bc8fb07892a2888d88f5a05640ac8144cb25afc2119340d820323046bbaa0aa718a98cda6863340297e3ced696ed3e3f7
 DIST artifactory-5.3.2.zip 45729254 SHA256 
e086a067ad191859cd0a0c996313cf5c7386e6ee892b55697c27b0f42ae2bc14 SHA512 
60fbbed97c9915ed4a7627a3b893fa6c5bcec695932415d3102b9788ba6182c8cef937ad48639d4398a682ab2f517771c3dcda9306842e4202bbd45ab4768f1d
 WHIRLPOOL 
bf3b31f7a1989ddb90b03396172eeac37dc5230c4bbcc99b54c66326e5d52e26dbb83003824647c6e89926049c31b9644212aee183fa24db7475831dda0ceaec
 DIST artifactory-5.4.4.zip 76841935 SHA256 
bf2198a0fefe818fe412579dd008f2a24dc065780da4c9657a923363c70a0a3d SHA512 
f949e4c2ecaaf4581bc2e96058403684cab09f10b0bec512eda9b65bb41577a792b08d05f7a16e0e7f1614567dc9b0d1d59bb3c6ad6a4dafeb0c054a3add09a8
 WHIRLPOOL 
c0c27a0ce5b0035d9266b6af4316044cf1aed361dbe0f7aaf66844015a70678e92bb0c6a13330ffd8f5a05903f66a82b48995605c272ba3950a19aa47d1fc85d
+DIST artifactory-5.4.6.zip 76857888 SHA256 
43fb4b14ad5350daa200e0282a36903495505ccb536b5f0ac7d7b5487dcdfca6 SHA512 
08d7895dc823e61be83026d31eea387eb914f17cb2f13b03d5314c6473f30de9279d230d242d8160dba0d3c8f6981b25b5ad46f52ad12d1c39ee820ac7a676fe
 WHIRLPOOL 
dcc86f1326011bb89c3e65a420c9f9ad02afea3a144b4b5eac8b617bec7dbb72256a6ac1f67d2bae034897bd02801b24e59746d1543e957d8e595d7ea83a4964

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.16.1.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.16.1.ebuild
new file mode 100644
index 000..cb6e42f39ff
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.16.1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+limitsdfile=40-${MY_PN}.conf
+
+print_limitsdfile() {
+   printf "# Start of ${limitsdfile} from ${P}\n\n"
+   printf "@${MY_PN}\t-\tnofile\t32000\n"
+   printf "\n# End of ${limitsdfile} from ${P}\n"
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/, dev-util/artifactory-bin/files/

2017-07-13 Thread Austin English
commit: 77e0332babfa667419b6f3fe87c1b28575adf8fc
Author: Austin English  gentoo  org>
AuthorDate: Thu Jul 13 20:36:16 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Thu Jul 13 22:12:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77e0332b

dev-util/artifactory-bin: version bump, 5.3.2 / 5.4.4

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-util/artifactory-bin/Manifest  |   2 +
 .../artifactory-bin/artifactory-bin-5.3.2.ebuild   | 110 ++
 .../artifactory-bin/artifactory-bin-5.4.4.ebuild   | 110 ++
 dev-util/artifactory-bin/files/initd-r3| 165 +
 4 files changed, 387 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 30cf3df5ccd..66dd70d677d 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -1 +1,3 @@
 DIST artifactory-4.16.0.zip 41455447 SHA256 
f5711536cdf0a597799e01c570bbd38e6f5f3ffb6935cde21d38119be6592f16 SHA512 
e861b66ed7586ba881267312462584fd9037e2b72021e930a52489ae718ca2449c7997278cb26cb3dead774f16d74cf285c8ce2fca0c085e7edb444f71deaa14
 WHIRLPOOL 
01a60743fe85909d06f69ef4bda94a2cfb37e847ee481ee025075c0b586df8566f7f99352a7808147eec51fc1bacb649853baa97a90253ab89d3b92279a5
+DIST artifactory-5.3.2.zip 45729254 SHA256 
e086a067ad191859cd0a0c996313cf5c7386e6ee892b55697c27b0f42ae2bc14 SHA512 
60fbbed97c9915ed4a7627a3b893fa6c5bcec695932415d3102b9788ba6182c8cef937ad48639d4398a682ab2f517771c3dcda9306842e4202bbd45ab4768f1d
 WHIRLPOOL 
bf3b31f7a1989ddb90b03396172eeac37dc5230c4bbcc99b54c66326e5d52e26dbb83003824647c6e89926049c31b9644212aee183fa24db7475831dda0ceaec
+DIST artifactory-5.4.4.zip 76841935 SHA256 
bf2198a0fefe818fe412579dd008f2a24dc065780da4c9657a923363c70a0a3d SHA512 
f949e4c2ecaaf4581bc2e96058403684cab09f10b0bec512eda9b65bb41577a792b08d05f7a16e0e7f1614567dc9b0d1d59bb3c6ad6a4dafeb0c054a3add09a8
 WHIRLPOOL 
c0c27a0ce5b0035d9266b6af4316044cf1aed361dbe0f7aaf66844015a70678e92bb0c6a13330ffd8f5a05903f66a82b48995605c272ba3950a19aa47d1fc85d

diff --git a/dev-util/artifactory-bin/artifactory-bin-5.3.2.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-5.3.2.ebuild
new file mode 100644
index 000..242019ded03
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-5.3.2.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+limitsdfile=40-${MY_PN}.conf
+
+print_limitsdfile() {
+   printf "# Start of ${limitsdfile} from ${P}\n\n"
+   printf "@${MY_PN}\t-\tnofile\t32000\n"
+   printf "\n# End of ${limitsdfile} from ${P}\n"
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+
+   einfo "Generating ${limitsdfile}"
+   print_limitsdfile > "${S}/${limitsdfile}"
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc logs misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+   doexe bin/*
+
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/files/, dev-util/artifactory-bin/

2017-07-12 Thread Austin English
commit: 3499bf2d0e84f335701f355829cf292ab74b1afc
Author: Austin English  gentoo  org>
AuthorDate: Wed Jul 12 20:54:51 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Wed Jul 12 22:05:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3499bf2d

dev-util/artifactory-bin: remove old

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-util/artifactory-bin/Manifest  |  20 ---
 .../artifactory-bin/artifactory-bin-4.10.0.ebuild  |  96 
 .../artifactory-bin/artifactory-bin-4.11.0.ebuild  |  96 
 .../artifactory-bin/artifactory-bin-4.11.1.ebuild  |  96 
 .../artifactory-bin/artifactory-bin-4.11.2.ebuild  |  96 
 .../artifactory-bin-4.12.0.1.ebuild|  96 
 .../artifactory-bin/artifactory-bin-4.12.1.ebuild  |  96 
 .../artifactory-bin/artifactory-bin-4.12.2.ebuild  |  96 
 .../artifactory-bin/artifactory-bin-4.13.0.ebuild  |  96 
 .../artifactory-bin/artifactory-bin-4.13.1.ebuild  |  96 
 .../artifactory-bin/artifactory-bin-4.13.2.ebuild  |  96 
 .../artifactory-bin-4.14.0-r1.ebuild   |  96 
 .../artifactory-bin/artifactory-bin-4.14.0.ebuild  |  96 
 .../artifactory-bin/artifactory-bin-4.14.1.ebuild  |  96 
 .../artifactory-bin/artifactory-bin-4.14.2.ebuild  |  96 
 .../artifactory-bin/artifactory-bin-4.16.0.ebuild  |  96 
 .../artifactory-bin/artifactory-bin-4.7.6.ebuild   |  94 
 .../artifactory-bin/artifactory-bin-4.7.7.ebuild   |  94 
 .../artifactory-bin/artifactory-bin-4.8.0.ebuild   |  96 
 .../artifactory-bin/artifactory-bin-4.8.1.ebuild   |  96 
 .../artifactory-bin/artifactory-bin-4.8.2.ebuild   |  96 
 .../artifactory-bin/artifactory-bin-4.9.0.ebuild   |  96 
 .../artifactory-bin/artifactory-bin-4.9.1.ebuild   |  96 
 dev-util/artifactory-bin/files/initd   | 165 -
 dev-util/artifactory-bin/files/initd-r1| 165 -
 25 files changed, 2458 deletions(-)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 70f83f7fc72..30cf3df5ccd 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -1,21 +1 @@
-DIST artifactory-4.10.0.zip 41178841 SHA256 
949499822127506906589f88b887cc712931f95efcbc906584e1163e0976f058 SHA512 
72f5665faec48701b96ccfdf46f42512a82874a636b912bec21a1738828fe5d5f6712307380ede07c787a3778064ade13b8d9cbd18442f77454539836d4a7bcd
 WHIRLPOOL 
3afb4070946ddf83664edd98fa3c2288f359bb0f24fd8546750f4641ec4c391a84cdac9df3e383e9d4d8cf7baae48d67c4d0c8aea0a20aeae92273e4b8613d7e
-DIST artifactory-4.11.0.zip 41244801 SHA256 
3bb7f2409b8d779c60b8ce773501fefebe5af0146c65a26085bc07f52a0b7ae3 SHA512 
7c76cfcc8e040d3301a5a84805618089eb76683ed621fef7a094e4b4c9232d3b6730bb1de4375513895f5c8f8983070587ce2fdeb3f28a4dfa28206aa06f6517
 WHIRLPOOL 
abf18758f7ddc993c2c7bc1e39c33dc6b65c8f99ebfc6413ef8a1eac381f7c0bdf46b9c1768c8945813f6acff62774bae90a21911405dff8b621cda0db0c1798
-DIST artifactory-4.11.1.zip 41246363 SHA256 
88837e1542c03c5571ab908bf30d7cf222b6b87f2759a3d8db9cc60c3f86 SHA512 
1cca679e0480d56e6e708708ac1571ae6e623d794655321accb206f4ae9693481a8875b18675c348fa48d8739f3b902004ea43f633864bdcfd662e3357e00887
 WHIRLPOOL 
e7222c7806dc28fb8956da0b818ad6cdd15b922ef3150d20c2dc0ea336fa7c0bc40527d7be8fe73800855de5eb54ae5e4be357b2122d168fb121f2bdf24f
-DIST artifactory-4.11.2.zip 41256431 SHA256 
d765046bca9debf7bf1bdac391846fa767c9671ba95b2aeb32c7c73a88f42c33 SHA512 
f06b641359dbbda937e7dee05a0ac59a7ce713b2438046bf8b6cd9a4c87c2ad4a81ed1bb0cbb262b3dba7aea8543bdc6c6217dce559b8f4b239bccca399c4cc8
 WHIRLPOOL 
8e889d8a25c34caaca88b1d76ccb2a6b96deb46424bde525e3281726e6a5472e8050ab58392b85fc11d4cda8477c57946e063e6827290ebc4270c1e591c02725
-DIST artifactory-4.12.0.1.zip 41341922 SHA256 
463e6267fbc6f7f4393a6fd824d812d3989bf1f66ff062148d03e76fcbe2e097 SHA512 
5942d5f5f6ef5b6872b97118475bbb6d6f3df51f995265519ebece19323457f3a72191298e77c0cc092abd81b90db9bd86babc418a6fdf0004add85718383952
 WHIRLPOOL 
a003a3f43f9344498758481a4c6ec02df90d6e85b67d2b5700a53eb0b4ae5aa6ca30e8b7c172839dabce0ef371bf32fd1e2da025eea889eedeccbd446c699d4f
-DIST artifactory-4.12.1.zip 41353207 SHA256 
30dfa6cb9e5b1b8beb917fa7aacd76b54882d054edcc7a1b77761e3bef03bd82 SHA512 
e0974bc83259859964883a90b064a38736aa2cb59fba1eb34b96a7b48fd33c9f3d64f0624b7169e5b663daf31b0999e33e9bd1fde8a25f7eb8ef2e1fc47626ea
 WHIRLPOOL 
c9ce0bd1f0a5172a057e8c5f32312308e4cfaa4ae59496947b6a757f904b7ef8ac459e270af3df392398e49d68d0f4a6e542e2a8d89cc4fce05821d08122f40c
-DIST artifactory-4.12.2.zip 41341044 SHA256 
7b330eed2c53633bbe77e4ffaa1f7826bde57751e9c2be50884d4fb5e6cfa6f5 SHA512 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2017-03-06 Thread Austin English
commit: 9a571e496e8e66cd5417bde570e53549bd87efa4
Author: Austin English  gentoo  org>
AuthorDate: Tue Mar  7 00:22:07 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Tue Mar  7 00:22:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a571e49

dev-util/artifactory-bin: add limits.d file

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../artifactory-bin-4.16.0-r1.ebuild   | 110 +
 1 file changed, 110 insertions(+)

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.16.0-r1.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.16.0-r1.ebuild
new file mode 100644
index 000..cb6e42f39ff
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.16.0-r1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+limitsdfile=40-${MY_PN}.conf
+
+print_limitsdfile() {
+   printf "# Start of ${limitsdfile} from ${P}\n\n"
+   printf "@${MY_PN}\t-\tnofile\t32000\n"
+   printf "\n# End of ${limitsdfile} from ${P}\n"
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+
+   einfo "Generating ${limitsdfile}"
+   print_limitsdfile > "${S}/${limitsdfile}"
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc logs misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+   doexe bin/*
+
+   # FIXME: this is called by catalina.sh (it echoes the variables before 
starting
+   # artifactory, as well as makes sure log dir, etc. exists). Those 
directories
+   # could probably be moved to the ebuild and the script removed from 
catalina.sh
+   # without consequence (and quieter starts). Would need to check if 
CATALINA_*
+   # variables are actually used anywhere (from reading code don't appear 
to be
+   # actually needed)
+   exeinto ${TOMCAT_HOME}/bin
+   doexe misc/service/setenv.sh
+   doexe tomcat/bin/*
+
+   keepdir ${ARTIFACTORY_HOME}/backup
+   keepdir ${ARTIFACTORY_HOME}/data
+   keepdir ${ARTIFACTORY_HOME}/run
+   keepdir ${ARTIFACTORY_HOME}/work
+   keepdir ${TOMCAT_HOME}/logs/catalina
+   keepdir ${TOMCAT_HOME}/temp
+   keepdir ${TOMCAT_HOME}/work
+   keepdir /var/opt/jfrog/artifactory/run
+
+   newconfd "${FILESDIR}/confd" ${MY_PN}
+   newinitd "${FILESDIR}/initd-r2" ${MY_PN}
+
+   fowners -R artifactory:artifactory ${ARTIFACTORY_HOME}
+   fperms -R u+w ${TOMCAT_HOME}/work
+
+   insinto /etc/security/limits.d
+   doins "${S}/${limitsdfile}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2017-01-18 Thread Austin English
commit: d9c501814d21131afa03728bf9d319163839f489
Author: Austin English  gentoo  org>
AuthorDate: Thu Jan 19 01:07:31 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Thu Jan 19 01:07:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9c50181

dev-util/artifactory-bin: version bump - artifactory-bin-4.16.0

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.16.0.ebuild  | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 781756d..70f83f7 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -11,6 +11,7 @@ DIST artifactory-4.13.2.zip 41396298 SHA256 
f228ac35bfc506754c64c45e7a8630643437
 DIST artifactory-4.14.0.zip 41394700 SHA256 
09d2f77e7cb6f1853cd5b8245312b979d2a0670656993df2672d27bf653554fa SHA512 
b922f2af5be087288be7e3a862158a8c68100a842d17a695235ffbdce5566d15be7e3e3c166732faf9a414e54a69d7837b0cbdb983c9e7f7a600e2ce96567268
 WHIRLPOOL 
11f6d1bd55837722f7f4ef408e9041e507dbd5f92255a32c0353cb79ecb2041c4b1ba3e846398b0c16b3b1c40cfbcdaafa8e419f2856c5dc615439c67e1bd03c
 DIST artifactory-4.14.1.zip 41393806 SHA256 
48deba9f045a0b3b796646043c2c01a26a673eb5706b3f9477cfc9292ddfef7e SHA512 
0d096e004ac91728fb7c80c12fbc4e6633de7b481c5b5043c95dab16b9b63df25449532dc8d94a582aa9eb5991d58bf2dd082630f3b3b166fde5ef0e5d2fff1d
 WHIRLPOOL 
d70c9516c93390798758018cbf3a0d17c89ba1d7e9fde4c5c3766f883cd95241ab75f64798154370d1f0832d142e734d1e5973dbf284c8651c979fc6cc0a4d9d
 DIST artifactory-4.14.2.zip 41412238 SHA256 
74ffcb027fc6d6a93acb8f454fe09a90907ed6f8ff7880c282d0ce7f2bef8865 SHA512 
c0a4dbab5f9badb451f6ef06878f0eb5f18aa54db8595ae92adc3ced1e1d43f2220b844fd9b782272685f9ddc59e661c27c4c4e0f4e2fa844e78de3c92a95542
 WHIRLPOOL 
c000b3798726ddfda99469ad317dc9c58d9d74ea6611bc86899a40835580f1280dbcf888b3f3e4f330bee8862693a24124a04b81bc3424cab7fd4aced57178ee
+DIST artifactory-4.16.0.zip 41455447 SHA256 
f5711536cdf0a597799e01c570bbd38e6f5f3ffb6935cde21d38119be6592f16 SHA512 
e861b66ed7586ba881267312462584fd9037e2b72021e930a52489ae718ca2449c7997278cb26cb3dead774f16d74cf285c8ce2fca0c085e7edb444f71deaa14
 WHIRLPOOL 
01a60743fe85909d06f69ef4bda94a2cfb37e847ee481ee025075c0b586df8566f7f99352a7808147eec51fc1bacb649853baa97a90253ab89d3b92279a5
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.16.0.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.16.0.ebuild
new file mode 100644
index ..9d90b25
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.16.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-12-02 Thread Austin English
commit: 03222ee0190993091c06c3071d28715b087217c4
Author: Austin English  gentoo  org>
AuthorDate: Fri Dec  2 18:51:08 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Fri Dec  2 18:51:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03222ee0

dev-util/artifactory-bin: dev-util/artifactory-bin: version bump - 4.14.2

Package-Manager: portage-2.3.2

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.14.2.ebuild  | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 244b471..781756d 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -10,6 +10,7 @@ DIST artifactory-4.13.1.zip 41392021 SHA256 
295463b4a6e6c9b1a8ddde6d62f03b206cba
 DIST artifactory-4.13.2.zip 41396298 SHA256 
f228ac35bfc506754c64c45e7a86306434371b37daef0f361f76fc30c13d72cb SHA512 
8469a5cbc956cf950ca8db0b8950996f02612996c12493ae45864193f7f9ff19638a1099fc391a1f849fcdb2dc355f7a33085f1136be8d74b6ff971523d83ea6
 WHIRLPOOL 
3600990597a193f06d1587999087c710950b24e9795fb165e1ef6c126d1441424343f26e8eba6abec070bb5443d1d33a84cfea694c8e527360a5a57a469bb51e
 DIST artifactory-4.14.0.zip 41394700 SHA256 
09d2f77e7cb6f1853cd5b8245312b979d2a0670656993df2672d27bf653554fa SHA512 
b922f2af5be087288be7e3a862158a8c68100a842d17a695235ffbdce5566d15be7e3e3c166732faf9a414e54a69d7837b0cbdb983c9e7f7a600e2ce96567268
 WHIRLPOOL 
11f6d1bd55837722f7f4ef408e9041e507dbd5f92255a32c0353cb79ecb2041c4b1ba3e846398b0c16b3b1c40cfbcdaafa8e419f2856c5dc615439c67e1bd03c
 DIST artifactory-4.14.1.zip 41393806 SHA256 
48deba9f045a0b3b796646043c2c01a26a673eb5706b3f9477cfc9292ddfef7e SHA512 
0d096e004ac91728fb7c80c12fbc4e6633de7b481c5b5043c95dab16b9b63df25449532dc8d94a582aa9eb5991d58bf2dd082630f3b3b166fde5ef0e5d2fff1d
 WHIRLPOOL 
d70c9516c93390798758018cbf3a0d17c89ba1d7e9fde4c5c3766f883cd95241ab75f64798154370d1f0832d142e734d1e5973dbf284c8651c979fc6cc0a4d9d
+DIST artifactory-4.14.2.zip 41412238 SHA256 
74ffcb027fc6d6a93acb8f454fe09a90907ed6f8ff7880c282d0ce7f2bef8865 SHA512 
c0a4dbab5f9badb451f6ef06878f0eb5f18aa54db8595ae92adc3ced1e1d43f2220b844fd9b782272685f9ddc59e661c27c4c4e0f4e2fa844e78de3c92a95542
 WHIRLPOOL 
c000b3798726ddfda99469ad317dc9c58d9d74ea6611bc86899a40835580f1280dbcf888b3f3e4f330bee8862693a24124a04b81bc3424cab7fd4aced57178ee
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.14.2.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.14.2.ebuild
new file mode 100644
index ..9cea80c
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.14.2.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-12-02 Thread Austin English
commit: 96ca47425681db02a590f48fae7526bf537b514f
Author: bdouxx  yahoo  fr>
AuthorDate: Thu Nov 24 06:57:32 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Fri Dec  2 18:51:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ca4742

dev-util/artifactory-bin: version bump 4.14.1

[RTFACT-12717] - Distribution repo tree structure is incompatible with 
Bintray
[RTFACT-12727] - Yum metadata calculation doesn't remove old index files

Package-Manager: portage-2.3.2

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.14.1.ebuild  | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 38b5128..244b471 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -9,6 +9,7 @@ DIST artifactory-4.13.0.zip 41369905 SHA256 
5724e879642ba393f3242f73fc2684d3eafb
 DIST artifactory-4.13.1.zip 41392021 SHA256 
295463b4a6e6c9b1a8ddde6d62f03b206cba160b39bb6c0801f64e138e21bca2 SHA512 
2ebeb5d1c1746ca90be4de644ce7dacf81fa7aee68c9408560bda8546dbf78d366ccecbcfada46261897a49c7df7dda5d5da3b030d76cb8ea59162c73238b62e
 WHIRLPOOL 
37a7f00ceca80b648b7765aab3e7a7523d516ed77af87d0312d2e02626d41390281c52e2e42e35a76c025f3ce6c4643e173a509d410b927e7e46dc1c76b732a9
 DIST artifactory-4.13.2.zip 41396298 SHA256 
f228ac35bfc506754c64c45e7a86306434371b37daef0f361f76fc30c13d72cb SHA512 
8469a5cbc956cf950ca8db0b8950996f02612996c12493ae45864193f7f9ff19638a1099fc391a1f849fcdb2dc355f7a33085f1136be8d74b6ff971523d83ea6
 WHIRLPOOL 
3600990597a193f06d1587999087c710950b24e9795fb165e1ef6c126d1441424343f26e8eba6abec070bb5443d1d33a84cfea694c8e527360a5a57a469bb51e
 DIST artifactory-4.14.0.zip 41394700 SHA256 
09d2f77e7cb6f1853cd5b8245312b979d2a0670656993df2672d27bf653554fa SHA512 
b922f2af5be087288be7e3a862158a8c68100a842d17a695235ffbdce5566d15be7e3e3c166732faf9a414e54a69d7837b0cbdb983c9e7f7a600e2ce96567268
 WHIRLPOOL 
11f6d1bd55837722f7f4ef408e9041e507dbd5f92255a32c0353cb79ecb2041c4b1ba3e846398b0c16b3b1c40cfbcdaafa8e419f2856c5dc615439c67e1bd03c
+DIST artifactory-4.14.1.zip 41393806 SHA256 
48deba9f045a0b3b796646043c2c01a26a673eb5706b3f9477cfc9292ddfef7e SHA512 
0d096e004ac91728fb7c80c12fbc4e6633de7b481c5b5043c95dab16b9b63df25449532dc8d94a582aa9eb5991d58bf2dd082630f3b3b166fde5ef0e5d2fff1d
 WHIRLPOOL 
d70c9516c93390798758018cbf3a0d17c89ba1d7e9fde4c5c3766f883cd95241ab75f64798154370d1f0832d142e734d1e5973dbf284c8651c979fc6cc0a4d9d
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.14.1.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.14.1.ebuild
new file mode 100644
index ..9cea80c
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.14.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/, dev-util/artifactory-bin/files/

2016-11-01 Thread Austin English
commit: 17134d9c4d4820234364e3f62467d612f96a616f
Author: Austin English  gentoo  org>
AuthorDate: Tue Nov  1 22:12:38 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Tue Nov  1 22:13:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17134d9c

dev-util/artifactory-bin: fix syntax error in initd

Package-Manager: portage-2.3.2

 .../artifactory-bin-4.14.0-r1.ebuild   |  97 
 dev-util/artifactory-bin/files/initd-r2| 165 +
 2 files changed, 262 insertions(+)

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.14.0-r1.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.14.0-r1.ebuild
new file mode 100644
index ..9cea80c
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.14.0-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc logs misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+   doexe bin/*
+
+   # FIXME: this is called by catalina.sh (it echoes the variables before 
starting
+   # artifactory, as well as makes sure log dir, etc. exists). Those 
directories
+   # could probably be moved to the ebuild and the script removed from 
catalina.sh
+   # without consequence (and quieter starts). Would need to check if 
CATALINA_*
+   # variables are actually used anywhere (from reading code don't appear 
to be
+   # actually needed)
+   exeinto ${TOMCAT_HOME}/bin
+   doexe misc/service/setenv.sh
+   doexe tomcat/bin/*
+
+   keepdir ${ARTIFACTORY_HOME}/backup
+   keepdir ${ARTIFACTORY_HOME}/data
+   keepdir ${ARTIFACTORY_HOME}/run
+   keepdir ${ARTIFACTORY_HOME}/work
+   keepdir ${TOMCAT_HOME}/logs/catalina
+   keepdir ${TOMCAT_HOME}/temp
+   keepdir ${TOMCAT_HOME}/work
+   keepdir /var/opt/jfrog/artifactory/run
+
+   newconfd "${FILESDIR}/confd" ${MY_PN}
+   newinitd "${FILESDIR}/initd-r2" ${MY_PN}
+
+   fowners -R artifactory:artifactory ${ARTIFACTORY_HOME}
+   fperms -R u+w ${TOMCAT_HOME}/work
+}

diff --git a/dev-util/artifactory-bin/files/initd-r2 
b/dev-util/artifactory-bin/files/initd-r2
new file mode 100644
index ..c9fbb05
--- /dev/null
+++ b/dev-util/artifactory-bin/files/initd-r2
@@ -0,0 +1,165 @@
+#!/sbin/openrc-run
+
+description="Manages the services needed to run Artifactory on a dedicated 
Tomcat"
+command="/opt/artifactory/tomcat/bin/catalina.sh"
+pidfile="/opt/artifactory/run/artifactory.pid"
+procname="artifactory"
+user=${ARTIFACTORY_USER:-artifactory}
+group=${group:-artifactory}
+
+# Artifactory can be very slow to start, and without locking,
+# restarting via runscript is very error prone
+CATALINA_LOCK_FILE="$(dirname $pidfile)/lock"
+
+CATALINA_MGMT_PORT=8015
+REQUIRED_JAVA_VERSION="1.8"

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-10-20 Thread Austin English
commit: 9f14ba870f644190725405736474ddd078b176a5
Author: Austin English  gentoo  org>
AuthorDate: Thu Oct 20 23:02:16 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Thu Oct 20 23:02:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f14ba87

dev-util/artifactory-bin: version bump

Package-Manager: portage-2.3.2

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.14.0.ebuild  | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index ad299af..38b5128 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -8,6 +8,7 @@ DIST artifactory-4.12.2.zip 41341044 SHA256 
7b330eed2c53633bbe77e4ffaa1f7826bde5
 DIST artifactory-4.13.0.zip 41369905 SHA256 
5724e879642ba393f3242f73fc2684d3eafb21dee80c8086ab566f5c99aa908d SHA512 
958d8c02ada6e140ed73279db4645869f56abe91a0f9c64777035e212c880e4b15659bf28a8055cf2f7e65c15cf429e0dd678bdee11a2ba18d11654c91500053
 WHIRLPOOL 
70b1c03463b99b83572d6e00dcf46b9f236e16b5d7eb83f0e8cb2a08cfa04d5757dda02fd28470212fbbe44ddabbd26b9b1a8085e2336661b9cd240d106882de
 DIST artifactory-4.13.1.zip 41392021 SHA256 
295463b4a6e6c9b1a8ddde6d62f03b206cba160b39bb6c0801f64e138e21bca2 SHA512 
2ebeb5d1c1746ca90be4de644ce7dacf81fa7aee68c9408560bda8546dbf78d366ccecbcfada46261897a49c7df7dda5d5da3b030d76cb8ea59162c73238b62e
 WHIRLPOOL 
37a7f00ceca80b648b7765aab3e7a7523d516ed77af87d0312d2e02626d41390281c52e2e42e35a76c025f3ce6c4643e173a509d410b927e7e46dc1c76b732a9
 DIST artifactory-4.13.2.zip 41396298 SHA256 
f228ac35bfc506754c64c45e7a86306434371b37daef0f361f76fc30c13d72cb SHA512 
8469a5cbc956cf950ca8db0b8950996f02612996c12493ae45864193f7f9ff19638a1099fc391a1f849fcdb2dc355f7a33085f1136be8d74b6ff971523d83ea6
 WHIRLPOOL 
3600990597a193f06d1587999087c710950b24e9795fb165e1ef6c126d1441424343f26e8eba6abec070bb5443d1d33a84cfea694c8e527360a5a57a469bb51e
+DIST artifactory-4.14.0.zip 41394700 SHA256 
09d2f77e7cb6f1853cd5b8245312b979d2a0670656993df2672d27bf653554fa SHA512 
b922f2af5be087288be7e3a862158a8c68100a842d17a695235ffbdce5566d15be7e3e3c166732faf9a414e54a69d7837b0cbdb983c9e7f7a600e2ce96567268
 WHIRLPOOL 
11f6d1bd55837722f7f4ef408e9041e507dbd5f92255a32c0353cb79ecb2041c4b1ba3e846398b0c16b3b1c40cfbcdaafa8e419f2856c5dc615439c67e1bd03c
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.14.0.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.14.0.ebuild
new file mode 100644
index ..90c97a4
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.14.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+   

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-10-18 Thread Austin English
commit: c71f7971ddaed505e27b69fba0dc61ab180a3fe2
Author: Austin English  gentoo  org>
AuthorDate: Tue Oct 18 21:14:34 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Tue Oct 18 21:14:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c71f7971

dev-util/artifactory-bin: version bump - 4.13.2

Package-Manager: portage-2.3.0

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.13.2.ebuild  | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index a6e08ff..ad299af 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -7,6 +7,7 @@ DIST artifactory-4.12.1.zip 41353207 SHA256 
30dfa6cb9e5b1b8beb917fa7aacd76b54882
 DIST artifactory-4.12.2.zip 41341044 SHA256 
7b330eed2c53633bbe77e4ffaa1f7826bde57751e9c2be50884d4fb5e6cfa6f5 SHA512 
a5d35958263b58caf8971d2c67eb9417f576875f56ed302ffa1d1deffc4b7e0a2595b21ea077eabf4e42f12e947689b92f328ee887c6714317419a43a51b8cd7
 WHIRLPOOL 
8d79e189d4e9279a37dfb06c2b8413d3bad67da3626665e8eaf88af35c3b0b31e1f5e5498a332bf9fe218e0b02e1382357b90b48220c08479697480b51feada8
 DIST artifactory-4.13.0.zip 41369905 SHA256 
5724e879642ba393f3242f73fc2684d3eafb21dee80c8086ab566f5c99aa908d SHA512 
958d8c02ada6e140ed73279db4645869f56abe91a0f9c64777035e212c880e4b15659bf28a8055cf2f7e65c15cf429e0dd678bdee11a2ba18d11654c91500053
 WHIRLPOOL 
70b1c03463b99b83572d6e00dcf46b9f236e16b5d7eb83f0e8cb2a08cfa04d5757dda02fd28470212fbbe44ddabbd26b9b1a8085e2336661b9cd240d106882de
 DIST artifactory-4.13.1.zip 41392021 SHA256 
295463b4a6e6c9b1a8ddde6d62f03b206cba160b39bb6c0801f64e138e21bca2 SHA512 
2ebeb5d1c1746ca90be4de644ce7dacf81fa7aee68c9408560bda8546dbf78d366ccecbcfada46261897a49c7df7dda5d5da3b030d76cb8ea59162c73238b62e
 WHIRLPOOL 
37a7f00ceca80b648b7765aab3e7a7523d516ed77af87d0312d2e02626d41390281c52e2e42e35a76c025f3ce6c4643e173a509d410b927e7e46dc1c76b732a9
+DIST artifactory-4.13.2.zip 41396298 SHA256 
f228ac35bfc506754c64c45e7a86306434371b37daef0f361f76fc30c13d72cb SHA512 
8469a5cbc956cf950ca8db0b8950996f02612996c12493ae45864193f7f9ff19638a1099fc391a1f849fcdb2dc355f7a33085f1136be8d74b6ff971523d83ea6
 WHIRLPOOL 
3600990597a193f06d1587999087c710950b24e9795fb165e1ef6c126d1441424343f26e8eba6abec070bb5443d1d33a84cfea694c8e527360a5a57a469bb51e
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.13.2.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.13.2.ebuild
new file mode 100644
index ..90c97a4
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.13.2.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/files/, dev-util/artifactory-bin/

2016-10-14 Thread Austin English
commit: 5718cff0244fecb9ea96e9eadb8769b464396fee
Author: Austin English  gentoo  org>
AuthorDate: Fri Oct 14 17:12:06 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Fri Oct 14 17:49:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5718cff0

dev-util/artifactory-bin: version bump - 4.13.1

Also fix bashism warnings in /etc/init.d/artifactory

Package-Manager: portage-2.3.0

 dev-util/artifactory-bin/Manifest  |   1 +
 .../artifactory-bin/artifactory-bin-4.13.1.ebuild  |  97 
 dev-util/artifactory-bin/files/initd-r1| 165 +
 3 files changed, 263 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 4381336..a6e08ff 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -6,6 +6,7 @@ DIST artifactory-4.12.0.1.zip 41341922 SHA256 
463e6267fbc6f7f4393a6fd824d812d398
 DIST artifactory-4.12.1.zip 41353207 SHA256 
30dfa6cb9e5b1b8beb917fa7aacd76b54882d054edcc7a1b77761e3bef03bd82 SHA512 
e0974bc83259859964883a90b064a38736aa2cb59fba1eb34b96a7b48fd33c9f3d64f0624b7169e5b663daf31b0999e33e9bd1fde8a25f7eb8ef2e1fc47626ea
 WHIRLPOOL 
c9ce0bd1f0a5172a057e8c5f32312308e4cfaa4ae59496947b6a757f904b7ef8ac459e270af3df392398e49d68d0f4a6e542e2a8d89cc4fce05821d08122f40c
 DIST artifactory-4.12.2.zip 41341044 SHA256 
7b330eed2c53633bbe77e4ffaa1f7826bde57751e9c2be50884d4fb5e6cfa6f5 SHA512 
a5d35958263b58caf8971d2c67eb9417f576875f56ed302ffa1d1deffc4b7e0a2595b21ea077eabf4e42f12e947689b92f328ee887c6714317419a43a51b8cd7
 WHIRLPOOL 
8d79e189d4e9279a37dfb06c2b8413d3bad67da3626665e8eaf88af35c3b0b31e1f5e5498a332bf9fe218e0b02e1382357b90b48220c08479697480b51feada8
 DIST artifactory-4.13.0.zip 41369905 SHA256 
5724e879642ba393f3242f73fc2684d3eafb21dee80c8086ab566f5c99aa908d SHA512 
958d8c02ada6e140ed73279db4645869f56abe91a0f9c64777035e212c880e4b15659bf28a8055cf2f7e65c15cf429e0dd678bdee11a2ba18d11654c91500053
 WHIRLPOOL 
70b1c03463b99b83572d6e00dcf46b9f236e16b5d7eb83f0e8cb2a08cfa04d5757dda02fd28470212fbbe44ddabbd26b9b1a8085e2336661b9cd240d106882de
+DIST artifactory-4.13.1.zip 41392021 SHA256 
295463b4a6e6c9b1a8ddde6d62f03b206cba160b39bb6c0801f64e138e21bca2 SHA512 
2ebeb5d1c1746ca90be4de644ce7dacf81fa7aee68c9408560bda8546dbf78d366ccecbcfada46261897a49c7df7dda5d5da3b030d76cb8ea59162c73238b62e
 WHIRLPOOL 
37a7f00ceca80b648b7765aab3e7a7523d516ed77af87d0312d2e02626d41390281c52e2e42e35a76c025f3ce6c4643e173a509d410b927e7e46dc1c76b732a9
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.13.1.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.13.1.ebuild
new file mode 100644
index ..90c97a4
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.13.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-09-21 Thread Austin English
commit: 4de0aae0fe9558d276ec7ba7bc8319a5a8692286
Author: Austin English  gentoo  org>
AuthorDate: Wed Sep 21 21:31:36 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Wed Sep 21 22:08:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4de0aae0

dev-util/artifactory-bin: version bump

Package-Manager: portage-2.3.0

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.13.0.ebuild  | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 85e58bc..4381336 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -5,6 +5,7 @@ DIST artifactory-4.11.2.zip 41256431 SHA256 
d765046bca9debf7bf1bdac391846fa767c9
 DIST artifactory-4.12.0.1.zip 41341922 SHA256 
463e6267fbc6f7f4393a6fd824d812d3989bf1f66ff062148d03e76fcbe2e097 SHA512 
5942d5f5f6ef5b6872b97118475bbb6d6f3df51f995265519ebece19323457f3a72191298e77c0cc092abd81b90db9bd86babc418a6fdf0004add85718383952
 WHIRLPOOL 
a003a3f43f9344498758481a4c6ec02df90d6e85b67d2b5700a53eb0b4ae5aa6ca30e8b7c172839dabce0ef371bf32fd1e2da025eea889eedeccbd446c699d4f
 DIST artifactory-4.12.1.zip 41353207 SHA256 
30dfa6cb9e5b1b8beb917fa7aacd76b54882d054edcc7a1b77761e3bef03bd82 SHA512 
e0974bc83259859964883a90b064a38736aa2cb59fba1eb34b96a7b48fd33c9f3d64f0624b7169e5b663daf31b0999e33e9bd1fde8a25f7eb8ef2e1fc47626ea
 WHIRLPOOL 
c9ce0bd1f0a5172a057e8c5f32312308e4cfaa4ae59496947b6a757f904b7ef8ac459e270af3df392398e49d68d0f4a6e542e2a8d89cc4fce05821d08122f40c
 DIST artifactory-4.12.2.zip 41341044 SHA256 
7b330eed2c53633bbe77e4ffaa1f7826bde57751e9c2be50884d4fb5e6cfa6f5 SHA512 
a5d35958263b58caf8971d2c67eb9417f576875f56ed302ffa1d1deffc4b7e0a2595b21ea077eabf4e42f12e947689b92f328ee887c6714317419a43a51b8cd7
 WHIRLPOOL 
8d79e189d4e9279a37dfb06c2b8413d3bad67da3626665e8eaf88af35c3b0b31e1f5e5498a332bf9fe218e0b02e1382357b90b48220c08479697480b51feada8
+DIST artifactory-4.13.0.zip 41369905 SHA256 
5724e879642ba393f3242f73fc2684d3eafb21dee80c8086ab566f5c99aa908d SHA512 
958d8c02ada6e140ed73279db4645869f56abe91a0f9c64777035e212c880e4b15659bf28a8055cf2f7e65c15cf429e0dd678bdee11a2ba18d11654c91500053
 WHIRLPOOL 
70b1c03463b99b83572d6e00dcf46b9f236e16b5d7eb83f0e8cb2a08cfa04d5757dda02fd28470212fbbe44ddabbd26b9b1a8085e2336661b9cd240d106882de
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.13.0.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.13.0.ebuild
new file mode 100644
index ..211224d
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.13.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-09-16 Thread Austin English
commit: 091f5d303ab767e4c618c7d3a5dd2ae94c8df1d8
Author: Austin English  gentoo  org>
AuthorDate: Fri Sep 16 19:05:09 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Fri Sep 16 19:37:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=091f5d30

dev-util/artifactory-bin: version bump

Package-Manager: portage-2.3.0

 dev-util/artifactory-bin/Manifest  |  2 +
 .../artifactory-bin/artifactory-bin-4.12.1.ebuild  | 97 ++
 .../artifactory-bin/artifactory-bin-4.12.2.ebuild  | 97 ++
 3 files changed, 196 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 49a192a..85e58bc 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -3,6 +3,8 @@ DIST artifactory-4.11.0.zip 41244801 SHA256 
3bb7f2409b8d779c60b8ce773501fefebe5a
 DIST artifactory-4.11.1.zip 41246363 SHA256 
88837e1542c03c5571ab908bf30d7cf222b6b87f2759a3d8db9cc60c3f86 SHA512 
1cca679e0480d56e6e708708ac1571ae6e623d794655321accb206f4ae9693481a8875b18675c348fa48d8739f3b902004ea43f633864bdcfd662e3357e00887
 WHIRLPOOL 
e7222c7806dc28fb8956da0b818ad6cdd15b922ef3150d20c2dc0ea336fa7c0bc40527d7be8fe73800855de5eb54ae5e4be357b2122d168fb121f2bdf24f
 DIST artifactory-4.11.2.zip 41256431 SHA256 
d765046bca9debf7bf1bdac391846fa767c9671ba95b2aeb32c7c73a88f42c33 SHA512 
f06b641359dbbda937e7dee05a0ac59a7ce713b2438046bf8b6cd9a4c87c2ad4a81ed1bb0cbb262b3dba7aea8543bdc6c6217dce559b8f4b239bccca399c4cc8
 WHIRLPOOL 
8e889d8a25c34caaca88b1d76ccb2a6b96deb46424bde525e3281726e6a5472e8050ab58392b85fc11d4cda8477c57946e063e6827290ebc4270c1e591c02725
 DIST artifactory-4.12.0.1.zip 41341922 SHA256 
463e6267fbc6f7f4393a6fd824d812d3989bf1f66ff062148d03e76fcbe2e097 SHA512 
5942d5f5f6ef5b6872b97118475bbb6d6f3df51f995265519ebece19323457f3a72191298e77c0cc092abd81b90db9bd86babc418a6fdf0004add85718383952
 WHIRLPOOL 
a003a3f43f9344498758481a4c6ec02df90d6e85b67d2b5700a53eb0b4ae5aa6ca30e8b7c172839dabce0ef371bf32fd1e2da025eea889eedeccbd446c699d4f
+DIST artifactory-4.12.1.zip 41353207 SHA256 
30dfa6cb9e5b1b8beb917fa7aacd76b54882d054edcc7a1b77761e3bef03bd82 SHA512 
e0974bc83259859964883a90b064a38736aa2cb59fba1eb34b96a7b48fd33c9f3d64f0624b7169e5b663daf31b0999e33e9bd1fde8a25f7eb8ef2e1fc47626ea
 WHIRLPOOL 
c9ce0bd1f0a5172a057e8c5f32312308e4cfaa4ae59496947b6a757f904b7ef8ac459e270af3df392398e49d68d0f4a6e542e2a8d89cc4fce05821d08122f40c
+DIST artifactory-4.12.2.zip 41341044 SHA256 
7b330eed2c53633bbe77e4ffaa1f7826bde57751e9c2be50884d4fb5e6cfa6f5 SHA512 
a5d35958263b58caf8971d2c67eb9417f576875f56ed302ffa1d1deffc4b7e0a2595b21ea077eabf4e42f12e947689b92f328ee887c6714317419a43a51b8cd7
 WHIRLPOOL 
8d79e189d4e9279a37dfb06c2b8413d3bad67da3626665e8eaf88af35c3b0b31e1f5e5498a332bf9fe218e0b02e1382357b90b48220c08479697480b51feada8
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.12.1.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.12.1.ebuild
new file mode 100644
index ..211224d
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.12.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-09-01 Thread Austin English
commit: 85b7db3cd5805eda0f346d4b139f15ee4830387d
Author: Austin English  gentoo  org>
AuthorDate: Thu Sep  1 20:50:28 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Thu Sep  1 22:07:22 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85b7db3c

dev-util/artifactory-bin: version bump

Package-Manager: portage-2.3.0

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin-4.12.0.1.ebuild| 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 69dc568..49a192a 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -2,6 +2,7 @@ DIST artifactory-4.10.0.zip 41178841 SHA256 
949499822127506906589f88b887cc712931
 DIST artifactory-4.11.0.zip 41244801 SHA256 
3bb7f2409b8d779c60b8ce773501fefebe5af0146c65a26085bc07f52a0b7ae3 SHA512 
7c76cfcc8e040d3301a5a84805618089eb76683ed621fef7a094e4b4c9232d3b6730bb1de4375513895f5c8f8983070587ce2fdeb3f28a4dfa28206aa06f6517
 WHIRLPOOL 
abf18758f7ddc993c2c7bc1e39c33dc6b65c8f99ebfc6413ef8a1eac381f7c0bdf46b9c1768c8945813f6acff62774bae90a21911405dff8b621cda0db0c1798
 DIST artifactory-4.11.1.zip 41246363 SHA256 
88837e1542c03c5571ab908bf30d7cf222b6b87f2759a3d8db9cc60c3f86 SHA512 
1cca679e0480d56e6e708708ac1571ae6e623d794655321accb206f4ae9693481a8875b18675c348fa48d8739f3b902004ea43f633864bdcfd662e3357e00887
 WHIRLPOOL 
e7222c7806dc28fb8956da0b818ad6cdd15b922ef3150d20c2dc0ea336fa7c0bc40527d7be8fe73800855de5eb54ae5e4be357b2122d168fb121f2bdf24f
 DIST artifactory-4.11.2.zip 41256431 SHA256 
d765046bca9debf7bf1bdac391846fa767c9671ba95b2aeb32c7c73a88f42c33 SHA512 
f06b641359dbbda937e7dee05a0ac59a7ce713b2438046bf8b6cd9a4c87c2ad4a81ed1bb0cbb262b3dba7aea8543bdc6c6217dce559b8f4b239bccca399c4cc8
 WHIRLPOOL 
8e889d8a25c34caaca88b1d76ccb2a6b96deb46424bde525e3281726e6a5472e8050ab58392b85fc11d4cda8477c57946e063e6827290ebc4270c1e591c02725
+DIST artifactory-4.12.0.1.zip 41341922 SHA256 
463e6267fbc6f7f4393a6fd824d812d3989bf1f66ff062148d03e76fcbe2e097 SHA512 
5942d5f5f6ef5b6872b97118475bbb6d6f3df51f995265519ebece19323457f3a72191298e77c0cc092abd81b90db9bd86babc418a6fdf0004add85718383952
 WHIRLPOOL 
a003a3f43f9344498758481a4c6ec02df90d6e85b67d2b5700a53eb0b4ae5aa6ca30e8b7c172839dabce0ef371bf32fd1e2da025eea889eedeccbd446c699d4f
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.12.0.1.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.12.0.1.ebuild
new file mode 100644
index ..211224d
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.12.0.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-08-24 Thread Austin English
commit: db686e4279b079c335059e2c74439e1b19b181c2
Author: Austin English  gentoo  org>
AuthorDate: Fri Aug 19 17:41:12 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Wed Aug 24 16:36:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db686e42

dev-util/artifactory-bin: version bumps

Package-Manager: portage-2.3.0

 dev-util/artifactory-bin/Manifest  |  2 +
 .../artifactory-bin/artifactory-bin-4.11.1.ebuild  | 97 ++
 .../artifactory-bin/artifactory-bin-4.11.2.ebuild  | 97 ++
 3 files changed, 196 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 5b7bbe7..69dc568 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -1,5 +1,7 @@
 DIST artifactory-4.10.0.zip 41178841 SHA256 
949499822127506906589f88b887cc712931f95efcbc906584e1163e0976f058 SHA512 
72f5665faec48701b96ccfdf46f42512a82874a636b912bec21a1738828fe5d5f6712307380ede07c787a3778064ade13b8d9cbd18442f77454539836d4a7bcd
 WHIRLPOOL 
3afb4070946ddf83664edd98fa3c2288f359bb0f24fd8546750f4641ec4c391a84cdac9df3e383e9d4d8cf7baae48d67c4d0c8aea0a20aeae92273e4b8613d7e
 DIST artifactory-4.11.0.zip 41244801 SHA256 
3bb7f2409b8d779c60b8ce773501fefebe5af0146c65a26085bc07f52a0b7ae3 SHA512 
7c76cfcc8e040d3301a5a84805618089eb76683ed621fef7a094e4b4c9232d3b6730bb1de4375513895f5c8f8983070587ce2fdeb3f28a4dfa28206aa06f6517
 WHIRLPOOL 
abf18758f7ddc993c2c7bc1e39c33dc6b65c8f99ebfc6413ef8a1eac381f7c0bdf46b9c1768c8945813f6acff62774bae90a21911405dff8b621cda0db0c1798
+DIST artifactory-4.11.1.zip 41246363 SHA256 
88837e1542c03c5571ab908bf30d7cf222b6b87f2759a3d8db9cc60c3f86 SHA512 
1cca679e0480d56e6e708708ac1571ae6e623d794655321accb206f4ae9693481a8875b18675c348fa48d8739f3b902004ea43f633864bdcfd662e3357e00887
 WHIRLPOOL 
e7222c7806dc28fb8956da0b818ad6cdd15b922ef3150d20c2dc0ea336fa7c0bc40527d7be8fe73800855de5eb54ae5e4be357b2122d168fb121f2bdf24f
+DIST artifactory-4.11.2.zip 41256431 SHA256 
d765046bca9debf7bf1bdac391846fa767c9671ba95b2aeb32c7c73a88f42c33 SHA512 
f06b641359dbbda937e7dee05a0ac59a7ce713b2438046bf8b6cd9a4c87c2ad4a81ed1bb0cbb262b3dba7aea8543bdc6c6217dce559b8f4b239bccca399c4cc8
 WHIRLPOOL 
8e889d8a25c34caaca88b1d76ccb2a6b96deb46424bde525e3281726e6a5472e8050ab58392b85fc11d4cda8477c57946e063e6827290ebc4270c1e591c02725
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.11.1.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.11.1.ebuild
new file mode 100644
index ..211224d
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.11.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+   

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-08-01 Thread Austin English
commit: 923cd12d2232edb182f60cc7431c1e6b8f3f9cac
Author: Austin English  gentoo  org>
AuthorDate: Mon Aug  1 18:36:01 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Mon Aug  1 18:36:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=923cd12d

dev-util/artifactory-bin: version bump

Package-Manager: portage-2.3.0

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.11.0.ebuild  | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index aeef678..5b7bbe7 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -1,4 +1,5 @@
 DIST artifactory-4.10.0.zip 41178841 SHA256 
949499822127506906589f88b887cc712931f95efcbc906584e1163e0976f058 SHA512 
72f5665faec48701b96ccfdf46f42512a82874a636b912bec21a1738828fe5d5f6712307380ede07c787a3778064ade13b8d9cbd18442f77454539836d4a7bcd
 WHIRLPOOL 
3afb4070946ddf83664edd98fa3c2288f359bb0f24fd8546750f4641ec4c391a84cdac9df3e383e9d4d8cf7baae48d67c4d0c8aea0a20aeae92273e4b8613d7e
+DIST artifactory-4.11.0.zip 41244801 SHA256 
3bb7f2409b8d779c60b8ce773501fefebe5af0146c65a26085bc07f52a0b7ae3 SHA512 
7c76cfcc8e040d3301a5a84805618089eb76683ed621fef7a094e4b4c9232d3b6730bb1de4375513895f5c8f8983070587ce2fdeb3f28a4dfa28206aa06f6517
 WHIRLPOOL 
abf18758f7ddc993c2c7bc1e39c33dc6b65c8f99ebfc6413ef8a1eac381f7c0bdf46b9c1768c8945813f6acff62774bae90a21911405dff8b621cda0db0c1798
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.11.0.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.11.0.ebuild
new file mode 100644
index 000..211224d
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.11.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-07-26 Thread Austin English
commit: d640f70b27f636107850a1416c55d6ec17f732c8
Author: Austin English  gentoo  org>
AuthorDate: Tue Jul 26 19:40:06 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Tue Jul 26 19:41:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d640f70b

dev-util/artifactory-bin: version bump

Package-Manager: portage-2.3.0

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.10.0.ebuild  | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 9709645..aeef678 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -1,3 +1,4 @@
+DIST artifactory-4.10.0.zip 41178841 SHA256 
949499822127506906589f88b887cc712931f95efcbc906584e1163e0976f058 SHA512 
72f5665faec48701b96ccfdf46f42512a82874a636b912bec21a1738828fe5d5f6712307380ede07c787a3778064ade13b8d9cbd18442f77454539836d4a7bcd
 WHIRLPOOL 
3afb4070946ddf83664edd98fa3c2288f359bb0f24fd8546750f4641ec4c391a84cdac9df3e383e9d4d8cf7baae48d67c4d0c8aea0a20aeae92273e4b8613d7e
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.10.0.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.10.0.ebuild
new file mode 100644
index 000..211224d
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.10.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc logs misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+   doexe bin/*
+
+   # FIXME: this is called by catalina.sh (it echoes the variables before 
starting
+   # 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-07-19 Thread Austin English
commit: 30a5c9c3efa3ef88f8fea9616cb9b8dcc33ac904
Author: Austin English  gentoo  org>
AuthorDate: Tue Jul 19 17:09:48 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Tue Jul 19 17:09:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30a5c9c3

dev-util/artifactory-bin: version bump, 4.9.1

Package-Manager: portage-2.3.0

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.9.1.ebuild   | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 57c95ac..9709645 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -4,3 +4,4 @@ DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afa
 DIST artifactory-4.8.1.zip 40949993 SHA256 
12218335d6f45d1ffca0bce2cbe636cf4d8c9fe71747dc9ce04a7be78acd9529 SHA512 
0873003d307187adcaff77ab52daebdcffbc96748f2203ead169148fdb3860fd90d28c68bacf58fc928c5608303d5d4fdb839ed7d5c6f5a4ddca573e91946c85
 WHIRLPOOL 
a6c38a5d38ea3034c578b47b7021146cb960e25833155606d9cd2d301c644b400af81a28c4779caec82ae0296f04185225d3bb6cee06dffdb224937430df390a
 DIST artifactory-4.8.2.zip 40938623 SHA256 
6821196157e9cba70f99c0fe960971333455327cc54139f310edc30e88dd2392 SHA512 
9bf40b945c943a08a92f5e1fac3a75ab923fcc57e04a7e845e8fb75a0825199b2ce6f3d90c58669777388c400c953873123e8de76a0244786d4106f6b426a6bc
 WHIRLPOOL 
571654b43cc36f02bb731e46ae89b37146c2e785419f620226363a7f38b11cb8e54667d2faff1c922ee2e8437c18d05c37c7afeb395cf59328a31ad8ff1b52e8
 DIST artifactory-4.9.0.zip 41020300 SHA256 
c97c2293c676c9ca5e3c0c64b2a02e2565427f3fe2cf5aa3e0518f6b541a23e5 SHA512 
266891f4d1b580f4f0764dee75f452cc73d76287565e8d89a84b912bb58d816e08369b56a1cf6858d23aefbf95d347386b9a6f4dc451d8ed80635b972680911d
 WHIRLPOOL 
4a485c80d4f5e68ac19616569e14fb4623329aebf7d1724e4d2820dd00f26d97a2a1afc69f8df39af3a39db87e6098c9739f9c51e5b5b6f19e18835729f3
+DIST artifactory-4.9.1.zip 41017240 SHA256 
d69635a02c2cdf7d19b593dd5378baf77552769c06ceb0900cb2177f61594d0d SHA512 
4001128fb7d4cb38417c96745a0795434498afe2e44d316748982fee4afde5076f8c05062f1712f169f260b2df3bd7322e845846d32acef0a65aa8385e44b1eb
 WHIRLPOOL 
1d781e82505a26b42e27d90f540d52d5eff22d25feff9ef8118ca32172b793509d0b2452506ac360833ce88a05e6ee9bb95d22f1c7c186fda624004b1a4ffe24

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.9.1.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.9.1.ebuild
new file mode 100644
index 000..211224d
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.9.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc logs misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+   doexe bin/*
+
+   # FIXME: this 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-07-12 Thread Austin English
commit: 361cea68b5232d0d6029361b5e673953b091143c
Author: Austin English  gentoo  org>
AuthorDate: Tue Jul 12 21:56:44 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Tue Jul 12 21:57:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=361cea68

dev-util/artifactory-bin: version bump

Package-Manager: portage-2.3.0

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.9.0.ebuild   | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index f3e68d8..57c95ac 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -3,3 +3,4 @@ DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9ab
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88
 DIST artifactory-4.8.1.zip 40949993 SHA256 
12218335d6f45d1ffca0bce2cbe636cf4d8c9fe71747dc9ce04a7be78acd9529 SHA512 
0873003d307187adcaff77ab52daebdcffbc96748f2203ead169148fdb3860fd90d28c68bacf58fc928c5608303d5d4fdb839ed7d5c6f5a4ddca573e91946c85
 WHIRLPOOL 
a6c38a5d38ea3034c578b47b7021146cb960e25833155606d9cd2d301c644b400af81a28c4779caec82ae0296f04185225d3bb6cee06dffdb224937430df390a
 DIST artifactory-4.8.2.zip 40938623 SHA256 
6821196157e9cba70f99c0fe960971333455327cc54139f310edc30e88dd2392 SHA512 
9bf40b945c943a08a92f5e1fac3a75ab923fcc57e04a7e845e8fb75a0825199b2ce6f3d90c58669777388c400c953873123e8de76a0244786d4106f6b426a6bc
 WHIRLPOOL 
571654b43cc36f02bb731e46ae89b37146c2e785419f620226363a7f38b11cb8e54667d2faff1c922ee2e8437c18d05c37c7afeb395cf59328a31ad8ff1b52e8
+DIST artifactory-4.9.0.zip 41020300 SHA256 
c97c2293c676c9ca5e3c0c64b2a02e2565427f3fe2cf5aa3e0518f6b541a23e5 SHA512 
266891f4d1b580f4f0764dee75f452cc73d76287565e8d89a84b912bb58d816e08369b56a1cf6858d23aefbf95d347386b9a6f4dc451d8ed80635b972680911d
 WHIRLPOOL 
4a485c80d4f5e68ac19616569e14fb4623329aebf7d1724e4d2820dd00f26d97a2a1afc69f8df39af3a39db87e6098c9739f9c51e5b5b6f19e18835729f3

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.9.0.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.9.0.ebuild
new file mode 100644
index 000..211224d
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.9.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc logs misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+   doexe bin/*
+
+   # FIXME: this is 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-06-20 Thread Austin English
commit: 64abe02250b21699b44a5f4b885725e986886040
Author: Austin English  gentoo  org>
AuthorDate: Mon Jun 20 17:49:33 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Mon Jun 20 17:50:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64abe022

dev-util/artifactory-bin: version bump

Package-Manager: portage-2.2.28

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.8.2.ebuild   | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 3d59939..f3e68d8 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -2,3 +2,4 @@ DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88
 DIST artifactory-4.8.1.zip 40949993 SHA256 
12218335d6f45d1ffca0bce2cbe636cf4d8c9fe71747dc9ce04a7be78acd9529 SHA512 
0873003d307187adcaff77ab52daebdcffbc96748f2203ead169148fdb3860fd90d28c68bacf58fc928c5608303d5d4fdb839ed7d5c6f5a4ddca573e91946c85
 WHIRLPOOL 
a6c38a5d38ea3034c578b47b7021146cb960e25833155606d9cd2d301c644b400af81a28c4779caec82ae0296f04185225d3bb6cee06dffdb224937430df390a
+DIST artifactory-4.8.2.zip 40938623 SHA256 
6821196157e9cba70f99c0fe960971333455327cc54139f310edc30e88dd2392 SHA512 
9bf40b945c943a08a92f5e1fac3a75ab923fcc57e04a7e845e8fb75a0825199b2ce6f3d90c58669777388c400c953873123e8de76a0244786d4106f6b426a6bc
 WHIRLPOOL 
571654b43cc36f02bb731e46ae89b37146c2e785419f620226363a7f38b11cb8e54667d2faff1c922ee2e8437c18d05c37c7afeb395cf59328a31ad8ff1b52e8

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.8.2.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.8.2.ebuild
new file mode 100644
index 000..211224d
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.8.2.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc logs misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+   doexe bin/*
+
+   # FIXME: this is 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-06-14 Thread Austin English
commit: e91dc1e6c7786a2d409df4b5f97f8322f950329f
Author: Austin English  gentoo  org>
AuthorDate: Tue Jun 14 20:22:05 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Tue Jun 14 20:22:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e91dc1e6

dev-util/artifactory-bin: version bump - artifactory-4.8.1

Package-Manager: portage-2.2.28

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.8.1.ebuild   | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index ae78f5b..3d59939 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -1,3 +1,4 @@
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
 DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88
+DIST artifactory-4.8.1.zip 40949993 SHA256 
12218335d6f45d1ffca0bce2cbe636cf4d8c9fe71747dc9ce04a7be78acd9529 SHA512 
0873003d307187adcaff77ab52daebdcffbc96748f2203ead169148fdb3860fd90d28c68bacf58fc928c5608303d5d4fdb839ed7d5c6f5a4ddca573e91946c85
 WHIRLPOOL 
a6c38a5d38ea3034c578b47b7021146cb960e25833155606d9cd2d301c644b400af81a28c4779caec82ae0296f04185225d3bb6cee06dffdb224937430df390a

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.8.1.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.8.1.ebuild
new file mode 100644
index 000..211224d
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.8.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc logs misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+   doexe bin/*
+
+   # FIXME: this is called by catalina.sh (it echoes the variables before 
starting
+  

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-06-14 Thread Austin English
commit: 102ba791f5e1b050d87b3f756537857b35b0074e
Author: Austin English  gentoo  org>
AuthorDate: Tue Jun 14 20:20:34 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Tue Jun 14 20:22:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102ba791

dev-util/artifactory-bin: fix LICENSE (LGPL-3+, not Apache-2.0)

Package-Manager: portage-2.2.28

 dev-util/artifactory-bin/artifactory-bin-4.7.6.ebuild | 2 +-
 dev-util/artifactory-bin/artifactory-bin-4.7.7.ebuild | 2 +-
 dev-util/artifactory-bin/artifactory-bin-4.8.0.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.7.6.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.7.6.ebuild
index 7698961..27d65dc 100644
--- a/dev-util/artifactory-bin/artifactory-bin-4.7.6.ebuild
+++ b/dev-util/artifactory-bin/artifactory-bin-4.7.6.ebuild
@@ -19,7 +19,7 @@ DESCRIPTION="The world's most advanced repository manager for 
maven"
 HOMEPAGE="http://www.jfrog.org/products.php;
 
SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
 
-LICENSE="Apache-2.0"
+LICENSE="LGPL-3+"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
 IUSE="ssl"

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.7.7.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.7.7.ebuild
index 7698961..27d65dc 100644
--- a/dev-util/artifactory-bin/artifactory-bin-4.7.7.ebuild
+++ b/dev-util/artifactory-bin/artifactory-bin-4.7.7.ebuild
@@ -19,7 +19,7 @@ DESCRIPTION="The world's most advanced repository manager for 
maven"
 HOMEPAGE="http://www.jfrog.org/products.php;
 
SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
 
-LICENSE="Apache-2.0"
+LICENSE="LGPL-3+"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
 IUSE="ssl"

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.8.0.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.8.0.ebuild
index b11f9b2..8c147a1 100644
--- a/dev-util/artifactory-bin/artifactory-bin-4.8.0.ebuild
+++ b/dev-util/artifactory-bin/artifactory-bin-4.8.0.ebuild
@@ -21,7 +21,7 @@ DESCRIPTION="The world's most advanced repository manager for 
maven"
 HOMEPAGE="http://www.jfrog.org/products.php;
 
SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
 
-LICENSE="Apache-2.0"
+LICENSE="LGPL-3+"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
 IUSE="ssl"



[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-05-23 Thread Austin English
commit: ee756cea6263df3e2ad15ec7fa5d37d1ca2112c8
Author: Austin English  gentoo  org>
AuthorDate: Mon May 23 16:11:39 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Mon May 23 16:32:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee756cea

dev-util/artifactory-bin: version bump to 4.8.0

Package-Manager: portage-2.2.26

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.8.0.ebuild   | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 43b107a..ae78f5b 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -1,2 +1,3 @@
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
 DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e
+DIST artifactory-4.8.0.zip 41084705 SHA256 
2de13962ad1e6f4f1537e1fd86b6e70da6afae67a2449bf0cb369d3a84267647 SHA512 
a21310a7699c63a2fe3f305f42fef0aab6a0b9d43b2b8ba89d2360e5f8364d233f6f64616271d6cd4e79c1cecd18b1a7197fbb034a5eabd77d97b257e09b2910
 WHIRLPOOL 
e6a62c25f2927ea069fa512c40f8b7ea4cecb8625acdd8149c1f2db298b7375e362ee616562b37e9a00d5ed5451cb5861bf906d4d5c796eec9735e62b2a46e88

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.8.0.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.8.0.ebuild
new file mode 100644
index 000..b11f9b2
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.8.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This was previously blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+# Upstream now releases source and instructions (yay!), but most of 
artifactory's
+# dependencies are not in portage yet.
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc logs misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+   doexe bin/*
+
+   # FIXME: this is called by catalina.sh (it echoes the variables before 
starting
+   # artifactory, as well as makes sure log dir, etc. exists). Those 
directories
+   # could probably be moved to the ebuild and the script removed from 
catalina.sh
+   # without consequence (and quieter starts). Would need to check if 
CATALINA_*
+   # variables are actually used anywhere (from reading code don't appear 
to be
+   # actually needed)
+   exeinto 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-05-15 Thread Austin English
commit: 42efd4fa1b3dc0cabe8967361eee8301385b42ba
Author: Austin English  gentoo  org>
AuthorDate: Mon May 16 01:32:03 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Mon May 16 01:33:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42efd4fa

dev-util/artifactory-bin: version bump to 4.7.7

Package-Manager: portage-2.2.26

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.7.7.ebuild   | 95 ++
 2 files changed, 96 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
index 45ed7f8..43b107a 100644
--- a/dev-util/artifactory-bin/Manifest
+++ b/dev-util/artifactory-bin/Manifest
@@ -1 +1,2 @@
 DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990
+DIST artifactory-4.7.7.zip 40327123 SHA256 
953a208daa35767ca915a9bab20310493c9abd78f238f787387c89077d377716 SHA512 
2ebda9b45a819c9f060a7d789878f09ffb5e8791f9913ba5f86498ad69a01731fca9efde7c0ed9e206ea35a98d733052146c407208f28a3efc0b25423b11a894
 WHIRLPOOL 
57e60d9426849f140fdd67bc775c9d9e08c0c78926347dc5bd64cf0c5d0fd1ab759539756e98183e093e6e9b27301d5bb6192ca5c023c71664a49bded23b8a0e

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.7.7.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.7.7.ebuild
new file mode 100644
index 000..7698961
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.7.7.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This is currently blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc logs misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+   doexe bin/*
+
+   # FIXME: this is called by catalina.sh (it echoes the variables before 
starting
+   # artifactory, as well as makes sure log dir, etc. exists). Those 
directories
+   # could probably be moved to the ebuild and the script removed from 
catalina.sh
+   # without consequence (and quieter starts). Would need to check if 
CATALINA_*
+   # variables are actually used anywhere (from reading code don't appear 
to be
+   # actually needed)
+   exeinto ${TOMCAT_HOME}/bin
+   doexe misc/service/setenv.sh
+   doexe tomcat/bin/*
+
+   keepdir ${ARTIFACTORY_HOME}/backup
+   keepdir ${ARTIFACTORY_HOME}/data
+   keepdir ${ARTIFACTORY_HOME}/run
+   keepdir ${ARTIFACTORY_HOME}/work
+   keepdir ${TOMCAT_HOME}/logs/catalina
+   keepdir ${TOMCAT_HOME}/temp
+   keepdir ${TOMCAT_HOME}/work
+   keepdir /var/opt/jfrog/artifactory/run
+
+   newconfd "${FILESDIR}/confd" ${MY_PN}
+   newinitd "${FILESDIR}/initd" ${MY_PN}
+
+   

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/, dev-util/artifactory-bin/files/

2016-05-12 Thread Austin English
commit: 85aa7e0a45e030c78d8604b22639568cc56be941
Author: Austin English  gentoo  org>
AuthorDate: Thu May 12 16:00:49 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Thu May 12 16:01:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85aa7e0a

dev-util/artifactory-bin: add missing files/dir, rename files to be version 
agnostic

Package-Manager: portage-2.2.26

 .../artifactory-bin/artifactory-bin-4.7.6.ebuild   |   6 +-
 dev-util/artifactory-bin/files/artifactory.xml |   4 +
 dev-util/artifactory-bin/files/confd   |   5 +
 dev-util/artifactory-bin/files/initd   | 165 +
 dev-util/artifactory-bin/files/server.xml  |  17 +++
 5 files changed, 193 insertions(+), 4 deletions(-)

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.7.6.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.7.6.ebuild
index 693071d..7698961 100644
--- a/dev-util/artifactory-bin/artifactory-bin-4.7.6.ebuild
+++ b/dev-util/artifactory-bin/artifactory-bin-4.7.6.ebuild
@@ -39,10 +39,8 @@ src_prepare() {
default
 
if use ssl ; then
-   cp "${FILESDIR}/artifactory-4.4.0-artifactory.xml" \
-   tomcat/conf/Catalina/localhost/artifactory.xml || die
-   cp "${FILESDIR}/artifactory-4.4.0-server.xml" \
-   tomcat/conf/server.xml || die
+   cp "${FILESDIR}/artifactory.xml" 
tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
fi
 
# Reverse https://www.jfrog.com/jira/browse/RTFACT-7123

diff --git a/dev-util/artifactory-bin/files/artifactory.xml 
b/dev-util/artifactory-bin/files/artifactory.xml
new file mode 100644
index 000..19042bc
--- /dev/null
+++ b/dev-util/artifactory-bin/files/artifactory.xml
@@ -0,0 +1,4 @@
+
+
+
+

diff --git a/dev-util/artifactory-bin/files/confd 
b/dev-util/artifactory-bin/files/confd
new file mode 100644
index 000..fd7e6e2
--- /dev/null
+++ b/dev-util/artifactory-bin/files/confd
@@ -0,0 +1,5 @@
+ARTIFACTORY_HOME=/opt/artifactory
+ARTIFACTORY_PID=$ARTIFACTORY_HOME/run/artifactory.pid
+ARTIFACTORY_USER=artifactory
+JAVA_OPTIONS="-server -Xms2g -Xmx8g -Xss256k -XX:PermSize=128m 
-XX:MaxPermSize=256m -XX:+UseG1GC"
+TOMCAT_HOME=$ARTIFACTORY_HOME/tomcat

diff --git a/dev-util/artifactory-bin/files/initd 
b/dev-util/artifactory-bin/files/initd
new file mode 100644
index 000..58e16ce
--- /dev/null
+++ b/dev-util/artifactory-bin/files/initd
@@ -0,0 +1,165 @@
+#!/sbin/openrc-run
+
+description="Manages the services needed to run Artifactory on a dedicated 
Tomcat"
+command="/opt/artifactory/tomcat/bin/catalina.sh"
+pidfile="/opt/artifactory/run/artifactory.pid"
+procname="artifactory"
+user=${ARTIFACTORY_USER:-artifactory}
+group=${group:-artifactory}
+
+# Artifactory can be very slow to start, and without locking,
+# restarting via runscript is very error prone
+CATALINA_LOCK_FILE="$(dirname $pidfile)/lock"
+
+CATALINA_MGMT_PORT=8015
+REQUIRED_JAVA_VERSION="1.8"
+START_TIMEOUT=300
+
+# Helper functions:
+is_mgmt_port_used() {
+mgmt_port_used=$(netstat -vatn | grep LISTEN | grep $CATALINA_MGMT_PORT | 
wc -l)
+}
+
+get_pid_info() {
+pidValue=""
+javaPs=""
+if [ -e "$pidfile" ]; then
+pidValue=$(cat $pidfile)
+if [ -n "$pidValue" ]; then
+javaPs="$(ps -p $pidValue | grep java)"
+fi
+fi
+}
+
+depend() {
+need net nginx
+use dns logger netmount
+}
+
+start_pre() {
+if [ -z "$ARTIFACTORY_HOME" ] || [ ! -d "$ARTIFACTORY_HOME" ]; then
+eerror "Artifactory home folder not defined or does not exists at 
$ARTIFACTORY_HOME"
+return 1
+fi
+
+if [ -z "$pidfile" ]; then
+eerror "Artifactory pid destination pidfile was not set!"
+return 1
+fi
+
+if [ -z "$TOMCAT_HOME" ] || [ ! -d "$TOMCAT_HOME" ]; then
+eerror "Tomcat Artifactory folder not defined or does not exists at 
$TOMCAT_HOME"
+return 1
+fi
+
+if [ -z "$ARTIFACTORY_USER" ]; then
+ARTIFACTORY_USER=$user
+fi
+
+current_open_file_limit=$(su -l $ARTIFACTORY_USER -c "ulimit -n")
+desired_open_file_limit=32000
+if [ "$current_open_file_limit" != "unlimited" ] && [ 
$current_open_file_limit -lt $desired_open_file_limit ]; then
+eerror "Maximum number of open files ($current_open_file_limit) is too 
small!"
+eerror "You should add:"
+eerror "artifactory soft nofile $desired_open_file_limit"
+eerror "artifactory hard nofile $desired_open_file_limit"
+eerror "to your /etc/security/limits.conf file."
+return 1
+fi
+
+current_max_process_limit=$(su -l $ARTIFACTORY_USER -c "ulimit -u")
+desired_max_process_limit=1024
+if [ "$current_max_process_limit" != "unlimited" ] && [ 
$current_max_process_limit -lt $desired_max_process_limit ]; then
+eerror "Number 

[gentoo-commits] repo/gentoo:master commit in: dev-util/artifactory-bin/

2016-05-11 Thread Austin English
commit: 2896d62989731bd6123abcceadca76281d845433
Author: Austin English  gentoo  org>
AuthorDate: Wed May 11 23:07:34 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Wed May 11 23:12:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2896d629

dev-util/artifactory-bin: initial packaging for 4.7.6

Using a binary ebuild for now, as upstream is very unfriendly to building
from source. See bugs below for references.

Bug: https://www.jfrog.com/jira/browse/RTFACT-8960
Bug: https://www.jfrog.com/jira/browse/RTFACT-8961

Package-Manager: portage-2.2.26

 dev-util/artifactory-bin/Manifest  |  1 +
 .../artifactory-bin/artifactory-bin-4.7.6.ebuild   | 97 ++
 dev-util/artifactory-bin/metadata.xml  | 11 +++
 3 files changed, 109 insertions(+)

diff --git a/dev-util/artifactory-bin/Manifest 
b/dev-util/artifactory-bin/Manifest
new file mode 100644
index 000..45ed7f8
--- /dev/null
+++ b/dev-util/artifactory-bin/Manifest
@@ -0,0 +1 @@
+DIST artifactory-4.7.6.zip 40332783 SHA256 
8f2ee405e7b13ea2121a0e1c97ef3097ae54e9753d7288cc4ee95d3831cb01dd SHA512 
06d102b8a17172a8f6a67e9f166278b59569ba8439c9eea02bc1a7401182f72bc00da8ea3484a30b1c96ab167d331868169edd3051f6e027d772a9c5ede50852
 WHIRLPOOL 
296dc74c9698058b2fc020ce0561929a7a75dc47ad48cce37be1d4e86e0c4bbddfb7ab108f58ee1175bb0fff113a4a216a11c6ddf01380d3fd8c826607712990

diff --git a/dev-util/artifactory-bin/artifactory-bin-4.7.6.ebuild 
b/dev-util/artifactory-bin/artifactory-bin-4.7.6.ebuild
new file mode 100644
index 000..693071d
--- /dev/null
+++ b/dev-util/artifactory-bin/artifactory-bin-4.7.6.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Using a binary ebuild until a source ebuild is doable.
+# This is currently blocked by two major bugs upstream:
+# A lack of documented build instructions - 
https://www.jfrog.com/jira/browse/RTFACT-8960
+# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
+
+EAPI=6
+
+inherit user
+
+MY_P="${P/-bin}"
+MY_PN="${PN/-bin}"
+MY_PV="${PV/-bin}"
+
+DESCRIPTION="The world's most advanced repository manager for maven"
+HOMEPAGE="http://www.jfrog.org/products.php;
+SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip
 -> ${MY_P}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="ssl"
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND=">=virtual/jdk-1.8
+   app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
+
+pkg_setup() {
+   enewgroup artifactory
+   enewuser artifactory -1 /bin/sh -1 artifactory
+}
+
+src_prepare() {
+   default
+
+   if use ssl ; then
+   cp "${FILESDIR}/artifactory-4.4.0-artifactory.xml" \
+   tomcat/conf/Catalina/localhost/artifactory.xml || die
+   cp "${FILESDIR}/artifactory-4.4.0-server.xml" \
+   tomcat/conf/server.xml || die
+   fi
+
+   # Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
+   sed -i -e 
"s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;"
 \
+   etc/artifactory.system.properties || die
+
+   # See FIXME in src_install(), this can probably go away,
+   # but catalina.sh may need to be fixed for that:
+   sed -i -e 
"s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
+   misc/service/setenv.sh || die
+}
+
+src_install() {
+   local ARTIFACTORY_HOME="/opt/artifactory"
+   local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
+
+   insinto ${ARTIFACTORY_HOME}
+   doins -r etc logs misc tomcat webapps
+
+   dodir /etc/opt/jfrog
+   dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
+
+   dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
+
+   exeinto ${ARTIFACTORY_HOME}/bin
+   doexe bin/*
+
+   # FIXME: this is called by catalina.sh (it echoes the variables before 
starting
+   # artifactory, as well as makes sure log dir, etc. exists). Those 
directories
+   # could probably be moved to the ebuild and the script removed from 
catalina.sh
+   # without consequence (and quieter starts). Would need to check if 
CATALINA_*
+   # variables are actually used anywhere (from reading code don't appear 
to be
+   # actually needed)
+   exeinto ${TOMCAT_HOME}/bin
+   doexe misc/service/setenv.sh
+   doexe tomcat/bin/*
+
+   keepdir ${ARTIFACTORY_HOME}/backup
+   keepdir ${ARTIFACTORY_HOME}/data
+   keepdir ${ARTIFACTORY_HOME}/run
+   keepdir ${ARTIFACTORY_HOME}/work
+   keepdir ${TOMCAT_HOME}/logs/catalina
+   keepdir ${TOMCAT_HOME}/temp
+   keepdir ${TOMCAT_HOME}/work
+   keepdir /var/opt/jfrog/artifactory/run
+
+   newconfd "${FILESDIR}/confd" ${MY_PN}
+   newinitd "${FILESDIR}/initd" ${MY_PN}
+
+   fowners -R