pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/milter-regex No seteuid needed on DragonFly. Link...
details: https://anonhg.NetBSD.org/pkgsrc/rev/58b281b48eef
branches: trunk
changeset: 512062:58b281b48eef
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Apr 30 17:11:25 2006 +0000
description:
No seteuid needed on DragonFly. Link correctly with pthread.
diffstat:
mail/milter-regex/distinfo | 5 +++--
mail/milter-regex/patches/patch-aa | 4 ++--
mail/milter-regex/patches/patch-ab | 13 +++++++++++++
3 files changed, 18 insertions(+), 4 deletions(-)
diffs (48 lines):
diff -r f849d1d866c0 -r 58b281b48eef mail/milter-regex/distinfo
--- a/mail/milter-regex/distinfo Sun Apr 30 17:10:18 2006 +0000
+++ b/mail/milter-regex/distinfo Sun Apr 30 17:11:25 2006 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2006/03/08 22:01:21 tron Exp $
+$NetBSD: distinfo,v 1.6 2006/04/30 17:11:25 joerg Exp $
SHA1 (milter-regex-1.6.tar.gz) = 4035f9ed20b54bc9c8409b1e7ffffde86dfc61af
RMD160 (milter-regex-1.6.tar.gz) = 1cb60a063ac3e7cada2c9800710c6a0cc4862174
Size (milter-regex-1.6.tar.gz) = 16969 bytes
-SHA1 (patch-aa) = 86f23d34f994e0039a46861470af0aaca3396248
+SHA1 (patch-aa) = 1d081605f5ade07ffa6f5680c7e4888f0510c1d0
+SHA1 (patch-ab) = 07054cd076dfd54e1536ad1bf4dcbf7faa383f51
diff -r f849d1d866c0 -r 58b281b48eef mail/milter-regex/patches/patch-aa
--- a/mail/milter-regex/patches/patch-aa Sun Apr 30 17:10:18 2006 +0000
+++ b/mail/milter-regex/patches/patch-aa Sun Apr 30 17:11:25 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1 2004/06/11 23:11:48 jdarrow Exp $
+$NetBSD: patch-aa,v 1.2 2006/04/30 17:11:25 joerg Exp $
--- milter-regex.c.orig Fri Mar 19 13:21:40 2004
+++ milter-regex.c Mon Jun 7 16:35:18 2004
@@ -7,7 +7,7 @@
}
if (
-#if ! ( __linux__ || __sun__ )
-+#if ! ( __linux__ || __sun__ || __NetBSD__ )
++#if ! ( __linux__ || __sun__ || __NetBSD__ || defined(__DragonFly__) )
seteuid(pw->pw_uid) ||
#endif
setuid(pw->pw_uid)) {
diff -r f849d1d866c0 -r 58b281b48eef mail/milter-regex/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/milter-regex/patches/patch-ab Sun Apr 30 17:11:25 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2006/04/30 17:11:25 joerg Exp $
+
+--- Makefile.orig 2006-04-30 17:05:50.000000000 +0000
++++ Makefile
+@@ -6,7 +6,7 @@ MAN= milter-regex.8
+
+ CFLAGS+= -Wall -Wstrict-prototypes -g
+ CFLAGS+= -I/usr/src/gnu/usr.sbin/sendmail/include
+-LDADD+= -lmilter -lpthread
++LDADD+= -lmilter ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+
+ .include <bsd.prog.mk>
+
Home |
Main Index |
Thread Index |
Old Index