Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
postgresql-ip4r


Commits:
4eb24a01 by Sven-Hendrik Haase at 2025-06-14T01:16:56+02:00
upgpkg: 2.4.2-5: Use included license and remove checked-in file

- - - - -


3 changed files:

- .SRCINFO
- − LICENSE
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = postgresql-ip4r
        pkgdesc = IPv4/v6 and IPv4/v6 range index type for PostgreSQL
        pkgver = 2.4.2
-       pkgrel = 4
+       pkgrel = 5
        url = https://github.com/RhodiumToad/ip4r/
        arch = x86_64
        license = custom
@@ -9,8 +9,6 @@ pkgbase = postgresql-ip4r
        makedepends = llvm
        depends = postgresql
        source = 
postgresql-ip4r-2.4.2.tar.gz::https://github.com/RhodiumToad/ip4r/archive/2.4.2.tar.gz
-       source = LICENSE
        sha256sums = 
0f7b1f159974f49a47842a8ab6751aecca1ed1142b6d5e38d81b064b2ead1b4b
-       sha256sums = 
6d61e1a86a5548ce790729a46efa621796d7b79d68e1e8bc92c29034100059a5
 
 pkgname = postgresql-ip4r


=====================================
LICENSE deleted
=====================================
@@ -1,21 +0,0 @@
-PostgreSQL License
-
-Copyright (c) 2004-2019, Andrew Gierth
-Copyright (c) 2003, Steve Atkins
-Copyright (c) 2000-2003, PostgreSQL Global Development Group
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose, without fee, and without a written agreement is
-hereby granted, provided that the above copyright notice and this paragraph
-and the following two paragraphs appear in all copies.
-
-IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
-SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING
-OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHORS
-HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
-AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
-ENHANCEMENTS, OR MODIFICATIONS.


=====================================
PKGBUILD
=====================================
@@ -2,17 +2,15 @@
 
 pkgname=postgresql-ip4r
 pkgver=2.4.2
-pkgrel=4
+pkgrel=5
 pkgdesc="IPv4/v6 and IPv4/v6 range index type for PostgreSQL"
 arch=('x86_64')
 url="https://github.com/RhodiumToad/ip4r/";
 license=('custom')
 depends=('postgresql')
 makedepends=('clang' 'llvm')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/RhodiumToad/ip4r/archive/$pkgver.tar.gz";
-        LICENSE)
-sha256sums=('0f7b1f159974f49a47842a8ab6751aecca1ed1142b6d5e38d81b064b2ead1b4b'
-            '6d61e1a86a5548ce790729a46efa621796d7b79d68e1e8bc92c29034100059a5')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/RhodiumToad/ip4r/archive/$pkgver.tar.gz";)
+sha256sums=('0f7b1f159974f49a47842a8ab6751aecca1ed1142b6d5e38d81b064b2ead1b4b')
 
 build() {
     cd "ip4r-$pkgver"
@@ -20,8 +18,7 @@ build() {
 }
 
 package() {
-    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
     cd "ip4r-$pkgver"
     make DESTDIR="$pkgdir" install
+    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/postgresql-ip4r/-/commit/4eb24a01e4abc2a44fe1a3126094fe005200a529

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/postgresql-ip4r/-/commit/4eb24a01e4abc2a44fe1a3126094fe005200a529
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to