pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/dansguardian Make it build on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/33cbcacc48de
branches:  trunk
changeset: 396238:33cbcacc48de
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Tue Jul 21 05:31:46 2009 +0000

description:
Make it build on DragonFly.

diffstat:

 www/dansguardian/distinfo         |   3 +-
 www/dansguardian/patches/patch-aa |  67 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+), 1 deletions(-)

diffs (82 lines):

diff -r 0410dbff7eb7 -r 33cbcacc48de www/dansguardian/distinfo
--- a/www/dansguardian/distinfo Mon Jul 20 20:49:40 2009 +0000
+++ b/www/dansguardian/distinfo Tue Jul 21 05:31:46 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/02/22 17:13:29 sborrill Exp $
+$NetBSD: distinfo,v 1.2 2009/07/21 05:31:46 hasso Exp $
 
 SHA1 (dansguardian-2.8.0.6.source.tar.gz) = 6d82eed13536a64a2f6711fa221756fa0bfe19f0
 RMD160 (dansguardian-2.8.0.6.source.tar.gz) = cf3493b26b4fcd5b366a6fe472e3c6c9e3cfe6d3
 Size (dansguardian-2.8.0.6.source.tar.gz) = 212737 bytes
+SHA1 (patch-aa) = c4af2622ee48dedb15f5a22874c1c1bff5ea51ef
diff -r 0410dbff7eb7 -r 33cbcacc48de www/dansguardian/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/dansguardian/patches/patch-aa Tue Jul 21 05:31:46 2009 +0000
@@ -0,0 +1,67 @@
+$NetBSD: patch-aa,v 1.1 2009/07/21 05:31:46 hasso Exp $
+
+--- configure.orig     2005-08-14 02:47:57 +0300
++++ configure  2009-07-21 07:13:41 +0300
+@@ -54,7 +54,7 @@ case `uname -s` in
+       OpenBSD*)
+               extendedecho='echo -e'
+       ;;
+-      FreeBSD*)
++      FreeBSD*|DragonFly*)
+               extendedecho='echo -e'
+       ;;
+       NetBSD*)
+@@ -2538,7 +2538,7 @@ case `uname -s` in
+               $extendedecho  "#define __PROXYGROUP \"$runas_grp\"" >>autoconf/platform.h
+               $extendedecho  "#define __ENDIANH \"$endianh\"" >>autoconf/platform.h
+       ;;
+-      FreeBSD*)
++      FreeBSD*|DragonFly*)
+               echo "#define __BSD 1" >autoconf/platform.h
+               $extendedecho "#define __CONFFILE \"$prefixdir$sysconfdir\c" >>autoconf/platform.h;
+               echo "dansguardian.conf\"" >>autoconf/platform.h;
+@@ -2662,7 +2662,7 @@ case `uname -s` in
+                 echo "exit 0" >> dansguardian.bsdv
+                 chmod u+x dansguardian.bsdv
+       ;;
+-      FreeBSD*)
++      FreeBSD*|DragonFly*)
+               if [ -f dansguardian.bsdv ]; then
+                         rm -f dansguardian.bsdv
+                 fi
+@@ -3451,7 +3451,7 @@ case `uname -s` in
+               echo "dansguardian.sh stop > /dev/null" >>logrotation
+               echo "" >>logrotation
+       ;;
+-      FreeBSD*)
++      FreeBSD*|DragonFly*)
+               $extendedecho "$prefixdir$sysvdir\c" >>logrotation
+               echo "dansguardian.sh stop > /dev/null" >>logrotation
+               echo "" >>logrotation
+@@ -3508,7 +3508,7 @@ case `uname -s` in
+               echo "dansguardian.sh start > /dev/null" >>logrotation
+               echo "" >>logrotation
+       ;;
+-      FreeBSD*)
++      FreeBSD*|DragonFly*)
+               $extendedecho "$prefixdir$sysvdir\c" >>logrotation
+               echo "dansguardian.sh start > /dev/null" >>logrotation
+               echo "" >>logrotation
+@@ -3552,7 +3552,7 @@ case `uname -s` in
+               $extendedecho "    $prefixdir$sysvdir\c" >>logrotate.dansguardian
+               echo "dansguardian.sh stop > /dev/null" >>logrotate.dansguardian
+       ;;
+-      FreeBSD*)
++      FreeBSD*|DragonFly*)
+               $extendedecho "    $prefixdir$sysvdir\c" >>logrotate.dansguardian
+               echo "dansguardian.sh stop > /dev/null" >>logrotate.dansguardian
+       ;;
+@@ -3583,7 +3583,7 @@ case `uname -s` in
+               $extendedecho "    $prefixdir$sysvdir\c" >>logrotate.dansguardian
+               echo "dansguardian.sh start > /dev/null" >>logrotate.dansguardian
+       ;;
+-      FreeBSD*)
++      FreeBSD*|DragonFly*)
+               $extendedecho "    $prefixdir$sysvdir\c" >>logrotate.dansguardian
+               echo "dansguardian.sh start > /dev/null" >>logrotate.dansguardian
+       ;;



Home | Main Index | Thread Index | Old Index