parent
2442046f13
commit
7f23371941
3 changed files with 3 additions and 79 deletions
|
@ -1,58 +0,0 @@
|
||||||
diff -ru ../bglibs-2.03.orig/net/dns_ip6.c ./net/dns_ip6.c
|
|
||||||
--- ../bglibs-2.03.orig/net/dns_ip6.c 2015-02-06 17:57:35.000000000 -0600
|
|
||||||
+++ ./net/dns_ip6.c 2015-03-30 19:40:44.591110913 -0500
|
|
||||||
@@ -75,12 +75,9 @@
|
|
||||||
MAIN
|
|
||||||
{
|
|
||||||
doit("1.2.3.4");
|
|
||||||
- doit("google.ca");
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#ifdef SELFTEST_EXP_FNMATCH
|
|
||||||
result=0
|
|
||||||
1.2.3.4 1: ::ffff:1.2.3.4
|
|
||||||
-result=0
|
|
||||||
-google.ca 1: 2607:f8b0:400a:*
|
|
||||||
#endif
|
|
||||||
diff -ru ../bglibs-2.03.orig/net/dns_mx.c ./net/dns_mx.c
|
|
||||||
--- ../bglibs-2.03.orig/net/dns_mx.c 2015-02-06 17:57:35.000000000 -0600
|
|
||||||
+++ ./net/dns_mx.c 2015-03-30 19:40:44.591110913 -0500
|
|
||||||
@@ -70,18 +70,10 @@
|
|
||||||
MAIN
|
|
||||||
{
|
|
||||||
doit("untroubled.org");
|
|
||||||
- doit("google.com");
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#ifdef SELFTEST_EXP
|
|
||||||
result=0
|
|
||||||
untroubled.org => 1
|
|
||||||
0 12801: "mx.futurequest.net"
|
|
||||||
-result=0
|
|
||||||
-google.com => 5
|
|
||||||
-0 10: "aspmx.l.google.com"
|
|
||||||
-1 20: "alt1.aspmx.l.google.com"
|
|
||||||
-2 30: "alt2.aspmx.l.google.com"
|
|
||||||
-3 40: "alt3.aspmx.l.google.com"
|
|
||||||
-4 50: "alt4.aspmx.l.google.com"
|
|
||||||
#endif
|
|
||||||
diff -ru ../bglibs-2.03.orig/net/dns_txt.c ./net/dns_txt.c
|
|
||||||
--- ../bglibs-2.03.orig/net/dns_txt.c 2015-02-06 17:57:35.000000000 -0600
|
|
||||||
+++ ./net/dns_txt.c 2015-03-30 20:06:33.828383880 -0500
|
|
||||||
@@ -76,15 +76,11 @@
|
|
||||||
}
|
|
||||||
MAIN
|
|
||||||
{
|
|
||||||
- doit("gmail.com");
|
|
||||||
doit("2.0.0.127.sbl-xbl.spamhaus.org");
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#ifdef SELFTEST_EXP
|
|
||||||
result=0
|
|
||||||
-1 record
|
|
||||||
-v=spf1 redirect=_spf.google.com
|
|
||||||
-result=0
|
|
||||||
2 record
|
|
||||||
http://www.spamhaus.org/sbl/query/SBL233
|
|
||||||
http://www.spamhaus.org/query/bl?ip=127.0.0.2
|
|
||||||
Only in .: no_google_spf.patch
|
|
|
@ -1,13 +0,0 @@
|
||||||
diff -ru ../bglibs-2.03.orig/net/dns_txt.c ./net/dns_txt.c
|
|
||||||
--- ../bglibs-2.03.orig/net/dns_txt.c 2015-03-30 20:10:52.643733807 -0500
|
|
||||||
+++ ./net/dns_txt.c 2015-03-30 20:11:38.655729539 -0500
|
|
||||||
@@ -81,7 +81,5 @@
|
|
||||||
#endif
|
|
||||||
#ifdef SELFTEST_EXP
|
|
||||||
result=0
|
|
||||||
-2 record
|
|
||||||
-http://www.spamhaus.org/sbl/query/SBL233
|
|
||||||
-http://www.spamhaus.org/query/bl?ip=127.0.0.2
|
|
||||||
+0 record
|
|
||||||
#endif
|
|
||||||
Only in .: no_spamhaus.patch
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'bglibs'
|
# Template file for 'bglibs'
|
||||||
pkgname=bglibs
|
pkgname=bglibs
|
||||||
version=2.03
|
version=2.04
|
||||||
revision=4
|
revision=1
|
||||||
nocross=yes
|
nocross=yes
|
||||||
hostmakedepends="libtool perl"
|
hostmakedepends="libtool perl"
|
||||||
short_desc="Collection of libraries by Bruce Guenter"
|
short_desc="Collection of libraries by Bruce Guenter"
|
||||||
|
@ -9,12 +9,7 @@ maintainer="bougyman <tj@rubyists.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://untroubled.org/bglibs/"
|
homepage="http://untroubled.org/bglibs/"
|
||||||
distfiles="http://untroubled.org/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="http://untroubled.org/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=fcc80b2deef7819abc9c155c4f393f4fc51e73400139c1c78bbe3015f2b12739
|
checksum=e4ae34a4c43f72ff0c5f100b3ac432460e7d736a7f0708d5e429c97dd5c52474
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
# disable tests
|
|
||||||
sed -i '/^all: /s/selftests//' Makefile
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
echo "/usr/include" > conf-include
|
echo "/usr/include" > conf-include
|
||||||
|
|
Loading…
Reference in a new issue