This will not fix the dependency on apache2. Please look at the dependencies of php5 and php5-mysql. Owncloud depends on php5 and php5-mysql which will pull in apache2 so your patch will not fix this.
However there are some changes taking place in Debian that will fix this. http://lists.debian.org/debian-devel-announce/2012/03/msg00013.html ** Changed in: owncloud (Ubuntu) Status: Fix Committed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996757 Title: Dependency on apache2 instead of httpd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/owncloud/+bug/996757/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs