Browse Source

udns: Added udns 0.0.9-2 - A DNS Resolver Library

early
Alejandro Mery 17 years ago
parent
commit
154b895fe5
  1. 67
      network/udns/make_install.patch
  2. 22
      network/udns/udns.cache
  3. 22
      network/udns/udns.conf
  4. 33
      network/udns/udns.desc

67
network/udns/make_install.patch

@ -0,0 +1,67 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../udns/make_install.patch
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./Makefile.in.orig 2008-08-06 08:04:54.000000000 -0400
+++ ./Makefile.in 2008-08-06 08:36:33.000000000 -0400
@@ -56,10 +56,30 @@
PICFLAGS = -fPIC
AWK = awk
+DESTDIR=
+BINDIR=/usr/bin
+LIBDIR=/usr/lib
+MANDIR=/usr/share/man
+INCDIR=/usr/include
+DOCDIR=/usr/share/doc/$(NAME)
+
all: static
+install: install_static
.SUFFIXES: .c .o .lo
+install_man:
+ mkdir -p $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(MANDIR)/man3
+ cp *.1 $(DESTDIR)$(MANDIR)/man1/
+ cp *.3 $(DESTDIR)$(MANDIR)/man3/
+
+install_doc: install_man
+ mkdir -p $(DESTDIR)$(DOCDIR)/
+ cp NOTES NEWS TODO COPYING.LGPL $(DESTDIR)$(DOCDIR)/
+
+install_header:
+ cp udns.h $(DESTDIR)$(INCDIR)/
+
static: $(LIB) $(UTILS)
staticlib: $(LIB)
$(LIB): $(OBJS)
@@ -68,9 +88,17 @@
.c.o:
$(CC) $(CFLAGS) $(CDEFS) -c $<
+install_static: install_header
+ cp $(UTILS) $(DESTDIR)$(BINDIR)/
+ cp $(LIB) $(DESTDIR)$(LIBDIR)/
+
shared: $(SOLIBV) $(SOUTILS)
sharedlib: $(SOLIBV)
+install_shared: install_header
+ cp $(SOUTILS) $(DESTDIR)$(BINDIR)/
+ cp $(SOLIBV) $(DESTDIR)$(LIBDIR)/
+
$(SOLIBV): $(SOBJS)
$(CC) -shared -Wl,--soname,$(SOLIBV) -o $@ $(SOBJS)
$(SOLIB): $(SOLIBV)

22
network/udns/udns.cache

@ -0,0 +1,22 @@
[TIMESTAMP] 1218025080 Wed Aug 6 08:18:00 2008
[BUILDTIME] 0 (5)
[SIZE] 0.10 MB, 10 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] fhs
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] make
[DEP] mktemp
[DEP] patch
[DEP] sed
[DEP] sysfiles
[DEP] tar

22
network/udns/udns.conf

@ -0,0 +1,22 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../udns/udns.conf
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
for x in $(match_source_file -p diff); do
var_append patchfiles " " "$x"
done
runconf=0
hook_add premake 5 './configure'
var_append makeinstopt ' ' 'install_doc'

33
network/udns/udns.desc

@ -0,0 +1,33 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../udns/udns.desc
[COPY] Copyright (C) 2008 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A DNS Resolver Library
[T] UDNS is a stub DNS resolver library with ability to perform both syncronous
[T] and asyncronous DNS queries.
[U] http://www.corpit.ru/mjt/udns.html
[A] Michael Tokarev <mjt+udns@corpit.ru>
[M] Alejandro Mery <amery@opensde.org>
[C] extra/development
[L] LGPL
[S] Beta
[V] 0.0.9-2
[P] X -----5---9 150.000
[D] 89976235 udns_0.0.9.tar.gz http://www.corpit.ru/mjt/udns/
[D] 3865135403 udns_0.0.9-2.diff.gz http://ftp.de.debian.org/debian/pool/main/u/udns/
Loading…
Cancel
Save