diff --git a/srcpkgs/mkpasswd b/srcpkgs/mkpasswd new file mode 120000 index 00000000000..2c656a9178a --- /dev/null +++ b/srcpkgs/mkpasswd @@ -0,0 +1 @@ +whois \ No newline at end of file diff --git a/srcpkgs/whois/template b/srcpkgs/whois/template index 18e28c70bba..5d3fc5a5a7d 100644 --- a/srcpkgs/whois/template +++ b/srcpkgs/whois/template @@ -1,7 +1,7 @@ # Template file for 'whois' pkgname=whois version=5.5.1 -revision=1 +revision=2 wrksrc=whois hostmakedepends="perl pkg-config" makedepends="libidn2-devel" @@ -25,3 +25,13 @@ do_install() { mv ${DESTDIR}/usr/bin/{whois,gwhois} mv ${DESTDIR}/usr/share/man/man1/{whois,gwhois}.1 } + +mkpasswd_package() { + short_desc="Feature-rich front end to crypt(3) password encryption" + alternatives="mkpasswd:mkpasswd:/usr/bin/gmkpasswd + mkpasswd:mkpasswd.1:/usr/share/man/man1/gmkpasswd.1" + pkg_install() { + vbin mkpasswd gmkpasswd + vman mkpasswd.1 gmkpasswd.1 + } +}