pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Me first Makefile for Openssh5.9



Hello Together
Try for build me "own" Makefile for openssh5.9 building and Install are 
running, but i don't know if it's realy Ok... please for any info.

To Build me own Makefile i start with url2pkg and alot from Makefile 
pkgsrc/security/openssh

And i don't know from where i can take or findout this following information.
>CONFLICTS=              sftp-[0-9]*
>CONFLICTS+=             ssh-[0-9]* ssh6-[0-9]*
>CONFLICTS+=             ssh2-[0-9]* ssh2-nox11-[0-9]*
>CONFLICTS+=             openssh+gssapi-[0-9]*
>CONFLICTS+=             lsh>2.0

Thanks for any Help and Info
Mauri

Makefile for OpenSSH5.9
# $NetBSD$
#
DISTNAME=               openssh-5.9p1
PKGNAME=                openssh-5.9.1
PKGREVISION=            1
SVR4_PKGNAME=           ossh
CATEGORIES=             security
MASTER_SITES=           ftp://ftp.openssh.com/pub/OpenBSD/OpenSSH/portable/

HOMEPAGE=               www.openssh.com

CONFLICTS=              sftp-[0-9]*
CONFLICTS+=             ssh-[0-9]* ssh6-[0-9]*
CONFLICTS+=             ssh2-[0-9]* ssh2-nox11-[0-9]*
CONFLICTS+=             openssh+gssapi-[0-9]*
CONFLICTS+=             lsh>2.0

USE_TOOLS+=             perl
CRYPTO=                 yes

BUILD_DEFS+=            IPV6_READY
PKG_GROUPS_VARS+=       OPENSSH_GROUP
PKG_USERS_VARS+=        OPENSSH_USER
BUILD_DEFS+=            OPENSSH_CHROOT
BUILD_DEFS+=            VARBASE

INSTALL_TARGET=         install-nokeys

PKG_DESTDIR_SUPPORT=    user-destdir
SSH_PID_DIR=            ${VARBASE}/run  # default directory for PID files

PKG_SYSCONFSUBDIR=      ssh

GNU_CONFIGURE=          yes
CONFIGURE_ARGS+=        --with-mantype=man
CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+=        --with-pid-dir=${SSH_PID_DIR:Q}
CONFIGURE_ARGS+=        --with-ssl-dir=/usr/lib/
CONFIGURE_ARGS+=        --with-tcp-wrappers=${BUILDLINK_PREFIX.tcp_wrappers}

.include "options.mk"

PKG_GROUPS=             ${OPENSSH_GROUP}
PKG_USERS=              ${OPENSSH_USER}:${OPENSSH_GROUP}

PKG_GECOS.${OPENSSH_USER}=      sshd privsep pseudo-user
PKG_HOME.${OPENSSH_USER}=       ${OPENSSH_CHROOT}


.if (${OPSYS} == "NetBSD")
.  if exists(/usr/include/utmpx.h)
# if we have utmpx al do not try to use login()
CONFIGURE_ARGS+=        --disable-libutil
.  endif
#
# NetBSD current after 2011/03/12 has incompatible strnvis(3) and
# prior version don't have it.  So, disable use of strnvis(3) now.
CONFIGURE_ENV+=         ac_cv_func_strnvis=no
.endif

# url2pkg-marker (please do not remove this line.)
.include "../../mk/bsd.pkg.mk"

-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                          
        
Jetzt informieren: http://www.gmx.net/de/go/freephone/


Home | Main Index | Thread Index | Old Index