summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaka Kranjc2007-01-25 14:58:32 +0100
committerJaka Kranjc2007-01-25 14:58:32 +0100
commitdca2920804abfa84e68b84d195b3641d4f8967fe (patch)
treebcc936ed8b45dd4d9206f702ba971313f62abca5
parenta47179946f952d9372fe4f5f08b7c417cf011a2e (diff)
libdnsres start
-rw-r--r--ChangeLog3
-rwxr-xr-xlibs/libdnsres/libdnsres/BUILD3
-rwxr-xr-xlibs/libdnsres/libdnsres/DEPENDS1
-rwxr-xr-xlibs/libdnsres/libdnsres/DETAILS25
-rw-r--r--libs/libdnsres/libdnsres/HISTORY3
-rw-r--r--libs/libdnsres/libdnsres/provos.gpgbin0 -> 1246 bytes
6 files changed, 35 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b38bb5a90d..99046dd6f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2007-01-25 Jaka Kranjc <lynxlynxlynx@sourcemage.org>
+ * libs/libdnsres: A non-blocking, thread-safe DNS resolver library.
+
2007-01-25 Arjan Bouter <abouter@sourcemage.org>
* x11/gkrellm-bluez: new spell
diff --git a/libs/libdnsres/libdnsres/BUILD b/libs/libdnsres/libdnsres/BUILD
new file mode 100755
index 0000000000..d22e99fd61
--- /dev/null
+++ b/libs/libdnsres/libdnsres/BUILD
@@ -0,0 +1,3 @@
+make_single &&
+default_build &&
+make_normal
diff --git a/libs/libdnsres/libdnsres/DEPENDS b/libs/libdnsres/libdnsres/DEPENDS
new file mode 100755
index 0000000000..c5f70b0c5f
--- /dev/null
+++ b/libs/libdnsres/libdnsres/DEPENDS
@@ -0,0 +1 @@
+depends libevent
diff --git a/libs/libdnsres/libdnsres/DETAILS b/libs/libdnsres/libdnsres/DETAILS
new file mode 100755
index 0000000000..85e68e280d
--- /dev/null
+++ b/libs/libdnsres/libdnsres/DETAILS
@@ -0,0 +1,25 @@
+ SPELL=libdnsres
+ VERSION=0.1a
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE2=$SOURCE.sig
+ SOURCE_URL[0]=http://www.monkey.org/~provos/${SOURCE}
+ SOURCE2_URL[0]=http://www.monkey.org/~provos/$SOURCE2
+ SOURCE_GPG="provos.gpg:$SOURCE2:UPSTREAM_KEY"
+ SOURCE2_IGNORE=signature
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=http://www.monkey.org/~provos/libdnsres/
+ LICENSE[0]=BSD
+ ENTERED=20070125
+ SHORT="A non-blocking, thread-safe DNS resolver library."
+cat << EOF
+Libdnsres provides a non-blocking, thread-safe API for resolving
+DNS names. It requires that your main application is built on top of
+libevent. The API essentially mirrors the traditional gethostbyname and
+getaddrinfo interfaces. All return values have been replaced by callbacks
+instead. The code borrows heavily from the BSD resolver library. In fact,
+it is an extremely ugly hack to make the BSD resolver library non-blocking
+and thread-safe without changing the API too much.
+ Although it has not been tested heavily, it
+should compile on BSD systems and Linux. The library comes with a simple
+test program that can be use to verify if it works correctly.
+EOF
diff --git a/libs/libdnsres/libdnsres/HISTORY b/libs/libdnsres/libdnsres/HISTORY
new file mode 100644
index 0000000000..7b51161a97
--- /dev/null
+++ b/libs/libdnsres/libdnsres/HISTORY
@@ -0,0 +1,3 @@
+2007-01-25 Jaka Kranjc <lynxlynxlynx@sourcemage.org>
+ * DETAILS, DEPENDS, HISTORY, BUILD: created spell
+ * provos.gpg: copied from security/usr-systrace
diff --git a/libs/libdnsres/libdnsres/provos.gpg b/libs/libdnsres/libdnsres/provos.gpg
new file mode 100644
index 0000000000..4897bd9d11
--- /dev/null
+++ b/libs/libdnsres/libdnsres/provos.gpg
Binary files differ