pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/gam



Module Name:    pkgsrc
Committed By:   sborrill
Date:           Fri Aug 29 13:42:24 UTC 2025

Modified Files:
        pkgsrc/sysutils/gam: Makefile PLIST distinfo
Removed Files:
        pkgsrc/sysutils/gam/patches: patch-setup.cfg

Log Message:
gam: update to 7.19.02

Changes since 7.10.07:

7.19.02

Update gam info user <UserItem> to eliminate 5 second delay when getting license info.

7.19.01

Updated gam <UserTypeEntity> print|show signature to handle the following error that occurs when an alias is specified:
ERROR: 404: notFound - Requested entity was not found.

7.19.00

Eliminated drive_v3_beta and meet_v2_beta from gam.cfg as the API betas are no longer used.

Updated Meet API scopes so that GAM can read metadata about additional Meet spaces.

[*] 34)  Meet API - Manage/Display Meeting Spaces
[*] 35)  Meet API - Read Meeting Spaces metadata

7.18.07

Updated gam <UserTypeEntity> print drivelastmodification to put addcsvdata columns after User,id,name rather than after the last column.

7.18.06

Updated gam <UserTypeEntity> delete|modify messages to improve the handling of the following error:
quotaExceeded - User-rate limit exceeded

7.18.05

Added support for Inbound SSO OIDC profiles.

Currently, if you enter gam select <SectionName> and nothing else on the command line, GAM performs no action. Now, it will be treated as if you entered: gam select <SectionName> save

Updated to Python 3.13.7.

7.18.04

Added commands to display/manage Alert Center Pub/Sub notifications.

    See: https://github.com/GAM-team/GAM/wiki/Alert-Center#configuring-settings

7.18.03

Updated gam oauth create to give a warning if the number of selected scopes will probably cause Google to generate a "Something went wrong" error.

7.18.02

Upgraded to OpenSSL 3.5.2.

7.18.01

Added option nosystemroles to gam print|show adminroles that causes GAM to only display non-system roles.

Added option formatjson to gam info|print|show adminroles; this will be most useful when the privileges option is used.

Updated gam create|update adminrole to allow specification of privileges with JSON data: privileges <JSONData>. These two updates make it easier to copy admin roles.

Updated gam create|update adminrole to allow output of the created/updated role data in CSV format; by default, GAM displays <RoleName>(<RoleID>) created|updated.

csv [todrive <ToDriveAttribute>*] [formatjson [quotechar <Character>]] (addcsvdata <FieldName> <String>)*

7.18.00

Added commands to display Business Profile Accounts. These are special purpose commands and will not generally be used.

gam show businessprofileaccounts
gam print businessprofileaccounts [todrive <ToDriveAttribute>*]

7.17.03

Fixed bug in gam <UserItem> print|show chatspaces asadmin fields <ChatSpaceFieldNameList> that caused a trap when displayname was not in <ChatSpaceFieldNameList>.

7.17.02

Updated gam <UserTypeEntity> print|show webmastersites to handle the following error that occurs if you haven't updated your project to include the Google Search Console API:
ERROR: 403: permissionDenied - Google Search Console API has not been used in project 111055363999 before or it is disabled. Enable it by visiting 
https://console.developers.google.com/apis/api/searchconsole.googleapis.com/overview?project=111055363999 then retry. If you enabled this API recently, wait a few minutes for the action to propagate 
to our systems and retry.

7.17.01

Fixed bug in gam <UserTypeEntity> show webmastersites that caused a trap.

7.17.00

Added commands to discover Sites and WebResources that managed users (previously unmanaged) may have access to for better governance and visibility. These are special purpose commands and will not 
generally be used.

gam <UserTypeEntity> show webresources
gam <UserTypeEntity> print webresources [todrive <ToDriveAttribute>*]
gam <UserTypeEntity> show webmastersites
gam <UserTypeEntity> print webmastersites [todrive <ToDriveAttribute>*]

7.16.01

The Drive API now supports setting download restrictions on individual files.

Added downloadrestictions and <DriveDownloadRestrictionsSubfieldName> to <DriveFieldName>.

<DriveDownloadRestrictionsSubfieldName> ::=
  downloadrestrictions.itemdownloadrestriction|
  downloadrestrictions.effectivedownloadrestrictionwithcontext

Added itemdownloadrestriction (restrictedforreaders [<Boolean>]) (restrictedforwriters [<Boolean>]) to <DriveFileAttribute>.

>From the Drive API documentation:

itemDownloadRestriction - The download restriction of the file applied directly by the owner or organizer. This does not take into account shared drive settings or DLP rules.
effectiveDownloadRestrictionWithContext - Output only. The effective download restriction applied to this file. This considers all restriction settings and DLP rules.
restrictedForReaders - Whether download and copy is restricted for readers.
restrictedForWriters - Whether download and copy is restricted for writers. If true, download is also restricted for readers.

7.16.00

Removed drive_v3_native_names from gam.cfg; GAM now only uses Drive API v3 fields names on output. If you had drive_v3_native_names = False in gam.cfg or are updating from Legacy GAM:

    See: https://github.com/GAM-team/GAM/wiki/Drive-REST-API-v3

7.15.01

Added downloadrestrictions.restrictedforreaders and downloadrestrictions.restrictedforwriters to <SharedDriveRestrictionsSubfieldName>; previously, only the abbreviations downloadrestrictedforreaders 
and downloadrestrictedforwriters were supported (they are still supported).

Updated gam <UserTypeEntity> copy drivefile to handle unexpected data returned by Google that caused a trap.

7.15.00

Updated gam print shareddriveorganizers to make shownoorganizerdrives default to True as documented; it was defaulting to False.

Cleaned up code for processing Python dictionary structures; this should have no noticable effect.

7.14.04

Fixed bug in gam print|show cigroups cimember <UserItem> that generated the following error:
ERROR: Cloud Identity Group: groups/-, Print Failed: Error(4013): Insufficient permissions to retrieve memberships.

Updated gam <UserTypeEntity> update user suspended off and gam <UserTypeEntity> unsuspend users to handle the following error that occurs when trying to unsuspend a user that has been suspended for 
abuse:
ERROR: 412: adminCannotUnsuspend - Cannot restore a user suspended for abuse.

    See: https://support.google.com/a/answer/1110339

7.14.03

Fixed bug in gam print cigroup-members includederivedmembership that caused a trap.

7.14.02

Fixed bug in gam print|show cigroups|cigroups-members cimember <UserItem> that generated the following error:

Cloud Identity Group Print Failed: Request contains an invalid argument.

7.14.01

Don't install yubikey library via pip by default. To install with yubikey support use pip install gam7[yubikey]

7.14.00

Added commands to display Google Tag Manager accounts, containers, workspaces, tags and user permissions.

    See: https://github.com/GAM-team/GAM/wiki/Users-Tag-Manager

7.13.03

Added option csv [todrive <ToDriveAttribute>*] [formatjson [quotechar <Character>]]] to gam create chromeprofilecommand so that command details are displayed in CSV format.

Added option commands <ChromeProfileCommandNameList>|<FileSelector>|<CSVFileSelector> to <ChromeProfileNameEntity> so that gam print|show chromeprofilecommands can directly display the commands 
generated by gam create chromeprofilecommand with the csv option.

7.13.02

Fixed bug in gam create chromeprofilecommand where select|filter were not recognized.

Updated gam create datatransfer <OldOwnerID> datastudio <NewOwnerID> that generated the following error due to an unhandled API change:
ERROR: Invalid choice (google data studio): Expected <calendar|looker studio|drive and docs>

7.13.01

Enhanced gam create|print|show chromeprofilecommand to allow specification of multiple Chrome browser profiles rather than just one.

<ChromeProfilePermanentID> ::= <String>
<ChromeProfileName> ::= customers/<CustomerID>/profiles/<ChromeProfilePermanentID> | <ChromeProfilePermanentID>
<ChromeProfileNameList> ::= "<ChromeProfileName>(,<ChromeProfileName>)*"
<ChromeProfileNameEntity> ::=
<ChromeProfileNameEntity> ::=
        <ChromeProfileNameList> |
        (select <FileSelector>|<CSVFileSelector>) |
        (filter <String> (filtertime<String> <Time>)* [orderby <ChromeProfileOrderByFieldName> [ascending|descending]])

