lsb-release: initial commit

This commit is contained in:
Tim Biermann 2019-06-11 23:45:46 +02:00
parent a8e1cd3a54
commit c0da5dd8bf
Signed by: tb
GPG Key ID: 42F8B4E30B673606
9 changed files with 223 additions and 0 deletions

145
lsb-release/.BUILDINFO Normal file
View File

@ -0,0 +1,145 @@
format = 1
pkgname = lsb-release
pkgbase = lsb-release
pkgver = 1.4-15
pkgarch = any
pkgbuild_sha256sum = da586d70d7ea7049a84aee0a5ccdb6bc9e903b7848d7ce0c8bdea362ae56992f
packager = Felix Yan <felixonmars@archlinux.org>
builddate = 1528119966
builddir = /build
buildenv = !distcc
buildenv = color
buildenv = !ccache
buildenv = check
buildenv = !sign
options = strip
options = docs
options = !libtool
options = !staticlibs
options = emptydirs
options = zipman
options = purge
options = !optipng
options = !upx
options = !debug
installed = acl-2.2.52-4-x86_64
installed = archlinux-keyring-20180404-1-any
installed = argon2-20171227-3-x86_64
installed = attr-2.4.47-3-x86_64
installed = autoconf-2.69-4-any
installed = automake-1.15.1-1-any
installed = bash-4.4.019-1-x86_64
installed = binutils-2.30-4-x86_64
installed = bison-3.0.4-3-x86_64
installed = bzip2-1.0.6-7-x86_64
installed = ca-certificates-20170307-1-any
installed = ca-certificates-cacert-20140824-4-any
installed = ca-certificates-mozilla-3.37.1-1-x86_64
installed = ca-certificates-utils-20170307-1-any
installed = coreutils-8.29-1-x86_64
installed = cracklib-2.9.6-1-x86_64
installed = cryptsetup-2.0.3-1-x86_64
installed = curl-7.60.0-1-x86_64
installed = db-5.3.28-3-x86_64
installed = dbus-1.12.8-1-x86_64
installed = device-mapper-2.02.177-5-x86_64
installed = diffutils-3.6-1-x86_64
installed = e2fsprogs-1.44.2-1-x86_64
installed = expat-2.2.5-1-x86_64
installed = fakeroot-1.22-1-x86_64
installed = file-5.33-3-x86_64
installed = filesystem-2018.1-2-x86_64
installed = findutils-4.6.0-2-x86_64
installed = flex-2.6.4-1-x86_64
installed = gawk-4.2.1-1-x86_64
installed = gc-7.6.4-1-x86_64
installed = gcc-8.1.0-1-x86_64
installed = gcc-libs-8.1.0-1-x86_64
installed = gcc7-7.3.1+20180406-2-x86_64
installed = gcc7-libs-7.3.1+20180406-2-x86_64
installed = gdbm-1.14.1-1-x86_64
installed = gettext-0.19.8.1-2-x86_64
installed = glib2-2.56.1-1-x86_64
installed = glibc-2.27-3-x86_64
installed = gmp-6.1.2-1-x86_64
installed = gnupg-2.2.7-1-x86_64
installed = gnutls-3.5.18-1-x86_64
installed = gpgme-1.11.1-1-x86_64
installed = grep-3.1-1-x86_64
installed = groff-1.22.3-7-x86_64
installed = guile-2.2.3-1-x86_64
installed = gzip-1.9-1-x86_64
installed = hwids-20171003-1-any
installed = iana-etc-20180221-1-any
installed = iptables-1.6.2-2-x86_64
installed = json-c-0.13-1-x86_64
installed = kbd-2.0.4-1-x86_64
installed = keyutils-1.5.10-1-x86_64
installed = kmod-25-1-x86_64
installed = krb5-1.16.1-1-x86_64
installed = less-530-1-x86_64
installed = libarchive-3.3.2-1-x86_64
installed = libassuan-2.5.1-1-x86_64
installed = libatomic_ops-7.6.4-1-x86_64
installed = libcap-2.25-1-x86_64
installed = libcap-ng-0.7.9-1-x86_64
installed = libelf-0.170-1-x86_64
installed = libffi-3.2.1-2-x86_64
installed = libgcrypt-1.8.2-1-x86_64
installed = libgpg-error-1.31-1-x86_64
installed = libidn-1.34-2-x86_64
installed = libidn2-2.0.5-1-x86_64
installed = libksba-1.3.5-1-x86_64
installed = libldap-2.4.46-1-x86_64
installed = libmnl-1.0.4-1-x86_64
installed = libmpc-1.1.0-1-x86_64
installed = libnftnl-1.1.0-1-x86_64
installed = libnghttp2-1.31.1-1-x86_64
installed = libnl-3.4.0-1-x86_64
installed = libpcap-1.8.1-2-x86_64
installed = libpsl-0.20.2-1-x86_64
installed = libsasl-2.1.26-12-x86_64
installed = libseccomp-2.3.2-2-x86_64
installed = libsecret-0.18.6-1-x86_64
installed = libssh2-1.8.0-2-x86_64
installed = libsystemd-238.133-1-x86_64
installed = libtasn1-4.13-1-x86_64
installed = libtirpc-1.0.3-2-x86_64
installed = libtool-2.4.6+40+g6ca5e224-6-x86_64
installed = libunistring-0.9.9-1-x86_64
installed = libusb-1.0.22-1-x86_64
installed = libutil-linux-2.32-3-x86_64
installed = linux-api-headers-4.16.1-1-any
installed = lz4-1:1.8.2-2-x86_64
installed = m4-1.4.18-1-x86_64
installed = make-4.2.1-2-x86_64
installed = mpfr-4.0.1-1-x86_64
installed = ncurses-6.1-3-x86_64
installed = nettle-3.4-1-x86_64
installed = npth-1.5-1-x86_64
installed = openssl-1.1.0.h-1-x86_64
installed = p11-kit-0.23.12-1-x86_64
installed = pacman-5.1.0-2-x86_64
installed = pacman-mirrorlist-20180524-1-any
installed = pam-1.3.0-2-x86_64
installed = pambase-20171006-1-any
installed = patch-2.7.6-1-x86_64
installed = pcre-8.42-1-x86_64
installed = pcre2-10.31-1-x86_64
installed = perl-5.26.2-1-x86_64
installed = pinentry-1.1.0-3-x86_64
installed = pkgconf-1.4.2-2-x86_64
installed = popt-1.16-9-x86_64
installed = readline-7.0.003-1-x86_64
installed = sed-4.5-1-x86_64
installed = shadow-4.5-4-x86_64
installed = sqlite-3.23.1-1-x86_64
installed = sudo-1.8.23-2-x86_64
installed = systemd-238.133-1-x86_64
installed = tar-1.30-1-x86_64
installed = texinfo-6.5-1-x86_64
installed = tzdata-2018e-1-any
installed = util-linux-2.32-3-x86_64
installed = which-2.21-2-x86_64
installed = xz-5.2.4-1-x86_64
installed = zlib-1:1.2.11-2-x86_64

