Tag: ports

FreeBSD ports의 rails를 3.1.0으로 업데이트하기..

FreeBSD의 ports에 들어있는 rails는 3.0.10입니다. 뭐 예내들이 조금 늦는가 했습니다. 근데 대기중인 pr에도 rails 3.1.0으로 업데이트하는 pr이 없습니다.

이미 rails guide는 3.1.0으로 가있는데.. 안되는 것도 있고... 지금와서 3.0.10에서 작업할 수 는 없잖아요.

결국 몇 시간 삽질끝에 ports를 업데이트 했습니다. 역시 쉽지 않습니다. rails는 하나의 ports가 아닌 여러 ports의 집합이죠. 그래서 www/rubygems-rails만 수정한다고 되는 것이 아니죠. actionpack, activerecord, activeresource도 모두  ports에서 업데이트 해야합니다. 게다가 하다보니깐 rubygem의 ports들이 상당히 예전 버전이 많습니다. 현재하고 호환이 안되는 버전으로요... 결국 이것까지 같이 업데이트 되고~~ ^^;

오랜만에 send-pr 할거냐구요? 글쎄요.. 아직은 모르겠습니다~ 우선 몇몇 project에 적용해서 되는지 보구요..


www/wordpress-themes ports

개인적으로 사용하고 있던 wordpress-themes ports를 저는 이미 send-pr했었고 아직 approved가 안된 것으로 알고 있었습니다. 그런데 너무 오래걸린다 하고 혹시나하고 살펴보니 send-pr을 하지 않았더군요. 큭.. 이런 건망증인지..

방금 send-pr 했음


drupal6-simply_modern은 ctype이 필요하다.

제목 드래도 drupal6-simply_modern은 php  ctype 모듈이 필요함


www/drupal6-zeropoint update to 6.x-2.3

diff -ruN drupal6-zeropoint.orig/Makefile drupal6-zeropoint/Makefile
--- drupal6-zeropoint.orig/Makefile	2010-03-10 07:25:31.000000000 +0900
+++ drupal6-zeropoint/Makefile	2010-03-10 02:31:11.000000000 +0900
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	zeropoint
-DISTVERSION=	6.x-1.10
+DISTVERSION=	6.x-2.3
 CATEGORIES=	www
 
 MAINTAINER=	whitekid@gmail.com
@@ -17,7 +17,6 @@
 MODULE_DIRS=	_custom/headerimg _custom css images/all images/ink \
 		images/icons/blocks images/icons images/ivy images/lime \
 		images/nature images/sangue images/sky images js
-
 MODULE_FILES=	_custom/custom-style.css _custom/headerimg/credits.txt \
 		_custom/headerimg/ephemeral_a.jpg \
 		_custom/headerimg/ephemeral_b.jpg \
@@ -25,19 +24,21 @@
 		_custom/headerimg/ephemeral_d.jpg \
 		_custom/headerimg/ephemeral_e.jpg _custom/headerimg/rotate.php \
 		block.tpl.php box.tpl.php comment-wrapper-forum.tpl.php \
-		comment-wrapper.tpl.php comment.tpl.php css/ie6.css css/ie7.css \
-		css/iepngfix.htc css/ink.css css/ivy.css css/lime.css \
-		css/nature.css css/print.css css/round.css css/sangue.css \
-		css/sky.css css/style-zero-rtl.css css/style-zero.css \
-		favicon.ico images/all/_brand.png images/all/_sidebarimg.png \
-		images/all/fill_left.png images/all/fill_right.png \
-		images/all/forum-container.jpg images/all/forum-link.png \
-		images/all/icon-comment.png images/all/ltr_forum-container.jpg \
+		comment-wrapper.tpl.php comment.tpl.php css/ie6.css \
+		css/ie7.css css/iepngfix.htc css/ink.css css/ivy.css \
+		css/lime.css css/nature.css css/print.css css/round.css \
+		css/sangue.css css/sky.css css/style-zero-rtl.css \
+		css/style-zero.css favicon.ico images/all/_brand.png \
+		images/all/_sidebarimg.png images/all/fill_left.png \
+		images/all/fill_right.png images/all/forum-container.jpg \
+		images/all/forum-link.png images/all/icon-comment.png \
+		images/all/ltr_forum-container.jpg \
 		images/all/ltr_forum-link.png images/all/ltr_icon-comment.png \
