I have created a basic port for pluxml
State Changed From-To: open->feedback - Could you please replace the RUN_DEPENDS on php5 by USE_PHP? (see /usr/ports/Mk/bsd.php.mk for a description, or examples in the other PHP ports) - Don't forget to run `portlint -A' ! (see the port ports-mgmt/portlint) Anyway, thanks fo your submission. -- Th. Thomas.
Responsible Changed From-To: freebsd-ports-bugs->thierry Take it.
On Tue 14 aug 07 at 17:45:53 +0200, thierry@FreeBSD.org wrote: > Responsible-Changed-From-To: freebsd-ports-bugs->thierry > Responsible-Changed-By: thierry > Responsible-Changed-When: Tue Aug 14 15:41:03 UTC 2007 > Responsible-Changed-Why: > > Take it. > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=115382 [New shar file received by private mail] Thanks fo your quick answer! But this port does not deinstall cleanly: === Checking filesystem state after all packages deleted ================================================================ list of extra files and directories in / (not present on clean system but present after everything was deinstalled) 16674855 4 drwxr-xr-x 4 www www 512 Aug 14 20:34 usr/local/www/pluxml 16674876 4 drwxr-xr-x 2 www www 512 Aug 14 20:34 usr/local/www/pluxml/images 16674878 4 drwxr-xr-x 6 www www 512 Aug 14 20:34 usr/local/www/pluxml/pluxml 16674887 4 drwxr-xr-x 2 www www 512 Aug 14 20:34 usr/local/www/pluxml/pluxml/conf 16674888 4 -rwxr-xr-x 1 www www 49 Aug 14 20:34 usr/local/www/pluxml/pluxml/conf/.htaccess 16674889 4 drwxr-xr-x 2 www www 512 Aug 14 20:34 usr/local/www/pluxml/pluxml/lib 16674895 4 drwxr-xr-x 3 www www 512 Aug 14 20:34 usr/local/www/pluxml/pluxml/admin 16674896 4 drwxr-xr-x 2 www www 512 Aug 14 20:34 usr/local/www/pluxml/pluxml/admin/img 16674972 4 drwxr-xr-x 2 www www 512 Aug 14 20:34 usr/local/www/pluxml/pluxml/xml 16674973 4 -rwxr-xr-x 1 www www 14 Aug 14 20:34 usr/local/www/pluxml/pluxml/xml/.htaccess 16674976 4 -rwxr-xr-x 1 www www 14 Aug 14 20:34 usr/local/www/pluxml/version ================================================================ - you could avoid SED by setting SUB_FILES to pkg-deinstall; - WANT_PHP_MOD should be defined, and USE_PHP should be set to xml in order to activate the support of XML. Regards, -- Th. Thomas.
Le 14 août 07 à 22:53, Thierry Thomas a écrit : > On Tue 14 aug 07 at 17:45:53 +0200, thierry@FreeBSD.org wrote: [...] > > [New shar file received by private mail] > > Thanks fo your quick answer! > > But this port does not deinstall cleanly: > > === Checking filesystem state after all packages deleted > ================================================================ > list of extra files and directories in / (not present on clean > system but present after everything was deinstalled) > 16674855 4 drwxr-xr-x 4 www > www 512 Aug 14 20:34 usr/local/www/pluxml > 16674876 4 drwxr-xr-x 2 www > www 512 Aug 14 20:34 usr/local/www/pluxml/images > 16674878 4 drwxr-xr-x 6 www > www 512 Aug 14 20:34 usr/local/www/pluxml/pluxml > 16674887 4 drwxr-xr-x 2 www > www 512 Aug 14 20:34 usr/local/www/pluxml/pluxml/ > conf > 16674888 4 -rwxr-xr-x 1 www > www 49 Aug 14 20:34 usr/local/www/pluxml/pluxml/ > conf/.htaccess > 16674889 4 drwxr-xr-x 2 www > www 512 Aug 14 20:34 usr/local/www/pluxml/pluxml/lib > 16674895 4 drwxr-xr-x 3 www > www 512 Aug 14 20:34 usr/local/www/pluxml/pluxml/ > admin > 16674896 4 drwxr-xr-x 2 www > www 512 Aug 14 20:34 usr/local/www/pluxml/pluxml/ > admin/img > 16674972 4 drwxr-xr-x 2 www > www 512 Aug 14 20:34 usr/local/www/pluxml/pluxml/xml > 16674973 4 -rwxr-xr-x 1 www > www 14 Aug 14 20:34 usr/local/www/pluxml/pluxml/ > xml/.htaccess > 16674976 4 -rwxr-xr-x 1 www > www 14 Aug 14 20:34 usr/local/www/pluxml/version > ================================================================ > > - you could avoid SED by setting SUB_FILES to pkg-deinstall; > > - WANT_PHP_MOD should be defined, and USE_PHP should be set to xml in > order to activate the support of XML. > > Regards, > -- > Th. Thomas. Done. I use SUB_FILES and defined WANT_PHP_MOD and USE_PHP= xml. Everything is cleaned except conf/ and xml/ defined by user via pluxml. I hope it will be ok. Regards, -- Philippe.
On edr 15 aug 07 at 13:17:05 +0200, Philippe Audeoud <jadawin@tuxaco.net> wrote: > Done. I use SUB_FILES and defined WANT_PHP_MOD and USE_PHP= xml. > Everything is cleaned except conf/ and xml/ defined by user via pluxml. > > I hope it will be ok. > # This archive contains: > # > # pluxml/Makefile > # pluxml/distinfo > # pluxml/files > # pluxml/pkg-descr > # pluxml/pkg-plist It seems that the find command used to create this shar file missed the files/pkg-deinstall.in ! Regards, -- Th. Thomas.
Le 15 août 07 à 21:11, Thierry Thomas a écrit : > On edr 15 aug 07 at 13:17:05 +0200, Philippe Audeoud > <jadawin@tuxaco.net> > wrote: > >> Done. I use SUB_FILES and defined WANT_PHP_MOD and USE_PHP= xml. >> Everything is cleaned except conf/ and xml/ defined by user via >> pluxml. >> >> I hope it will be ok. > >> # This archive contains: >> # >> # pluxml/Makefile >> # pluxml/distinfo >> # pluxml/files >> # pluxml/pkg-descr >> # pluxml/pkg-plist > > It seems that the find command used to create this shar file missed > the > files/pkg-deinstall.in ! Sorry about that. I need more coffee. Regards, -- Philippe.
Le 15 août 07 à 21:11, Thierry Thomas a écrit : > On edr 15 aug 07 at 13:17:05 +0200, Philippe Audeoud > <jadawin@tuxaco.net> > wrote: > >> Done. I use SUB_FILES and defined WANT_PHP_MOD and USE_PHP= xml. >> Everything is cleaned except conf/ and xml/ defined by user via >> pluxml. >> >> I hope it will be ok. > >> # This archive contains: >> # >> # pluxml/Makefile >> # pluxml/distinfo >> # pluxml/files >> # pluxml/pkg-descr >> # pluxml/pkg-plist > > It seems that the find command used to create this shar file missed > the > files/pkg-deinstall.in ! I really need coffee. Here, the good shar. Sorry about noise. -- Philippe.
Le 15 août 07 à 21:11, Thierry Thomas a écrit : > On edr 15 aug 07 at 13:17:05 +0200, Philippe Audeoud > <jadawin@tuxaco.net> > wrote: > >> Done. I use SUB_FILES and defined WANT_PHP_MOD and USE_PHP= xml. >> Everything is cleaned except conf/ and xml/ defined by user via >> pluxml. >> >> I hope it will be ok. > >> # This archive contains: >> # >> # pluxml/Makefile >> # pluxml/distinfo >> # pluxml/files >> # pluxml/pkg-descr >> # pluxml/pkg-plist > > It seems that the find command used to create this shar file missed > the > files/pkg-deinstall.in ! Here a shar with @dirrmtry and pkg-message added. Thanks for patience. -- Philippe.
On Thu 16 aug 07 at 22:26:33 +0200, Philippe Audeoud <jadawin@tuxaco.net> wrote: > >It seems that the find command used to create this shar file missed > >the > >files/pkg-deinstall.in ! > > > Here a shar with @dirrmtry and pkg-message added. > Thanks for patience. No luck! It does not deinstall cleanly: === Checking filesystem state after all packages deleted ================================================================ list of extra files and directories in / (not present on clean system but present after everything was deinstalled) 19053632 4 drwxr-xr-x 3 www www 512 Aug 16 20:49 usr/local/www/pluxml 19053635 4 drwxr-xr-x 3 www www 512 Aug 16 20:49 usr/local/www/pluxml/pluxml 19053643 4 drwxr-xr-x 2 www www 512 Aug 16 20:49 usr/local/www/pluxml/pluxml/conf 19053644 4 -rwxr-xr-x 1 www www 49 Aug 16 20:49 usr/local/www/pluxml/pluxml/conf/.htaccess ================================================================ build of /usr/ports/french/pluxml ended at Thu Aug 16 20:49:18 UTC 2007 Regards, -- Th. Thomas.
Le 16 août 07 à 23:00, Thierry Thomas a écrit : > On Thu 16 aug 07 at 22:26:33 +0200, Philippe Audeoud > <jadawin@tuxaco.net> > wrote: > >>> It seems that the find command used to create this shar file missed >>> the >>> files/pkg-deinstall.in ! >> >> >> Here a shar with @dirrmtry and pkg-message added. >> Thanks for patience. > > No luck! It does not deinstall cleanly: > > === Checking filesystem state after all packages deleted > ================================================================ > list of extra files and directories in / (not present on clean > system but present after everything was deinstalled) > 19053632 4 drwxr-xr-x 3 www > www 512 Aug 16 20:49 usr/local/www/pluxml > 19053635 4 drwxr-xr-x 3 www > www 512 Aug 16 20:49 usr/local/www/pluxml/pluxml > 19053643 4 drwxr-xr-x 2 www > www 512 Aug 16 20:49 usr/local/www/pluxml/pluxml/ > conf > 19053644 4 -rwxr-xr-x 1 www > www 49 Aug 16 20:49 usr/local/www/pluxml/pluxml/ > conf/.htaccess > ================================================================ > build of /usr/ports/french/pluxml ended at Thu Aug 16 20:49:18 UTC > 2007 > > Ok. I delete conf if there is only .htaccess. But if there is some conf files int conf and some blog's files in xml I don't delete them. If i delete conf, i delete all pluxml's directory. pkg-deinstall will only print do delete %%WWWDIR%% if this directory exist. Regards, -- Philippe.
Le 20 août 07 à 16:59, Thierry Thomas a écrit : > On Fri 17 aug 07 at 8:03:15 +0200, Philippe Audeoud > <jadawin@tuxaco.net> > wrote: > >> Ok. I delete conf if there is only .htaccess. But if there is some >> conf files int conf and some blog's files in xml I don't delete them. >> If i delete conf, i delete all pluxml's directory. >> pkg-deinstall will only print do delete %%WWWDIR%% if this directory >> exist. > > OK, that's fine! > > However, there remain still some problems: > > - after installation, the files look like: > > ls -l /usr/local/www/pluxml/pluxml > total 16 > drwxr-xr-x 3 root wheel 512 20 aoû 16:37 admin > -rwxr-xr-x 1 www www 1439 20 aoû 16:35 atom.php > drwxr-xr-x 2 root wheel 512 20 aoû 16:37 conf > drwxr-xr-x 2 root wheel 512 20 aoû 16:37 lib > -rwxr-xr-x 1 www www 2084 20 aoû 16:35 rss.php > drwxr-xr-x 3 root wheel 512 20 aoû 16:37 templates > drwxr-xr-x 2 root wheel 512 20 aoû 16:37 xml > > Nothing should belong to root: that causes a problem with > http://localhost/pluxml/install.php , the following messages are > displayed: > > # pluxml/conf/ n'est pas accessible en ecriture > # pluxml/xml/ n'est pas accessible en ecriture > > - PKGDEINSTALL and PKGMESSAGE are not located under WRKSRC but WRKDIR; > > - You should not install the file COPYING (see > <http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ > dads-misc.html>); > > - It would be fine to add something in the post-installation message > saying to create a file with the following lines (to be adapted): > > Alias /pluxml/ "/usr/local/www/pluxml/" > <Directory "/usr/local/www/pluxml/"> > Order allow,deny > Allow from all > </Directory> > Done :) -- Philippe.
thierry 2007-08-21 16:27:51 UTC FreeBSD ports repository Modified files: french Makefile Added files: french/pluxml Makefile distinfo pkg-descr pkg-plist french/pluxml/files pkg-deinstall.in pkg-message.in Log: Pluxml is a tiny tool to generate blog based on php and xml. Feature: * Rss * categories * can be used as a photoblog WWW: http://pluxml.org/ PR: ports/115382 Submitted by: Philippe Audeoud <jadawin at tuxaco.net> Revision Changes Path 1.54 +1 -0 ports/french/Makefile 1.1 +39 -0 ports/french/pluxml/Makefile (new) 1.1 +3 -0 ports/french/pluxml/distinfo (new) 1.1 +12 -0 ports/french/pluxml/files/pkg-deinstall.in (new) 1.1 +16 -0 ports/french/pluxml/files/pkg-message.in (new) 1.1 +7 -0 ports/french/pluxml/pkg-descr (new) 1.1 +43 -0 ports/french/pluxml/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed New port added, thanks! Note: before committing, I have applied the following patch: --- pluxml.diff begins here --- diff -urN french/pluxml.orig/Makefile french/pluxml/Makefile --- french/pluxml.orig/Makefile Tue Aug 21 17:18:28 2007 +++ french/pluxml/Makefile Tue Aug 21 18:01:35 2007 @@ -7,7 +7,6 @@ PORTVERSION= 0.3.1 CATEGORIES= french www MASTER_SITES= http://pluxml.org/download/ -PKGNAMEPREFIX= fr- DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= jadawin@tuxaco.net @@ -24,20 +23,17 @@ SUB_FILES= pkg-message pkg-deinstall SUB_LIST= WWWDIR=${WWWDIR} PORTNAME=${PORTNAME} +PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} do-install: ${MKDIR} ${WWWDIR} .for data in images pluxml version ${CP} -R ${WRKSRC}/${data} ${WWWDIR} - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/${data} .endfor ${CP} ${WRKSRC}/*.php ${WWWDIR} ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.endif - ${CAT} ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff -urN french/pluxml.orig/pkg-plist french/pluxml/pkg-plist --- french/pluxml.orig/pkg-plist Tue Aug 21 17:18:28 2007 +++ french/pluxml/pkg-plist Tue Aug 21 18:12:25 2007 @@ -40,4 +40,4 @@ @dirrmtry %%WWWDIR%%/pluxml/conf @dirrmtry %%WWWDIR%%/pluxml @dirrmtry %%WWWDIR%% -@dirrm %%DOCSDIR%% +@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%WWWDIR%% --- pluxml.diff ends here --- @exec chown in pkg-plist is necessary to fix the ownership of directories when pluxml is installed as a package.