diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-01-22 07:46:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-01-22 07:46:27 +0000 |
commit | 5c62cc79808ccd447eeba5f1f70466d97042523e (patch) | |
tree | c2f0330555abfaf18dd736832b8fa0e573cff87c /usr.sbin | |
parent | 49f038cc182334ccf552c296b91a595b42300baf (diff) |
delete version detailing in all libraries; ok tedu florian
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bind/lib/dns/Makefile.in | 16 | ||||
-rw-r--r-- | usr.sbin/bind/lib/dns/include/dns/version.h | 34 | ||||
-rw-r--r-- | usr.sbin/bind/lib/dns/version.c | 29 | ||||
-rw-r--r-- | usr.sbin/bind/lib/isc/Makefile.in | 15 | ||||
-rw-r--r-- | usr.sbin/bind/lib/isc/include/isc/version.h | 27 | ||||
-rw-r--r-- | usr.sbin/bind/lib/isc/version.c | 27 | ||||
-rw-r--r-- | usr.sbin/bind/lib/isccfg/Makefile.in | 16 | ||||
-rw-r--r-- | usr.sbin/bind/lib/isccfg/include/isccfg/version.h | 27 | ||||
-rw-r--r-- | usr.sbin/bind/lib/isccfg/version.c | 28 |
9 files changed, 7 insertions, 212 deletions
diff --git a/usr.sbin/bind/lib/dns/Makefile.in b/usr.sbin/bind/lib/dns/Makefile.in index 49216b41c73..1b3d4548038 100644 --- a/usr.sbin/bind/lib/dns/Makefile.in +++ b/usr.sbin/bind/lib/dns/Makefile.in @@ -20,7 +20,6 @@ top_srcdir = @top_srcdir@ .NOTPARALLEL: .NO_PARALLEL: -VERSION=@BIND9_VERSION@ @BIND9_MAJOR@ @LIBDNS_MAPAPI@ @@ -68,8 +67,7 @@ DNSOBJS = byaddr.@O@ \ result.@O@ \ soa.@O@ \ time.@O@ \ - tsec.@O@ tsig.@O@ ttl.@O@ \ - version.@O@ + tsec.@O@ tsig.@O@ ttl.@O@ OBJS= ${DNSOBJS} ${OTHEROBJS} ${DSTOBJS} @@ -99,7 +97,7 @@ DNSSRCS = byaddr.c \ soa.c \ time.c \ tsec.c tsig.c ttl.c \ - version.c ${OTHERSRCS} + ${OTHERSRCS} SRCS = ${DSTSRCS} ${DNSSRCS} @@ -112,16 +110,6 @@ DEPENDEXTRA = ./gen -F include/dns/rdatastruct.h \ @BIND9_MAKE_RULES@ -version.@O@: version.c - ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \ - -DVERSION=\"${VERSION}\" \ - -DMAJOR=\"${MAJOR}\" \ - -DMAPAPI=\"${MAPAPI}\" \ - -DLIBINTERFACE=${LIBINTERFACE} \ - -DLIBREVISION=${LIBREVISION} \ - -DLIBAGE=${LIBAGE} \ - -c ${srcdir}/version.c - libdns.@SA@: ${OBJS} ${AR} ${ARFLAGS} $@ ${OBJS} ${RANLIB} $@ diff --git a/usr.sbin/bind/lib/dns/include/dns/version.h b/usr.sbin/bind/lib/dns/include/dns/version.h deleted file mode 100644 index d329bc6fd39..00000000000 --- a/usr.sbin/bind/lib/dns/include/dns/version.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) Internet Systems Consortium, Inc. ("ISC") - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH - * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, - * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE - * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - * PERFORMANCE OF THIS SOFTWARE. - */ - -/* $Id: version.h,v 1.4 2020/01/09 14:18:29 florian Exp $ */ - -/*! \file dns/version.h */ - -#ifndef DNS_VERSION_H -#define DNS_VERSION_H 1 - -#include <isc/platform.h> - -extern const char dns_version[]; -extern const char dns_major[]; -extern const char dns_mapapi[]; - -extern const unsigned int dns_libinterface; -extern const unsigned int dns_librevision; -extern const unsigned int dns_libage; - -#endif /* DNS_VERSION_H */ diff --git a/usr.sbin/bind/lib/dns/version.c b/usr.sbin/bind/lib/dns/version.c deleted file mode 100644 index 09d46c1769d..00000000000 --- a/usr.sbin/bind/lib/dns/version.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) Internet Systems Consortium, Inc. ("ISC") - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH - * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, - * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE - * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - * PERFORMANCE OF THIS SOFTWARE. - */ - -/* $Id: version.c,v 1.3 2019/12/17 01:46:32 sthen Exp $ */ - -/*! \file */ - -#include <dns/version.h> - -const char dns_version[] = VERSION; -const char dns_major[] = MAJOR; -const char dns_mapapi[] = MAPAPI; - -const unsigned int dns_libinterface = LIBINTERFACE; -const unsigned int dns_librevision = LIBREVISION; -const unsigned int dns_libage = LIBAGE; diff --git a/usr.sbin/bind/lib/isc/Makefile.in b/usr.sbin/bind/lib/isc/Makefile.in index 1f624aa6cd4..c049cd123d4 100644 --- a/usr.sbin/bind/lib/isc/Makefile.in +++ b/usr.sbin/bind/lib/isc/Makefile.in @@ -16,8 +16,6 @@ srcdir = @srcdir@ VPATH = @srcdir@ top_srcdir = @top_srcdir@ -VERSION=@BIND9_VERSION@ - @LIBISC_API@ @BIND9_MAKE_INCLUDES@ @@ -56,7 +54,7 @@ OBJS = @ISC_EXTRA_OBJS@ @ISC_PK11_O@ @ISC_PK11_RESULT_O@ \ rwlock.@O@ \ safe.@O@ serial.@O@ sha1.@O@ sha2.@O@ sockaddr.@O@ \ symtab.@O@ task.@O@ \ - timer.@O@ version.@O@ \ + timer.@O@ \ ${UNIXOBJS} ${THREADOBJS} # Alphabetically @@ -71,8 +69,7 @@ SRCS = @ISC_EXTRA_SRCS@ @ISC_PK11_C@ @ISC_PK11_RESULT_C@ \ parseint.c \ refcount.c region.c regex.c result.c rwlock.c \ safe.c serial.c sha1.c sha2.c sockaddr.c \ - symtab.c task.c timer.c \ - version.c + symtab.c task.c timer.c LIBS = @ISC_OPENSSL_LIBS@ @LIBS@ @@ -90,14 +87,6 @@ safe.@O@: safe.c ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} @CCNOOPT@ \ -c ${srcdir}/safe.c -version.@O@: version.c - ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \ - -DVERSION=\"${VERSION}\" \ - -DLIBINTERFACE=${LIBINTERFACE} \ - -DLIBREVISION=${LIBREVISION} \ - -DLIBAGE=${LIBAGE} \ - -c ${srcdir}/version.c - libisc.@SA@: ${OBJS} ${AR} ${ARFLAGS} $@ ${OBJS} ${RANLIB} $@ diff --git a/usr.sbin/bind/lib/isc/include/isc/version.h b/usr.sbin/bind/lib/isc/include/isc/version.h deleted file mode 100644 index c6e1c2e9452..00000000000 --- a/usr.sbin/bind/lib/isc/include/isc/version.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) Internet Systems Consortium, Inc. ("ISC") - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH - * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, - * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE - * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - * PERFORMANCE OF THIS SOFTWARE. - */ - -/* $Id: version.h,v 1.4 2020/01/09 14:18:30 florian Exp $ */ - -/*! \file isc/version.h */ - -#include <isc/platform.h> - -extern const char isc_version[]; - -extern const unsigned int isc_libinterface; -extern const unsigned int isc_librevision; -extern const unsigned int isc_libage; diff --git a/usr.sbin/bind/lib/isc/version.c b/usr.sbin/bind/lib/isc/version.c deleted file mode 100644 index 9309742945e..00000000000 --- a/usr.sbin/bind/lib/isc/version.c +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) Internet Systems Consortium, Inc. ("ISC") - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH - * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, - * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE - * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - * PERFORMANCE OF THIS SOFTWARE. - */ - -/* $Id: version.c,v 1.3 2019/12/17 01:46:34 sthen Exp $ */ - -/*! \file */ - -#include <isc/version.h> - -const char isc_version[] = VERSION; - -const unsigned int isc_libinterface = LIBINTERFACE; -const unsigned int isc_librevision = LIBREVISION; -const unsigned int isc_libage = LIBAGE; diff --git a/usr.sbin/bind/lib/isccfg/Makefile.in b/usr.sbin/bind/lib/isccfg/Makefile.in index 90c536ad3df..2c4199f58a1 100644 --- a/usr.sbin/bind/lib/isccfg/Makefile.in +++ b/usr.sbin/bind/lib/isccfg/Makefile.in @@ -12,14 +12,12 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.8 2020/01/21 08:06:56 florian Exp $ +# $Id: Makefile.in,v 1.9 2020/01/22 07:46:26 deraadt Exp $ srcdir = @srcdir@ VPATH = @srcdir@ top_srcdir = @top_srcdir@ -VERSION=@BIND9_VERSION@ - @LIBISCCFG_API@ @BIND9_MAKE_INCLUDES@ @@ -42,24 +40,16 @@ SUBDIRS = include # Alphabetically OBJS = dnsconf.@O@ namedconf.@O@ \ - parser.@O@ version.@O@ + parser.@O@ # Alphabetically SRCS = dnsconf.c namedconf.c \ - parser.c version.c + parser.c TARGETS = timestamp @BIND9_MAKE_RULES@ -version.@O@: version.c - ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \ - -DVERSION=\"${VERSION}\" \ - -DLIBINTERFACE=${LIBINTERFACE} \ - -DLIBREVISION=${LIBREVISION} \ - -DLIBAGE=${LIBAGE} \ - -c ${srcdir}/version.c - libisccfg.@SA@: ${OBJS} ${AR} ${ARFLAGS} $@ ${OBJS} ${RANLIB} $@ diff --git a/usr.sbin/bind/lib/isccfg/include/isccfg/version.h b/usr.sbin/bind/lib/isccfg/include/isccfg/version.h deleted file mode 100644 index a1a13f667b9..00000000000 --- a/usr.sbin/bind/lib/isccfg/include/isccfg/version.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) Internet Systems Consortium, Inc. ("ISC") - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH - * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, - * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE - * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - * PERFORMANCE OF THIS SOFTWARE. - */ - -/* $Id: version.h,v 1.4 2020/01/09 14:18:30 florian Exp $ */ - -/*! \file isccfg/version.h */ - -#include <isc/platform.h> - -extern const char cfg_version[]; - -extern const unsigned int cfg_libinterface; -extern const unsigned int cfg_librevision; -extern const unsigned int cfg_libage; diff --git a/usr.sbin/bind/lib/isccfg/version.c b/usr.sbin/bind/lib/isccfg/version.c deleted file mode 100644 index e6674b0bf77..00000000000 --- a/usr.sbin/bind/lib/isccfg/version.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) Internet Systems Consortium, Inc. ("ISC") - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH - * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, - * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE - * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - * PERFORMANCE OF THIS SOFTWARE. - */ - -/* $Id: version.c,v 1.3 2019/12/17 01:46:38 sthen Exp $ */ - -/*! \file */ - -#include <isccfg/version.h> - -const char cfg_version[] = VERSION; - -const unsigned int cfg_libinterface = LIBINTERFACE; -const unsigned int cfg_librevision = LIBREVISION; -const unsigned int cfg_libage = LIBAGE; - |