aboutsummaryrefslogtreecommitdiffstats
path: root/news/inn-stable/files
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-07-09 16:16:40 +0800
committerclement <clement@FreeBSD.org>2004-07-09 16:16:40 +0800
commited6366a7afd46a4ddeb63fbe8883458de93aa35d (patch)
tree75bde86fc383f95cdebfd410ffb7b4e12b22b48d /news/inn-stable/files
parent2299f917f33e2bb9d0fb66be6c6b507a8dcca229 (diff)
downloadfreebsd-ports-gnome-ed6366a7afd46a4ddeb63fbe8883458de93aa35d.tar.gz
freebsd-ports-gnome-ed6366a7afd46a4ddeb63fbe8883458de93aa35d.tar.zst
freebsd-ports-gnome-ed6366a7afd46a4ddeb63fbe8883458de93aa35d.zip
- Update to 20040707 snapshot
- Make db42 the default berkeleydb version - preserves news/db directory
Diffstat (limited to 'news/inn-stable/files')
-rw-r--r--news/inn-stable/files/patch-configure44
-rw-r--r--news/inn-stable/files/patch-site:Makefile (renamed from news/inn-stable/files/patch-site::Makefile)18
2 files changed, 46 insertions, 16 deletions
diff --git a/news/inn-stable/files/patch-configure b/news/inn-stable/files/patch-configure
index efc64a5cee58..ff34b2727ae3 100644
--- a/news/inn-stable/files/patch-configure
+++ b/news/inn-stable/files/patch-configure
@@ -1,11 +1,25 @@
---- configure.orig Tue Sep 2 06:39:30 2003
-+++ configure Wed Oct 22 15:23:46 2003
-@@ -5826,36 +5826,9 @@
- done
- done
- fi
+--- configure.orig Mon Jun 14 16:49:57 2004
++++ configure Fri Jul 9 07:47:06 2004
+@@ -5811,49 +5811,18 @@
+ BERKELEY_DB_LIB=
+ else
+ echo "$ac_t""yes" 1>&6
+- echo $ac_n "checking for BerkeleyDB location""... $ac_c" 1>&6
++ echo $ac_n "checking for BerkeleyDB ${DB_VER} location""... $ac_c" 1>&6
+ echo "configure:5816: checking for BerkeleyDB location" >&5
- if test x"$BERKELEY_DB_DIR" = xyes ; then
-- for v in db41 db4 db3 db2 ; do
+- for v in BerkeleyDB BerkeleyDB.3.0 BerkeleyDB.3.1 BerkeleyDB.3.2 \
+- BerkeleyDB.3.3 BerkeleyDB.4.0 BerkeleyDB.4.1 BerkeleyDB.4.2 ; do
+- for d in $prefix /usr/local /opt /usr ; do
+- if test -d "$d/$v" ; then
+- BERKELEY_DB_DIR="$d/$v"
+- break
+- fi
+- done
+- done
+- fi
+- if test x"$BERKELEY_DB_DIR" = xyes ; then
+- for v in db42 db41 db4 db3 db2 ; do
- if test -d "/usr/local/include/$v" ; then
- BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
- BERKELEY_DB_CFLAGS="-I/usr/local/include/$v"
@@ -15,7 +29,7 @@
- fi
- done
- if test x"$BERKELEY_DB_LIB" = x ; then
-- for v in db41 db4 db3 db2 ; do
+- for v in db42 db41 db4 db3 db2 ; do
- if test -d "/usr/include/$v" ; then
- BERKELEY_DB_CFLAGS="-I/usr/include/$v"
- BERKELEY_DB_LIB="-l$v"
@@ -29,13 +43,21 @@
- fi
- fi
- else
- BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib"
+- BERKELEY_DB_LDFLAGS="-L$BERKELEY_DB_DIR/lib"
- BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include"
- BERKELEY_DB_LIB="-ldb"
- echo "$ac_t""$BERKELEY_DB_DIR" 1>&6
- fi
-+ BERKELEY_DB_CFLAGS="-I$BERKELEY_DB_DIR/include/${DB_VER}"
-+ BERKELEY_DB_LIB="-l${DB_VER}"
++ BERKELEY_DB_DIR="${LOCALBASE}"
++ BERKELEY_DB_LDFLAGS="-L${LOCALBASE}/lib"
++ BERKELEY_DB_CFLAGS="-I${LOCALBASE}/include/${DB_VER}"
++ if [ "${DB_VER}" != "db42" ]
++ then
++ BERKELEY_DB_LIB="-l${DB_VER}"
++ else
++ BERKELEY_DB_LIB="-ldb-4.2"
++ fi
++ echo "$ac_t""$BERKELEY_DB_DIR" 1>&6
cat >> confdefs.h <<\EOF
#define USE_BERKELEY_DB 1
EOF
diff --git a/news/inn-stable/files/patch-site::Makefile b/news/inn-stable/files/patch-site:Makefile
index 5a22a277e000..8eb8c467a406 100644
--- a/news/inn-stable/files/patch-site::Makefile
+++ b/news/inn-stable/files/patch-site:Makefile
@@ -1,5 +1,5 @@
---- site/Makefile.orig Sat Jul 12 21:11:02 2003
-+++ site/Makefile Sun Sep 21 12:53:00 2003
+--- site/Makefile.orig Wed May 26 04:02:32 2004
++++ site/Makefile Fri Jul 9 07:56:05 2004
@@ -23,29 +23,29 @@
PATH_NNRPAUTH = ${PATHFILTER}/nnrpd_auth.pl
PATH_NNRPYAUTH = ${PATHFILTER}/nnrpd_auth.py
@@ -53,7 +53,7 @@
PATH_ACTIVE = ${PATHDB}/active
PATH_ACTIVE_TIMES = ${PATHDB}/active.times
-@@ -71,8 +71,8 @@
+@@ -72,8 +72,8 @@
$D$(PATH_NEWSFEEDS) $D$(PATH_INNDHOSTS) \
$D$(PATH_NNRPDTRACK) $D$(PATH_NNTPPASS) \
$D$(PATH_CONFIG) $D$(PATH_MODERATORS) \
@@ -64,7 +64,7 @@
$D$(PATH_CTLWATCH) $D$(PATH_DISTPATS) $D$(PATH_SCHEMA) \
$D$(PATH_ACTSYNC_CFG) $D$(PATH_ACTSYNC_IGN) \
$D$(PATH_MOTD) $D$(PATH_STORAGECONF) \
-@@ -81,7 +81,7 @@
+@@ -82,14 +82,14 @@
$D$(PATH_PERL_FILTER_INND) $D$(PATH_PERL_FILTER_NNRPD) \
$D$(PATH_PYTHON_FILTER_INND) $D$(PATH_PYTHON_INN_MODULE) \
$D$(PATH_TCL_STARTUP) $D$(PATH_TCL_FILTER) \
@@ -73,7 +73,15 @@
$D$(PATH_RADIUS_CONF) $D$(PATH_NNRPYAUTH) $D$(PATH_OVDB_CONF) \
$D$(PATH_SASL_CONF) $D$(PATH_SUBSCRIPTIONS)
-@@ -170,9 +170,9 @@
+ ALL_INSTALLED = $(MOST_INSTALLED) $(REST_INSTALLED)
+
+ SPECIAL = $D$(PATH_ACTIVE) $D$(PATH_ACTIVE_TIMES) \
+- $D$(PATH_NEWSGROUPS) $D$(PATH_HISTORY)
++ $D$(PATH_NEWSGROUPS)
+
+ ## Get new versions of everything from samples directory.
+ all: $(P) $(ALL) config
+@@ -175,9 +175,9 @@
$D$(PATH_MODERATORS): moderators ; $(COPY_RPUB) $? $@
$D$(PATH_DISTPATS): distrib.pats ; $(COPY_RPUB) $? $@
$D$(PATH_NNTPPASS): passwd.nntp ; $(COPY_RPRI) $? $@