pkgsrc/mail/imapfilter/patches/patch-aa
seb df43349a71 Update to version 0.8.4.
Package Changes: update MASTER_SITES and HOMEPAGE.

Changes since previous version packaged:

Version 0.8.4 - 9 November 2002
-------------------------------
- Improvements/corrections on networking.
- Major bug fix related to rcopy/rmove.

Version 0.8.3 - 1 October 2002
------------------------------
- Bug fix/feature enhancement concerning the server announcing and closing
  the connection immediately.
- Stale lockfile removed automatically.
- Many other small improvements (variable and compilation option added, etc.).

Version 0.8.2 - 31 July 2002
----------------------------
- Bug fix concerning the namespace of user's mailboxes.

Version 0.8.1 - 29 July 2002
----------------------------
- Major bug fix concerning SSL/TLS and rcopy/rmove.
- Small bug fix related to removing of the lock file.

Version 0.8 - 27 July 2002
--------------------------
- Copy/move messages between different mail accounts (IMAP mail servers)
  support.
- Message flags can be changed.
- Capability to encrypt the accounts' passwords and store them securely
  in the filesystem, using the integrated interactive password editor to
  manage them.
- Passwords may be supplied interactively.
- Daemon mode in which the program polls repeatedly in a specified interval.
- Locking in order to prevent concurrent running instances.
- Variables to control direct expunging of mail and subscribing of newly
  created mailboxes.

Version 0.7.3 - 17 June 2002
----------------------------
- Bug fix related to communication with some mail servers.
2002-12-01 15:38:34 +00:00

44 lines
1.4 KiB
Text

$NetBSD: patch-aa,v 1.3 2002/12/01 15:38:34 seb Exp $
--- Makefile.orig Sat Nov 9 14:36:30 2002
+++ Makefile
@@ -1,9 +1,6 @@
-CC = cc
-CFLAGS = -O
-
-DESTDIR = /usr/local
-BINDIR = /usr/local/bin
-MANDIR = /usr/local/man
+DESTDIR = $(PREFIX)
+BINDIR = $(PREFIX)/bin
+MANDIR = $(PREFIX)/man
MAN_BIN = imapfilter.1
MAN_RC = imapfilterrc.5
@@ -14,20 +11,19 @@ OBJ = data.o file.o imap.o imapfilter.o
LIBS = -lssl -lcrypto
+all: imapfilter
+
imapfilter: $(OBJ)
- $(CC) $(LIBS) $(CFLAGS) -o $(BIN) $(OBJ)
+ $(CC) $(LDFLAGS) $(LIBS) $(CFLAGS) -o $(BIN) $(OBJ)
data.o file.o imap.o imapfilter.o lock.o log.o response.o request.o \
memory.o passwd.o socket.o tty.o: imapfilter.h config.h
data.o imapfilter.o imap.o file.o passwd.o request.o socket.o: data.h
install: imapfilter
- if test ! -d $(BINDIR); then mkdir -p $(BINDIR); fi
- cp -f $(BIN) $(BINDIR) && chmod 0755 $(BINDIR)/$(BIN)
- if test ! -d $(MANDIR)/man1; then mkdir -p $(MANDIR)/man1; fi
- cp -f $(MAN_BIN) $(MANDIR)/man1 && chmod 0644 $(MANDIR)/man1/$(MAN_BIN)
- if test ! -d $(MANDIR)/man5; then mkdir -p $(MANDIR)/man5; fi
- cp -f $(MAN_RC) $(MANDIR)/man5 && chmod 0644 $(MANDIR)/man5/$(MAN_RC)
+ $(BSD_INSTALL_PROGRAM) $(BIN) $(BINDIR)
+ $(BSD_INSTALL_MAN) $(MAN_BIN) $(MANDIR)/man1
+ $(BSD_INSTALL_MAN) $(MAN_RC) $(MANDIR)/man5
uninstall:
rm -f $(BINDIR)/$(BIN) $(MANDIR)/man1/$(MAN_BIN) $(MANDIR)/man5/$(MAN_RC)