The www/p5-Apache-Gallery port
p5-Apache-Gallery-1.0.2p5v0 – mod_perl Apache gallery handler (cvsweb github mirror)
Description
Apache::Gallery creates an thumbnail index of each directory and allows viewing pictures in different resolutions. Pictures are resized on the fly and cached.WWW: http://www.apachegallery.dk/
Readme
+----------------------------------------------------------------------- | Running ${PKGSTEM} on OpenBSD +----------------------------------------------------------------------- Installing in a chroot ====================== In order to make A::G operate in a chrooted environment, it is necessary to copy all of the relevant libraries and perl modules that it employs into /var/www. First, create the basic directory structure: $ cd /var/www # mkdir -p tmp usr # chown www:www tmp (needs to be writeable for the www user) $ cd /var/www/ # mkdir -p .${LOCALBASE}/lib $ cd /var/www/usr # mkdir -p libdata/perl5 libexec {.,X11R6}/lib Next, the run-time link-editor: $ cd /var/www/usr/libexec # cp -p /usr/libexec/ld.so . Next, the required shared libraries: $ cd /var/www/usr/lib # cp -p /usr/lib/lib{c,crypto,m,z,util,perl,ssl,stdc++}.so* . $ cd /var/www/usr/X11R6/lib # cp -p /usr/X11R6/lib/lib{Xext,freetype,X11,Xau,Xdmcp,xcb,pthread-stubs}.so.* . Next, the Perl base: $ cd /var/www/usr/libdata # cp -pR /usr/libdata/perl5 . Finally, install p5-Apache-Gallery and all its deps in the chroot # env PKG_DBDIR=/var/www/var/db/pkg pkg_add -B /var/www p5-Apache-Gallery Setting up Apache ================= To enable gallery you need to edit /var/www/conf/modules.sample/apache-gallery.conf to fit your needs then create a symlink like this : # ln -s ../modules.sample/apache-gallery.conf \ /var/www/conf/modules # /etc/rc.d/apache2 restart Finally, create a /var/www/htdocs/gallery directory, put your favourite pictures inside it, and browse to your.server.tld/gallery.
Maintainer
The OpenBSD ports mailing-list
Categories
Build dependencies
Run dependencies
Test dependencies
Files
- /usr/local/libdata/perl5/site_perl/Apache/
- /usr/local/libdata/perl5/site_perl/Apache/Gallery.pm
- /usr/local/man/man3p/Apache::Gallery.3p
- /usr/local/share/Apache-Gallery/
- /usr/local/share/Apache-Gallery/icons/
- /usr/local/share/Apache-Gallery/icons/agfolder.png
- /usr/local/share/Apache-Gallery/icons/application-doc.png
- /usr/local/share/Apache-Gallery/icons/application-pdf.png
- /usr/local/share/Apache-Gallery/icons/application-rtf.png
- /usr/local/share/Apache-Gallery/icons/c.png
- /usr/local/share/Apache-Gallery/icons/sound-mp3.png
- /usr/local/share/Apache-Gallery/icons/sound-ogg.png
- /usr/local/share/Apache-Gallery/icons/sound-wav.png
- /usr/local/share/Apache-Gallery/icons/video-asf.png
- /usr/local/share/Apache-Gallery/icons/video-avi.png
- /usr/local/share/Apache-Gallery/icons/video-mov.png
- /usr/local/share/Apache-Gallery/icons/video-mpeg.png
- /usr/local/share/Apache-Gallery/icons/video-mpg.png
- /usr/local/share/Apache-Gallery/icons/video-wmv.png
- /usr/local/share/Apache-Gallery/templates/
- /usr/local/share/Apache-Gallery/templates/bright/
- /usr/local/share/Apache-Gallery/templates/bright/dircomment.tpl
- /usr/local/share/Apache-Gallery/templates/bright/directory.tpl
- /usr/local/share/Apache-Gallery/templates/bright/error.tpl
- /usr/local/share/Apache-Gallery/templates/bright/file.tpl
- /usr/local/share/Apache-Gallery/templates/bright/gallery.css
- /usr/local/share/Apache-Gallery/templates/bright/index.tpl
- /usr/local/share/Apache-Gallery/templates/bright/info.tpl
- /usr/local/share/Apache-Gallery/templates/bright/interval.tpl
- /usr/local/share/Apache-Gallery/templates/bright/intervalactive.tpl
- /usr/local/share/Apache-Gallery/templates/bright/layout.tpl
- /usr/local/share/Apache-Gallery/templates/bright/navdirectory.tpl
- /usr/local/share/Apache-Gallery/templates/bright/navpicture.tpl
- /usr/local/share/Apache-Gallery/templates/bright/nodircomment.tpl
- /usr/local/share/Apache-Gallery/templates/bright/nopictureinfo.tpl
- /usr/local/share/Apache-Gallery/templates/bright/orig.tpl
- /usr/local/share/Apache-Gallery/templates/bright/picture.tpl
- /usr/local/share/Apache-Gallery/templates/bright/pictureinfo.tpl
- /usr/local/share/Apache-Gallery/templates/bright/refresh.tpl
- /usr/local/share/Apache-Gallery/templates/bright/rss.tpl
- /usr/local/share/Apache-Gallery/templates/bright/rss_item.tpl
- /usr/local/share/Apache-Gallery/templates/bright/scale.tpl
- /usr/local/share/Apache-Gallery/templates/bright/scaleactive.tpl
- /usr/local/share/Apache-Gallery/templates/bright/showpicture.tpl
- /usr/local/share/Apache-Gallery/templates/bright/slideshowisoff.tpl
- /usr/local/share/Apache-Gallery/templates/bright/slideshowoff.tpl
- /usr/local/share/Apache-Gallery/templates/default/
- /usr/local/share/Apache-Gallery/templates/default/dircomment.tpl
- /usr/local/share/Apache-Gallery/templates/default/directory.tpl
- /usr/local/share/Apache-Gallery/templates/default/error.tpl
- /usr/local/share/Apache-Gallery/templates/default/file.tpl
- /usr/local/share/Apache-Gallery/templates/default/gallery.css
- /usr/local/share/Apache-Gallery/templates/default/index.tpl
- /usr/local/share/Apache-Gallery/templates/default/info.tpl
- /usr/local/share/Apache-Gallery/templates/default/interval.tpl
- /usr/local/share/Apache-Gallery/templates/default/intervalactive.tpl
- /usr/local/share/Apache-Gallery/templates/default/layout.tpl
- /usr/local/share/Apache-Gallery/templates/default/navdirectory.tpl
- /usr/local/share/Apache-Gallery/templates/default/navpicture.tpl
- /usr/local/share/Apache-Gallery/templates/default/nodircomment.tpl
- /usr/local/share/Apache-Gallery/templates/default/nopictureinfo.tpl
- /usr/local/share/Apache-Gallery/templates/default/orig.tpl
- /usr/local/share/Apache-Gallery/templates/default/picture.tpl
- /usr/local/share/Apache-Gallery/templates/default/pictureinfo.tpl
- /usr/local/share/Apache-Gallery/templates/default/refresh.tpl
- /usr/local/share/Apache-Gallery/templates/default/rss.tpl
- /usr/local/share/Apache-Gallery/templates/default/rss_item.tpl
- /usr/local/share/Apache-Gallery/templates/default/scale.tpl
- /usr/local/share/Apache-Gallery/templates/default/scaleactive.tpl
- /usr/local/share/Apache-Gallery/templates/default/showpicture.tpl
- /usr/local/share/Apache-Gallery/templates/default/slideshowisoff.tpl
- /usr/local/share/Apache-Gallery/templates/default/slideshowoff.tpl
- /usr/local/share/Apache-Gallery/templates/new/
- /usr/local/share/Apache-Gallery/templates/new/dircomment.tpl
- /usr/local/share/Apache-Gallery/templates/new/directory.tpl
- /usr/local/share/Apache-Gallery/templates/new/error.tpl
- /usr/local/share/Apache-Gallery/templates/new/file.tpl
- /usr/local/share/Apache-Gallery/templates/new/gallery.css
- /usr/local/share/Apache-Gallery/templates/new/index.tpl
- /usr/local/share/Apache-Gallery/templates/new/info.tpl
- /usr/local/share/Apache-Gallery/templates/new/interval.tpl
- /usr/local/share/Apache-Gallery/templates/new/intervalactive.tpl
- /usr/local/share/Apache-Gallery/templates/new/layout.tpl
- /usr/local/share/Apache-Gallery/templates/new/navdirectory.tpl
- /usr/local/share/Apache-Gallery/templates/new/navpicture.tpl
- /usr/local/share/Apache-Gallery/templates/new/nodircomment.tpl
- /usr/local/share/Apache-Gallery/templates/new/nopictureinfo.tpl
- /usr/local/share/Apache-Gallery/templates/new/orig.tpl
- /usr/local/share/Apache-Gallery/templates/new/picture.tpl
- /usr/local/share/Apache-Gallery/templates/new/pictureinfo.tpl
- /usr/local/share/Apache-Gallery/templates/new/refresh.tpl
- /usr/local/share/Apache-Gallery/templates/new/rss.tpl
- /usr/local/share/Apache-Gallery/templates/new/rss_item.tpl
- /usr/local/share/Apache-Gallery/templates/new/scale.tpl
- /usr/local/share/Apache-Gallery/templates/new/scaleactive.tpl
- /usr/local/share/Apache-Gallery/templates/new/showpicture.tpl
- /usr/local/share/Apache-Gallery/templates/new/slideshowisoff.tpl
- /usr/local/share/Apache-Gallery/templates/new/slideshowoff.tpl
- /usr/local/share/doc/Apache-Gallery/
- /usr/local/share/doc/Apache-Gallery/INSTALL
- /usr/local/share/doc/Apache-Gallery/README
- /usr/local/share/doc/Apache-Gallery/apache-gallery.conf.dist
- /usr/local/share/doc/pkg-readmes/p5-Apache-Gallery
- /var/www/conf/modules.sample/
- /var/www/conf/modules.sample/apache-gallery.conf