All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Schmidt <mail_ben_schmidt@yahoo.com.au>
To: mlmmj@mlmmj.org
Subject: Re: [mlmmj] Mlmmj 1.2.18.0 released
Date: Wed, 30 May 2012 14:00:55 +0000	[thread overview]
Message-ID: <4FC62817.7060109@yahoo.com.au> (raw)
In-Reply-To: <4FC4D9CE.3010906@yahoo.com.au>

> Hey, that's just on time for Debian 7 (code name: Wheezy)! Thanks for
> that. I've updated the Debian packages today, and uploaded to SID, if
> everything goes well, it's going to be in Wheezy.

Excellent!

> I'm quite happy to see that I had to remove most of the Debian specific
> patches, as they were incorporated upstream (eg: on mlmmj original
> sources). Still, there are 2 patches remaining. I believe that this one
> could be somehow avoided:
>
> --- a/include/mlmmj.h	2012-01-22 15:36:11.000000000 +0800
> +++ b/include/mlmmj.h	2012-01-22 15:36:16.000000000 +0800
> @@ -88,7 +88,7 @@
>   #define CHECKFULLPATH(name) if(strchr(name, '/') = NULL) { \
>   			fprintf(stderr, "All mlmmj binaries have to " \
>   					"be invoked with full path,\n" \
> -					"e.g. /usr/local/bin/%s\n", name); \
> +					"e.g. /usr/bin/%s\n", name); \
>   			exit(EXIT_FAILURE); \
>   			};
>
> what do you think?

Yeah, that's really stupid. We should be able to get the prefix in a
macro in config.h if nothing else.

Could you possibly jump on the bug tracker at
http://mlmmj.org/bugs/report.php and add this as a bug, and upload the
patch (even though this patch doesn't fix the bug, it demonstrates and
localises the problem)? Then I should get around to it before the next
release if not before.

One day we might even fix things so you don't need to use the full path
to invoke the binaries. I certainly find it really annoying, and I don't
know any other application that requires it. You'd think we could figure
out what's going on from argv[0] or something.

> The other one is contrib/web/php-admin/htdocs/dot.htaccess:
>
> diff -u -r -N a/contrib/web/php-admin/htdocs/dot.htaccess
> b/contrib/web/php-admin/htdocs/dot.htaccess
> --- a/contrib/web/php-admin/htdocs/dot.htaccess	2012-01-22
> 15:40:16.000000000 +0800
> +++ b/contrib/web/php-admin/htdocs/dot.htaccess	2012-01-22
> 15:40:37.000000000 +0800
> @@ -1,4 +1,5 @@
>   Require valid-user
>   AuthType Basic
> -AuthName "mlmmj web-interface"
> -AuthUserFile /home/mlmmj/htpasswd
> +AuthName "mlmmj web-interface on Debian GNU/Linux"
> +AuthUserFile /etc/mlmmj-php-web-admin/htpasswd
> +php_value include_path "/usr/share/mlmmj-php-web-admin"
>
> I don't see how this one could be avoided, and I'm fine keeping it in
> the package.

Yeah, I agree. It's really an example file anyway. You just have a more
Debian-specific example. There will be no one-size-fits-all for this.

Ben.





  parent reply	other threads:[~2012-05-30 14:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-29 14:14 [mlmmj] Mlmmj 1.2.18.0 released Ben Schmidt
2012-05-30 13:30 ` Thomas Goirand
2012-05-30 13:45 ` Mads Martin Jørgensen
2012-05-30 14:00 ` Ben Schmidt [this message]
2012-05-30 14:17 ` Chris Webb
2012-05-30 14:17 ` Mads Martin Jørgensen
2012-05-30 17:40 ` Thomas Goirand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FC62817.7060109@yahoo.com.au \
    --to=mail_ben_schmidt@yahoo.com.au \
    --cc=mlmmj@mlmmj.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.