gam create|print_show chromeprofilecommand <ChromeProfileNameEntity>

7.13.00

Added commands that send remote commands to Chrome browser profiles and display the results; at the moment, these commands can clear the browser cache and cookies.

    See: https://github.com/GAM-team/GAM/wiki/Chrome-Profile-Management#create-a-chrome-profile-command

7.12.02

Updated gam print users to handle the following error:
ERROR: 503: serviceNotAvailable - The service is currently unavailable

7.12.01

Added support for plan free in gam create resoldsubscription.

    The free plan is exclusive to the Cloud Identity SKU and does not incur any billing.

7.12.00

Started updated handling of missing scopes messages in client access commands; this is a work in progress.

Updated gam info|show shareddrive to handle changes in the Drive API that caused traps.

Added downloadrestrictedforreaders and downloadrestrictedforwriters to <SharedDriveRestrictionsSubfieldName> to support new Shared Drive restrictions.

Updated gam course <CourseID> create|update announcement to accept input from a literal string, a file or a Google Doc.

<CourseAnnouncementContent> ::=
        ((text <String>)|
         (textfile <FileName> [charset <Charset>])|
         (gdoc <UserGoogleDoc>)|
         (gcsdoc <StorageBucketObjectName>))

Added command gam check suspended <UserItem> that checks the suspension status of a user and sets the return code to 0 if the user is not suspended or 26 if it is.

$ gam check suspended testok%domain.com@localhost
User: testok%domain.com@localhost, Account Suspended: False
$ echo $?
0

$ gam check suspended testsusp%domain.com@localhost
User: testsusp%domain.com@localhost, Account Suspended: True, Suspension Reason: ADMIN
$ echo $?
26

Updated gam <UserTypeEntity> sendemail to verify that one of recipient|to|from immediately follows sendemail.

7.11.00

Added commands to manage classroom/course announcements.

    See: https://github.com/GAM-team/GAM/wiki/Classroom-Courses#manage-course-announcements

Upgraded to OpenSSL 3.5.1.

7.10.10

Added choices text and hyperlink to option showwebviewlink in gam [<UserTypeEntity>] print|show shareddrives.

    showwebviewlink text - Displays https://drive.google.com/drive/folders/<SharedDriveID>
    showwebviewlink hyperlink - Displays =HYPERLINK("https://drive.google.com/drive/folders/<SharedDriveID>", "<SharedDriveName>")

7.10.09

Added option showwebviewlink to gam [<UserTypeEntity>] print|show shareddrives that displays the web view link for the Shared Drive: https://drive.google.com/drive/folders/<SharedDriveID>.

7.10.08
Fixed bug in commands that modify messages where the labelids <LabelIdList> option could not be used unless one of these options was also specified: query, matchlabel, ids; it can be now be used by 
itself.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/sysutils/gam/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/gam/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/gam/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/sysutils/gam/patches/patch-setup.cfg

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/gam/Makefile
diff -u pkgsrc/sysutils/gam/Makefile:1.16 pkgsrc/sysutils/gam/Makefile:1.17
--- pkgsrc/sysutils/gam/Makefile:1.16   Mon Jun 30 12:36:42 2025
+++ pkgsrc/sysutils/gam/Makefile        Fri Aug 29 13:42:23 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2025/06/30 12:36:42 sborrill Exp $
+# $NetBSD: Makefile,v 1.17 2025/08/29 13:42:23 sborrill Exp $
 
-DISTNAME=      gam-7.10.07
+DISTNAME=      gam-7.19.02
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=GAM-team/}
 GITHUB_PROJECT=        GAM
@@ -24,15 +24,11 @@ DEPENDS+=   ${PYPKGPREFIX}-filelock-[0-9]*
 DEPENDS+=      ${PYPKGPREFIX}-passlib>=1.7.2:../../security/py-passlib
 DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
 
