トップ «前の日記(2009-09-11(金)) 最新 次の日記(2009-09-13(日))» 編集

とた日記


2009-09-12(土) 雨 安静時心拍数 58 [長年日記]

_ tDiary関連のports更新

なんとか作業終了です。mentorのmaho@さんには結構時間を割いてもらったと思います。恐縮です。

あとはjapanese/bugzillaがobsoleteなのでrmportすれば完了かな。それに伴ってdevel/bugzillaなどにあるCONFLICTSを消すためにメンテナのskv@さんに連絡メールを投げたのですが返事が未だに返ってきません。念のためspamとして引っ掛かったのも探してみましたがなありませんでした。まぁ、黙っていてもmiwi@さんが消してくれるような気がしますが、自分で作ったものは自分の手で葬り去りたいものです。復活するとすればjapanese/bugzilla-jaという形になります。russian/bugzilla-ruと同じように。

_ /usr/ports/Tools/script/addport を使ってみた

まずは念のため作業前のお掃除をば。

# cd /usr/ports/japanese
# find tdiary-devel -name CVS | xargs rm -rf
# find tdiary-devel -name ".git*" | xargs rm -rf

次に -n オプションで動作の確認

# /usr/ports/Tools/scripts/addport -n -u tota -d tdiary-devel
Working with port directory /usr/ports/japanese/tdiary-devel.
We're ready to commit.
Source directory: /usr/ports/japanese/tdiary-devel
Target CVS Repo directory: ports/japanese/tdiary-devel
Adding port tdiary-devel to japanese OK? y
Enter passphrase for key '/root/.ssh/id_dsa':
U ports_japanese/Makefile
U ports_japanese/Makefile.inc
Enter passphrase for key '/root/.ssh/id_dsa':
Directory /home/pcvs/ports/japanese/tdiary-devel added to the repository
Enter passphrase for key '/root/.ssh/id_dsa':
cvs add: cannot open CVS/Entries for reading: No such file or directory
cvs [add aborted]: no repository
/usr/ports/Tools/scripts/addport: cvs add for files failed, aborting.

最後に本番

# /usr/ports/Tools/scripts/addport -u tota -d tdiary-devel
Working with port directory /usr/ports/japanese/tdiary-devel.
We're ready to commit.
Source directory: /usr/ports/japanese/tdiary-devel
Target CVS Repo directory: ports/japanese/tdiary-devel
Adding port tdiary-devel to japanese OK? y
Enter passphrase for key '/root/.ssh/id_dsa':
U ports_japanese/Makefile
U ports_japanese/Makefile.inc
Enter passphrase for key '/root/.ssh/id_dsa':
? tdiary-devel/Makefile
Directory /home/pcvs/ports/japanese/tdiary-devel added to the repository
Enter passphrase for key '/root/.ssh/id_dsa':
cvs add: use 'cvs commit' to add this file permanently
Inserting new port into japanese/Makefile...
9288
    SUBDIR += teTeX
9315
Enter passphrase for key '/root/.ssh/id_dsa':
- Add new port japanese/tdiary-devel at 2.3.3
 
Approved by:    maho (mentor)
CVS: ----------------------------------------------------------------------
CVS: PR:              Fill this in if a GNATS PR is affected by the change.
CVS: Submitted by:    Fill this in if someone else sent in the change.
CVS: Reviewed by:     Fill this in if someone else reviewed your modification.
CVS: Approved by:     Fill this in if you needed approval for this commit.
CVS: Obtained from:   Fill this in if the change is from third party software.
CVS: MFC after:       N [day[s]|week[s]|month[s]]
CVS:    Fill in to get MFC notification later. (days assumed unless specified)
CVS: Security:        vulnerability reference or description
CVS:    If the change is related to a security vulnerability, include one or
CVS:    more references (e.g. CVE names, VuXML IDs, URLs) or a description
CVS:    of the issue.  Please use one `Security:' entry per reference.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:    Makefile
CVS: Added Files:
/tmp/cvsvCywkD: 25 lines, 1274 characters.
Checking in Makefile;
/home/pcvs/ports/japanese/Makefile,v  <--  Makefile
new revision: 1.722; previous revision: 1.721
done
More commits to come...
RCS file: /home/pcvs/ports/japanese/tdiary-devel/Makefile,v
done
Checking in tdiary-devel/Makefile;
/home/pcvs/ports/japanese/tdiary-devel/Makefile,v  <--  Makefile
initial revision: 1.1
done
Mailing the commit message to 'xxx@mail.example.org yyy@mail.example.org zzz@mail.examle.org'.
You're done! The new port tdiary-devel has been completely imported in
the tree. Don't forget to add the creator's name and email address to
the Contributors' List if they are not already there. To do this, edit
doc/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml.