571f5e595a
kpoppassd is a kerberos password changing daemon that behaves like poppassd. It allows a user to change his/her password remotely without having to login. This is particularly useful for webmail systems that use imap (i.e. horde/imp). The daemon works exactly like the original poppassd. The only difference being that this poppassd changes a user's Kerberos 5 password. From Antoine Jacoutot <ajacoutot@lphp.org>
31 lines
927 B
Plaintext
31 lines
927 B
Plaintext
$OpenBSD: patch-Makefile,v 1.1.1.1 2005/06/11 09:46:08 alek Exp $
|
|
--- Makefile.orig Sat Feb 28 02:41:10 2004
|
|
+++ Makefile Sat Jun 11 11:00:39 2005
|
|
@@ -1,18 +1,19 @@
|
|
BINDIR = /usr/sbin
|
|
#FLAGS = -O2 -g
|
|
-FLAGS = -O2
|
|
-INCLUDE = -I/usr/kerberos/include -I/usr/kerberos/include/krb5
|
|
-KRB5_LIBS_DIR = -L/usr/kerberos/lib
|
|
-KRB5_BASE_LIBS = -lkrb5 -lk5crypto -lcom_err
|
|
-CC=gcc
|
|
+FLAGS = ${CFLAGS}
|
|
+INCLUDE = -I/usr/include/kerberosV
|
|
+KRB5_LIBS_DIR = -L/usr/lib
|
|
+KRB5_BASE_LIBS = -lkrb5 -lcrypto -lcom_err
|
|
SOURCE = kpoppassd.c
|
|
BIN = kpoppassd
|
|
|
|
+all: kpoppassd
|
|
+
|
|
kpoppassd: kpoppassd.c Makefile
|
|
- $(CC) $(SOURCE) -o $(BIN) -I$(INCLUDE) $(INCLUDE) $(KRB5_LIBS_DIR) $(KRB5_BASE_LIBS) $(FLAGS)
|
|
+ $(CC) $(SOURCE) -o $(BIN) $(INCLUDE) $(KRB5_LIBS_DIR) $(KRB5_BASE_LIBS) $(FLAGS)
|
|
|
|
install: kpoppassd
|
|
- install -g bin -o root -m 500 kpoppassd $(BINDIR)
|
|
+ $(BSD_INSTALL_PROGRAM) kpoppassd $(BINDIR)
|
|
|
|
clean:
|
|
rm -f *.o kpoppassd
|