From 1f93ca52d6a7305ebcf0beb36c947c7cdc88e8a9 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Sun, 21 Aug 2016 15:47:15 +0200 Subject: [PATCH] www-servers/resin: version bump to 4.0.48. Gentoo-Bug: https://bugs.gentoo.org/587762 Package-Manager: portage-2.2.28 --- www-servers/resin/Manifest | 1 + .../resin/files/4.0.48/build.xml.patch | 59 ++++++ www-servers/resin/files/4.0.48/resin.conf | 16 ++ www-servers/resin/files/4.0.48/resin.init | 37 ++++ www-servers/resin/resin-4.0.48.ebuild | 181 ++++++++++++++++++ 5 files changed, 294 insertions(+) create mode 100644 www-servers/resin/files/4.0.48/build.xml.patch create mode 100644 www-servers/resin/files/4.0.48/resin.conf create mode 100644 www-servers/resin/files/4.0.48/resin.init create mode 100644 www-servers/resin/resin-4.0.48.ebuild diff --git a/www-servers/resin/Manifest b/www-servers/resin/Manifest index b4d6330121572..71b4328b43f51 100644 --- a/www-servers/resin/Manifest +++ b/www-servers/resin/Manifest @@ -1 +1,2 @@ DIST resin-4.0.46-src.zip 40400255 SHA256 e762506c432dc12f5100903993220b7ace6ff98ce1ed2c17a53737d04f47ebcf SHA512 49f468706a3269f851a6b359d6020b01dadb312890c97208b1a66353fb82b2d95625947a472d8d3e535d0c52ec6ad3e110eb4d227014fe7a89f313ae1df6970f WHIRLPOOL a3d12e09e2596a1e705d4cd1b1870e411080ca6371411574e7830d48ec0058463944fded005e94fc929a0635403cba27d78fc379bf1f222b0e953828ae280238 +DIST resin-4.0.48-src.zip 40883010 SHA256 f14b4c77fe5003ab11be1e87884a897c09bafb3a5e321f4813305f8192f7f161 SHA512 a992ebbff8af9f10e825a259e831dc340f9d74c5a117033a7eda2eb59a453d9e7d0e5e6feaf7bb36526ac65c8a7e1f55f737bb68af3e7e9647381ada995542ee WHIRLPOOL 099aa3cc480863322bed35c876b0e58fd481475d38b7970db02545f69338cc0fbf41719f0c22b8778009b337559c22eaca862634e3d75d896d34eff45d305c8e diff --git a/www-servers/resin/files/4.0.48/build.xml.patch b/www-servers/resin/files/4.0.48/build.xml.patch new file mode 100644 index 0000000000000..dc3a413fc0bf4 --- /dev/null +++ b/www-servers/resin/files/4.0.48/build.xml.patch @@ -0,0 +1,59 @@ +--- build.xml.orig 2015-08-12 23:14:20.302000000 +0000 ++++ build.xml 2015-08-12 23:14:47.909000000 +0000 +@@ -12,7 +12,7 @@ + + + ++ depends="init, hessian, javaee, jaxstream, portlet, script, resin-kernel, quercus-dev, resin, ecmascript, cdi, webutil, conf, ext, j2ee-management, gae"> + + + +- +- +- + + + +@@ -92,13 +88,6 @@ + + + +- +- +- +- +- +- +- + + + +@@ -437,13 +426,6 @@ + + + +- +- +- +- +- +- +- + + + + +- ++ + + + /dev/null + } + + einfo "Removing stale directories ..." + rm -rv "${D}/${RESIN_HOME}"/{bin,doc} || die + #rm -rv "${D}"/etc/resin/*.orig || die + + einfo "Fixing ownerships and permissions ..." + fowners -R 0:root / + fowners -R resin:resin /etc/resin + fowners -R resin:resin /var/lib/resin + fowners -R resin:resin /var/log/resin + + fperms 644 /etc/conf.d/resin + fperms 755 /etc/init.d/resin + fperms 750 /var/lib/resin + fperms 750 /etc/resin +} + +pkg_postinst() { + elog + elog " User and group 'resin' have been added." + elog + elog " By default, Resin runs on port 8080. You can change this" + elog " value by editing /etc/resin/resin.properties." + elog +}