diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-05 16:54:43 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-08 07:05:02 +0100 |
commit | ed68667b918805c7fbef54e9a4fe0a75bf06f22f (patch) | |
tree | d82be44386879917885c3edb1ded489b900e9c6c /recipes/netatalk/netatalk-2.0.3 | |
parent | f285e1e75421deff88b474c199cbb2be5759a12a (diff) |
netatalk: Upgrade from 2.0.3 to 2.0.5
Addresses CVE-2008-5718.
netatalk-2.0.3-db43.patch: Done differently.
netatalk-2.0.3-xfs.patch: Drop as the config switch was not used
netatalk-2.0.3-setXid.patch: Was not used.
Diffstat (limited to 'recipes/netatalk/netatalk-2.0.3')
4 files changed, 0 insertions, 96 deletions
diff --git a/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-db43.patch b/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-db43.patch deleted file mode 100644 index 93d3e4b9ea..0000000000 --- a/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-db43.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: netatalk-2.0.3/bin/cnid/cnid_index.c -=================================================================== ---- netatalk-2.0.3.orig/bin/cnid/cnid_index.c -+++ netatalk-2.0.3/bin/cnid/cnid_index.c -@@ -274,7 +274,11 @@ static int dbif_count(const int dbi, u_i - DB_BTREE_STAT *sp; - DB *db = db_table[dbi].db; - -+#if DB_VERSION_MAJOR > 4 || ( DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3 ) -+ ret = db->stat(db, db_txn, &sp, 0); -+#else - ret = db->stat(db, &sp, 0); -+#endif - - if (ret) { - LOG(log_error, logtype_cnid, "error getting stat infotmation on database: %s", db_strerror(errno)); -Index: netatalk-2.0.3/etc/cnid_dbd/dbif.c -=================================================================== ---- netatalk-2.0.3.orig/etc/cnid_dbd/dbif.c -+++ netatalk-2.0.3/etc/cnid_dbd/dbif.c -@@ -514,7 +514,11 @@ int dbif_count(const int dbi, u_int32_t - DB_BTREE_STAT *sp; - DB *db = db_table[dbi].db; - -+#if DB_VERSION_MAJOR > 4 || ( DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3 ) -+ ret = db->stat(db, db_txn, &sp, 0); -+#else - ret = db->stat(db, &sp, 0); -+#endif - - if (ret) { - LOG(log_error, logtype_cnid, "error getting stat infotmation on database: %s", db_strerror(errno)); diff --git a/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-newerdb.patch b/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-newerdb.patch deleted file mode 100644 index f64c8cf5eb..0000000000 --- a/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-newerdb.patch +++ /dev/null @@ -1,28 +0,0 @@ -Index: netatalk-2.0.3/macros/db3-check.m4 -=================================================================== ---- netatalk-2.0.3.orig/macros/db3-check.m4 -+++ netatalk-2.0.3/macros/db3-check.m4 -@@ -115,6 +115,14 @@ int main(void) { - AC_DEFUN([NETATALK_BERKELEY_LINK], - [ - atalk_cv_lib_db=no -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_dot_4,[-ldb-4.4]) -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db44,[-ldb44]) -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_44,[-ldb-44]) -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_4,[-ldb-4-4]) -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_dot_3,[-ldb-4.3]) -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db43,[-ldb43]) -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_43,[-ldb-43]) -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_3,[-ldb-4-3]) - NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_dot_2,[-ldb-4.2]) - NETATALK_BDB_LINK_TRY(atalk_cv_db_db42,[-ldb42]) - NETATALK_BDB_LINK_TRY(atalk_cv_db_db_42,[-ldb-42]) -@@ -134,7 +142,7 @@ AC_DEFUN([AC_PATH_BDB], - trybdbdir="" - dobdbsearch=yes - bdb_search_dirs="/usr/local/include /usr/include" -- search_subdirs="/db4.2 /db42 /db4.1 /db41 /db4 /" -+ search_subdirs="/db4.4 /db44 /db4.3 /db43 /db4.2 /db42 /db4.1 /db41 /db4 /" - - dnl required BDB version - DB_MAJOR_REQ=4 diff --git a/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-setXid.patch b/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-setXid.patch deleted file mode 100644 index 70170c134d..0000000000 --- a/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-setXid.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: netatalk-2.0.3/bin/afppasswd/Makefile.am -=================================================================== ---- netatalk-2.0.3.orig/bin/afppasswd/Makefile.am -+++ netatalk-2.0.3/bin/afppasswd/Makefile.am -@@ -12,7 +12,8 @@ afppasswd_SOURCES = afppasswd.c - afppasswd_LDADD = $(top_builddir)/libatalk/libatalk.la @SSL_LIBS@ - - CFLAGS = @CFLAGS@ @SSL_CFLAGS@ -I$(top_srcdir)/sys \ -- -D_PATH_AFPDPWFILE=\"$(pkgconfdir)/afppasswd\" -+ -D_PATH_AFPDPWFILE=\"$(pkgconfdir)/afppasswd\" \ -+ @BINDNOW_FLAGS@ - - install-exec-hook: - if USE_DHX diff --git a/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-xfs.patch b/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-xfs.patch deleted file mode 100644 index e91ebcebd2..0000000000 --- a/recipes/netatalk/netatalk-2.0.3/netatalk-2.0.3-xfs.patch +++ /dev/null @@ -1,22 +0,0 @@ -Index: netatalk-2.0.3/configure.in -=================================================================== ---- netatalk-2.0.3.orig/configure.in -+++ netatalk-2.0.3/configure.in -@@ -694,12 +694,16 @@ fi - # AC_MSG_RESULT([enabling quotactl wrapper]) - # ) - -+AC_ARG_WITH([xfs], -+ AS_HELP_STRING([--without-xfs], [Build without XFS filesystem quota support])) -+ -+if test "x$with_xfs" != "xno"; then - # For quotas on Linux XFS filesystems - AC_CHECK_HEADERS(linux/xqm.h linux/xfs_fs.h) - AC_CHECK_HEADERS(xfs/libxfs.h xfs/xqm.h xfs/xfs_fs.h) - # For linux > 2.5.56 - AC_CHECK_HEADERS(linux/dqblk_xfs.h) -- -+fi - - dnl ----- as far as I can tell, dbtob always does the wrong thing - dnl ----- on every single version of linux I've ever played with. |