#14948 closed submission (fixed)
NEW: idutils
Reported by: | yanjingfeng@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | raimue (Rainer Müller) | |
Port: |
Description
Just for opening case. I finished testing the Portfile and wondering whether I should do binary test for the port.
# $Id$ PortSystem 1.0 name id-utils version 4.0 categories devel maintainers nomaintainer description The classic Berkeley gid/lid tools for looking up variables in code long_description `mkid' is a simple, fast, high-capacity, language-independent \ identifier database tool. Actually, the term `identifier' is too \ limiting--`mkid' stores tokens, be they program identifiers of any \ form, literal numbers, or words of human-readable text. Database \ queries can be issued from the command-line, or from within emacs, \ serving as an augmented tags facility. \ \ `mkid' was originally written by Greg McGary <gkm@gnu.ai.mit.edu> \ and posted to comp.sources.unix in September 1987. It was then \ maintained and enhanced by a loose knit group of programmers on the \ Internet led by Tom Horsley <Tom.Horsley@mail.hcsc.com>. Tom released \ `mkid2' on comp.sources.unix in March, 1991. Since then, Greg McGary \ has resumed maintenance and is releasing an improved version 3 under GPL.\ \ Version 3 is an interim release. Version 4 will follow in the coming \ months and include a cscope clone plus other improvements. This \ version is an improved version of version 3 (which hasn't been updated \ since 1996!), it now understands C++. homepage http://www.gnu.org/software/idutils/ platforms darwin master_sites ftp://alpha.gnu.org/pub/gnu/idutils/ \ ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/idutils/ \ ftp://ftp.lublin.pl/mirror/alpha.gnu.org/gnu/idutils/ \ ftp://ftp.ps.pl/mirrors/alpha.gnu.org/pub/gnu/idutils/ distname ${name}-${version} extract.suffix .tar.gz checksums md5 2053522dab62f2286579eecf2d0252e9 \ sha1 a6e821f211e9f52a5c237fb2efc52df5c6fc010c \ rmd160 83f90048ee02a7b6ce097faeebf5c3db16c09594 worksrcdir ${name}-${version} depends_lib port:gettext \ port:gmake \ port:libiconv configure.args --prefix=${prefix} \ --infodir=${prefix}/share/info
Attachments (5)
Change History (22)
comment:1 Changed 17 years ago by raimue (Rainer Müller)
Summary: | Port Submission → NEW: idutils |
---|
comment:2 Changed 17 years ago by yanjingfeng@…
The current work is based on FreeBSD port tree and use the most of their information. I am also working on the new version. (just have something in hand as start point). I agree that the name changed from id-utils to idutils.
Changed 17 years ago by yanjingfeng@…
Attachment: | idutils_Portfile added |
---|
comment:3 Changed 17 years ago by yanjingfeng@…
update to GNU id utils 4.2.
4,5c4,5 < name id-utils < version 4.0 --- > name idutils > version 4.2 31,34c31 < master_sites ftp://alpha.gnu.org/pub/gnu/idutils/ \ < ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/idutils/ \ < ftp://ftp.lublin.pl/mirror/alpha.gnu.org/gnu/idutils/ \ < ftp://ftp.ps.pl/mirrors/alpha.gnu.org/pub/gnu/idutils/ --- > master_sites ftp://ftp.gnu.org/gnu/idutils/ 38,40c35,37 < checksums md5 2053522dab62f2286579eecf2d0252e9 \ < sha1 a6e821f211e9f52a5c237fb2efc52df5c6fc010c \ < rmd160 83f90048ee02a7b6ce097faeebf5c3db16c09594 --- > checksums md5 4bbd2cb0d566ab29e41088cc028ad710 \ > sha1 306f6e296768d494d771777647c04c8ceed66c1f \ > rmd160 cddc6ac3d26f8a836a4d8c5d7111b4439095abe8
comment:4 follow-up: 6 Changed 17 years ago by raimue (Rainer Müller)
Cc: | raimue@… added |
---|
Looks good. May I add you as a maintainer to this port?
comment:5 follow-up: 7 Changed 17 years ago by jmroot (Joshua Root)
As Rainer mentioned earlier, you should use the GNU mirror group by setting master_sites to 'gnu' rather than 'ftp://ftp.gnu.org/gnu/idutils/'.
comment:6 Changed 17 years ago by yanjingfeng@…
Replying to raimue@macports.org:
Looks good. May I add you as a maintainer to this port?
I would like to maintain it. Thanks.
comment:7 Changed 17 years ago by yanjingfeng@…
Replying to jmr@macports.org:
As Rainer mentioned earlier, you should use the GNU mirror group by setting master_sites to 'gnu' rather than 'ftp://ftp.gnu.org/gnu/idutils/'.
I will update the sites issue. Thank you for reminder.
Changed 17 years ago by yanjingfeng@…
Attachment: | Portfile.2 added |
---|
comment:8 Changed 17 years ago by yanjingfeng@…
diff idutils_Portfile Portfile.2 7c7 < maintainers nomaintainer --- > maintainers yanjingfeng@hotmail.com 31c31 < master_sites ftp://ftp.gnu.org/gnu/idutils/ --- > master_sites gnu
comment:9 follow-up: 10 Changed 17 years ago by raimue (Rainer Müller)
The gid
binary conflicts with the coreutils port. How should we deal with this?
comment:10 follow-up: 11 Changed 17 years ago by yanjingfeng@…
Replying to raimue@macports.org:
The
gid
binary conflicts with the coreutils port. How should we deal with this?
gid binary is shell scrip to run "lid -R grep" in id-utils.
(1) If I rename the gid, I will change other lisp files and document to users. These slip file may use "M-x gid" or "M-l" to run gid. The worst case is idutils.vim distributed from vim.org, we cam modify that. (2) Any possible put coreutils binary to ${PREFIX}/sbin (it can be viewed as system admin tools).
comment:11 follow-up: 12 Changed 17 years ago by yanjingfeng@…
(too many typos for last post. I click wrong button to submit)
'gid' binary is shell scrip to run "lid -R grep" in id-utils.
(1) If I rename the gid, I will change other relevant lisp files and documentation. The emacs users will exploit the lisp file to use command "M-x gid" or "M-l" to run gid. However, coming to vim/vi users. the worst case is idutils.vim distributed from vim.org, we can not modify that to ensure it can find right thing.
(2) I am wondering any possible to put "coreutils" binary to ${PREFIX}/sbin (it seems that "coreutils" can be viewed as system admin tools).
Thanks.
comment:12 Changed 17 years ago by yanjingfeng@…
Correct myself:
vim.org idutils.vim doesn't use gid directly. I am working on change gid to be gID (in my working company, they renamed it to be gid32). If any other good naming, please let me know.
Jingfeng
comment:13 follow-up: 14 Changed 17 years ago by raimue (Rainer Müller)
That won't work. The default on Mac OS X for HFS+ is case-insensitive. So gid and gID will be the same file.
Changed 17 years ago by yanjingfeng@…
Changed 17 years ago by yanjingfeng@…
Attachment: | patch-lisp-idutils.el added |
---|
Changed 17 years ago by yanjingfeng@…
Attachment: | patch-src-Makefile.in added |
---|
comment:14 Changed 17 years ago by yanjingfeng@…
Replying to raimue@macports.org:
That won't work. The default on Mac OS X for HFS+ is case-insensitive. So gid and gID will be the same file.
The gid is changed to gid32 and dutils.el file is modified based on the name change. Update the Portfile and provide two patch files.
comment:15 Changed 17 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed in r36369.
comment:16 Changed 16 years ago by jmroot (Joshua Root)
Type: | enhancement → submission |
---|
comment:17 Changed 16 years ago by (none)
Milestone: | Port Submissions |
---|
Milestone Port Submissions deleted
The mirror site contains already version 4.2, why did you not use it? Also, it seems to be named
idutils
notid-utils
upstream. Use the gnu mirror group for fetching, likemaster_sites gnu
.