commit:     117dff62a520bad0aaa66f974e0294f02b8de1e3
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 28 15:41:56 2026 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Jan 28 15:41:56 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=117dff62

sys-apps/intune-portal: Version bump to 1.2511.11

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 sys-apps/intune-portal/Manifest                    |  1 +
 .../intune-portal/intune-portal-1.2511.11.ebuild   | 90 ++++++++++++++++++++++
 2 files changed, 91 insertions(+)

diff --git a/sys-apps/intune-portal/Manifest b/sys-apps/intune-portal/Manifest
index 5b71de7b0546..583d4b6cf6a6 100644
--- a/sys-apps/intune-portal/Manifest
+++ b/sys-apps/intune-portal/Manifest
@@ -1,2 +1,3 @@
 DIST intune-portal_1.2503.10-noble_amd64.deb 6799718 BLAKE2B 
5c3db35778aee5a0e0c286a41db2ef4c1d2c272a0491473cdf66e1f23532128a51f1b52ba1cd880542f5fb171d19881b022824ff33ab4d733e40d9ae2cd3bfb1
 SHA512 
cce4bdb24e7189189f7c56f47d6ba660e0c04c4267f9239b3b7c21a82c6a5ba7fdc88ee8d56cdec8dadc0bf92bda500bfb69b7af8b467f9f7219de4cf15857d0
 DIST intune-portal_1.2508.17-noble_amd64.deb 6818866 BLAKE2B 
b08bec739b5a34d5a15448a36b6aedc7b2ff9fbd8c210b4106b4307affcb1fd60709ea6a9d6ca13f3737b4745c25e981451334df215797e090fb5f0b5c288b3a
 SHA512 
3d495dc9e4c84ac1710257aa48fec20cfc542e276574817e9fd06dd42de486e981f7c42c3976b5a531fa47ab879e23188996ba61d50c8ba3ae04ae37ec7094f3
+DIST intune-portal_1.2511.11-noble_amd64.deb 6390614 BLAKE2B 
cc8b00095bd5e6fff4a7155c7faeed7ed934a28ccc4ce890bed8670f088184e7a676856ac33fdeb8429d2e113e200aa966b7b99a83a9771313597ee53f766557
 SHA512 
2d6d6638e60ad25c0340dca17ad399b006303d8e8f5fafdcba169a95ccc5e79dc272c588c828a265c6f7626fa486dc3f9332150fd04f62bf381c388a321ca0ce

diff --git a/sys-apps/intune-portal/intune-portal-1.2511.11.ebuild 
b/sys-apps/intune-portal/intune-portal-1.2511.11.ebuild
new file mode 100644
index 000000000000..0264330b96b7
--- /dev/null
+++ b/sys-apps/intune-portal/intune-portal-1.2511.11.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop pam prefix readme.gentoo-r1 systemd tmpfiles unpacker xdg
+
+DESCRIPTION="Microsoft Intune Company Portal to access a corporate environment"
+HOMEPAGE="https://learn.microsoft.com/mem/intune/";
+SRC_URI="https://packages.microsoft.com/ubuntu/24.04/prod/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-noble_amd64.deb";
+S="${WORKDIR}"
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+RESTRICT="bindist mirror"
+
+RDEPEND="
+       app-accessibility/at-spi2-core:2
+       app-crypt/libsecret
+       app-crypt/p11-kit
+       dev-db/sqlite:3
+       dev-libs/glib:2
+       dev-libs/openssl:0/3
+       net-libs/libsoup:3.0
+       net-libs/webkit-gtk:4.1/0
+       net-misc/curl
+       sys-apps/bubblewrap
+       sys-apps/dbus
+       sys-apps/lsb-release
+       sys-apps/systemd
+       sys-apps/util-linux
+       sys-auth/microsoft-identity-broker
+       sys-auth/pambase[pwquality]
+       sys-auth/polkit
+       sys-libs/pam
+       virtual/zlib:=
+       x11-libs/gtk+:3
+       x11-libs/libX11
+       x11-libs/pango
+
+       || (
+               www-client/microsoft-edge
+               www-client/microsoft-edge-beta
+               www-client/microsoft-edge-dev
+       )
+"
+
+QA_PREBUILT="*"
+DIR="/opt/microsoft/intune"
+
+DOC_CONTENTS="You should manually add an \"optional pam_intune.so\" line to 
the bottom of the auth, password, and \
+session entries in /etc/pam.d/system-auth. You may need to tailor this to your 
own PAM configuration."
+
+src_unpack() {
+       unpack_deb ${A}
+}
+
+src_install() {
+       exeinto "${DIR}"/bin
+       newexe $(prefixify_ro "${FILESDIR}"/wrapper) intune-portal
+       dosym intune-portal /opt/microsoft/intune/bin/intune-agent
+       dosym intune-portal /opt/microsoft/intune/bin/intune-daemon
+
+       exeinto "${DIR}"/libexec
+       doexe "${DIR#/}"/bin/*
+
+       insinto "${DIR}"/share
+       doins -r "${DIR#/}"/share/*
+
+       insinto /usr/share/polkit-1/actions
+       doins usr/share/polkit-1/actions/com.microsoft.intune.policy
+
+       systemd_dounit lib/systemd/system/*
+       systemd_douserunit lib/systemd/user/*
+
+       dopammod usr/lib/x86_64-linux-gnu/security/pam_intune.so
+       dotmpfiles usr/lib/tmpfiles.d/intune.conf
+
+       domenu usr/share/applications/*.desktop
+       doicon -s 48 usr/share/icons/hicolor/48x48/*/*.png
+
+       readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+       touch "${EROOT}"/etc/pam.d/common-password || die
+       tmpfiles_process intune.conf
+       xdg_pkg_postinst
+       readme.gentoo_print_elog
+}

Reply via email to