FreeBSD Bugzilla – Attachment 74082 Details for
Bug 107240
[PATCH] www/linkchecker: update to 4.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
linkchecker-4.6.patch
linkchecker-4.6.patch (text/plain), 5.53 KB, created by
Li-Wen Hsu
on 2006-12-27 13:10:20 UTC
(
hide
)
Description:
linkchecker-4.6.patch
Filename:
MIME Type:
Creator:
Li-Wen Hsu
Created:
2006-12-27 13:10:20 UTC
Size:
5.53 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/www/linkchecker/Makefile /home/lwhsu/ports/www/linkchecker/Makefile >--- /usr/ports/www/linkchecker/Makefile Fri Nov 3 21:14:59 2006 >+++ /home/lwhsu/ports/www/linkchecker/Makefile Wed Dec 27 21:02:51 2006 >@@ -7,8 +7,8 @@ > # > > PORTNAME= linkchecker >-PORTVERSION= 4.5 >-CATEGORIES= www >+PORTVERSION= 4.6 >+CATEGORIES= www python > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} > >@@ -17,13 +17,32 @@ > > USE_PYTHON= 2.4 > USE_PYDISTUTILS= yes >+ > MAN1= linkchecker.1 >+MANLANG= "" de fr >+ >+.if !defined(WITHOUT_NLS) >+USE_GETTEXT= yes >+PLIST_SUB+= NLS="" >+.else >+PLIST_SUB+= NLS="@comment " >+.endif > > .include <bsd.port.pre.mk> > >-.if ${OSVERSION} < 500000 > post-patch: >+.if ${OSVERSION} < 500000 > @${REINPLACE_CMD} -e 's/gnu99/gnu89/' ${WRKSRC}/setup.py >+.endif >+.if !defined(WITHOUT_NLS) >+ @cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/nls-patch-setup.py >+.endif >+ >+.if !defined(WITHOUT_NLS) >+post-install: >+ ${CP} ${WRKSRC}/build/share/locale/de/LC_MESSAGES/linkchecker.mo ${LOCALBASE}/share/locale/de/LC_MESSAGES/ >+ ${CP} ${WRKSRC}/build/share/locale/es/LC_MESSAGES/linkchecker.mo ${LOCALBASE}/share/locale/es/LC_MESSAGES/ >+ ${CP} ${WRKSRC}/build/share/locale/fr/LC_MESSAGES/linkchecker.mo ${LOCALBASE}/share/locale/fr/LC_MESSAGES/ > .endif > > .include <bsd.port.post.mk> >diff -ruN --exclude=CVS /usr/ports/www/linkchecker/distinfo /home/lwhsu/ports/www/linkchecker/distinfo >--- /usr/ports/www/linkchecker/distinfo Fri Nov 3 21:14:59 2006 >+++ /home/lwhsu/ports/www/linkchecker/distinfo Wed Dec 27 21:02:51 2006 >@@ -1,3 +1,3 @@ >-MD5 (linkchecker-4.5.tar.gz) = 88685a632dd33d3e0dc852e87a9a1c23 >-SHA256 (linkchecker-4.5.tar.gz) = 292882c5ef7fd1d053b2aaa8e139862b7cf07d7e3b8e69d6c98074a6eb7be2d3 >-SIZE (linkchecker-4.5.tar.gz) = 604680 >+MD5 (linkchecker-4.6.tar.gz) = 310a8fce39ef502687d4f6e0d771899d >+SHA256 (linkchecker-4.6.tar.gz) = e65df696bd1a65934ee4982fc363943b6c1a200a95e2d428c23f89d3f2a4cd87 >+SIZE (linkchecker-4.6.tar.gz) = 607101 >diff -ruN --exclude=CVS /usr/ports/www/linkchecker/files/nls-patch-setup.py /home/lwhsu/ports/www/linkchecker/files/nls-patch-setup.py >--- /usr/ports/www/linkchecker/files/nls-patch-setup.py Thu Jan 1 08:00:00 1970 >+++ /home/lwhsu/ports/www/linkchecker/files/nls-patch-setup.py Wed Dec 27 21:02:51 2006 >@@ -0,0 +1,11 @@ >+--- setup.py Wed Dec 27 12:28:29 2006 >++++ setup.py.nls Wed Dec 27 12:28:04 2006 >+@@ -500,6 +500,8 @@ >+ >+ if os.name == 'posix': >+ data_files.append(('man/man1', ['doc/en/linkchecker.1'])) >++ data_files.append(('man/de/man1', ['doc/de/linkchecker.1'])) >++ data_files.append(('man/fr/man1', ['doc/fr/linkchecker.1'])) >+ data_files.append(('share/examples/linkchecker', >+ ['config/linkchecker-completion', >+ 'doc/examples/check_blacklist.sh', >diff -ruN --exclude=CVS /usr/ports/www/linkchecker/files/patch-setup.py /home/lwhsu/ports/www/linkchecker/files/patch-setup.py >--- /usr/ports/www/linkchecker/files/patch-setup.py Fri Nov 3 21:15:00 2006 >+++ /home/lwhsu/ports/www/linkchecker/files/patch-setup.py Wed Dec 27 21:02:51 2006 >@@ -1,5 +1,5 @@ >---- setup.py.orig Fri Sep 22 12:15:34 2006 >-+++ setup.py Fri Nov 3 12:18:45 2006 >+--- setup.py.orig Tue Nov 21 17:49:07 2006 >++++ setup.py Wed Dec 27 12:28:29 2006 > @@ -471,7 +471,6 @@ > # windows does not have unistd.h > define_macros.append(('YY_NO_UNISTD_H', None)) >@@ -27,6 +27,6 @@ > - data_files.append(('share/linkchecker/examples', > + data_files.append(('man/man1', ['doc/en/linkchecker.1'])) > + data_files.append(('share/examples/linkchecker', >- ['config/linkchecker-completion', 'config/linkcheck-cron.sh'])) >- elif win_compiling: >- data_files.append(('share/linkchecker/doc', >+ ['config/linkchecker-completion', >+ 'doc/examples/check_blacklist.sh', >+ 'doc/examples/check_for_x_errors.sh', >diff -ruN --exclude=CVS /usr/ports/www/linkchecker/pkg-plist /home/lwhsu/ports/www/linkchecker/pkg-plist >--- /usr/ports/www/linkchecker/pkg-plist Fri Nov 3 21:14:59 2006 >+++ /home/lwhsu/ports/www/linkchecker/pkg-plist Wed Dec 27 21:02:51 2006 >@@ -2,6 +2,9 @@ > %%DATADIR%%/linkcheckerrc > %%DATADIR%%/logging.conf > %%EXAMPLESDIR%%/check.js >+%%EXAMPLESDIR%%/check_blacklist.sh >+%%EXAMPLESDIR%%/check_for_x_errors.sh >+%%EXAMPLESDIR%%/check_urls.sh > %%EXAMPLESDIR%%/index.html > %%EXAMPLESDIR%%/lc.cgi > %%EXAMPLESDIR%%/lc.fcgi >@@ -9,7 +12,6 @@ > %%EXAMPLESDIR%%/lc_cgi.html.en > %%EXAMPLESDIR%%/leer.html.de > %%EXAMPLESDIR%%/leer.html.en >-%%EXAMPLESDIR%%/linkcheck-cron.sh > %%EXAMPLESDIR%%/linkchecker-completion > %%PYTHON_SITELIBDIR%%/_linkchecker_configdata.py > %%PYTHON_SITELIBDIR%%/linkcheck/HtmlParser/__init__.py >@@ -337,6 +339,9 @@ > %%PYTHON_SITELIBDIR%%/linkcheck/dns/zone.py > %%PYTHON_SITELIBDIR%%/linkcheck/dns/zone.pyc > %%PYTHON_SITELIBDIR%%/linkcheck/dns/zone.pyo >+%%PYTHON_SITELIBDIR%%/linkcheck/dummy.py >+%%PYTHON_SITELIBDIR%%/linkcheck/dummy.pyc >+%%PYTHON_SITELIBDIR%%/linkcheck/dummy.pyo > %%PYTHON_SITELIBDIR%%/linkcheck/fcgi.py > %%PYTHON_SITELIBDIR%%/linkcheck/fcgi.pyc > %%PYTHON_SITELIBDIR%%/linkcheck/fcgi.pyo >@@ -442,3 +447,12 @@ > @dirrm %%PYTHON_SITELIBDIR%%/linkcheck/ftpparse > @dirrm %%PYTHON_SITELIBDIR%%/linkcheck/logger > @dirrm %%PYTHON_SITELIBDIR%%/linkcheck >+%%NLS%%share/locale/de/LC_MESSAGES/linkchecker.mo >+%%NLS%%share/locale/es/LC_MESSAGES/linkchecker.mo >+%%NLS%%share/locale/fr/LC_MESSAGES/linkchecker.mo >+%%NLS%%@dirrmtry share/locale/fr/LC_MESSAGES >+%%NLS%%@dirrmtry share/locale/fr >+%%NLS%%@dirrmtry share/locale/es/LC_MESSAGES >+%%NLS%%@dirrmtry share/locale/es >+%%NLS%%@dirrmtry share/locale/de/LC_MESSAGES >+%%NLS%%@dirrmtry share/locale/de
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 107240
: 74082