Bug 145646 - [patch] fix www/moinmoin: incompatible shebang in moin.fcgi
Summary: [patch] fix www/moinmoin: incompatible shebang in moin.fcgi
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-12 12:10 UTC by ghostonthewire
Modified: 2010-04-28 22:40 UTC (History)
0 users

See Also:


Attachments
file.diff (255 bytes, patch)
2010-04-12 12:10 UTC, ghostonthewire
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ghostonthewire 2010-04-12 12:10:00 UTC
Incompatible shebang in moin.fcgi.

Fix: Patch to be renamed to patch-wiki_server_moin.fcgi and placed in www/moinmoin/files.

Patch attached with submission follows:
How-To-Repeat: % /usr/local/share/moin/server/moin.fcgi
zsh: /usr/local/share/moin/server/moin.fcgi: bad interpreter: /usr/bin/python: no such file or directory

head -1 /usr/local/share/moin/server/moin.fcgi
#!/usr/bin/python
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-04-12 12:11:19 UTC
Maintainer of www/moinmoin,

Please note that PR ports/145646 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145646

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2010-04-12 12:11:20 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2010-04-25 20:06:39 UTC
State Changed
From-To: feedback->open

Maintainer was reset.
Comment 4 khsing.cn 2010-04-28 10:40:10 UTC
I have tested this patch. I approved it.
Please put patch-wiki-server-moin.fcgi file into files directory.

--- patch-wiki-server-moin.fcgi begins here ---
--- wiki/server/moin.fcgi.orig  2010-02-28 23:28:49.000000000 +0800
+++ wiki/server/moin.fcgi       2010-04-28 16:33:04.097920979 +0800
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 """
     MoinMoin - CGI/FCGI Driver script
--- patch-wiki-server-moin.fcgi ends here ---

-- 
A man live in jail and want to break.
http://blog.khsing.net
Comment 5 dfilter service freebsd_committer freebsd_triage 2010-04-28 22:38:51 UTC
flz         2010-04-28 21:38:42 UTC

  FreeBSD ports repository

  Modified files:
    www/moinmoin         Makefile 
    www/moinmoin/files   pkg-install.in 
  Added files:
    www/moinmoin/files   patch-wiki-server-moin.fcgi 
  Log:
  - Add WSGI support. [1]
  - Fix shebang line in moin.fcgi. [2]
  
  PR:             ports/145690 [1], ports/145646 [2]
  Submitted by:   Janos Mohacsi <janos.mohacsi@bsd.hu> [1]
                  ghostonthewire <ghostonthewire@gmail.com> [2]
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.50      +5 -3      ports/www/moinmoin/Makefile
  1.1       +8 -0      ports/www/moinmoin/files/patch-wiki-server-moin.fcgi (new)
  1.6       +24 -1     ports/www/moinmoin/files/pkg-install.in
_______________________________________________
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"
Comment 6 Florent Thoumie freebsd_committer freebsd_triage 2010-04-28 22:39:15 UTC
State Changed
From-To: open->closed

Committed. Thanks!