Today, I received a mail from Kris Kennaway, he gave me a list ports of that have duplicate LATEST_LINK values. In that list, jakarta-tomcat3,4,41,5 has the same LATEST_LINK.
Here is the patches I wrote: ports/63209 & ports/63210.
分类目录归档:BSD life…我养魔鬼
[maintainer]update jakarta-tomcat5 to 5.0.19
今天看到jakarta-tomcat5出5.0.19了,连changelog都没有仔细看就先写了一个升级的Problem Report ports/63062。这次我认为一个比较大的动作就是在distinfo里面加入了SIZE这个参数,即使下载没有完全也能检查distfile是否完整。这个选项真的不错,希望能早日commit 🙂
My new pgp key
As Jan Schaumann [jschauma@netbsd.org] required in mirror-maintainers@netbsd.org , I must use pgp signed email when contact with mirrors@netbsd.org. Unfortunately, I forget the passpharse of my old pgpkey, so I have to create a new one.
Here is my public key.
update jakarta-tomcat5 to 5.0.18
1月22日提交的PR今天被commit了,简单记录一下:
Problem Report ports/61767 [maintainer]update jakarta-tomcat5 to 5.0.18
这两天总有人在水木清华BBS上写信问我tomcat5的问题,很奇怪,默认的安装也不能用,我怀疑他的jdk好像有问题,推荐他用native的1.3,希望能解决问题。
荷兰校友的作业-3
Study the tar and the gzip commands. These connamds are the UNIX (Linux) version of pkzip or arj in Dos.
Write a script which backups you’re home directory into one compressed file in a subdirectory called backup of you’re home directory.
If you like you can study at and/or cron(tab) to schedule a daily or weekly backup of you’re home directory in one file.
荷兰校友的作业-2
a) Write a script IsFilePresent which expects one parameter.
When a file is present in the current directory its output is:”File is present.” Else it’s output is: File is nto present.
Make sure the script gives a useful error if one or two or more parameters are given.
b) change the script from 4.a) so it will accept any number of parameters. (Hint: find information on the shift command).
c) Make the script of assignemnt4 b) interactively. So it will ask for a file name, state the presents of that file and ask if you want to type another filename or not.
If yes it asks for a new file name. Quit when “stop” is given as filename.
荷兰校友的作业-1
1.Write a script which displeays the amount of times you are logged in to the system (it’s possible to logon more than once).
My answer is:
#!/usr/local/sbin/bash
echo You have logged in `/usr/bin/last |grep $USER |wc -l` times.
十分简单的题目,一开始没有想明白,本来想自己实现计数器,结果忽然想起来last这个命令已经提供了记录了,对数据整形一下就能直接用。
怎样删除一个偶数行,但是让偶数行的总数保持不变
假设有一个很多行的文件,忽然发现某个带有特殊标记的偶数行和他的下面的一行是完全一样的。这种事情在一个代码里通常是不被允许出现的。
提问:现在要用某种手段删除这个偶数行,但是要保持某特殊标记在所有偶数行中出现的次数和以前一样,如何实现?:)
这是今天在看FreeBSD的routed的代码的时候发现的问题,已经提交了一个关于这个问题的报告给FreeBSD开发组织。
FreeBSD reverse proxy down…
名气大了就是有人会仿冒
今天在www.freshports.org上面无意中看到了一篇文章,说有人假冒freshports.org要求捐助。具体信息看这里
什么东西都怕出名,这年头假冒名人行骗的事情好像全世界各地都在发生。据说仿冒的那个网站以前是色情网站,后来开始直接打着freshports的旗号四处骗钱。from sweden with love ,这是Martin Gumucio在讨论中给出的标题,哈哈。