summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2013-03-03 16:37:49 +0000
committerMichael Palimaka <kensington@gentoo.org>2013-03-03 16:37:49 +0000
commit4bf4d568be506cac236cd6c45e80643ed0aed9ef (patch)
treeb19c9d50b27697c745b2edf439eb01f32fba0351 /net-dns
parentremoved myself from metdata.xml (diff)
downloadhistorical-4bf4d568be506cac236cd6c45e80643ed0aed9ef.tar.gz
historical-4bf4d568be506cac236cd6c45e80643ed0aed9ef.tar.bz2
historical-4bf4d568be506cac236cd6c45e80643ed0aed9ef.zip
Remove old.
Package-Manager: portage-2.1.11.53/cvs/Linux x86_64 Manifest-Sign-Key: 0x675D0D2C
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/mydns/ChangeLog8
-rw-r--r--net-dns/mydns/Manifest32
-rw-r--r--net-dns/mydns/files/04-update-smash-fix.dpatch43
-rw-r--r--net-dns/mydns/files/mydns-1.1.0-gcc41.patch240
-rw-r--r--net-dns/mydns/files/mydns-1.1.0-gentoo.patch55
-rw-r--r--net-dns/mydns/files/mydns-1.1.0-m4.patch81
-rw-r--r--net-dns/mydns/files/mydns-1.2.8.27-gentoo.patch55
-rw-r--r--net-dns/mydns/files/mydns.rc637
-rw-r--r--net-dns/mydns/mydns-1.1.0-r1.ebuild88
9 files changed, 16 insertions, 623 deletions
diff --git a/net-dns/mydns/ChangeLog b/net-dns/mydns/ChangeLog
index 6e3a5b1e1a51..9a132cdf235c 100644
--- a/net-dns/mydns/ChangeLog
+++ b/net-dns/mydns/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dns/mydns
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/ChangeLog,v 1.44 2013/03/03 16:18:38 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/ChangeLog,v 1.45 2013/03/03 16:37:31 kensington Exp $
+
+ 03 Mar 2013; Michael Palimaka <kensington@gentoo.org>
+ -files/04-update-smash-fix.dpatch, -files/mydns-1.1.0-gcc41.patch,
+ -files/mydns-1.1.0-gentoo.patch, -files/mydns-1.1.0-m4.patch,
+ -files/mydns-1.2.8.27-gentoo.patch, -files/mydns.rc6, -mydns-1.1.0-r1.ebuild:
+ Remove old.
03 Mar 2013; Agostino Sarubbo <ago@gentoo.org> mydns-1.2.8.31.ebuild:
Stable for sparc, wrt bug #426684
diff --git a/net-dns/mydns/Manifest b/net-dns/mydns/Manifest
index e6c27a482067..77a6b94f3fc7 100644
--- a/net-dns/mydns/Manifest
+++ b/net-dns/mydns/Manifest
@@ -1,35 +1,21 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
-AUX 04-update-smash-fix.dpatch 1175 SHA256 2f4054a5c65e59e2f41e6633b07078bbc736b8196db22c11aaae3bae2cb9f11e SHA512 4e406f42aa783be72b21c6aa9cc48903c78daecdef2fae10720b706671f36231a42b331a78360b0aec51f399bff75446bd720edc1a0d59f23a78740a2da510fe WHIRLPOOL dac24754217c5ef3995a5962ab1abe9da09f8acafa7c9f5213d592e04cc8f48b17c14bda615e2746a8744ae2234571bcd98aa50a82fdbe69a5575569c5b2919d
-AUX mydns-1.1.0-gcc41.patch 9447 SHA256 2f1431b9c08735203351d12d3043c469bd5ec65d77c0f44bcc6ca4c3801b0a1b SHA512 d66a8811b649391091a85acac34085ff0afdbd215d6a5290609a634ec0624103f4997a57f571ce6df429decba81e1e2e12060e05eda649f9dfe1db40a56362e8 WHIRLPOOL 702817159a01223727b9a59da9429132e99723c240be018f843c4c0cd741557a2235f4c6de4a8d35b21030ac58d079704d5924c057b44fde134e4c8f083e526f
-AUX mydns-1.1.0-gentoo.patch 2069 SHA256 6e776c52b4eaf824a0582dac84b3a15cf9a140c414eef8292b1cbf4850f41338 SHA512 cbba5030c201b77d6aa1a47d725433a00477d711f466fb4ffbea4b982191c62547137eaffbb2c0742e43a1e1c618854340353820b5f444e247ab041028212e3a WHIRLPOOL d94016455ab62a28638ff299bb7f82d73363d31b89e50a98c0581beaaa799b1166ae5477cc106ca0b8e6fccc7311644271d622634f4dfa5200d92d0268e49082
-AUX mydns-1.1.0-m4.patch 3055 SHA256 9cf87e1dd03cd83655099eb850285f2b67893fe490cd20f053c33e9bec8046c2 SHA512 14ccd9e4a77b3b106c05b1972dc38c6b48917ed218fcbfa5519075a1aac8a26157c07b062e0ceb27d0cf0e605738e136996e2ad6e684adf4123afaf55ec3e755 WHIRLPOOL 8f1b1dc06eae5fabcd2cd345f355938bb1645611326832c7dda587db8bbce35c10d8acf62a656082d0d20d78b1043a337395058fe9240c6198dc3d53881b77f4
-AUX mydns-1.2.8.27-gentoo.patch 1998 SHA256 3e14d2284912585aa23e0abcb2297825f8f888be8a5e0f8b7491b5b52c5a2969 SHA512 bae09b3054497899f91408c4469fe524f8f3dd841d94a67cc83d48bdc1e2c40f242e008a9ee1d501fbfe0d84041f8d83ede585147d93b5a50a79552b5aa888a3 WHIRLPOOL 091e01b3db72b88bce0058a5a2aababa675fe6d9525181004a7ec7a161ae6c060cea6d0d8d8439b65abe0a9d55fff9d927a226346fb611dbd70d9174c6441286
AUX mydns-1.2.8.27-m4.patch 1983 SHA256 ebd6a22d9af6c6fd734b0756583b116755935f4f1c6a1bd6b10dc685521cbc13 SHA512 0111a517bbeec7101bccf9cda54dc15e46952e156f3a27b9305e0a92d8aeda58756dd4fae568cc5695c2bda25e9232012e117dd52178f1f39992fb4be75167ea WHIRLPOOL c7a8d3c93758346e88bd19be27a6aebbf62a51ae5451325afa56c1e1561a88789d075a4cd3b24cd25bed28eb11bd6e2a9eefb8d221a7834e89a272a57f245d84
AUX mydns.confd 84 SHA256 3a8228a51851bf0ecd08a9db9102a09c2acf40c50700b3cf7faf9b0af018551c SHA512 7fd98de31583d0556734b7313afa257b9f73f4d74611ce03dd44f2d7e833ec4f95b4bf84dab627d59da18f89f7dc1d9eb6d840a90b16556b4e1d97439944452a WHIRLPOOL c4a4350bf8f00dd54bdeea037fff9b3117d8725567d896d8fa05b51cbdced66abd22f3f1a33fa69c091ed432e6785d2b7e0e8883e46f3660842464cceca24f02
AUX mydns.initd 849 SHA256 05fa7703f8045c424fc3ffec98b784125e468ba1e056fe6b828fcd6c06256ea8 SHA512 0b23851ed6d2ee685a354074b67bf576741988ce38bb81ade511f9ea79ed2ebf3e462705335833ac67c66c3f93e05ddac86626f4deab52664978239058ebef07 WHIRLPOOL 41a6f4efdb4db1c84d25da56ff182d848b4c9b213bd3b64bcd2694fa265dcacba68be54ea7f17815cd41c37e472bea22e72c68de9290add4f23da67d62d4639e
-AUX mydns.rc6 903 SHA256 36dadbe2c880928a43d33049c02026df47478f79ff97768a6143db6cddc3aba4 SHA512 7265d1806177104b9710b0d92daff6bf2f800bafb69da9f5e3874daa1660826bcea3590b02cb45014a46559ad0955a7db47a3245a34fe4de8e75b44781aa708a WHIRLPOOL 9c19f0bc01634dfd3093ed06bfd3f1c16af6d692fe591c07c8386601da9f5d641d3651776dfd5955074aab18b5f78bdba880cb30e4c49f58f83d0f9f045cdd2d
-DIST mydns-1.1.0.tar.bz2 573261 SHA256 ecfcc8bb8fd9f707d2e7af808317cdcc3a4d701375265840944c4e0ff0d66bf6 SHA512 f7bc4c90e6aa2105bed59c9b5ca5644d59736cab5e0c893b20a71c11747c0988d3674af8acaafcebbe5c57589259829c90a25f73e84bc6b5c3a01a5a42d730e9 WHIRLPOOL 204ed3f4f69df904718b637b0daf88145b1f8edb86ef9e74deb04511606eec8773e4d18bcf4b8ade99b6f6a03d932d2cf2fbda8566b2de9032d44f501efff954
DIST mydns-1.2.8.31.tar.gz 958701 SHA256 cb10de11ccd948d3b86296c03c6fb692489945d58b0aaee5d17be083f3263629 SHA512 471dfed9b4f38b446fd5896939faa4c58f4e1b3a3e6928fa84eddf769eba8f3406ef08c77ab39ee79d2ac85c1e72a499b283c7404a0cae9830ffe0faee9e2737 WHIRLPOOL 615e8e129b4d3d7b426b58446f9fef7aaf78d025d1454ba46266d15030dff4a223a033bf6bbc4e6401159a99e1b2eae3d60b6bd76378a3d9e86e2dfd1d06e84f
-EBUILD mydns-1.1.0-r1.ebuild 2182 SHA256 48acc68ddb54c61ff8bd5e52fb81d513e496995b34d2da283bed1d41ddf5669e SHA512 3649c628711ac6e7abe1bd8aa8a838b21bf973cf8335c233a1659442f7ce0320d338575d7cc31474da9784f9e190523ffac168f1e7431dfeea8217d50e0a51ac WHIRLPOOL 5b8fa1baed47ea1e07d3bcdd410519dac4def12b6c36a48dd1067b9308e4df7447db8e93e3e0d56fb8a4fab2283dfeae438271518504bca7c5193e28695df8ec
EBUILD mydns-1.2.8.31.ebuild 2137 SHA256 14504f7fc6c3d458cdd21c5b22d55c9b9de6a585a46833e61db59b46275f2932 SHA512 efba239ef9e6caafd04cc750e8f9cbe3fce91de75375a6cbe1c815ccaefec4cd12c4b7b6f648c71ac2580466a5b98bc499253d2f482d2105e011ed85de61653c WHIRLPOOL 402e66d1094c3c7c97d280cbdbce3aceb4bc84d21aba734efd39bde67dc84d3b9e7b7598b96dcebb9f3ed9c14a316a0320367c7c2811273ddb9e01792d839842
-MISC ChangeLog 6159 SHA256 fa34ce0e486dbce8a02f4cad30e5a8cca97e4deff80c882c91492bc1c24457fd SHA512 abba6e51b13527f0785ddc433a3f74639a9d23c5edece10f668b7a9a44eed91d292b0b15279ca7690442a0ad25acb142544b4078d48f61c81750f70eccbc44b1 WHIRLPOOL a1c1bb5e4b9a5e42ee862941d885b279b03c9809a1922cbcf4b62377668c1097a177a7d0483a311ebb5ca10697d366cd240c90e55cc64dbd4927a0a26c471245
+MISC ChangeLog 6450 SHA256 439f872bb3c99df82af43b39795ceda2df6366475eb6f9b832d4ad8dd9fb4fac SHA512 b14e65456c21750eb13e3ad4b3a5df93e3bfae58d6706b7daf804bffb62c87658432947f094450aa0c966f21b3ad07880b2b03092631aa4c9459d866326c0a82 WHIRLPOOL 395d0c000007139e88491762d4821daa1b7007f64d3aa28158eab1cbb4e5c605bbb7e56b5438c7c547851956e2b08c37fad2f2d51b4aa7931bc4ba9049ba0ff7
MISC metadata.xml 443 SHA256 b946e1c6904bee178392490fb80e345148d96f52972a4510704f701083866e3c SHA512 1e7f55e5b7d87aec47234d2584a2e6ad7912a762df9cebab4ea734b2a030245468d2d78cb87dd4142f37a4820315ff62fa43df19ef08074ecbdafac8c4709d65 WHIRLPOOL 36e9079e3c2cde17b8b859a7b72cce9f8e67314ad297d37fa93444127d622d8e67ca95a82f9cc9ed3b78ced19983b67f1465504a812288242b858af81373a764
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCgAGBQJRM3dUAAoJELp701BxlEWfAXgP/RzrYQnEL9XenrVy2NSW8HIW
-zKYFlnOycwzh9/SzNqal3OBOJmwpzimutDIgqNAfqkqqQ7zJrSFaV1EZzBsMlySh
-dZS8Ui+uGtVpprJBcJrTbg9BB4f/gKKoflKb0IrhsXv1ZzbMU2I5mD7taaq9p1e3
-9IOz7AUFOMF53rD9TDL4J5V3r4/e20J+luKwWebWyX0u2pRkXqFZ88k/ugV1ihqy
-hMXrnQ+xETeNXyXp4R6rl+zPhx7MiQXSmuHXxBcVr5B1bCUADLNziK8/ckwCDlh7
-bUfHMxTFAkmG0gHMT+A/RdNK7IKNM9HN1jTM0HdFvohgT0rJomWbiHvs6XcfQAD+
-FKnG6nEwcnKGkCiV2cGXd3DtEepXLwQQ6r/J/rK6+cwN++ms+AmlXT9xAKkoDzHG
-xMJLz7nICPgTfIi6Cb3ft6Rc9mHac8vkzaMTwyKmVqqFkBkO4MGDSl3NXEMoElOH
-glqpgOKA0FEZc6zkdZSwYKBE+lLdObMusbSOl+SSz+xmcpoEfShaVnvhVY2bGVlj
-fuzzB7a0vZ8CgxjfzOz2cGf2PthbHMKgCcDnvbVTGnIQUlttAhVXGWjdMoFcAeYZ
-nyPqDzuPuHrFx7PdH4kBV2S946/oWKc1p8QBa9zh5oHwsWDMHqqQyAe/ayiGxxpd
-+6fvdFldKLrlE4+Gr8nO
-=lxed
+iQEcBAEBCAAGBQJRM3w8AAoJEMbwO6tnXQ0sl9kIAKcN+oGve6ZiA2xqm8GA7+IT
+3zM9aAFpU6Cbcl2Y4iKRWKKQVO96ADbrrmOrUFYBFjFJuTVZshl5yLaaPCoUDelo
+q7mo49WZ33VoG1px0Y0XD+Tff2v17Tdwqj1R2OXgGlo+qbCGUZXvJ7UrOMoB2BJx
+Vrx3GqnWYAxAa8GafnrxptEh4ABPieiuXKO7d2UAc+mL5lycEbZyySmcz7rxuc9D
+fAi29LBg3YAYAzLf5yYvnXk26mjP/NZoQvxWLc96a1fP+riR4VNHCktSrS9AriAm
+D+JG5DaZjfbzXjftNOl4ag74otzuRWP2JhSBPeQgcWrMtHN3gbaGIkyDOJnJBWE=
+=9C5h
-----END PGP SIGNATURE-----
diff --git a/net-dns/mydns/files/04-update-smash-fix.dpatch b/net-dns/mydns/files/04-update-smash-fix.dpatch
deleted file mode 100644
index 3db6b566f9b7..000000000000
--- a/net-dns/mydns/files/04-update-smash-fix.dpatch
+++ /dev/null
@@ -1,43 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 04-update-smash-fix.dpatch by Philipp Kern <pkern@debian.org>
-##
-## DP: Prevent attackers to smash the heap on DNS updates and fix a
-## DP: stack-based off-by-one overflow.
-
-@DPATCH@
-diff -urNad mydns-1.1.0~/src/mydns/update.c mydns-1.1.0/src/mydns/update.c
---- mydns-1.1.0~/src/mydns/update.c 2005-12-18 20:16:41.000000000 +0100
-+++ mydns-1.1.0/src/mydns/update.c 2007-04-28 11:14:15.000000000 +0200
-@@ -228,6 +228,9 @@
- DNS_GET16(rr->class, src);
- DNS_GET32(rr->ttl, src);
- DNS_GET16(rr->rdlength, src);
-+ if(rr->rdlength > sizeof rr->rdata)
-+ rr->rdlength = sizeof rr->rdata;
-+
- memcpy(rr->rdata, src, rr->rdlength);
- src += rr->rdlength;
-
-@@ -328,19 +331,16 @@
- {
- int n, x; /* Offset in 'data' */
-
-- for (n = 0; src < end && n < datalen; )
-+ for (n = 0; src < end && n < datalen - 1; )
- {
- int len = *src++;
-
- if (n)
- data[n++] = ' ';
-- for (x = 0; x < len && src < end && n < datalen; x++)
-+ for (x = 0; x < len && src < end && n < datalen - 1; x++)
- data[n++] = *src++;
- if (one_word_only)
-- {
-- data[n] = '\0';
-- return (src);
-- }
-+ break;
- }
- data[n] = '\0';
- return (src);
diff --git a/net-dns/mydns/files/mydns-1.1.0-gcc41.patch b/net-dns/mydns/files/mydns-1.1.0-gcc41.patch
deleted file mode 100644
index 683630516002..000000000000
--- a/net-dns/mydns/files/mydns-1.1.0-gcc41.patch
+++ /dev/null
@@ -1,240 +0,0 @@
-diff -Naur mydns-1.1.0.orig/src/lib/rr.c mydns-1.1.0.new/src/lib/rr.c
---- mydns-1.1.0.orig/src/lib/rr.c 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/lib/rr.c 2006-10-22 18:20:59.000000000 +0000
-@@ -438,9 +438,9 @@
- {
- MYDNS_RR *first = NULL, *last = NULL;
- size_t querylen;
-- uchar query[DNS_QUERYBUFSIZ],
-+ char query[DNS_QUERYBUFSIZ],
- namequery[DNS_MAXNAMELEN + DNS_MAXNAMELEN + DNS_MAXNAMELEN + 25] = "";
-- uchar *wheretype;
-+ char *wheretype;
- register char *c, *cp;
- SQL_RES *res;
- SQL_ROW row;
-diff -Naur mydns-1.1.0.orig/src/lib/sql.c mydns-1.1.0.new/src/lib/sql.c
---- mydns-1.1.0.orig/src/lib/sql.c 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/lib/sql.c 2006-10-22 18:20:59.000000000 +0000
-@@ -155,7 +155,7 @@
- int
- sql_istable(SQL *sqlConn, const char *tablename)
- {
-- unsigned char *xtablename;
-+ char *xtablename;
- #if !USE_PGSQL
- SQL_RES *res;
- #endif
-@@ -163,7 +163,7 @@
-
- if (!(xtablename = calloc(strlen(tablename) * 2 + 1, sizeof(unsigned char))))
- Err(_("out of memory"));
-- sql_escstr(sqlConn, xtablename, (uchar *)tablename, strlen(tablename));
-+ sql_escstr(sqlConn, xtablename, (char *)tablename, strlen(tablename));
-
- #if USE_PGSQL
- if (sql_count(sqlConn, "SELECT COUNT(*) FROM pg_class"
-@@ -191,7 +191,7 @@
- int
- sql_iscolumn(SQL *sqlConn, const char *tablename, const char *columnname)
- {
-- unsigned char *xtablename, *xcolumnname;
-+ char *xtablename, *xcolumnname;
- #if !USE_PGSQL
- SQL_RES *res;
- #endif
-@@ -201,8 +201,8 @@
- Err(_("out of memory"));
- if (!(xcolumnname = calloc(strlen(columnname) * 2 + 1, sizeof(unsigned char))))
- Err(_("out of memory"));
-- sql_escstr(sqlConn, xtablename, (uchar *)tablename, strlen(tablename));
-- sql_escstr(sqlConn, xcolumnname, (uchar *)columnname, strlen(columnname));
-+ sql_escstr(sqlConn, xtablename, (char *)tablename, strlen(tablename));
-+ sql_escstr(sqlConn, xcolumnname, (char *)columnname, strlen(columnname));
-
- #if USE_PGSQL
- if (sql_count(sqlConn,
-diff -Naur mydns-1.1.0.orig/src/mydns/alias.c mydns-1.1.0.new/src/mydns/alias.c
---- mydns-1.1.0.orig/src/mydns/alias.c 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/mydns/alias.c 2006-10-22 18:20:59.000000000 +0000
-@@ -67,7 +67,7 @@
- of the label with `*' and check for wildcard matches. */
- if (*label)
- {
-- uchar wclabel[DNS_MAXNAMELEN+1], *c;
-+ char wclabel[DNS_MAXNAMELEN+1], *c;
-
- /* Generate wildcarded label, i.e. `*.example' or maybe just `*'. */
- if (!(c = strchr(label, '.')))
-diff -Naur mydns-1.1.0.orig/src/mydns/listen.c mydns-1.1.0.new/src/mydns/listen.c
---- mydns-1.1.0.orig/src/mydns/listen.c 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/mydns/listen.c 2006-10-22 18:20:59.000000000 +0000
-@@ -264,7 +264,7 @@
- if (!(buf = malloc(buflen)))
- Err(_("out of memory"));
- ifc.ifc_len = buflen;
-- ifc.ifc_buf = buf;
-+ ifc.ifc_buf = (char *)buf;
-
- if ((n = ioctl(sockfd, SIOCGIFCONF, (char *)&ifc)) != -1)
- {
-diff -Naur mydns-1.1.0.orig/src/mydns/named.h mydns-1.1.0.new/src/mydns/named.h
---- mydns-1.1.0.orig/src/mydns/named.h 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/mydns/named.h 2006-10-22 18:20:59.000000000 +0000
-@@ -204,7 +204,7 @@
-
-
- /* task.c */
--extern int new_task(TASK *, unsigned char *, size_t);
-+extern int new_task(TASK *, char *, size_t);
- extern void task_init_header(TASK *);
- extern char *clientaddr(TASK *);
- extern char *desctask(TASK *);
-diff -Naur mydns-1.1.0.orig/src/mydns/recursive.c mydns-1.1.0.new/src/mydns/recursive.c
---- mydns-1.1.0.orig/src/mydns/recursive.c 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/mydns/recursive.c 2006-10-22 18:20:59.000000000 +0000
-@@ -143,9 +143,10 @@
- int
- recursive_fwd_read(TASK *t)
- {
-- char reply[DNS_MAXPACKETLEN_UDP + 2], *r;
-- int replylen, addrlen = sizeof(struct sockaddr_in);
-- uint16_t id, qdcount, ancount, nscount, arcount;
-+ char reply[DNS_MAXPACKETLEN_UDP + 2], *r;
-+ int replylen;
-+ socklen_t addrlen = sizeof(struct sockaddr_in);
-+ uint16_t id, qdcount, ancount, nscount, arcount;
- DNS_HEADER hdr;
-
- #if DEBUG_ENABLED && DEBUG_RECURSIVE
-diff -Naur mydns-1.1.0.orig/src/mydns/task.c mydns-1.1.0.new/src/mydns/task.c
---- mydns-1.1.0.orig/src/mydns/task.c 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/mydns/task.c 2006-10-22 18:20:59.000000000 +0000
-@@ -35,9 +35,9 @@
- Returns 0 on success, -1 on error, -2 if the task is now invalid.
- **************************************************************************************************/
- int
--new_task(TASK *t, unsigned char *data, size_t len)
-+new_task(TASK *t, char *data, size_t len)
- {
-- unsigned char qname[DNS_MAXNAMELEN+1], *src, *qdtop;
-+ char qname[DNS_MAXNAMELEN+1], *src, *qdtop;
-
- #if DEBUG_ENABLED && DEBUG_TASK
- Debug("new_task(%p, %p, %u)", t, data, len);
-diff -Naur mydns-1.1.0.orig/src/mydns/task.h mydns-1.1.0.new/src/mydns/task.h
---- mydns-1.1.0.orig/src/mydns/task.h 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/mydns/task.h 2006-10-22 18:20:59.000000000 +0000
-@@ -44,7 +44,7 @@
- {
- dns_rrtype_t rrtype; /* Record type (what table this data came from) */
- uint32_t id; /* ID associated with RR */
-- unsigned char name[DNS_MAXNAMELEN];/* Name to send with reply */
-+ char name[DNS_MAXNAMELEN];/* Name to send with reply */
- off_t offset; /* The offset within the reply data (t->rdata) */
- size_t length; /* The length of data within the reply */
- uint8_t sort_level; /* Primary sort order */
-@@ -104,7 +104,7 @@
-
- uint32_t Cnames[MAX_CNAME_LEVEL]; /* Array of CNAMEs found */
-
-- unsigned char *qd; /* Question section data */
-+ char *qd; /* Question section data */
- size_t qdlen; /* Size of question section */
- uint16_t qdcount; /* "qdcount", from header */
- uint16_t ancount; /* "ancount", from header */
-diff -Naur mydns-1.1.0.orig/src/mydns/tcp.c mydns-1.1.0.new/src/mydns/tcp.c
---- mydns-1.1.0.orig/src/mydns/tcp.c 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/mydns/tcp.c 2006-10-22 18:20:59.000000000 +0000
-@@ -118,7 +118,7 @@
- int
- read_tcp_query(TASK *t)
- {
-- unsigned char *end;
-+ char *end;
- int rv;
-
- /* Read packet length if we haven't already */
-diff -Naur mydns-1.1.0.orig/src/mydns/update.c mydns-1.1.0.new/src/mydns/update.c
---- mydns-1.1.0.orig/src/mydns/update.c 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/mydns/update.c 2006-10-22 18:20:59.000000000 +0000
-@@ -34,7 +34,7 @@
- dns_class_t class;
- uint32_t ttl;
- uint16_t rdlength;
-- unsigned char rdata[DNS_MAXPACKETLEN_UDP + 1];
-+ char rdata[DNS_MAXPACKETLEN_UDP + 1];
- } UQRR;
-
-
-diff -Naur mydns-1.1.0.orig/src/util/check.c mydns-1.1.0.new/src/util/check.c
---- mydns-1.1.0.orig/src/util/check.c 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/util/check.c 2006-10-22 18:20:59.000000000 +0000
-@@ -386,16 +386,16 @@
- static void
- check_rr_cname(void)
- {
-- unsigned char *xname;
-+ char *xname;
- int found = 0;
-
- EXPAND_DATA(data);
- check_name(data, "rr.data", 1);
-
- /* A CNAME record can't have any other type of RR data for the same name */
-- if (!(xname = calloc(strlen(name) * 2 + 1, sizeof(unsigned char))))
-+ if (!(xname = calloc(strlen(name) * 2 + 1, sizeof(char))))
- Err(_("out of memory"));
-- sql_escstr(sql, xname, (unsigned char *)name, strlen(name));
-+ sql_escstr(sql, xname, (char *)name, strlen(name));
- found = sql_count(sql, "SELECT COUNT(*) FROM %s WHERE zone=%u AND name='%s' AND type != 'CNAME'",
- mydns_rr_table_name, rr->zone, xname);
-
-@@ -404,9 +404,9 @@
- {
- Free(xname);
- shortname(name, 1);
-- if (!(xname = calloc(strlen(name) * 2 + 1, sizeof(unsigned char))))
-+ if (!(xname = calloc(strlen(name) * 2 + 1, sizeof(char))))
- Err(_("out of memory"));
-- sql_escstr(sql, xname, (unsigned char *)name, strlen(name));
-+ sql_escstr(sql, xname, (char *)name, strlen(name));
- found = sql_count(sql, "SELECT COUNT(*) FROM %s WHERE zone=%u AND name='%s' AND type != 'CNAME'",
- mydns_rr_table_name, rr->zone, xname);
- EXPAND_DATA(name);
-diff -Naur mydns-1.1.0.orig/src/util/export.c mydns-1.1.0.new/src/util/export.c
---- mydns-1.1.0.orig/src/util/export.c 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/util/export.c 2006-10-22 18:20:59.000000000 +0000
-@@ -270,7 +270,7 @@
- printf("%s %s\n", rr->data, rr->rp_txt);
- else if (rr->type == DNS_QTYPE_TXT)
- {
-- register unsigned char *c;
-+ register char *c;
- putc('"', stdout);
- for (c = rr->data; *c; c++)
- {
-diff -Naur mydns-1.1.0.orig/src/util/import-axfr.c mydns-1.1.0.new/src/util/import-axfr.c
---- mydns-1.1.0.orig/src/util/import-axfr.c 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/util/import-axfr.c 2006-10-22 18:20:59.000000000 +0000
-@@ -462,7 +462,7 @@
- void
- import_axfr(char *hostport, char *import_zone)
- {
-- unsigned char *reply, len[2];
-+ char *reply, len[2];
- int fd;
- size_t replylen;
-
-diff -Naur mydns-1.1.0.orig/src/util/ptrconvert.c mydns-1.1.0.new/src/util/ptrconvert.c
---- mydns-1.1.0.orig/src/util/ptrconvert.c 2006-10-22 18:20:08.000000000 +0000
-+++ mydns-1.1.0.new/src/util/ptrconvert.c 2006-10-22 18:20:59.000000000 +0000
-@@ -290,7 +290,7 @@
- else /* Insert new record */
- {
- long id;
-- uchar query[DNS_QUERYBUFSIZ];
-+ char query[DNS_QUERYBUFSIZ];
- int querylen;
- char esc_origin[DNS_MAXNAMELEN + DNS_MAXNAMELEN + 1];
- char esc_ns[520], esc_mbox[520];
diff --git a/net-dns/mydns/files/mydns-1.1.0-gentoo.patch b/net-dns/mydns/files/mydns-1.1.0-gentoo.patch
deleted file mode 100644
index e27acf6978d5..000000000000
--- a/net-dns/mydns/files/mydns-1.1.0-gentoo.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff -Naur mydns-1.1.0.orig/doc/Makefile.am mydns-1.1.0/doc/Makefile.am
---- mydns-1.1.0.orig/doc/Makefile.am 2004-02-28 03:28:06.000000000 +0900
-+++ mydns-1.1.0/doc/Makefile.am 2008-12-28 09:48:57.000000000 +0900
-@@ -33,25 +33,25 @@
- fi
-
- mydns.8: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- mydnscheck.8: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- mydns.conf.5: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- mydns-conf.8: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- mydnsexport.8: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- mydnsimport.8: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- mydnsptrconvert.8: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- html:
- if [ -x /usr/local/bin/mydns-texi2html ]; then /usr/local/bin/mydns-texi2html mydns.texi; fi
-diff -Naur mydns-1.1.0.orig/m4/mydns.m4 mydns-1.1.0/m4/mydns.m4
---- mydns-1.1.0.orig/m4/mydns.m4 2006-01-19 07:08:14.000000000 +0900
-+++ mydns-1.1.0/m4/mydns.m4 2008-12-28 09:29:30.000000000 +0900
-@@ -363,7 +363,6 @@
- AC_C_CFLAGS(-fomit-frame-pointer)
- AC_C_CFLAGS(-finline-functions)
- AC_C_CFLAGS(-ffast-math)
-- LDFLAGS="$LDFLAGS -static"
- fi
- fi
- ], [
-@@ -372,7 +371,6 @@
- AC_C_CFLAGS(-fomit-frame-pointer)
- AC_C_CFLAGS(-finline-functions)
- AC_C_CFLAGS(-ffast-math)
-- LDFLAGS="$LDFLAGS -static"
- fi
- ]
- )
diff --git a/net-dns/mydns/files/mydns-1.1.0-m4.patch b/net-dns/mydns/files/mydns-1.1.0-m4.patch
deleted file mode 100644
index c8f86dff1bb2..000000000000
--- a/net-dns/mydns/files/mydns-1.1.0-m4.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-diff -Naur mydns-1.1.0.orig/m4/mydns.m4 mydns-1.1.0/m4/mydns.m4
---- mydns-1.1.0.orig/m4/mydns.m4 2006-01-19 07:08:14.000000000 +0900
-+++ mydns-1.1.0/m4/mydns.m4 2006-01-22 13:09:39.000000000 +0900
-@@ -517,47 +517,10 @@
- ##
- AC_DEFUN([AC_LIB_MYSQLCLIENT],
- [
-- libmysqlclient_dirs="/usr/local/mysql/lib /usr/local/lib/mysql /usr/local/lib /usr/lib/mysql /usr/lib /lib"
-- AC_ARG_WITH(mysql-lib,
-- AC_HELP_STRING([--with-mysql-lib=DIR], [look for the MySQL client library in DIR]),
-- libmysqlclient_dirs="$withval $libmysqlclient_dirs")
-- libmysqlclient_found=no, libmysqlclient_ok=no
-- for libmysqlclient_dir in $libmysqlclient_dirs; do
-- if test "$libmysqlclient_found" != yes; then
-- AC_CHECK_FILE($libmysqlclient_dir/libmysqlclient.a, libmysqlclient_found=yes, libmysqlclient_found=no)
-- if test "$libmysqlclient_found" != yes; then
-- AC_CHECK_FILE($libmysqlclient_dir/libmysqlclient.so.10, libmysqlclient_found=yes, libmysqlclient_found=no)
-- fi
-- if test "$libmysqlclient_found" != yes; then
-- AC_CHECK_FILE($libmysqlclient_dir/libmysqlclient.so.12, libmysqlclient_found=yes, libmysqlclient_found=no)
-- fi
-- if test "$libmysqlclient_found" = yes; then
-- ## libmysqlclient depends on libz
-- if ! test -n "$LIBZ"; then
-- AC_LIB_Z
-- fi
-- if ! test -n "$LIBZ"; then
-- ## No zlib
-- AC_MSG_ERROR([
--
--][ ###
--][ ### zlib compression library (libz.a) not found.
--][ ###
--][ ### Please download and install the zlib compression
--][ ### library from the following URL:
--][ ###
--][ ### http://www.gzip.org/zlib/
--][ ###
--][ ### (Error detail might be available in `config.log')
--][ ###
--])
-- fi
-- LIBMYSQLCLIENT="-L$libmysqlclient_dir -lmysqlclient"
-- #LIBMYSQLCLIENT="$libmysqlclient_dir/libmysqlclient.a"
-- libmysqlclient_found=yes
-- fi
-- fi
-- done
-+ AC_CHECK_PROG(LIBMYSQLCLIENT,mysql_config,`mysql_config --libs`)
-+ if test -z "$LIBMYSQLCLIENT"; then
-+ AC_MSG_ERROR([Could not find mysql_config script. Make sure the mysql client libraries are installed])
-+ fi
- AC_SUBST(LIBMYSQLCLIENT)
- ]
- )
-@@ -567,21 +530,10 @@
- ##
- AC_DEFUN([AC_HEADER_MYSQL],
- [
-- ac_mydns_header_dirs="/usr/include /usr/include/mysql /usr/local/include \
-- /usr/local/include/mysql /usr/local/mysql/include"
-- ac_mydns_header_found=no, ac_mydns_header_ok=no
-- AC_ARG_WITH(mysql-include,
-- AC_HELP_STRING([--with-mysql-include=DIR],
-- [look for MySQL include files in DIR]),
-- ac_mydns_header_dirs="$withval $ac_mydns_header_dirs")
-- for dir in $ac_mydns_header_dirs
-- do
-- if test "$ac_mydns_header_found" != yes
-- then
-- AC_CHECK_FILE($dir/mysql.h, ac_mydns_header_found=yes, ac_mydns_header_found=no)
-- test "$ac_mydns_header_found" = yes && MYSQL_INCLUDE="-I$dir"
-- fi
-- done
-+ AC_CHECK_PROG(MYSQL_INCLUDE,mysql_config,`mysql_config --include`)
-+ if test -z "$MYSQL_INCLUDE"; then
-+ AC_MSG_ERROR([Could not find mysql_config script. Make sure the mysql headers are installed])
-+ fi
- AC_SUBST(MYSQL_INCLUDE)
- ]
- )
diff --git a/net-dns/mydns/files/mydns-1.2.8.27-gentoo.patch b/net-dns/mydns/files/mydns-1.2.8.27-gentoo.patch
deleted file mode 100644
index c4d9c132840c..000000000000
--- a/net-dns/mydns/files/mydns-1.2.8.27-gentoo.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff -Naur mydns-1.1.0.orig/doc/Makefile.am mydns-1.1.0/doc/Makefile.am
---- mydns-1.1.0.orig/doc/Makefile.am 2004-02-28 03:28:06.000000000 +0900
-+++ mydns-1.1.0/doc/Makefile.am 2008-12-28 09:48:57.000000000 +0900
-@@ -33,25 +33,25 @@
- fi
-
- mydns.8: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- mydnscheck.8: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- mydns.conf.5: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- mydns-conf.8: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- mydnsexport.8: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- mydnsimport.8: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- mydnsptrconvert.8: sedfile ${@:=.in}
-- $(SHELL) @top_srcdir@/missing --run sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-+ sed -f @SEDFILE@ ${@:=.in} | tr -s '\n' > $@
-
- html:
- if [ -x /usr/local/bin/mydns-texi2html ]; then /usr/local/bin/mydns-texi2html mydns.texi; fi
---- mydns-1.2.8/m4/mydns.m4.orig 2009-02-02 14:52:34.000000000 +0100
-+++ mydns-1.2.8/m4/mydns.m4 2010-12-01 22:31:20.000000000 +0100
-@@ -357,16 +357,12 @@
- AC_MSG_RESULT([no])
- if test -z "$PROFILE_ENABLED"; then
- AC_C_CFLAGS(-finline-functions)
-- else
-- LDFLAGS="$LDFLAGS -static"
- fi
- fi
- ], [
- AC_MSG_RESULT([no])
- if test -z "$PROFILE_ENABLED"; then
- AC_C_CFLAGS(-finline-functions)
-- else
-- LDFLAGS="$LDFLAGS -static"
- fi
- ]
- )
diff --git a/net-dns/mydns/files/mydns.rc6 b/net-dns/mydns/files/mydns.rc6
deleted file mode 100644
index e79248da31b2..000000000000
--- a/net-dns/mydns/files/mydns.rc6
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/files/mydns.rc6,v 1.6 2007/04/30 10:32:09 matsuu Exp $
-
-depend() {
- need net
- use logger __db__
-}
-
-checkconfig() {
- if [ ! -f /etc/mydns.conf ] ; then
- eerror "No /etc/mydns.conf file exists!"
- eerror "You should now run these commands:"
- eerror "# /usr/sbin/mydns --dump-config > /etc/mydns.conf"
- eerror "# chmod 0600 /etc/mydns.conf"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting mydns"
- start-stop-daemon --start --quiet --exec /usr/sbin/mydns -- -b
- eend $?
-}
-
-stop () {
- ebegin "Stopping mydns"
- PIDFILE=`cat /etc/mydns.conf | grep pidfile | awk '{ print $3 }'`
- if [ $PIDFILE == "" ]; then
- PIDFILE=/var/run/mydns.pid
- fi
- start-stop-daemon --stop --quiet \
- --pidfile=${PIDFILE}
- eend $?
-}
diff --git a/net-dns/mydns/mydns-1.1.0-r1.ebuild b/net-dns/mydns/mydns-1.1.0-r1.ebuild
deleted file mode 100644
index 96fc667edb1a..000000000000
--- a/net-dns/mydns/mydns-1.1.0-r1.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/mydns-1.1.0-r1.ebuild,v 1.9 2010/06/17 21:47:22 patrick Exp $
-
-inherit eutils
-
-DESCRIPTION="A DNS-Server which gets its data from mysql-databases"
-HOMEPAGE="http://mydns.bboy.net/"
-SRC_URI="http://mydns.bboy.net/download/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ~hppa ia64 ~ppc sparc x86"
-IUSE="debug nls postgres ssl static zlib"
-
-RDEPEND="ssl? ( dev-libs/openssl )
- zlib? ( sys-libs/zlib )
- postgres? ( dev-db/postgresql-server )
- !postgres? ( virtual/mysql )"
-DEPEND="${RDEPEND}
- sys-devel/bison"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}"/${P}-m4.patch
- epatch "${FILESDIR}"/04-update-smash-fix.dpatch
- autoconf || die
-}
-
-src_compile() {
- local myconf
-
- if ! use postgres; then
- myconf="${myconf} --with-mysql"
- else
- myconf="${myconf} --without-mysql --with-pgsql"
- fi
-
- econf --enable-alias \
- `use_enable nls` \
- `use_enable debug` \
- `use_enable static static-build` \
- `use_with ssl openssl` \
- `use_with zlib` \
- ${myconf} || die
-
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
-
- dodoc AUTHORS BUGS ChangeLog NEWS README TODO
-
- newinitd "${FILESDIR}"/mydns.rc6 mydns || die
-
- if ! use postgres; then
- sed -i -e 's/__db__/mysql/g' "${D}"/etc/init.d/mydns || die
- dodoc QUICKSTART.mysql README.mysql
- else
- sed -i -e 's/__db__/postgresql/g' "${D}"/etc/init.d/mydns || die
- dodoc QUICKSTART.postgres
- fi
-}
-
-pkg_postinst() {
- elog
- elog "You should now run these commands:"
- elog
- elog "# /usr/sbin/mydns --dump-config > /etc/mydns.conf"
- elog "# chmod 0600 /etc/mydns.conf"
- if ! use postgres; then
- elog "# mysqladmin -u <useruname> -p create mydns"
- elog "# /usr/sbin/mydns --create-tables | mysql -u <username> -p mydns"
- elog
- elog "to create the tables in the MySQL-Database."
- elog "For more info see QUICKSTART.mysql."
- else
- elog "# createdb mydns"
- elog "# /usr/sbin/mydns --create-tables | psql mydns"
- elog
- elog "to create the tables in the PostgreSQL-Database."
- elog "For more info see QUICKSTART.postgres."
- fi
- elog
-}