ports/contrib (3.6): lsb-release: 1.4 -> 3.1

commit 78f8529db931a3c7ee91f8315ea2ea1d8456bd89 Author: Tim Biermann <tbier@posteo.de> Date: Tue Jun 22 20:16:37 2021 +0000 lsb-release: 1.4 -> 3.1 diff --git a/lsb-release/.footprint b/lsb-release/.footprint index 92592e8d9..27b0d2d1a 100644 --- a/lsb-release/.footprint +++ b/lsb-release/.footprint @@ -1,9 +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/ +lrwxrwxrwx root/root usr/bin/lsb-release -> lsb_release -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 -rw-r--r-- root/root usr/share/man/man1/lsb_release.1.gz diff --git a/lsb-release/.signature b/lsb-release/.signature index 9cca7a91b..315e31a18 100644 --- a/lsb-release/.signature +++ b/lsb-release/.signature @@ -1,6 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF31TXgQH/tpVUjDP967cWEJyX4LJm65OPRG15IruA70KFx2R50AX06TDdObB7SvOYxP8IvEfeQ0ORCJ+rH3rK8QQ= -SHA256 (Pkgfile) = 6b94a16f810efe46ac52fee753589789dca1bd03b4c2fd5bd170aca94834444d -SHA256 (.footprint) = 32e2967409ddbae3de7900aebf432ed0bdbd0ec7ee5ab93dafc674bb5e886bfd -SHA256 (lsb-release-1.4.tar.gz) = 99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fdf17172 -SHA256 (lsb_release_description.patch) = 79f7f4d47052eea37c602d42c8d75d391b87effd867f20003f179e8f74663e93 +RWSagIOpLGJF3+asqtBqlK7lFZ89GGA2dXjUUiKXBPJ3WSy3b0x9bWFe2DAojAOOOEJixMXWcCZuK/lQnZWOWFyzpYcUIquRdQQ= +SHA256 (Pkgfile) = a2d750b8dc93488b0864a50bbec274ee9d32a5a28e599651e4c6502956e29fc5 +SHA256 (.footprint) = af7be016acfc06da56149b2e222a88e7b5b26f6539afd447a03cb417dd65b568 +SHA256 (lsb-release-3.1.tar.gz) = 7d0ee81b1eb5606a4c037380e461bc5b7b33a3eb7a9d3e838c6e393592abe3e9 diff --git a/lsb-release/Pkgfile b/lsb-release/Pkgfile index c58fab5fd..377fbaf28 100644 --- a/lsb-release/Pkgfile +++ b/lsb-release/Pkgfile @@ -4,21 +4,22 @@ # Depends on: bash name=lsb-release -version=1.4 -release=3 -source=(https://downloads.sourceforge.net/lsb/$name-$version.tar.gz -lsb_release_description.patch) +version=3.1 +release=1 +source=(https://github.com/thkukuk/lsb-release_os-release/archive/v$version/$name-$v...) build() { - cd $name-$version - patch -Np0 < "$SRC/lsb_release_description.patch" + cd ${name}_os-release-$version make - install -dm755 "$PKG/etc" - echo "LSB_VERSION=$version" >> "$PKG/etc/lsb-release" - echo "DISTRIB_ID=CRUX" >> "$PKG/etc/lsb-release" - echo "DISTRIB_RELEASE=$(crux | awk '{ print $2 " " $3 }')" >> "$PKG/etc/lsb-release" - echo "DISTRIB_DESCRIPTION=CRUX" >> "$PKG/etc/lsb-release" + make INSTALL_ROOT=$PKG/usr install - 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" + install -dm755 "$PKG/etc" + cat <<- EOF > $PKG/etc/lsb-release +# only uncomment if we are LSB compliant and certified.. +#LSB_VERSION=$version +DISTRIB_ID=CRUX +DISTRIB_RELEASE=$(crux | awk '{ print $3 }') +DISTRIB_CODENAME=CRUX +DISTRIB_DESCRIPTION="CRUX is a lightweight Linux distribution for the x86-64 architecture targeted at experienced Linux users" +EOF }
participants (1)
-
crux@crux.nu