Sergej Pupykin pushed to branch main at Arch Linux / Packaging / Packages / 
pdnsd


Commits:
17f4c0c2 by Sergej Pupykin at 2024-09-12T23:35:49+03:00
upgpkg: 1.2.9.a-15
https://archlinux.org/todo/rebuild-todo-list-rebuild-packages-missing-srcinfo/

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + build-fix.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,19 +1,18 @@
 pkgbase = pdnsd
        pkgdesc = Proxy DNS server with permanent caching
        pkgver = 1.2.9.a
-       pkgrel = 14
+       pkgrel = 15
        url = http://members.home.nl/p.a.rombouts/pdnsd/
        arch = x86_64
        license = GPL
        depends = glibc
-       source = 
http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-1.2.9a-par.tar.gz
-       source = 
http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-1.2.9a-par.tar.gz.asc
+       source = https://repo.p5n.pp.ru/~sergej/dl/2024/pdnsd-1.2.9a.tar.xz
+       source = build-fix.patch
        source = pdnsd.sysusers
        source = pdnsd.tmpfiles
        source = service
-       validpgpkeys = 21EC7442EE80FB0594E317612C4C1357A484EE22
-       sha512sums = 
4fde296642306aa986ddb7cad0b5991bcd397656d93ef4962706276848c7fa62c664a40198e807d029637f116e8000c237d98b91cbbfec5c08b134d8bb3adf81
-       sha512sums = SKIP
+       sha512sums = 
e41e7127900c02ea9f36eefa48e78b1382f3d8eb8be64085163d55c5100485178e538d34cdf269c707d7dcbdfa8dacfc06ae90767ae44b11ab79a52133f3e216
+       sha512sums = 
251e81089aeac517693deaef837e56af752bccddff452906fee3bae01eb4af0dcc8706c3a791bdb3f55678ae7ab96a32e89a2730b9d4d3012458cb8c1641053d
        sha512sums = 
6ebedaa481a8b9f8a0263d42fba06a74933f23593dc9fc0745e4036e0cfe40e208a414fb92a32a15382aff572950e07e93dfa4b896600cebe10f70a15f4fc6f6
        sha512sums = 
dbd30b02c8cc21531133573e10704e02ceea5d5cee18c96542398a815ea8b1292aa025664f0cd2c10d248578058e0afb9b0215f6c421a501c2555940d56d4373
        sha512sums = 
ae278f8899f90ded9eaf814af620207b8a255149a12a1debe00cf9b60339153c6f81cb5c51b84af944f4d89f2f332481cf281a47dd4651e31e77302b21cb5e77


=====================================
PKGBUILD
=====================================
@@ -5,22 +5,27 @@
 pkgname=pdnsd
 pkgver=1.2.9.a
 _pkgver=${pkgver/.a/a}
-pkgrel=14
+pkgrel=15
 pkgdesc="Proxy DNS server with permanent caching"
 arch=(x86_64)
 url="http://members.home.nl/p.a.rombouts/pdnsd/";
 license=('GPL')
 depends=('glibc')
-source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$_pkgver-par.tar.gz{,.asc}
-        pdnsd.sysusers
-        pdnsd.tmpfiles
-        service)
-sha512sums=('4fde296642306aa986ddb7cad0b5991bcd397656d93ef4962706276848c7fa62c664a40198e807d029637f116e8000c237d98b91cbbfec5c08b134d8bb3adf81'
-            'SKIP'
+source=(https://repo.p5n.pp.ru/~sergej/dl/2024/pdnsd-${_pkgver}.tar.xz
+       build-fix.patch
+       pdnsd.sysusers
+       pdnsd.tmpfiles
+       service)
+sha512sums=('e41e7127900c02ea9f36eefa48e78b1382f3d8eb8be64085163d55c5100485178e538d34cdf269c707d7dcbdfa8dacfc06ae90767ae44b11ab79a52133f3e216'
+            
'251e81089aeac517693deaef837e56af752bccddff452906fee3bae01eb4af0dcc8706c3a791bdb3f55678ae7ab96a32e89a2730b9d4d3012458cb8c1641053d'
             
'6ebedaa481a8b9f8a0263d42fba06a74933f23593dc9fc0745e4036e0cfe40e208a414fb92a32a15382aff572950e07e93dfa4b896600cebe10f70a15f4fc6f6'
             
'dbd30b02c8cc21531133573e10704e02ceea5d5cee18c96542398a815ea8b1292aa025664f0cd2c10d248578058e0afb9b0215f6c421a501c2555940d56d4373'
             
'ae278f8899f90ded9eaf814af620207b8a255149a12a1debe00cf9b60339153c6f81cb5c51b84af944f4d89f2f332481cf281a47dd4651e31e77302b21cb5e77')
-validpgpkeys=(21EC7442EE80FB0594E317612C4C1357A484EE22)
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver"
+  patch -p1 <../build-fix.patch
+}
 
 build() {
   cd "$srcdir/$pkgname-$_pkgver"


=====================================
build-fix.patch
=====================================
@@ -0,0 +1,24 @@
+diff -wbBur pdnsd-1.2.9a.org/src/conff.h pdnsd-1.2.9a/src/conff.h
+--- pdnsd-1.2.9a.org/src/conff.h       2012-04-26 13:41:04.000000000 +0400
++++ pdnsd-1.2.9a/src/conff.h   2024-09-12 23:33:08.476611651 +0300
+@@ -32,7 +32,7 @@
+ #include <stdio.h>
+ #include <pthread.h>
+ #include <sys/socket.h>
+-#include <net/if.h>
++#include <linux/if.h>
+ #include "ipvers.h"
+ #include "list.h"
+ 
+diff -wbBur pdnsd-1.2.9a.org/src/dns.h pdnsd-1.2.9a/src/dns.h
+--- pdnsd-1.2.9a.org/src/dns.h 2012-04-26 13:41:04.000000000 +0400
++++ pdnsd-1.2.9a/src/dns.h     2024-09-12 23:32:59.793278422 +0300
+@@ -27,7 +27,7 @@
+ #include <config.h>
+ #include <arpa/inet.h>
+ #include <sys/socket.h>
+-#include <net/if.h>
++#include <linux/if.h>
+ #include <sys/types.h>
+ #include <inttypes.h>
+ #include "rr_types.h"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pdnsd/-/commit/17f4c0c2bca8f12c003ad1d0c15fd104cfbf3b22

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


Reply via email to