-		images/all/ltr_menu-collapsed.png images/all/menu-collapsed.png \
-		images/all/menu-expanded.png images/all/menu-leaf.png \
-		images/all/menu-up.png images/all/spacer.gif images/arr.png \
-		images/fill_block.png images/fill_block2.png images/fill_top.png \
+		images/all/ltr_menu-collapsed.png \
+		images/all/menu-collapsed.png images/all/menu-expanded.png \
+		images/all/menu-leaf.png images/all/menu-up.png \
+		images/all/spacer.gif images/arr.png images/fill_block.png \
+		images/fill_block2.png images/fill_top.png \
 		images/fill_top_left.png images/fill_top_right.png \
 		images/icons/attach.png images/icons/blocks/icon_01_32.png \
 		images/icons/blocks/icon_01_48.png \
@@ -137,12 +138,13 @@
 		images/sky/fill_top_right.png js/preloadCssImages.jQuery_v5.js \
 		js/suckerfish.js logo.png maintenance-page.tpl.php \
 		node-product.tpl.php node-webform.tpl.php node.tpl.php \
-		page.tpl.php screenshot-drupal.org.jpg screenshot-drupal.org.png \
-		screenshot.png search-result.tpl.php search-theme-form.tpl.php \
-		template.php theme-settings.php views-view.tpl.php \
-		zeropoint.info
+		page.tpl.php screenshot-drupal.org.jpg \
+		screenshot-drupal.org.png screenshot.png search-result.tpl.php \
+		search-theme-form.tpl.php template.php theme-settings.php \
+		views-view.tpl.php zeropoint.info
 DOC_FILES=	CHANGELOG.txt LICENSE.txt README.txt
 
 .include <bsd.port.pre.mk>
 .include "${.CURDIR}/../../www/drupal5/bsd.drupal.mk"
 .include <bsd.port.post.mk>
+
diff -ruN drupal6-zeropoint.orig/distinfo drupal6-zeropoint/distinfo
--- drupal6-zeropoint.orig/distinfo	2010-03-10 07:25:31.000000000 +0900
+++ drupal6-zeropoint/distinfo	2010-03-10 02:26:33.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (drupal/zeropoint-6.x-1.10.tar.gz) = dbaa5fc01b0bc79bb5459b3dc3fe1c79
-SHA256 (drupal/zeropoint-6.x-1.10.tar.gz) = c6c5f159f0d3519dc9fa254cc9ddbaea399731de7c06ada0aa8cbeb75cca539c
-SIZE (drupal/zeropoint-6.x-1.10.tar.gz) = 384303
+MD5 (drupal/zeropoint-6.x-2.3.tar.gz) = 510bca2664e7cb13735af87b64a4f2d0
+SHA256 (drupal/zeropoint-6.x-2.3.tar.gz) = dc6eec4c57067ec98ec2b5b09187bf65383250d4fcb3cbfb79a6fd8e7dfd5adc
+SIZE (drupal/zeropoint-6.x-2.3.tar.gz) = 384299

http://www.freebsd.org/cgi/query-pr.cgi?pr=144610


www/drupal6-r4032login

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       www/drupal6-r4032login
#       www/drupal6-r4032login/Makefile
#       www/drupal6-r4032login/distinfo
#       www/drupal6-r4032login/pkg-descr
#
echo c - www/drupal6-r4032login
mkdir -p www/drupal6-r4032login > /dev/null 2>&1
echo x - www/drupal6-r4032login/Makefile
sed 's/^X//' >www/drupal6-r4032login/Makefile << '5cde0bc78d03feafc52b54f67bed9395'
X# New ports collection makefile for:   drupal6-r4032login
X# Date created:                                9 Mar 2010
X# Whom:                                        whitekid@gmail.com
X#
X# $FreeBSD$
X#
X
XPORTNAME=      r4032login
XDISTVERSION=   6.x-1.2
XCATEGORIES=    www
X
XMAINTAINER=    whitekid2gmail.com
XCOMMENT=       r4032login drupal module
X
XDRUPAL6_MODULE=        yes
XMODULE_FILES=  r4032login.module r4032login.info r4032login.install 
XMODULE_DIRS=   translations
XDOC_FILES=     README.TXT LICENSE.txt
X
X.include <bsd.port.pre.mk>
X.include "${.CURDIR}/../../www/drupal5/bsd.drupal.mk"
X.include <bsd.port.post.mk>
5cde0bc78d03feafc52b54f67bed9395
echo x - www/drupal6-r4032login/distinfo
sed 's/^X//' >www/drupal6-r4032login/distinfo << 'a6f822bd1235d42329ab9498b569e634'
XMD5 (drupal/r4032login-6.x-1.2.tar.gz) = 106cbd4e6e87d344c10f510856e70836
XSHA256 (drupal/r4032login-6.x-1.2.tar.gz) = 62c20d6d7a3126ef22e5feed5872a920f44ecfcab15d6f0883d04a6fad9e6276
XSIZE (drupal/r4032login-6.x-1.2.tar.gz) = 8868
a6f822bd1235d42329ab9498b569e634
echo x - www/drupal6-r4032login/pkg-descr
sed 's/^X//' >www/drupal6-r4032login/pkg-descr << 'f8bb830a87e7c75f347ab592e8dd9528'
XRedirect the HTTP 403 error page to the Drupal /user/login page with an
Xoptional message.
X
XWWW: http://drupal.org/project/r4032login
f8bb830a87e7c75f347ab592e8dd9528
exit

