From 24ac553ca27136944cd45ab11364b37b52638927 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lefort Date: Fri, 20 May 2005 03:09:59 +0000 Subject: Add dcd. DConnect Daemon is a Direct Connect Hub clone for Unix. It allows people to share their resources, i.e.: programs, graphics, other files... Features: * fast, pure C implementation * libwrap support (hosts.allow, hosts.deny) * low per-user memory consumption * uses threads (no forking) * nick pattern matching * simple administration through telnet console WWW: http://www.dc.ds.pg.gda.pl/ PR: ports/81021 Submitted by: Aleksandr S. Goncharov --- net-p2p/dcd/files/pkg-deinstall.in | 9 +++++++++ net-p2p/dcd/files/pkg-install.in | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 net-p2p/dcd/files/pkg-deinstall.in create mode 100644 net-p2p/dcd/files/pkg-install.in (limited to 'net-p2p/dcd/files') diff --git a/net-p2p/dcd/files/pkg-deinstall.in b/net-p2p/dcd/files/pkg-deinstall.in new file mode 100644 index 000000000000..19c51b8a3ad8 --- /dev/null +++ b/net-p2p/dcd/files/pkg-deinstall.in @@ -0,0 +1,9 @@ +#!/bin/sh + +[ "$2" != "DEINSTALL" ] && exit 0 + +for f in %%CONF_FILES%%; do + if cmp -s "%%CONF_DIR%%/$f" "%%CONF_DIR%%/$f.default"; then + rm -f "%%CONF_DIR%%/$f" + fi +done diff --git a/net-p2p/dcd/files/pkg-install.in b/net-p2p/dcd/files/pkg-install.in new file mode 100644 index 000000000000..585a18d73eba --- /dev/null +++ b/net-p2p/dcd/files/pkg-install.in @@ -0,0 +1,7 @@ +#!/bin/sh + +[ "$2" != "POST-INSTALL" ] && exit 0 + +for f in %%CONF_FILES%%; do + [ -f "%%CONF_DIR%%/$f" ] || cp -p "%%CONF_DIR%%/$f.default" "%%CONF_DIR%%/$f" +done -- cgit v1.2.3