FreeBSD Bugzilla – Attachment 148057 Details for
Bug 194215
[maintainer] emulators/dynagen: clean sanity check
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[path] emulators/dynagen
dynagen-20141007T1537.diff (text/plain), 3.35 KB, created by
Pavel Volkov
on 2014-10-07 11:57:38 UTC
(
hide
)
Description:
[path] emulators/dynagen
Filename:
MIME Type:
Creator:
Pavel Volkov
Created:
2014-10-07 11:57:38 UTC
Size:
3.35 KB
patch
obsolete
>diff -ruN ../dynagen.orig/Makefile ./Makefile >--- ../dynagen.orig/Makefile 2014-10-01 15:33:45.000000000 +0400 >+++ ./Makefile 2014-10-07 15:26:30.000000000 +0400 >@@ -41,11 +41,18 @@ > PORTEXAMPLES= * > PORTDATA= * > >-USES= dos2unix >-USE_PYTHON= yes >-USE_PYDISTUTILS=yes >+USES= python dos2unix >+USE_PYTHON= distutils > ALL_TARGET= # empty > >+post-patch: >+ ${FIND} ${WRKSRC} -type f -name \*.py -or -name dynagen -or -name pemu-start.sh \ >+ | ${XARGS} ${REINPLACE_CMD} -i '' \ >+ -e '1s|^\#![[:space:]]*/usr/bin/env python|\#!${PYTHON_CMD}|' \ >+ -e '1s|^\#![[:space:]]*/usr/bin/python|\#!${PYTHON_CMD}|' \ >+ -e 's|^python |${PYTHON_CMD} |' \ >+ -e "s|^CONFIGSPECPATH = .*|CONFIGSPECPATH = \['${PREFIX}/share/dynagen'\]|" >+ > post-install: > ${INSTALL_SCRIPT} ${WRKSRC}/dynagen ${STAGEDIR}${PREFIX}/bin > ${INSTALL_DATA} ${WRKSRC}/dynagen.ini ${STAGEDIR}${PREFIX}/etc/dynagen.ini.sample >diff -ruN ../dynagen.orig/files/patch-confConsole.py ./files/patch-confConsole.py >--- ../dynagen.orig/files/patch-confConsole.py 2014-10-01 15:33:45.000000000 +0400 >+++ ./files/patch-confConsole.py 1970-01-01 03:00:00.000000000 +0300 >@@ -1,8 +0,0 @@ >---- confConsole.py.orig 2008-06-11 14:54:32.000000000 +0400 >-+++ confConsole.py 2008-06-11 14:54:43.000000000 +0400 >-@@ -1,4 +1,4 @@ >--#!/usr/bin/python >-+#!/usr/local/bin/python >- # -*- coding: utf-8 -*- >- >- """ >diff -ruN ../dynagen.orig/files/patch-console.py ./files/patch-console.py >--- ../dynagen.orig/files/patch-console.py 2014-10-01 15:33:45.000000000 +0400 >+++ ./files/patch-console.py 1970-01-01 03:00:00.000000000 +0300 >@@ -1,8 +0,0 @@ >---- console.py.orig 2008-06-11 14:53:38.000000000 +0400 >-+++ console.py 2008-06-11 14:53:57.000000000 +0400 >-@@ -1,4 +1,4 @@ >--#!/usr/bin/python >-+#!/usr/local/bin/python >- # -*- coding: utf-8 -*- >- >- """ >diff -ruN ../dynagen.orig/files/patch-dynagen ./files/patch-dynagen >--- ../dynagen.orig/files/patch-dynagen 2014-10-01 15:33:45.000000000 +0400 >+++ ./files/patch-dynagen 1970-01-01 03:00:00.000000000 +0300 >@@ -1,17 +0,0 @@ >---- dynagen.orig 2008-06-11 11:42:34.000000000 +0400 >-+++ dynagen 2008-06-11 12:18:16.000000000 +0400 >-@@ -1,4 +1,4 @@ >--#!/usr/bin/python >-+#!/usr/local/bin/python >- # -*- coding: utf-8 -*- >- >- """ >-@@ -41,7 +41,7 @@ >- >- # Constants >- VERSION = '0.11.0' >--CONFIGSPECPATH = ['/usr/share/dynagen', '/usr/local/share'] >-+CONFIGSPECPATH = ['/usr/local/share/dynagen', '/usr/share/dynagen', '/usr/local/share'] >- CONFIGSPEC = 'configspec' >- INIPATH = ['/etc', '/usr/local/etc'] >- INIFILE = 'dynagen.ini' >diff -ruN ../dynagen.orig/files/patch-dynamips_lib.py ./files/patch-dynamips_lib.py >--- ../dynagen.orig/files/patch-dynamips_lib.py 2014-10-01 15:33:45.000000000 +0400 >+++ ./files/patch-dynamips_lib.py 1970-01-01 03:00:00.000000000 +0300 >@@ -1,8 +0,0 @@ >---- dynamips_lib.py.orig 2008-06-11 14:52:21.000000000 +0400 >-+++ dynamips_lib.py 2008-06-11 14:52:36.000000000 +0400 >-@@ -1,4 +1,4 @@ >--#!/usr/bin/python >-+#!/usr/local/bin/python >- # -*- coding: utf-8 -*- >- >- """ >diff -ruN ../dynagen.orig/files/patch-pemu_lib.py ./files/patch-pemu_lib.py >--- ../dynagen.orig/files/patch-pemu_lib.py 2014-10-01 15:33:45.000000000 +0400 >+++ ./files/patch-pemu_lib.py 1970-01-01 03:00:00.000000000 +0300 >@@ -1,8 +0,0 @@ >---- pemu_lib.py.orig 2008-06-11 14:50:50.000000000 +0400 >-+++ pemu_lib.py 2008-06-11 14:51:02.000000000 +0400 >-@@ -1,4 +1,4 @@ >--#!/usr/bin/python >-+#!/usr/local/bin/python >- # -*- coding: utf-8 -*- >- >- """
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194215
:
148057
|
149472
|
152705
|
152995
|
154615