drupal themesettingsapi module

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	www/drupal6-themesettingsapi
#	www/drupal6-themesettingsapi/Makefile
#	www/drupal6-themesettingsapi/distinfo
#	www/drupal6-themesettingsapi/pkg-descr
#
echo c - www/drupal6-themesettingsapi
mkdir -p www/drupal6-themesettingsapi > /dev/null 2>&1
echo x - www/drupal6-themesettingsapi/Makefile
sed 's/^X//' >www/drupal6-themesettingsapi/Makefile << 'bcb04d505305fd2621e9906bb6352875'
X# New ports collection makefile for:	drupal6-themesettingsapi
X# Date created:				3 Mar 2010
X# Whom:					whitekid@gmail.com
X#
X# $FreeBSD$
X#
X
XPORTNAME=	themesettingsapi
XDISTVERSION=	6.x-1.4
XCATEGORIES=	www
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	Add custom settings to you theme for drupal.
X
XDRUPAL6_MODULE=	yes
XMODULE_DIRS=	translations
XMODULE_FILES=	themesettingsapi.admin.inc themesettingsapi.info \
X		themesettingsapi.module translations/de.po translations/ja.po \
X		translations/themesettingsapi.pot
XDOC_FILES=	CHANGELOG.txt README.txt LICENSE.txt
X
X.include <bsd.port.pre.mk>
X.include "${.CURDIR}/../../www/drupal5/bsd.drupal.mk"
X.include <bsd.port.post.mk>
bcb04d505305fd2621e9906bb6352875
echo x - www/drupal6-themesettingsapi/distinfo
sed 's/^X//' >www/drupal6-themesettingsapi/distinfo << '935c639b4a6c51408e999d94bc5cd788'
XMD5 (drupal/themesettingsapi-6.x-1.4.tar.gz) = a2b5b5f156ea5b571be9f87638b9f471
XSHA256 (drupal/themesettingsapi-6.x-1.4.tar.gz) = 62be4dcc9ddae6930c3e985b0b0ffbb62584c9b6652a03202ae62053218315fa
XSIZE (drupal/themesettingsapi-6.x-1.4.tar.gz) = 9855
935c639b4a6c51408e999d94bc5cd788
echo x - www/drupal6-themesettingsapi/pkg-descr
sed 's/^X//' >www/drupal6-themesettingsapi/pkg-descr << 'afe1ea8baa59a0619c70f98199a10a5f'
XPathauto is a Drupal module which automatically generates path aliases for
Xvarious kinds of content (nodes, categories, users) without requiring the
Xuser to manually specify the path alias.
X
XWWW: http://drupal.org/project/pathauto
afe1ea8baa59a0619c70f98199a10a5f
exit

some drupal modules to update

www/drupal6-print

  • PDF 생성을 위해서 http://tcpdf.sourceforge.net/가 필요하다.
  • 근데 이게 한글이 될까? 폰트도 없는데... 음 우선 해보고..
diff -ruN drupal6-print.orig/Makefile drupal6-print/Makefile
--- drupal6-print.orig/Makefile	2010-02-05 20:44:48.000000000 +0900
+++ drupal6-print/Makefile	2010-03-03 00:36:38.000000000 +0900
@@ -5,8 +5,7 @@
 # $FreeBSD: ports/www/drupal6-print/Makefile,v 1.2 2010/02/05 11:44:48 dinoex Exp $

 PORTNAME=	print
-DISTVERSION=	6.x-1.0-rc5
-PORTREVISION=	1
+DISTVERSION=	6.x-1.10
 CATEGORIES=	www
 MASTER_SITES=	http://ftp.drupal.org/files/projects/

@@ -14,14 +13,17 @@
 COMMENT=	Drupal 6 module that add printer-friendly pages

 DRUPAL6_MODULE=	yes
-MODULE_DIRS=	icons translations
+MODULE_DIRS=	css icons print_mail print_pdf translations
 MODULE_FILES=	icons/mail_icon.gif icons/pdf_icon.gif icons/print_icon.gif \
