From 0de23c118219cd8d7ebe84b9d919aacb2018b2b7 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Wed, 18 Nov 2009 12:27:37 +0100 Subject: [PATCH] inetutils: enhanced .conf to coexist with similar packages --- network/inetutils/inetutils.conf | 74 ++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 network/inetutils/inetutils.conf diff --git a/network/inetutils/inetutils.conf b/network/inetutils/inetutils.conf new file mode 100644 index 000000000..06111dd15 --- /dev/null +++ b/network/inetutils/inetutils.conf @@ -0,0 +1,74 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../inetutils/inetutils.conf +# Copyright (C) 2009 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 --- + +var_append confopt ' ' '--with-wrap' +makeinstopt="$makeopt install-exec" + +# disable functions if provided by other packages. +# + +if pkginstalled tftp-hpa || pkginstalled netkit-tftp; then + var_append confopt ' ' '--disable-tftpd' + var_append confopt ' ' '--disable-tftp' +fi + +if pkginstalled traceroute; then + var_append confopt ' ' '--disable-traceroute' +fi + +if pkginstalled netkit-rsh; then + var_append confopt ' ' '--disable-rsh' + var_append confopt ' ' '--disable-rshd' + var_append confopt ' ' '--disable-rcp' + var_append confopt ' ' '--disable-rlogin' + var_append confopt ' ' '--disable-rlogind' + var_append confopt ' ' '--disable-rexecd' +fi + +if pkginstalled netkit-telnet; then + var_append confopt ' ' '--disable-telnet' + var_append confopt ' ' '--disable-telnetd' +fi + +if pkginstalled netkit-base; then + var_append confopt ' ' '--disable-inetd' + var_append confopt ' ' '--disable-ping' +fi + +if pkginstalled netkit-ftp; then + var_append confopt ' ' '--disable-ftp' + var_append confopt ' ' '--disable-ftpd' +fi + +if pkginstalled coreutils; then + var_append confopt ' ' '--disable-hostname' +fi + +if pkginstalled whois; then + var_append confopt ' ' '--disable-whois' +fi + +if pkginstalled util-linux-ng; then + var_append confopt ' ' '--disable-logger' +fi + +if pkginstalled sysklogd; then + var_append confopt ' ' '--disable-syslogd' +fi + +if pkginstalled netkit-ntalk; then + var_append confopt ' ' '--disable-talk' + var_append confopt ' ' '--disable-talkd' +fi +