From 9db1279f804d62da2c61cfb39fc2e62b9faf56dd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 21 Nov 2024 03:03:00 +0000 Subject: gentoo auto-resync : 21:11:2024 - 03:03:00 --- sys-auth/microsoft-identity-broker/Manifest | 4 +- .../microsoft-identity-broker-2.0.1.ebuild | 60 ---------------------- .../microsoft-identity-broker-2.0.1_p2.ebuild | 60 ++++++++++++++++++++++ 3 files changed, 62 insertions(+), 62 deletions(-) delete mode 100644 sys-auth/microsoft-identity-broker/microsoft-identity-broker-2.0.1.ebuild create mode 100644 sys-auth/microsoft-identity-broker/microsoft-identity-broker-2.0.1_p2.ebuild (limited to 'sys-auth/microsoft-identity-broker') diff --git a/sys-auth/microsoft-identity-broker/Manifest b/sys-auth/microsoft-identity-broker/Manifest index 9aaac15e28a9..f3de8541c1d4 100644 --- a/sys-auth/microsoft-identity-broker/Manifest +++ b/sys-auth/microsoft-identity-broker/Manifest @@ -1,6 +1,6 @@ AUX lsb-release-ubuntu-22.04 104 BLAKE2B 16eaf37f53ac271cc3581cc70532732683fd42aa147cf2e6ef069d4a1642964bac2a28e2f89a83cbb1a6cd2710cf4d98e9007eca49eedb4fe0895f2356725d74 SHA512 29b2a258de8ae3b40ec76cce0096a3663034f19f504c032820d4736a124e6d5c0b6548b340ba12a7f4b9601f81654dd946edbaf96525bd2b7747037941b2b3c6 AUX os-release-ubuntu-22.04 388 BLAKE2B e90862164a22548587471df2687d30623cf5f8ff75b0fbf3349016708c7f07def4a0801c05689c53b9956e122018bcef6f6d65e9950dde33fce674c9a8940e4e SHA512 5af419ff0c339d549fbb01c3c73f1b98d17d406f20f934c49fdb50279baf427a3ec628b41ba0bac229b48afcad8b3ebf262f78d7f31fb2054d7f5a6485cadcaa AUX wrapper 290 BLAKE2B f8af7507db9e3a2cf934ca94efac28c4e475ee6e0064f8501006c6f807b8c525b09f98cb7c8424af60cd2a1e5e2e03ed48f897eb6e4ef4a26169e2766a28b622 SHA512 e1c158bc29c53008b7d74cd263f06053b360348cebd13e38d84b00c395e328e927532941b4e1a1a67e07f367f612d768224c3f17817c6d901a8581c07c5d3582 -DIST microsoft-identity-broker_2.0.1_amd64.deb 84382090 BLAKE2B 9870f2ca66555ebcd58efb56b08ebd7cd9cfde326e72e9b72c0d712f225a8fbd97c013a3f8ffacef69ae443cd95876673719b2982a40516e7d1013b62d33686f SHA512 be51d7dd08972d0b14da6866746cd9688b1235362b51840c5b9148f50a5520638209630221676b3c0d3e7bef770d3f95a827a42f30ac392a674df4de07256934 -EBUILD microsoft-identity-broker-2.0.1.ebuild 1770 BLAKE2B 879d6de49001eea211df7e7274ffa6a75412262bc768dcb458a9f698b1c2eea43c5430ff29f39626577136cb5e51eb3d74634b550c53b5fa944d9cdf9c2015fe SHA512 65c941879a1222381e0a450c02aca2285b2f38c7293a18711a4630dfb8e97a9a2f2ce454f71b02de519a84f45f270dd2fff5ac9ded8604e98590c23d677948ce +DIST microsoft-identity-broker_2.0.1_amd64.deb 84422394 BLAKE2B de56e5b973ee573af12532720afd95ec12354488847b4df4a0307e039aca6e67214ce54b044b81ed0753c35dfaa525a6b63e2e51617b57c348d562f149cda7fa SHA512 fecf9ea1fc13471b83479f3f2fac1b54e23918248b3a447917486e83ee85af2627dde599c605d530caaba91e81b3dfce38ba93d1cd9bb47063f523a20398ff23 +EBUILD microsoft-identity-broker-2.0.1_p2.ebuild 1774 BLAKE2B adf38bfff75fc6b7c6d1d6d963c563de3b6f06f96825834cf8c617b8372ccb51313746027eae50c89229517d199741098df68dfeab93e39455acac3ce54cef41 SHA512 113a2c693e8544fe9f99a5ca0b0a06bb758d14f50fd5587ced06921659a0d8a0cfd5f0a037a46bdbf9298a4ecf7c5ccbc00689adb7284231d4c2fd18d1a13779 MISC metadata.xml 248 BLAKE2B 97ed0d2320e1aa2d1cca6b63b0cf9cb07669ea73ac0dad7a8f7db4f510d3b2dc28cbf5a7c019f15ac87c25c5e51e619386694b49d21fc19f4092047c8e382287 SHA512 23bb29604f7cc644073025158d751004189a85fe6be88a7817afebad685c3b73f21cdb3e5d05f16699baa5d6b52f1e3a1f365b1ad7ea09bfcd204182e646f203 diff --git a/sys-auth/microsoft-identity-broker/microsoft-identity-broker-2.0.1.ebuild b/sys-auth/microsoft-identity-broker/microsoft-identity-broker-2.0.1.ebuild deleted file mode 100644 index f2f58f3974aa..000000000000 --- a/sys-auth/microsoft-identity-broker/microsoft-identity-broker-2.0.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit java-pkg-2 prefix systemd unpacker - -FAKE_OS="ubuntu-22.04" -DESCRIPTION="Microsoft Authentication Broker to access a corporate environment" -HOMEPAGE="https://learn.microsoft.com/mem/intune/" -SRC_URI="https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/${PN:0:1}/${PN}/${PN}_${PV}_amd64.deb" -S="${WORKDIR}" -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="-* ~amd64" -RESTRICT="bindist mirror" - -RDEPEND=" - acct-user/microsoft-identity-broker - acct-group/microsoft-identity-broker - sys-apps/bubblewrap - sys-apps/dbus - virtual/jre:11 -" - -src_unpack() { - unpack_deb ${A} -} - -src_configure() { - sed -i -r "s:^Exec(Start)?=.*/([^/]+):Exec\1=${EPREFIX}/usr/bin/\2:" \ - usr/lib/systemd/*/*.service usr/share/dbus-1/*/*.service || die -} - -src_install() { - newbin $(prefixify_ro "${FILESDIR}"/wrapper) microsoft-identity-broker - dosym microsoft-identity-broker /usr/bin/microsoft-identity-device-broker - - java-pkg_dojar opt/microsoft/identity-broker/lib/*.jar - - java-pkg_dolauncher microsoft-identity-broker \ - --main com.microsoft.identity.broker.service.IdentityBrokerService \ - --java_args '${MICROSOFT_IDENTITY_BROKER_OPTS}' \ - -into /usr/share/${PN} - - java-pkg_dolauncher microsoft-identity-device-broker \ - --main com.microsoft.identity.broker.service.DeviceBrokerService \ - --java_args '${MICROSOFT_IDENTITY_DEVICE_BROKER_OPTS}' \ - -into /usr/share/${PN} - - insinto /etc/microsoft-identity-broker - newins "${FILESDIR}/lsb-release-${FAKE_OS}" lsb-release - newins "${FILESDIR}/os-release-${FAKE_OS}" os-release - - insinto /usr/share - doins -r usr/share/dbus-1 - - systemd_dounit usr/lib/systemd/system/* - systemd_douserunit usr/lib/systemd/user/* -} diff --git a/sys-auth/microsoft-identity-broker/microsoft-identity-broker-2.0.1_p2.ebuild b/sys-auth/microsoft-identity-broker/microsoft-identity-broker-2.0.1_p2.ebuild new file mode 100644 index 000000000000..b0fdb17a9c67 --- /dev/null +++ b/sys-auth/microsoft-identity-broker/microsoft-identity-broker-2.0.1_p2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 prefix systemd unpacker + +FAKE_OS="ubuntu-22.04" +DESCRIPTION="Microsoft Authentication Broker to access a corporate environment" +HOMEPAGE="https://learn.microsoft.com/mem/intune/" +SRC_URI="https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/${PN:0:1}/${PN}/${PN}_${PV%_p*}_amd64.deb" +S="${WORKDIR}" +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64" +RESTRICT="bindist mirror" + +RDEPEND=" + acct-user/microsoft-identity-broker + acct-group/microsoft-identity-broker + sys-apps/bubblewrap + sys-apps/dbus + virtual/jre:11 +" + +src_unpack() { + unpack_deb ${A} +} + +src_configure() { + sed -i -r "s:^Exec(Start)?=.*/([^/]+):Exec\1=${EPREFIX}/usr/bin/\2:" \ + usr/lib/systemd/*/*.service usr/share/dbus-1/*/*.service || die +} + +src_install() { + newbin $(prefixify_ro "${FILESDIR}"/wrapper) microsoft-identity-broker + dosym microsoft-identity-broker /usr/bin/microsoft-identity-device-broker + + java-pkg_dojar opt/microsoft/identity-broker/lib/*.jar + + java-pkg_dolauncher microsoft-identity-broker \ + --main com.microsoft.identity.broker.service.IdentityBrokerService \ + --java_args '${MICROSOFT_IDENTITY_BROKER_OPTS}' \ + -into /usr/share/${PN} + + java-pkg_dolauncher microsoft-identity-device-broker \ + --main com.microsoft.identity.broker.service.DeviceBrokerService \ + --java_args '${MICROSOFT_IDENTITY_DEVICE_BROKER_OPTS}' \ + -into /usr/share/${PN} + + insinto /etc/microsoft-identity-broker + newins "${FILESDIR}/lsb-release-${FAKE_OS}" lsb-release + newins "${FILESDIR}/os-release-${FAKE_OS}" os-release + + insinto /usr/share + doins -r usr/share/dbus-1 + + systemd_dounit usr/lib/systemd/system/* + systemd_douserunit usr/lib/systemd/user/* +} -- cgit v1.2.3