| Name |
libutempter |
| Description |
Library interface to record user sessions in utmp/wtmp files |
| Version |
1.2.3-r0 |
| Package Base |
libutempter |
| Homepage |
http://freecode.com/projects/libutempter |
| Maintainers |
['Francesco Colista <fcolista@alpinelinux.org>'] |
| Contributors |
['Francesco Colista <fcolista@alpinelinux.org>'] |
| Distro-repo |
https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/libutempter |
| Sources |
['https://github.com/altlinux/libutempter/archive/$_pkgver.tar.gz'] |
| Dependencies |
['libc.musl-x86_64.so.1', 'libskarnet.so.2.14', 'libutmps.so.0.1'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['utmps-dev'] |
| Provides |
['so:libutempter.so.0=1.2.3'] |
| Builddate |
03-03-2025 14:28:05 |
| Architecture |
x86_64 |
| Distro-Version |
v3.22 |
| Licenses |
['LGPL-2.1-or-later'] |
| Hash |
Q1BKuJGaYoS/8mDcBSWAXMwoeuBpM= |
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libutempter
pkgver=1.2.3
_pkgver=$pkgver-alt1
pkgrel=0
pkgdesc="Library interface to record user sessions in utmp/wtmp files"
url="http://freecode.com/projects/libutempter"
arch="all"
license="LGPL-2.1-or-later"
makedepends="utmps-dev"
subpackages="$pkgname-dev $pkgname-doc"
options="suid !check"
pkggroups="utmp"
source="https://github.com/altlinux/libutempter/archive/$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver/$pkgname"
build() {
make CFLAGS="$CFLAGS -I/usr/include/utmps" LDLIBS="-Wl,--no-as-needed -lutmps -lskarnet -Wl,--as-needed"
}
package() {
make DESTDIR="$pkgdir" install
chown root:$pkggroups "$pkgdir/usr/lib/utempter/utempter"
chmod 2755 "$pkgdir/usr/lib/utempter/utempter"
}
sha512sums="
badd2061a3b5a400aeb485c39403840088ae537561d3b539b3f4b2de1eeddab4df6b71143b2361c96c2c8a520fc524153ca3c0672ade9ff8a3e333fa9681e77b 1.2.3-alt1.tar.gz
"