-REPLACE_PYTHON=        gam.py
-WRKSRC=                ${WRKDIR}/GAM-${PKGVERSION_NOREV}/src
+CHECK_INTERPRETER_SKIP+=       ${PYSITELIB}/gam/*.py
 
-SUBST_CLASSES+=                version
-SUBST_STAGE.version=   pre-configure
-SUBST_FILES.version=   setup.cfg
-SUBST_VARS.version=    PKGVERSION_NOREV
+WRKSRC=                ${WRKDIR}/GAM-${PKGVERSION_NOREV}
 
-WHEEL_NAME=    gam_for_google_workspace-${VERSION_TRIM}
+WHEEL_NAME=    gam7-${VERSION_TRIM}
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/gam/PLIST
diff -u pkgsrc/sysutils/gam/PLIST:1.7 pkgsrc/sysutils/gam/PLIST:1.8
--- pkgsrc/sysutils/gam/PLIST:1.7       Fri Apr 25 11:01:06 2025
+++ pkgsrc/sysutils/gam/PLIST   Fri Aug 29 13:42:23 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2025/04/25 11:01:06 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2025/08/29 13:42:23 sborrill Exp $
 bin/gam
 ${PYSITELIB}/gam/__init__.py
 ${PYSITELIB}/gam/__init__.pyc
@@ -49,6 +49,11 @@ ${PYSITELIB}/gam/atom/url.py
 ${PYSITELIB}/gam/atom/url.pyc
 ${PYSITELIB}/gam/atom/url.pyo
 ${PYSITELIB}/gam/cacerts.pem
+${PYSITELIB}/gam/cbcm-v1.1beta1.json
+${PYSITELIB}/gam/contactdelegation-v1.json
+${PYSITELIB}/gam/datastudio-v1.json
+${PYSITELIB}/gam/meet-v2beta.json
+${PYSITELIB}/gam/serviceaccountlookup-v1.json
 ${PYSITELIB}/gam/gamlib/__init__.py
 ${PYSITELIB}/gam/gamlib/__init__.pyc
 ${PYSITELIB}/gam/gamlib/__init__.pyo
@@ -189,4 +194,3 @@ ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt

Index: pkgsrc/sysutils/gam/distinfo
diff -u pkgsrc/sysutils/gam/distinfo:1.9 pkgsrc/sysutils/gam/distinfo:1.10
--- pkgsrc/sysutils/gam/distinfo:1.9    Mon Jun 30 12:36:42 2025
+++ pkgsrc/sysutils/gam/distinfo        Fri Aug 29 13:42:23 2025
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.9 2025/06/30 12:36:42 sborrill Exp $
+$NetBSD: distinfo,v 1.10 2025/08/29 13:42:23 sborrill Exp $
 
-BLAKE2s (gam-7.10.07.tar.gz) = 586a9d953fc738e836e7c374e76cea174c645df9c234c2352c9cd5f9ff4d1037
-SHA512 (gam-7.10.07.tar.gz) = 51505eab63340c2a839e4fb0d157cca30cbba293262a90c79a6634003074b155b324c5725e759d4f7fe7637ce44bc8b80fe2be2feb8bc9b6108a6f138a4d1fd5
-Size (gam-7.10.07.tar.gz) = 1912621 bytes
-SHA1 (patch-setup.cfg) = 2b6f714aa84c4da386402e0bb7d100dd7f4e4e33
+BLAKE2s (gam-7.19.02.tar.gz) = 5f9479ab2da95caef07b947e88e114ddfe2fd9ab3ff7c8f3a4bb7cee24ec95dc
+SHA512 (gam-7.19.02.tar.gz) = d8fd47e1a806497fc9e3d0e27d63c4de4aaec76cbeb811edf05b5d6a1c9842c03d7ff99d528b01c7146a9ce8c1e891f8a30c11bb7dbe9de3551dfde83a6e839b
+Size (gam-7.19.02.tar.gz) = 1929869 bytes



Home | Main Index | Thread Index | Old Index