Libchart is a chart creation PHP library that is easy to use. Reproducible: Always Steps to Reproduce:
Created attachment 71177 [details] libchart-1.0.ebuild
Created attachment 71178 [details] postinstall-en.txt
- the ebuild header is invalid
- the ebuild header is invalid¹ - remove RDEPEND="${DEPEND}" - LGPL is not a correct license, have a loook at /usr/portage/licenses/ - diropts -m0777 ??? Usually you want nothing world writable. [1] http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
Created attachment 71255 [details] libchart-1.0.ebuild [updated] updated to conform to ebuild standards.. could not get "generated" dir working without having it world writeable.. will bug upstream.
there is a permission change after running webapp-config which changes the permissions of the "libchart/demo/generated" folder.. before webapp-config setup. ls -dl /usr/share/webapps/libchart/1.0/htdocs/demo/generated drwxrwxrwx 2 root root 48 Oct 23 03:48 /usr/share/webapps/libchart/1.0/htdocs/demo/generated after webapp-config setup. ls -dl /var/www/localhost/htdocs/libchart/demo/generated drwxr-xr-x 2 root root 48 Oct 23 03:48 /var/www/localhost/htdocs/libchart/demo/generated demo pages do not work without being world writeable. this is why i set 1777 :( again this seems be a problem with GD library for php not author.. I will email author about this. but webapp-config is setting mode 755 probably because that directory it's empty to begin with, thus ignoring it's default permission of 1777.
libchart is now in our unofficial overlay: http://svn.gnqs.org/projects/gentoo-webapps-overlay/browser Please note that the overlay is unofficial, not a Gentoo project, and not supported. It is intended to provide easier access to new web applications.
In official tree now, thanks.