Skip to content

Commit

Permalink
bump(root/libccid): 1.6.1
Browse files Browse the repository at this point in the history
- Add patch for `issetugid` not available in current bionic API

Signed-off-by: Aditya Alok <alok@termux.dev>
  • Loading branch information
MrAdityaAlok committed Jan 25, 2025
1 parent 339775a commit a942e0c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 3 additions & 3 deletions root-packages/libccid/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://ccid.apdu.fr/
TERMUX_PKG_DESCRIPTION="A generic USB CCID (Chip/Smart Card Interface Devices) driver and ICCD (Integrated Circuit(s) Card Devices)."
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.5.4
TERMUX_PKG_SRCURL=https://ccid.apdu.fr/files/ccid-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=6e832adc172ecdcfdee2b56f33144684882cbe972daff1938e7a9c73a64f88bf
TERMUX_PKG_VERSION=1.6.1
TERMUX_PKG_SRCURL=https://ccid.apdu.fr/files/ccid-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=2eca8fb07e8fe7c0d39daeaca7b97cd73c40ed9b72738a24ad3dcbdfc918e1ea
TERMUX_PKG_DEPENDS="libusb, pcscd"
TERMUX_PKG_BUILD_DEPENDS="libpcsclite, flex"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
Expand Down
11 changes: 11 additions & 0 deletions root-packages/libccid/issetugid.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- ccid-1.6.1/src/sys_unix.c 2024-07-05 14:27:02.000000000 +0530
+++ ccid-1.6.1.mod/src/sys_unix.c 2025-01-25 17:24:50.152960579 +0530
@@ -172,7 +172,7 @@
#else
/* Otherwise, make sure current process is not tainted by uid or gid
* changes */
- if (issetugid())
+ if (0)
return NULL;
return getenv(name);
#endif

0 comments on commit a942e0c

Please sign in to comment.