12
lsb-release/.INSTALL Normal file
View File

@ -0,0 +1,12 @@
post_install() {
echo "Arch Linux release" >> /etc/arch-release
}
post_upgrade() {
sed -e "/Arch Linux release/d" -i /etc/arch-release
echo "Arch Linux release" >> /etc/arch-release
}
pre_remove() {
sed -e "/Arch Linux release/d" -i /etc/arch-release
}

BIN
lsb-release/.MTREE Normal file

Binary file not shown.

13
lsb-release/.PKGINFO Normal file
View File

@ -0,0 +1,13 @@
# Generated by makepkg 5.1.0
# using fakeroot version 1.22
pkgname = lsb-release
pkgbase = lsb-release
pkgver = 1.4-15
pkgdesc = LSB version query program
url = http://www.linuxbase.org/
builddate = 1528119966
packager = Felix Yan <felixonmars@archlinux.org>
size = 17408
arch = any
license = GPL2
depend = bash

9
lsb-release/.footprint Normal file
View File

@ -0,0 +1,9 @@
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/lsb-release
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/lsb_release
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/lsb_release.1.gz

2
lsb-release/.md5sum Normal file
View File

@ -0,0 +1,2 @@
30537ef5a01e0ca94b7b8eb6a36bb1e4 lsb-release-1.4.tar.gz
72f562d8eaa8915ab85fba13e68c8d68 lsb_release_description.patch

6
lsb-release/.signature Normal file
View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF314RHnjmxxzW5hDybu6ThbBET27VX0XEBKQMiljBGk4O9NszXb6nFv2S5YG8gGGtRjOQntjEkk5uXMzrzRaO1wM=
SHA256 (Pkgfile) = 302b38e7ad6fc17c57547472c79a6fef7408961be1ba1d75ac8c65f29eeab427
SHA256 (.footprint) = 32e2967409ddbae3de7900aebf432ed0bdbd0ec7ee5ab93dafc674bb5e886bfd
SHA256 (lsb-release-1.4.tar.gz) = 99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fdf17172
SHA256 (lsb_release_description.patch) = 79f7f4d47052eea37c602d42c8d75d391b87effd867f20003f179e8f74663e93

25
lsb-release/Pkgfile Normal file
View File

@ -0,0 +1,25 @@
# Description: LSB version query program
# URL: http://www.linuxbase.org
# Maintainer: Tim Biermann, tbier at posteo dot de
# Packager: Brian Madonna, Bmadonnaster at gmail dot com
# Depends on: bash
name=lsb-release
version=1.4
release=2
source=(https://downloads.sourceforge.net/lsb/$name-$version.tar.gz
lsb_release_description.patch)
build() {
cd $name-$version
patch -Np0 < "$SRC/lsb_release_description.patch"
make
install -dm755 "$PKG/etc"
echo "LSB_VERSION=$version" >> "$PKG/etc/lsb-release"
echo "DISTRIB_ID=CRUX" >> "$PKG/etc/lsb-release"
echo "DISTRIB_RELEASE=rolling" >> "$PKG/etc/lsb-release"
echo "DISTRIB_DESCRIPTION=CRUX" >> "$PKG/etc/lsb-release"
install -Dm 644 lsb_release.1.gz "$PKG/usr/share/man/man1/lsb_release.1.gz"
install -Dm 755 lsb_release "$PKG/usr/bin/lsb_release"
}

View File

@ -0,0 +1,11 @@
--- lsb_release.orig 2012-11-13 05:12:02.000000000 -0800
+++ lsb_release 2013-11-24 17:13:55.943608718 -0800
@@ -216,7 +216,7 @@
TMP_DISTRIB_DESC=$DISTRIB_DESCRIPTION
fi
- if [ -z "$TMP_DISTRIB_DESC" ] # head or lsb-release init
+ if [ -z "$DISTRIB_DESCRIPTION" ] # head or lsb-release init
then # file contains no data
DISTRIB_DESCRIPTION=$MSG_NONE
NO="y"