4 changed files with 144 additions and 0 deletions
@ -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)
|
@ -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 |
@ -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' |
@ -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 <[email protected]> |
||||||
|
[M] Alejandro Mery <[email protected]> |
||||||
|
|
||||||
|
[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…
Reference in new issue