After installing drupal with the Masked ebuild, it said it was missing all sorts of files, when I investigated the files were in the wrong places. It appears that the ebuild maker put a lot of plugins into the package, which really isn't a good thing and should be left to the user or made as another ebuild (drupal-packages or drupal-themes). Sorry for not specifying the files that are missing, but I'm going to attempt to remake the ebuild. Reproducible: Always Steps to Reproduce: 1.Install drupal 2. 3. Actual Results: It doesn't work as it should Expected Results: It work as it should : D Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.ccccom.com" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apache2 apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gpm gtk2 imlib innodb ipv6 jpeg libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Created attachment 64172 [details, diff] Patches drupal/files/postinstall-en.txt
Created attachment 64173 [details, diff] Patches drupal/drupal-4.6.2.ebuild
Created attachment 64174 [details, diff] Patches drupal/files/4.6.0/language
I changed a lot in the ebuild to clean up some stuff. The major change that I made is modules are no longer installed, as most modules in Drupal require extra installation needs than just copying to the modules folder (some need helper programs etc). However, the themes, languages, and theme engine are still installed unless the minimal use flag is present. The language files are in a new folder called translations under the drupal root. I've also made major changes to the post install file, fixing most of the issues people have installing it as per the forums. I also deleted the top line in the language file as it isn't a language, but a developer module to create new language files, users can add this if they need it as I imagine not many people will. In the changelog mention that the non-default modules are no longer installed automatically, and must be downloaded from www.drupal.org;however, themes, theme engines, and languages are. I'm using drupal extensively, and would gladly maintain it for any bugs that crop up.
I don't think I was supposed to mark the bug as resolved since I don't have commit access.
Created attachment 64323 [details, diff] Patches drupal/drupal-4.6.2.ebuild I added a dependancy for mysql if that USE flag is set, please somebody double check I did that correctly, I compared it to several other ebuilds and it looked good;however, when I do emerge -pv drupal, it doesn't show that as a use flag, I have a feeling this is effect of use flag caching by portage, does anybody know how to remedy this?
Thanks for these modifications. I agree the drupal modules should be separated into sth like drupal-extras. The idea to nevertheless include the them engine and the languages is very good (to me, they are basic drupal stuff). I'll let you know how the ebuild behaves on my machine.
Hi, the postinstall-en.txt cannot be read by path. I've looked at it, and it looks great, but I'm just too lazy to type it in by hand right now. If you can re-attach it to this bug, it'll be great. Else, I'll just let this wait till either this evening when I'm more available or tomorrow. :) Regards Lim Swee Tat
Created attachment 65071 [details] Just put the full postinstall I did, its just slightly bigger than the patch : D
This bug is fixed in the drupal-4.7.4 ebuild
.