You are not logged in.

#1 2007-01-08 18:58:18

nullvar
Member
From: USA
Registered: 2003-03-10
Posts: 16

pam_krb5: My first PKGBUILD

How does this look?

# Contributor: Paul Miller <nullvar>

pkgname=pam-krb5
pkgver=3.1
pkgrel=1
pkgdesc="A PAM module providing Kerberos v5 support."
url="http://www.eyrie.org/~eagle/software/pam-krb5/"
license="custom:License.txt"
depends=('heimdal' 'pam')
source=("http://archives.eyrie.org/software/kerberos/$pkgname-$pkgver.tar.gz")
md5sums=('d401031ef1bdd8ef9a7754427c9c40b7')

build() {
    cd $startdir/src/$pkgname-$pkgver

    ./configure --with-kerberos=/usr
    make
    install -D -m755 pam_krb5.so $startdir/pkg/lib/security/pam_krb5.so
    install -D -m644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/License.txt
}

namcap on the PKGBUILD gave me:

PKGBUILD (pam-krb5)  W: Missing Maintainer tag
PKGBUILD (pam-krb5)  W: Missing CVS Id tag

which is just for official packages, correct?

namcap on the tarball returned nothing.


May the Schwartz be with you.

Offline

#2 2007-01-08 20:03:43

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: pam_krb5: My first PKGBUILD

For the license field, just use:
license="custom"

The namcap output is OK. These warnings are for official packages only.

Offline

#3 2007-01-09 16:43:10

nullvar
Member
From: USA
Registered: 2003-03-10
Posts: 16

Re: pam_krb5: My first PKGBUILD

Cool. Thanks.


May the Schwartz be with you.

Offline

Board footer

Powered by FluxBB