[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: Sponsor needed for pmwiki



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Robert,

On 04.07.2011 03:17, Strobl, Robert wrote:
> I need a sponsor for:
> Package name:		pmwiki
License:				GPL
                                        ^^^- its GPL-2 btw.
> Version:				2.2.27

here are a few notes, from me not being a developer and therefore unable
to sponsor you:

* The currently recommended debhelper version is 8 (see debhelper(7)).
Please push in debian/compat and debian/control
* Your Standards version is heavily outdated. See [1] for a list what to
check, in order to verify whether your package complies with the most
recent standards version which is 3.9.2.
* Some notes about your dependencies:
  + I wonder why you depend on PHP 4. PHP 4 is not available in Debian
anymore.
 + Moreover you depend on lighttpd (>= 2.4.19) which does not exist at
all. Maybe you meant 1.4.19 which would correspond to the Lighttpd
version which was in Lenny.
 + Instead of your dependency line "apache2 | lighttpd" you probably
want to depend on the httpd-cgi virtual package [2] instead, and give a
preference if you wish.
 + Finally php-fastcgi seems wrong to me unless you actually depend on
Lighttpd or any other (Fast-)CGI compatible web server. For Apache you
maybe want to depend on libapache2-mod-php5 instead, since this is what
most people are using for PHP when using Apache.
* Your synopsis line is not a synopsis, see [3] for best practices.
Moreover you need to provide a long description line See §3.4.2 [4]
* Please add VCS links if possible [5]. If not, remove the commented out
entries in debian/control.
* You debian/copyright contains the full URL, i.e. the direct link to
the origin package. Its not wrong to do so, but keep in mind you have to
update this for every upload. Generally its fine enough to point to the
upstream homepage there. There is also DEP-5 [6] which is perhaps the
way to go for future packages. This not required though.
* debian/docs is empty. If you don't install any docs that way, remove
the file
* Similarly, remove pmwiki.doc-base.EX unless you really want to ship a
doc-base package (if so, you would still have to rename it of course)
* Your postinst script is terribly dangerous. No you don't want chmod
777. Really. Moreover this script can be called in many different ways
and you break most of them. Finally you miss the #DEBHELPER# hook.
Please read [7][8][9] about maintainer script invocation.
* Please remove unnecessary comments in debian/rules
* Please make a compliant patch from patches/debian-changes-2.2.27-1.
Its contents are not wrong, but its considered a bad style to make
upstream changes like this. Please make a proper quilt patch [10][11][12]
* You don't provide a watch file. Learn more about watch files on [13]
* Your package contains GIF files. There are some discussions whether
they fall into the "preferred form for modification" rule as they are
binary data [14]. However I believe for your use case its fine to
package them. Maybe someone else may comment on  this.
* Your package is not lintian clean (this shouldn't suprise you):

W: pmwiki source: debhelper-but-no-misc-depends pmwiki
W: pmwiki source: dh-make-template-in-source debian/pmwiki.doc-base.EX
W: pmwiki source: maintainer-script-lacks-debhelper-token debian/postinst
W: pmwiki source: format-3.0-but-debian-changes-patch
W: pmwiki source: out-of-date-standards-version 3.8.4 (current is 3.9.2)
I: pmwiki source: debian-watch-file-is-missing
P: pmwiki: no-upstream-changelog
E: pmwiki: description-starts-with-package-name
I: pmwiki: description-synopsis-might-not-be-phrased-properly
W: pmwiki: description-too-long
E: pmwiki: extended-description-is-empty
W: pmwiki: extra-license-file usr/share/pmwiki/docs/COPYING.txt
I: pmwiki: package-contains-empty-directory usr/share/pmwiki/pub/css/
I: pmwiki: package-contains-empty-directory usr/share/pmwiki/wiki.d/
W: pmwiki: executable-not-elf-or-script usr/share/pmwiki/pmwiki.php
W: pmwiki: maintainer-script-ignores-errors postinst


[1] http://www.debian.org/doc/packaging-manuals/upgrading-checklist.txt
[2]
http://www.debian.org/doc/packaging-manuals/virtual-package-names-list.txt
[3]
http://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-pkg-synopsis
[4] http://www.debian.org/doc/debian-policy/ch-binary.html#s-extendeddesc
[5]
http://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-vcs
[6] http://dep.debian.net/deps/dep5/
[7]
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-mscriptsinstact
[8]
http://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-debian-maint-scripts
[9] http://wiki.debian.org/MaintainerScripts
[10] http://wiki.debian.org/UsingQuilt
[11] http://dep.debian.net/deps/dep3/
[12] http://www.debian.org/doc/manuals/maint-guide/modify.en.html
[13]
http://www.debian.org/doc/debian-policy/ch-source.html#s-debianwatch and
uscan(1)
[14] http://lists.debian.org/debian-mentors/2011/03/msg00368.html
- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOEkfXAAoJEMcrUe6dgPNtQVkP/0O6tOdHRRzXEb1SilDIl42n
FwlclBkQmTY7pXoadTg3nQ6ir1ZOrtcnKhcoeSrdNUoTwJuCY71c7aWe337N2N3x
tbWg3CCNfJx0Jt71EsFhszYDKyWG15//LQNMfEmaDLhn8V0bZxMPni1HS9/x2ubA
gQpMi3rrTNEkjuQYTKYnGadTc2oVp3rs9fHf87mLMsodrNJ90ZkcphgQOyyjwXaj
6iaL6w5lDQNVtKfl/2wTWqf84PkiEAKlCFT2SYazGurc4nVhdJEqqVh1pUVigayg
pSPvOi6+ZWXzB/oU16WICY29+8Eyuy0mjcFJ4rsk+5cfyNHSMaCVBT5O8mSXI8gf
ePLKX3zxXVwHQeQ45vJLZTcCaiK2YZMKXfUQrGpIasp4BJwsx1V2zi58iLPZKwVN
b/qViuQsI7rzNwHwcmha+4kgh1FVgAA8Z9FEfTmY4lwVrZes6QqCKFaZ9WrMUj5+
tsxMfgcJz3orMGvK9qIj2MC11XIEXzHYTUVldB+EKkZzIQZeP3BM5qa+z5FVBj66
euM5j+JvGJLaGv5ZcKeTnA8k9gtDUEhaOEOr87Pjtb3hkz9sn1/wsB2aISdzVRcx
VfNwTVXK74HhmuCt7vnvYxjlJLDt0HAUu2rnRRxp2eULOV9dUgjLJsNY32ju/LcI
Nn+vZPkD/xW6d0yJoW2z
=eohb
-----END PGP SIGNATURE-----


Reply to: