Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Andraž Levstik (c98d6b9a5a27dcd4063b8b694ec771cd1e9ed269)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Andraž Levstik <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Andraž Levstik (c98d6b9a5a27dcd4063b8b694ec771cd1e9ed269)
  • Date: Thu, 1 Jan 2009 10:14:12 -0600

GIT changes to master grimoire by Andraž Levstik <ruskie AT codemages.net>:

ChangeLog | 3 ++
chat-im/jabberd/BUILD | 14 ++++---------
chat-im/jabberd/CONFIGURE | 48
+++++++++++++++++++++++++++++-----------------
chat-im/jabberd/DEPENDS | 2 +
chat-im/jabberd/DETAILS | 4 +--
chat-im/jabberd/HISTORY | 9 ++++++++
chat-im/jabberd/INSTALL | 8 +++----
libs/udns/BUILD | 2 +
libs/udns/DETAILS | 35 +++++++++++++++++++++++++++++++++
libs/udns/HISTORY | 3 ++
libs/udns/INSTALL | 10 +++++++++
11 files changed, 106 insertions(+), 32 deletions(-)

New commits:
commit 991d47406cd1f22163eda4ff263986047a4465cb
Author: Andraž Levstik <ruskie AT codemages.net>
Commit: Andraž Levstik <ruskie AT codemages.net>

