Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
libtlsrpt


Commits:
81c9c2ea by Robin Candau at 2025-02-22T11:08:27+01:00
upgpkg: 0.5.0-1: First stable upstream release entering [extra]
https://github.com/sys4/libtlsrpt/releases/tag/v0.5.0

- - - - -


4 changed files:

- + .SRCINFO
- .nvchecker.toml
- PKGBUILD
- README.md


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,14 @@
+pkgbase = libtlsrpt
+       pkgdesc = A low-level C Library to implement TLSRPT into a MTA
+       pkgver = 0.5.0
+       pkgrel = 1
+       url = https://github.com/sys4/libtlsrpt
+       arch = x86_64
+       license = LGPL-3.0-or-later
+       depends = glibc
+       source = 
libtlsrpt-0.5.0.tar.gz::https://github.com/sys4/libtlsrpt/archive/refs/tags/v0.5.0.tar.gz
+       source = libtlsrpt.pc
+       sha256sums = 
8cf811f4feece4e00f9f0140c2f3211b67d7fd46db57d8381d3b35ad5d00135f
+       sha256sums = 
2453d94ed066384097b210eb478a2c29f66fb081923cdd1d8c160fa116847903
+
+pkgname = libtlsrpt


=====================================
.nvchecker.toml
=====================================
@@ -2,6 +2,4 @@
 source = "git"
 git = "https://github.com/sys4/libtlsrpt.git";
 prefix = "v"
-from_pattern = "-" # Should be dropped once a stable release is made
-to_pattern = "_" # Should be dropped once a stable release is made
-# exclude_regex = ".*(pre|a|alpha|b|beta|r|rc).*" # Should be un-commented 
when a stable release is made
+exclude_regex = ".*(pre|a|alpha|b|beta|r|rc).*" # Should be un-commented when 
a stable release is made


=====================================
PKGBUILD
=====================================
@@ -1,29 +1,28 @@
 # Maintainer: Robin Candau <an...@archlinux.org>
 
 pkgname=libtlsrpt
-pkgver=0.5.0_rc2
-_pkgver="${pkgver//_/-}" # Should be dropped when a stable release is made
+pkgver=0.5.0
 pkgrel=1
 pkgdesc="A low-level C Library to implement TLSRPT into a MTA"
 url="https://github.com/sys4/libtlsrpt";
 arch=('x86_64')
 license=('LGPL-3.0-or-later')
 depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${_pkgver}.tar.gz"
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
         "${pkgname}.pc")
-sha256sums=('c291750486d926a5d35b38f0e7557d5c715897388403a3159d7dc02bfa5b6179'
+sha256sums=('8cf811f4feece4e00f9f0140c2f3211b67d7fd46db57d8381d3b35ad5d00135f'
             '2453d94ed066384097b210eb478a2c29f66fb081923cdd1d8c160fa116847903')
 
 prepare() {
        # Upstream does not provide a pkg-config integration
-       sed -e "s/VERSION/${_pkgver}/" -i "${pkgname}.pc"
+       sed -e "s/VERSION/${pkgver}/" -i "${pkgname}.pc"
 
-       cd "${pkgname}-${_pkgver}"
+       cd "${pkgname}-${pkgver}"
        autoreconf -vif 
 }
 
 build() {
-       cd "${pkgname}-${_pkgver}"
+       cd "${pkgname}-${pkgver}"
        ./configure \
                --prefix='/usr' \
                --mandir='/usr/share/man'
@@ -31,8 +30,11 @@ build() {
 }
 
 package() {
-       cd "${pkgname}-${_pkgver}"
+       cd "${pkgname}-${pkgver}"
        make DESTDIR="${pkgdir}" install
 
+       install -Dm 644 doc/* -t "${pkgdir}/usr/share/doc/${pkgname}/"
+       install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+
        install -Dm 644 "${srcdir}/${pkgname}.pc" 
"${pkgdir}/usr/lib/pkgconfig/${pkgname}.pc"
 }


=====================================
README.md
=====================================
@@ -1,11 +1 @@
 # libtlsrpt
-
-## Waiting for stable release
-
-This package / library is needed to [enable TLSRPT support in 
postfix](https://www.postfix.org/TLSRPT_README.html#building), which was 
requested on our side in [this 
issue](https://gitlab.archlinux.org/archlinux/packaging/packages/postfix/-/issues/8).
-
-However, upstream currently only provide release candidates, while Arch 
standard is to only provide stable releases in the official repositories.  
-I opened [an upstream issue](https://github.com/sys4/libtlsrpt/issues/9) to 
ask if a stable release target as been defined already or not.
-
-In the mean time, I've set up this repo to prepare for it. The package has 
**not** been built and pushed to the repo yet.  
-Once a stable release is made, we can drop the custom `${_pkgver}` variable as 
well as the related pattern parsing from `.nvchecker.toml`.



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libtlsrpt/-/commit/81c9c2ea8b72a340899a81657003f21daf591ac0

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libtlsrpt/-/commit/81c9c2ea8b72a340899a81657003f21daf591ac0
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to