-		print-rtl.css print.admin.inc print.css print.info \
-		print.install print.module print.pages.inc print.pdf.inc \
-		print.tpl.php print_mail.admin.inc print_mail.inc \
-		print_mail.info print_mail.install print_mail.module \
-		print_pdf.admin.inc print_pdf.info print_pdf.install \
-		print_pdf.module \
+		css/print-rtl.css css/print.css css/printlinks-rtl.css css/printlinks.css \
+		print.admin.inc print.info print.install print.module \
+		print.pages.inc print.tpl.php README.txt \
+		print_mail/print_mail.admin.inc print_mail/print_mail.inc \
+		print_mail/print_mail.info print_mail/print_mail.install \
+		print_mail/print_mail.module print_pdf/print_pdf.admin.inc \
+		print_pdf/print_pdf.class.inc print_pdf/print_pdf.class_php4.inc \
+		print_pdf/print_pdf.info print_pdf/print_pdf.install \
+		print_pdf/print_pdf.module print_pdf/print_pdf.pages.inc \
 		translations/print.pot translations/ca.po \
 		translations/cs.po translations/da.po translations/de.po \
 		translations/es.po translations/fi.po translations/fr.po \
@@ -30,7 +32,7 @@
 		translations/pl.po translations/pt-br.po \
 		translations/pt-pt.po translations/ro.po \
 		translations/ru.po translations/sk.po translations/sv.po \
-		translations/tr.po translations/uk.po
+		translations/tr.po translations/uk.po translations/vi.po
 DOC_FILES=	CHANGELOG.txt CREDITS.txt INSTALL.txt \
 		LICENSE.txt MAINTAINERS.txt README.txt

diff -ruN drupal6-print.orig/distinfo drupal6-print/distinfo
--- drupal6-print.orig/distinfo	2008-08-02 22:58:10.000000000 +0900
+++ drupal6-print/distinfo	2010-03-03 00:11:12.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (drupal/print-6.x-1.0-rc5.tar.gz) = cbf6e9cfbed672cc58fca3d9821714d1
-SHA256 (drupal/print-6.x-1.0-rc5.tar.gz) = e2ed21a3ed96f4f41114fcab94a334cd261c1dfbe07c24faf0df15bd64fbb3b1
-SIZE (drupal/print-6.x-1.0-rc5.tar.gz) = 71435
+MD5 (drupal/print-6.x-1.10.tar.gz) = 93ef2b851df2cb47082fd605a309cdeb
+SHA256 (drupal/print-6.x-1.10.tar.gz) = 74f0a54ad85519d919226c44212a49f56724dbde696ceea0d54f0539c3ffd6b8
+SIZE (drupal/print-6.x-1.10.tar.gz) = 163040

www/drupal6-pathauto

diff -ruN drupal6-pathauto.orig/Makefile drupal6-pathauto/Makefile
--- drupal6-pathauto.orig/Makefile	2010-02-05 20:44:48.000000000 +0900
+++ drupal6-pathauto/Makefile	2010-03-03 01:00:35.000000000 +0900
@@ -6,8 +6,7 @@
 #

 PORTNAME=	pathauto
-DISTVERSION=	6.x-1.2
-PORTREVISION=	1
+DISTVERSION=	6.x-1.3
 CATEGORIES=	www

 MAINTAINER=	nick@foobar.org
diff -ruN drupal6-pathauto.orig/distinfo drupal6-pathauto/distinfo
--- drupal6-pathauto.orig/distinfo	2009-12-26 04:51:28.000000000 +0900
+++ drupal6-pathauto/distinfo	2010-03-03 01:00:38.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (drupal/pathauto-6.x-1.2.tar.gz) = e27d8578aa485a68e9cc48d150d24dcc
-SHA256 (drupal/pathauto-6.x-1.2.tar.gz) = a475f57b39a017c990d696c7b9e1ef9384904e0b7ae3e85497c85130f9ebc6cb
-SIZE (drupal/pathauto-6.x-1.2.tar.gz) = 127507
+MD5 (drupal/pathauto-6.x-1.3.tar.gz) = 9d612b248ba1de5887ee52b69cbd1ad3
+SHA256 (drupal/pathauto-6.x-1.3.tar.gz) = e0adbc6629649b171b6f2c79a7d27b7f6317eed8db4773a3999d86dbcdb50732
+SIZE (drupal/pathauto-6.x-1.3.tar.gz) = 138251

www/wordpress-themes ports

WordPress를 블로그로 사용하는 것을 검토하면서(동시에 Drupal도 검토하지만) 테마가 ports에 없군요. ports없는 설치는 FreBSD에서는 정말 참기 힘들 일이어서 간단하게 만들어 봅니다.

처음엔 간단히 하다가... 다음 기능들을 추가하다가 점점 복잡하게 되어버렸다.

  • pkg-plist 자동 생성
  • wordpress-mu 지원
  • 배포 파일에 숫자가 들어간것(P2, Greek Park 2) DISTFILES 처리

소스는 여기로 http://www.woosum.net/ports/www/wordpress-themes


  • Copyright © 1996-2010 Your wish is my command. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress