New package(s): {whois,mkpasswd}-5.0.19.

This commit is contained in:
davehome 2012-09-30 04:12:58 -06:00
parent 020a8ed55e
commit 6a1753929c
5 changed files with 49 additions and 0 deletions

1
srcpkgs/mkpasswd Symbolic link
View file

@ -0,0 +1 @@
whois

View file

@ -0,0 +1,2 @@
libcrypt.so.1
libc.so.6

View file

@ -0,0 +1,15 @@
# Template file for 'mkpasswd'.
#
depends="mkpasswd"
short_desc="An interface to crypt(3) to generate random passwords"
long_desc="
mkpasswd generates passwords and can (optionally) apply them automatically to
users. mkpasswd is based on the code from Chapter 23 of the OReilly book:
Exploring Expect"
do_install()
{
vmove usr/bin/mkpasswd usr/bin
vmove usr/share/man/man1/mkpasswd.1 usr/share/man/man1
vinstall COPYING 644 usr/share/licenses/${pkgname}
}

30
srcpkgs/whois/template Normal file
View file

@ -0,0 +1,30 @@
# Template file for 'whois'
pkgname=whois
version=5.0.19
revision=1
build_style=gnu-makefile
make_install_args="prefix=/usr BASEDIR=${XBPS_DESTDIR}/${pkgname}-${version} install-whois"
makedepends="perl libidn-devel"
short_desc="The whois client by Marco d Itri"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.linux.it/~md/software"
license="GPL-2"
distfiles="http://ftp.debian.org/debian/pool/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
checksum=6fc08910aefe10c3855e12eb400e8b8d5d5c7cf174bd716baf191e3a2d25854a
long_desc="
whois is an improved whois client. It is part of Debian, Mandriva, SuSE, PLD
and other Linux distributions."
do_build() {
# This is needed to set CFLAGS properly
make ${makejobs} prefix=/usr CFLAGS="${XBPS_CFLAGS}" HAVE_LIBIDN=1
}
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
# for some reason, the mkpasswd utility is part of this pkg, so I split it out
subpackages="mkpasswd"

View file

@ -0,0 +1 @@
libc.so.6