jabberd: updated to latest and greatest, rewamp of the spell, fixed to 80
chars in configure(so it's a whitespace commit), and using single var for
config_query_option, new depends udns, added zlib, build and install updated

commit 2f5faa2f5b7ab1f5304a39604e12868e2f17be7b
Author: Andraž Levstik <ruskie AT codemages.net>
Commit: Andraž Levstik <ruskie AT codemages.net>

udns: new lib, dns resolver stub needed for latest version of jabberd

diff --git a/ChangeLog b/ChangeLog
index 8054b82..90a684b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2009-01-01 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * libs/udns: new spell, dns reslovre stub library
+
2008-12-30 Vlad Glagolev <stealth AT sourcemage.org>
* security/doorman: new spell, open ports when requested by a *secret
knock*

diff --git a/chat-im/jabberd/BUILD b/chat-im/jabberd/BUILD
index 14e40cc..b4a6705 100755
--- a/chat-im/jabberd/BUILD
+++ b/chat-im/jabberd/BUILD
@@ -1,12 +1,8 @@
create_account "jabber" &&
-
-OPTS="$OPTS $JABBERD_PIPE $JABBERD_ANON $JABBERD_FS $JABBERD_DEBUG\
- $JABBERD_NAD_DEBUG $JABBERD_POOL_DEBUG $JABBERD_DEVELOPER\
- --enable-MIO=$JABBERD_MIO --sysconfdir=${INSTALLROOT}/etc/jabberd" &&
-if [[ "$JABBERD_SASL" == "cyrus-sasl" ]]; then
- OPTS="$OPTS --enable-cyrus --disable-gsasl"
-else
- OPTS="$OPTS --enable-gsasl --disable-cyrus"
-fi
+# their configure complains about anything higher than -O2 but as that might
+# not be desired in all cases just removing it completly
+CFLAGS=${CFLAGS/-O3} &&
+CFLAGS=${CFLAGS/-Os} &&
+OPTS="$JABBERD_OPTS --enable-mio=$JABBERD_MIO
--with-sasl=${JABBERD_SASL/-sasl} --sysconfdir=${INSTALLROOT}/etc/jabberd
$OPTS" &&

default_build
diff --git a/chat-im/jabberd/CONFIGURE b/chat-im/jabberd/CONFIGURE
index 800b02a..ea93b79 100755
--- a/chat-im/jabberd/CONFIGURE
+++ b/chat-im/jabberd/CONFIGURE
@@ -1,3 +1,7 @@
+JABBERD_OPTS="$JABBERD_OPTS $JABBERD_PIPE $JABBERD_ANON $JABBERD_FS
$JABBERD_DEBUG \
+ $JABBERD_NAD_DEBUG $JABBERD_POOL_DEBUG $JABBERD_DEVELOPER"
+persistent_remove JABBERD_PIPE JABBERD_ANON JABBERD_FS JABBERD_DEBUG \
+ JABBERD_NAD_DEBUG JABBERD_POOL_DEBUG JABBERD_DEVELOPER
if [[ "$JABBERD_SASL" == "" ]]; then
if spell_ok cyrus-sasl; then
JABBERD_SASL="cyrus-sasl"
@@ -5,29 +9,39 @@ if [[ "$JABBERD_SASL" == "" ]]; then
JABBERD_SASL="gsasl"
fi
fi
-config_query_list JABBERD_SASL 'Choose your SASL implementation' \
- gsasl cyrus-sasl &&
+config_query_list JABBERD_SASL \
+ 'Choose your SASL implementation' \
+ gsasl cyrus-sasl &&

-config_query_list JABBERD_MIO 'Select MIO backend' poll select &&
+config_query_list JABBERD_MIO \
+ 'Select MIO backend' \
+ epoll poll select &&

-config_query_option JABBERD_PIPE 'Enable pipe auth/reg support?' \
- n '--enable-pipe' '--disable-pipe' &&
+config_query_option JABBERD_OPTS \
+ 'Enable pipe auth/reg support?' \
+ n '--enable-pipe' '--disable-pipe' &&

-config_query_option JABBERD_ANON 'Enable anonymous auth support?' \
- n '--enable-anon' '--disable-anon' &&
+config_query_option JABBERD_OPTS \
+ 'Enable anonymous auth support?' \
+ n '--enable-anon' '--disable-anon' &&

-config_query_option JABBERD_FS 'Enable filesystem storage
support(NOT RECCOMENDED)?' \
- n '--enable-fs' '--disable-fs' &&
+config_query_option JABBERD_OPTS \
+ 'Enable filesystem storage support?' \
+ n '--enable-fs' '--disable-fs' &&

-config_query_option JABBERD_DEBUG 'Enable debugging output when run
with -D?' \
- n '--enable-debug' '--disable-debug' &&
+config_query_option JABBERD_OPTS \
+ 'Enable debugging output when run with -D?' \
+ n '--enable-debug' '--disable-debug' &&

-config_query_option JABBERD_NAD_DEBUG 'Compile with NAD pointer tracking?' \
- n '--enable-nad-debug' '--disable-nad-debug' &&
+config_query_option JABBERD_OPTS \
+ 'Compile with NAD pointer tracking?' \
+ n '--enable-nad-debug' '--disable-nad-debug' &&

-config_query_option JABBERD_POOL_DEBUG 'Compile with pool statistics?' \
- n '--enable-pool-debug' '--disable-pool-debug' &&
+config_query_option JABBERD_OPTS \
+ 'Compile with pool statistics?' \
+ n '--enable-pool-debug' '--disable-pool-debug' &&

-config_query_option JABBERD_DEVELOPER 'Compile with full warnings and
debugging symbols?' \
- n '--enable-developer' '--disable-developer'
+config_query_option JABBERD_OPTS \
+ 'Compile with full warnings and debugging symbols?' \
+ n '--enable-developer' '--disable-developer'

diff --git a/chat-im/jabberd/DEPENDS b/chat-im/jabberd/DEPENDS
index 830fae2..339b0ff 100755
--- a/chat-im/jabberd/DEPENDS
+++ b/chat-im/jabberd/DEPENDS
@@ -1,4 +1,6 @@
depends expat &&
+depends udns &&
+depends zlib &&
depends $JABBERD_SASL &&

optional_depends openssl \
diff --git a/chat-im/jabberd/DETAILS b/chat-im/jabberd/DETAILS
index 4b5e5db..3264e0c 100755
--- a/chat-im/jabberd/DETAILS
+++ b/chat-im/jabberd/DETAILS
@@ -1,7 +1,7 @@
SPELL=jabberd
- VERSION=2.1.6
+ VERSION=2.2.4
SOURCE=$SPELL-$VERSION.tar.bz2
-
SOURCE_HASH=sha512:d00a5006c92ecb1b6e33851cfcf3b41af0a5a4addff2c4036ba36eb56094c7adb55c7c635745a85076807b0bba062df3b40f77b3436dff8761bf1ffd96d92e4b
+
SOURCE_HASH=sha512:47720c423f42777af12ed5defcac1b150d7a91fc19c67d2913df77f92eae8a604c4b715a6b8eee7c539d4973028f7dbc4aa0c47c1b11430c9132bd160bbc774e
LICENSE[0]=GPL
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=http://ftp.xiaoka.com/jabberd2/releases/$SOURCE
diff --git a/chat-im/jabberd/HISTORY b/chat-im/jabberd/HISTORY
index bf819c3..201cbaa 100644
--- a/chat-im/jabberd/HISTORY
+++ b/chat-im/jabberd/HISTORY
@@ -1,3 +1,12 @@
+2009-01-01 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * DETAILS: updated spell to 2.2.4
+ * BUILD: updated
+ * CONFIGURE: streamlined to a single var, made lines 80 long or less,
+ plenty of whitespace commit to make the overall file look consistent
+ after the 80 alignment
+ * DEPENDS: new depends udns and added zlib
+ * INSTALL: remove Makefile in tools and just copy the lot
+
2007-05-30 David Kowis <dkowis AT shlrm.org>
* DEPENDS, DETAILS, CONFIGURE, BUILD, INSTALL: Rewrote spell to work
with version 2.1.6
diff --git a/chat-im/jabberd/INSTALL b/chat-im/jabberd/INSTALL
index 46f2dbb..5e8f11e 100755
--- a/chat-im/jabberd/INSTALL
+++ b/chat-im/jabberd/INSTALL
@@ -1,6 +1,6 @@
default_install &&
-mkdir -p /usr/share/jabberd &&
-cp -v $SOURCE_DIRECTORY/tools/db-* /usr/share/jabberd &&
-cp -v $SOURCE_DIRECTORY/tools/jabberd* /usr/share/jabberd &&
-cp -v $SOURCE_DIRECTORY/tools/*.pl /usr/share/jabberd
+cd tools &&
+rm Makefile* &&
+mkdir -vp ${INSTALL_ROOT}/usr/share/jabberd &&
+cp -v * ${INSTALL_ROOT}/usr/share/jabberd

diff --git a/libs/udns/BUILD b/libs/udns/BUILD
new file mode 100755
index 0000000..7b26b2f
--- /dev/null
+++ b/libs/udns/BUILD
@@ -0,0 +1,2 @@
+./configure &&
+make shared
diff --git a/libs/udns/DETAILS b/libs/udns/DETAILS
new file mode 100755
index 0000000..ed121fe
--- /dev/null
+++ b/libs/udns/DETAILS
@@ -0,0 +1,35 @@
+ SPELL=udns
+ VERSION=0.0.9
+ SOURCE="${SPELL}_${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://www.corpit.ru/mjt/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:21b3ca7558abc782118a1abbef9d5c5fcf364d44cd218f5069bd8901e831e5de7d0f7bf29e6ab0cbd0af1c6aeb379409e79d8898bd9aeb338bc8187392898aa3
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://www.corpit.ru/mjt/udns.html";
+ LICENSE[0]=LGPL
+ ENTERED=20090101
+ SHORT="UDNS is a stub DNS resolver library."
+cat << EOF
+UDNS is a stub DNS resolver library with ability to perform both syncronous
+and asyncronous DNS queries.
+
+Easy to use and asyncronous DNS resolver is a problem for a very long
+time. Standard libresolv from Berkeley Internet Name Daemon (BIND)
+distribution, included in most Unix-like operating systems, is good for
+syncronous A (AAAA) and PTR lookups. Other DNS Resource Record (RR) types
(such
+as MX, TXT and so on) requires parsing of raw DNS packets at the application
+level, which isn't a trivial task and requires good knowlege of DNS protocols
+and packet structure. While it is possible to add such interfaces to use for
+other RR types to standard resolv library, it's main problem remains: it is
+not asyncronous. Most applications that requires asyncronous DNS processing
+either implements their own resolver modules (which, again, is not a trivial
+task, and sometimes leads to incompatibilities with other resolver libraries
+and bugs which are difficult to find), or uses forked-resolver model, where
+separate process is forked just to perform DNS queries, which requires quite
+some resources, especially when an application already have some sort of
event
+loop in place to multiplex I/O. Asyncronous DNS resolver is a must for many
+nowadays applications, such as GUI (GUI-application should not stop
processing
+user interface events while performing DNS queries), high-performance servers
+(such as mail servers) using event-loop model (see for example an excellent
+"The C10K problem" page at kegel.com describing various methods to handle
+many client requests in parallel).
+EOF
diff --git a/libs/udns/HISTORY b/libs/udns/HISTORY
new file mode 100644
index 0000000..a9e40e4
--- /dev/null
+++ b/libs/udns/HISTORY
@@ -0,0 +1,3 @@
+2009-01-01 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * DETAILS, BUILD, INSTALL: spell created
+
diff --git a/libs/udns/INSTALL b/libs/udns/INSTALL
new file mode 100755
index 0000000..e980ddb
--- /dev/null
+++ b/libs/udns/INSTALL
@@ -0,0 +1,10 @@
+cp -v dnsget_s "${INSTALL_ROOT}/usr/bin/dnsget" &&
+cp -v ex-rdns_s "${INSTALL_ROOT}/usr/bin/ex-rdns" &&
+cp -v rblcheck_s "${INSTALL_ROOT}/usr/bin/rblcheck" &&
+cp -v libudns.so.0 "${INSTALL_ROOT}/usr/lib/libudns.so.0" &&
+ln -s "${INSTALL_ROOT}/usr/lib/libudns.so.0" \
+ "${INSTALL_ROOT}/usr/lib/libudns.so" &&
+cp -v udns.h "${INSTALL_ROOT}/usr/include/" &&
+mkdir -vp "${INSTALL_ROOT}/usr/share/man/man1/" &&
+cp *.{1,3} "${INSTALL_ROOT}/usr/share/man/man1/"
+



  • [SM-Commit] GIT changes to master grimoire by Andraž Levstik (c98d6b9a5a27dcd4063b8b694ec771cd1e9ed269), Andraž Levstik, 01/01/2009

Archive powered by MHonArc 2.6.24.

Top of Page