summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2013-03-14 13:03:47 +0000
committerkim <kim@pkgsrc.org>2013-03-14 13:03:47 +0000
commita99079f6f65587250cde1d533f238be274b7b24b (patch)
tree17561fbc15bd6cdc94185baacee22d04114cc60c /sysutils
parent0a807764fa32687cc9ee414846713e43ccde2f30 (diff)
downloadpkgsrc-a99079f6f65587250cde1d533f238be274b7b24b.tar.gz
Revive MASTER_SITES.
Upgrade to version 2.0: - Canonicalize x86_64 to amd64. - Canonicalize i86pc to i386. - Implement a -format option in favor of the plethora of element selectors. - Add -group, -release and -relgroup. - Use lsb_release(1) on systems with Linux kernels to determine operating system name (use the distribution ID). - Handle Fedora, Mandriva, RedHat and SuSE. - Handle Mac OS X. - Handle Cygwin (at least on XP).
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/osname/Makefile7
-rw-r--r--sysutils/osname/distinfo10
-rw-r--r--sysutils/osname/patches/patch-aa16
3 files changed, 17 insertions, 16 deletions
diff --git a/sysutils/osname/Makefile b/sysutils/osname/Makefile
index bc38a677cc7..89dd1f21906 100644
--- a/sysutils/osname/Makefile
+++ b/sysutils/osname/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2012/10/23 19:51:16 asau Exp $
+# $NetBSD: Makefile,v 1.9 2013/03/14 13:03:47 kim Exp $
#
-DISTNAME= osname-1.1
-PKGREVISION= 1
+DISTNAME= osname-2.0
CATEGORIES= sysutils
-MASTER_SITES= # ftp://ftp.gw.com/pub/people/kim/
+MASTER_SITES= http://oss.gw.com/people/kim/
MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Print canonical name of operating system
diff --git a/sysutils/osname/distinfo b/sysutils/osname/distinfo
index 596587b9632..90cc9f67c9d 100644
--- a/sysutils/osname/distinfo
+++ b/sysutils/osname/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2007/12/27 11:55:51 obache Exp $
+$NetBSD: distinfo,v 1.6 2013/03/14 13:03:47 kim Exp $
-SHA1 (osname-1.1.tar.gz) = 4faefdd1b57412805342314b540d909a3289a8ba
-RMD160 (osname-1.1.tar.gz) = e514bbe6cfd0bca3d6476c464773e592fc734fd8
-Size (osname-1.1.tar.gz) = 1531 bytes
-SHA1 (patch-aa) = e72fbefbe1ce22734aa83d5d95743c79b083b0b8
+SHA1 (osname-2.0.tar.gz) = cb0058cfd388d3fad226ec04a4e1b332b766e417
+RMD160 (osname-2.0.tar.gz) = 0c44a8c0830f297af511287a879d1bbed4587f6e
+Size (osname-2.0.tar.gz) = 6174 bytes
+SHA1 (patch-aa) = b7e40efef7a5704c68ef3cd941642711893551dc
diff --git a/sysutils/osname/patches/patch-aa b/sysutils/osname/patches/patch-aa
index 062ff618dc5..7cf75d348d8 100644
--- a/sysutils/osname/patches/patch-aa
+++ b/sysutils/osname/patches/patch-aa
@@ -1,14 +1,16 @@
-$NetBSD: patch-aa,v 1.2 2007/12/27 11:55:51 obache Exp $
+$NetBSD: patch-aa,v 1.3 2013/03/14 13:03:47 kim Exp $
---- Makefile.orig 1999-07-05 04:55:02.000000000 +0000
-+++ Makefile
-@@ -7,8 +7,8 @@ CMD=osname
- all: $(CMD)
+--- Makefile.orig 2011-09-02 03:13:28.000000000 +0300
++++ Makefile 2013-03-14 14:50:54.000000000 +0200
+@@ -23,10 +23,10 @@
+ install: install-bin install-man
- install: $(CMD)
+ install-bin: $(CMD)
- install -c $(CMD) ${PREFIX}/bin/$(CMD)
-- install -m 664 $(CMD).1 ${PREFIX}/man/man1
+ ${BSD_INSTALL_SCRIPT} $(CMD) ${DESTDIR}${PREFIX}/bin/$(CMD)
+
+ install-man:
+- install -m 664 $(CMD).1 ${PREFIX}/man/man1
+ ${BSD_INSTALL_MAN} $(CMD).1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$(CMD).1
clean: