Package Details: oama-bin 0.16-4

Git Clone URL: https://aur.archlinux.org/oama-bin.git (read-only, click to copy)
Package Base: oama-bin
Description: Provide OAuth2 renewal and authorization capabilities
Upstream URL: https://github.com/pdobsan/oama
Licenses: BSD
Conflicts: mailctl-bin, oama, oama-git
Provides: oama
Replaces: mailctl-bin
Submitter: petrus7
Maintainer: petrus7
Last Packager: petrus7
Votes: 11
Popularity: 1.84
First Submitted: 2024-05-12 23:57 (UTC)
Last Updated: 2024-11-20 12:51 (UTC)

Dependencies (10)

Required by (0)

Sources (2)

Pinned Comments

petrus7 commented on 2024-05-13 10:39 (UTC) (edited on 2024-11-20 08:56 (UTC) by petrus7)

Please, report oama related issues upstream and use this place for AUR related problems only.

Latest Comments

1 2 3 Next › Last »

petrus7 commented on 2024-11-20 08:53 (UTC)

File renames mismatch has been fixed.

arunkhattri commented on 2024-11-20 04:56 (UTC) (edited on 2024-11-20 05:36 (UTC) by arunkhattri)

install: cannot stat 'LICENSE': No such file or directory
ERROR: A failure occured in package().
-> error making: oama-bin-exit status 4
-> Failed to istall the following packages. Manual intervention is required:
oama-bin - exit status 4

Solved by editing PKGBUILD...

License in place of LICENSE and Readme in place of README

quigybo commented on 2024-11-20 02:10 (UTC) (edited on 2024-11-20 02:12 (UTC) by quigybo)

PKGBUILD is broken since release 0.16-1 due to file renames upstream, see https://github.com/pdobsan/oama/commit/138d070.

Fix is quite simple:

diff --git a/PKGBUILD b/PKGBUILD
index 497ab37..3419146 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -39,8 +39,8 @@ package() {
   cd $release-$CARCH
   install -Dm755 ${_pkgname} ${pkgdir}/usr/bin/${_pkgname}

-  install -Dm644 LICENSE ${pkgdir}/usr/share/${_pkgname}/LICENSE
-  install -Dm644 README.md ${pkgdir}/usr/share/${_pkgname}
+  install -Dm644 License ${pkgdir}/usr/share/${_pkgname}/LICENSE
+  install -Dm644 Readme.md ${pkgdir}/usr/share/${_pkgname}
   install -Dm644 cabal.project.freeze ${pkgdir}/usr/share/${_pkgname}
   cp -r configs ${pkgdir}/usr/share/${_pkgname}

petrus7 commented on 2024-06-26 11:44 (UTC)

@ArthurBorsboom, thank you. I have fixed it, also extended optional dependencies.

ArthurBorsboom commented on 2024-06-26 10:23 (UTC)

Install of v0.14-2 shows release notes of v0.13-3

...
oama version 0.13.3

Get google always return a refresh_key even with private client_id,secret
...

petrus7 commented on 2024-05-15 20:02 (UTC)

@Igneo676 I appreciate your concerns but don't share your priorities. I might not have chosen the best way to do it in retrospect but don't want to spend more time on this deprecation issue.

Both of your problems can be solved easily. Ignore mailctl-bin in pacman.conf. You can install the last proper version of mailctl-bin on a new systems by cloning its AUR repo, and installing the version you need by makepkg.

Igneo676 commented on 2024-05-15 14:01 (UTC)

@petrus7 please don't force an error on build here. If you're looking to specify that the package is deprecated, please include it in the package itself with a notification instead of at build time

For one, if I'm setting up a new computer today and I haven't migrated to oama, then I'm now forced to do the switch instead of being able to migrate at my own pace. Not to mention the general confusion when my upgrades now fail on my computers

lahwaacz commented on 2024-05-14 21:40 (UTC)

@petrus7 I'm not talking about empty binary package, but empty source package, i.e. PKGBUILD that does nothing. It will only confuse new users who find it here while old users will get a notification when the package is merged/deleted.

petrus7 commented on 2024-05-14 20:34 (UTC) (edited on 2024-05-14 20:53 (UTC) by petrus7)

@lahwaaz thanks, but I do not want either of them.

This PKGBUILD is intentionally set to fail during install, no empty package get installed. I was hoping that the pre_install, pre_upgrade will show the message so all of my old users get a notification about oama. Some of them don't/can't immediately change. Unfortunately, nothing shown by pre_upgrade, I don't know why.

Edit: Success: the package() function finally shows the message before failing so mailctl users gradually get notified about oama.

lahwaacz commented on 2024-05-14 20:14 (UTC)

@petrus7 You can ask for this package to be deleted or merged into oama-bin instead of leaving empty: https://wiki.archlinux.org/title/AUR_submission_guidelines#Requests