Date: Wednesday, May 30, 2018 @ 21:55:16 Author: svenstaro Revision: 333542
archrelease: copy trunk to community-x86_64 Added: zeroc-ice/repos/community-x86_64/PKGBUILD (from rev 333541, zeroc-ice/trunk/PKGBUILD) zeroc-ice/repos/community-x86_64/zeroc-ice.sysusers (from rev 333541, zeroc-ice/trunk/zeroc-ice.sysusers) Deleted: zeroc-ice/repos/community-x86_64/PKGBUILD zeroc-ice/repos/community-x86_64/zeroc-ice.sysusers --------------------+ PKGBUILD | 182 +++++++++++++++++++++++++-------------------------- zeroc-ice.sysusers | 2 2 files changed, 93 insertions(+), 91 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-05-30 21:55:13 UTC (rev 333541) +++ PKGBUILD 2018-05-30 21:55:16 UTC (rev 333542) @@ -1,90 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Joe George <joe at externl dot com> -# Contributor: Daniel Spies <ds20150201aur at pskx dot net> -# Contributor: Otto Allmendinger <otto.allmendin...@gmail.com> - -pkgname=(zeroc-ice zeroc-ice-java) -pkgbase=(zeroc-ice) -pkgver=3.7.0 -pkgrel=3 -pkgdesc="An object-oriented middleware that provides RPC functionality" -arch=(x86_64) -url="https://zeroc.com" -license=(GPL custom:ice) -makedepends=(bzip2 gradle 'java-environment=8') -depends=(mcpp lmdb) -source=( - "ice-${pkgver}.tar.gz::https://github.com/zeroc-ice/ice/archive/v${pkgver}.tar.gz" - "ice-packaging-${pkgver}.tar.gz::https://github.com/zeroc-ice/ice-packaging/archive/v${pkgver}.tar.gz" - zeroc-ice.sysusers -) -sha256sums=('809fff14a88a7de1364c846cec771d0d12c72572914e6cc4fb0b2c1861c4a1ee' - '096bcfb74b9a281ad9bccf3eaa360b912cb96e88735d5b18b96198f657b323cb' - '5fdbb1ed753e84e6b49c529e171af848e74a8890fe485dfe1d2bbec3c198dd90') - -_make_args=( - "OPTIMIZE=yes" - "USR_DIR_INSTALL=yes" - "prefix=/usr" - "CONFIGS=shared cpp11-shared" - "SKIP=slice2py" -) - -build() { - cd ${srcdir}/ice-${pkgver} - GRADLE=gradle make srcs -j$(nproc) "${_make_args[@]}" "LANGUAGES=cpp java" -} - -package_zeroc-ice() { - backup=("etc/glacier2router.conf" - "etc/icegridnode.conf" - "etc/icegridregistry.conf" - ) - - cd ${srcdir}/ice-${pkgver} - - make install "${_make_args[@]}" DESTDIR="${pkgdir}" "LANGUAGES=cpp" - install -Dm644 ${srcdir}/ice-${pkgver}/ICE_LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - - rm -f ${pkgdir}/usr/share/Ice-${pkgver}/LICENSE - rm -f ${pkgdir}/usr/share/Ice-${pkgver}/ICE_LICENSE - - if [ $CARCH = "x86_64" ]; then - rm -df ${pkgdir}/usr/lib/ - mv ${pkgdir}/usr/lib64/ ${pkgdir}/usr/lib/ - fi - - install -Dm644 ${srcdir}/ice-packaging-${pkgver}/ice/rpm/glacier2router.conf ${pkgdir}/etc/glacier2router.conf - install -Dm644 ${srcdir}/ice-packaging-${pkgver}/ice/rpm/icegridnode.conf ${pkgdir}/etc/icegridnode.conf - install -Dm644 ${srcdir}/ice-packaging-${pkgver}/ice/rpm/icegridregistry.conf ${pkgdir}/etc/icegridregistry.conf - - install -Dm644 ${srcdir}/ice-packaging-${pkgver}/ice/rpm/glacier2router.service \ - ${pkgdir}/usr/lib/systemd/system/glacier2router.service - install -Dm644 ${srcdir}/ice-packaging-${pkgver}/ice/rpm/icegridnode.service \ - ${pkgdir}/usr/lib/systemd/system/icegridnode.service - install -Dm644 ${srcdir}/ice-packaging-${pkgver}/ice/rpm/icegridregistry.service \ - ${pkgdir}/usr/lib/systemd/system/icegridregistry.service - - mkdir -p ${pkgdir}/var/lib/ice/icegrid/{node1,registry} - chown -R 101:101 ${pkgdir}/var/lib/ice - - install -Dm644 ${srcdir}/zeroc-ice.sysusers ${pkgdir}/usr/lib/sysusers.d/$pkgname.conf -} - -package_zeroc-ice-java() { - makedepends=(gradle 'java-environment=8') - depends=(zeroc-ice java-environment) - - for d in ${srcdir}/ice-${pkgver}/java ${srcdir}/ice-${pkgver}/java-compat; do - cd $d - gradle \ - --gradle-user-home=/tmp/zeroc-ice-java \ - --no-daemon \ - -PdbHome=/usr/share/java/berkeleydb \ - -Pprefix=${pkgdir}/usr/share/java/zeroc-ice install - - done - - mv ${pkgdir}/usr/share/java/zeroc-ice/lib/* ${pkgdir}/usr/share/java/zeroc-ice/ - rmdir ${pkgdir}/usr/share/java/zeroc-ice/lib -} Copied: zeroc-ice/repos/community-x86_64/PKGBUILD (from rev 333541, zeroc-ice/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-05-30 21:55:16 UTC (rev 333542) @@ -0,0 +1,92 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Joe George <joe at externl dot com> +# Contributor: Daniel Spies <ds20150201aur at pskx dot net> +# Contributor: Otto Allmendinger <otto.allmendin...@gmail.com> + +pkgname=(zeroc-ice zeroc-ice-java) +pkgbase=(zeroc-ice) +pkgver=3.7.1 +pkgrel=1 +pkgdesc="An object-oriented middleware that provides RPC functionality" +arch=(x86_64) +url="https://zeroc.com" +license=(GPL custom:ice) +makedepends=(bzip2 gradle 'java-environment=8' gcc7) +depends=(mcpp lmdb) +source=( + "ice-${pkgver}.tar.gz::https://github.com/zeroc-ice/ice/archive/v${pkgver}.tar.gz" + "ice-packaging-${pkgver}.tar.gz::https://github.com/zeroc-ice/ice-packaging/archive/v${pkgver}.tar.gz" + zeroc-ice.sysusers +) +sha256sums=('b1526ab9ba80a3d5f314dacf22674dff005efb9866774903d0efca5a0fab326d' + '92530c87b12471df0cae98a7329039fa42902a9d7909eb32915fdc866b419e8a' + '5fdbb1ed753e84e6b49c529e171af848e74a8890fe485dfe1d2bbec3c198dd90') + +_make_args=( + "OPTIMIZE=yes" + "USR_DIR_INSTALL=yes" + "prefix=/usr" + "CONFIGS=shared cpp11-shared" + "SKIP=slice2py" +) + +build() { + cd ${srcdir}/ice-${pkgver} + export CC=gcc-7 + export CXX=g++-7 + GRADLE=gradle make srcs -j$(nproc) "${_make_args[@]}" "LANGUAGES=cpp java" +} + +package_zeroc-ice() { + backup=("etc/glacier2router.conf" + "etc/icegridnode.conf" + "etc/icegridregistry.conf" + ) + + cd ${srcdir}/ice-${pkgver} + + make install "${_make_args[@]}" DESTDIR="${pkgdir}" "LANGUAGES=cpp" + install -Dm644 ${srcdir}/ice-${pkgver}/ICE_LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + rm -f ${pkgdir}/usr/share/Ice-${pkgver}/LICENSE + rm -f ${pkgdir}/usr/share/Ice-${pkgver}/ICE_LICENSE + + if [ $CARCH = "x86_64" ]; then + rm -df ${pkgdir}/usr/lib/ + mv ${pkgdir}/usr/lib64/ ${pkgdir}/usr/lib/ + fi + + install -Dm644 ${srcdir}/ice-packaging-${pkgver}/ice/rpm/glacier2router.conf ${pkgdir}/etc/glacier2router.conf + install -Dm644 ${srcdir}/ice-packaging-${pkgver}/ice/rpm/icegridnode.conf ${pkgdir}/etc/icegridnode.conf + install -Dm644 ${srcdir}/ice-packaging-${pkgver}/ice/rpm/icegridregistry.conf ${pkgdir}/etc/icegridregistry.conf + + install -Dm644 ${srcdir}/ice-packaging-${pkgver}/ice/rpm/glacier2router.service \ + ${pkgdir}/usr/lib/systemd/system/glacier2router.service + install -Dm644 ${srcdir}/ice-packaging-${pkgver}/ice/rpm/icegridnode.service \ + ${pkgdir}/usr/lib/systemd/system/icegridnode.service + install -Dm644 ${srcdir}/ice-packaging-${pkgver}/ice/rpm/icegridregistry.service \ + ${pkgdir}/usr/lib/systemd/system/icegridregistry.service + + mkdir -p ${pkgdir}/var/lib/ice/icegrid/{node1,registry} + chown -R 101:101 ${pkgdir}/var/lib/ice + + install -Dm644 ${srcdir}/zeroc-ice.sysusers ${pkgdir}/usr/lib/sysusers.d/$pkgname.conf +} + +package_zeroc-ice-java() { + makedepends=(gradle 'java-environment=8') + depends=(zeroc-ice java-environment) + + for d in ${srcdir}/ice-${pkgver}/java ${srcdir}/ice-${pkgver}/java-compat; do + cd $d + gradle \ + --gradle-user-home=/tmp/zeroc-ice-java \ + --no-daemon \ + -PdbHome=/usr/share/java/berkeleydb \ + -Pprefix=${pkgdir}/usr/share/java/zeroc-ice install + + done + + mv ${pkgdir}/usr/share/java/zeroc-ice/lib/* ${pkgdir}/usr/share/java/zeroc-ice/ + rmdir ${pkgdir}/usr/share/java/zeroc-ice/lib +} Deleted: zeroc-ice.sysusers =================================================================== --- zeroc-ice.sysusers 2018-05-30 21:55:13 UTC (rev 333541) +++ zeroc-ice.sysusers 2018-05-30 21:55:16 UTC (rev 333542) @@ -1 +0,0 @@ -u ice 101 "Ice User" /var/lib/ice Copied: zeroc-ice/repos/community-x86_64/zeroc-ice.sysusers (from rev 333541, zeroc-ice/trunk/zeroc-ice.sysusers) =================================================================== --- zeroc-ice.sysusers (rev 0) +++ zeroc-ice.sysusers 2018-05-30 21:55:16 UTC (rev 333542) @@ -0,0 +1 @@ +u ice 101 "Ice User" /var/lib/ice