1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/security/pidentd/files/patch-ab
Peter Wemm 3c3b1d9e1b Dont install identconn or itest, installing itest requires root access,
meaning it will silently fail if you (say) install as "bin".  This makes
the packaging break.  (Will the package tools install the setuid-root
binary anyway?)

They were not particularly useful anyway, they are mainly diagnostic tools
to parse the output of 'netstat' to see which users have what local
connections open.

Requested by: asami
1996-08-17 11:19:03 +00:00

54 lines
1.5 KiB
Plaintext

--- Makefile.orig Mon Aug 12 06:08:06 1996
+++ Makefile Sat Aug 17 19:12:06 1996
@@ -18,9 +18,9 @@
MAKE=make
# set this to 'in.' if you like Sun's prefix on internet daemons
-PREFIX=in.
+PREFIX=
-DESTROOT=/usr/local
+DESTROOT=${REALPREFIX}
# set this to '/share' if your man pages are in /usr/share
#SHARE=/share
@@ -60,13 +60,13 @@
# -DSTRONG_LOG -DALLOW_FORMAT \
#
GDEFS=-DSTRONG_LOG -DALLOW_FORMAT \
- -DDPATH_CONFIG='\"$(CONFDIR)/identd.conf\"' \
+ -DPATH_CONFIG='\"$(CONFDIR)/identd.conf\"' \
-DPATH_DESKEY='\"$(CONFDIR)/identd.key\"'
# GLIBS=-lident -ldes
GLIBS=
-CFLAGS=-O
+#CFLAGS=-O
#LDFLAGS=-L$(DESTROOT)/lib
all:
@@ -527,18 +527,18 @@
mv $@-t $@
chmod 755 $@
-install: $(PREFIX)identd identd.$(MANSECT) identconn itest idecrypt
+install: $(PREFIX)identd identd.$(MANSECT) idecrypt # identconn itest
$(INSTALL) -m 644 identd.$(MANSECT) $(MANDIR)
if [ -n "$(PREFIX)" ] ; then \
rm -f $(MANDIR)/$(PREFIX)identd.$(MANSECT) ; \
echo ".so `basename $(MANDIR)`/identd.$(MANSECT)" > $(MANDIR)/$(PREFIX)identd.$(MANSECT) ; \
fi
$(INSTALL) -m 755 $(PREFIX)identd $(DESTDIR)
- $(INSTALL) -m 755 identconn $(DESTROOT)/bin
+# $(INSTALL) -m 755 identconn $(DESTROOT)/bin
$(INSTALL) -m 644 idecrypt.man $(MANDIR)/idecrypt.$(MANSECT)
$(INSTALL) -m 755 idecrypt $(DESTDIR)/idecrypt
- @echo "The following command will fail it you are not Root."
- -$(INSTALL) -o root -g kmem -m 2555 itest $(DESTROOT)/bin
+# @echo "The following command will fail it you are not Root."
+# -$(INSTALL) -o root -g kmem -m 2555 itest $(DESTROOT)/bin
tests: