mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Update to 0.8
- Introduce OPTIONS PR: ports/65765 Submitted by: Xavier Beaudouin <kiwi@oav.net> (maintainer)
This commit is contained in:
parent
d835d30faa
commit
51a533fbd2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107680
3 changed files with 56 additions and 10 deletions
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= libhome
|
PORTNAME= libhome
|
||||||
PORTVERSION= 0.7.1
|
PORTVERSION= 0.8
|
||||||
CATEGORIES= misc
|
CATEGORIES= misc
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= pll
|
MASTER_SITE_SUBDIR= pll
|
||||||
|
@ -14,21 +14,62 @@ MASTER_SITE_SUBDIR= pll
|
||||||
MAINTAINER= kiwi@oav.net
|
MAINTAINER= kiwi@oav.net
|
||||||
COMMENT= Library providing a getpwname() emulation
|
COMMENT= Library providing a getpwname() emulation
|
||||||
|
|
||||||
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21-client \
|
OPTIONS+= LDAP "Support for LDAP queries" on
|
||||||
mysqlclient:${PORTSDIR}/databases/mysql323-client \
|
OPTIONS+= MYSQL "Support for MySQL queries" on
|
||||||
db3.3:${PORTSDIR}/databases/db3
|
OPTIONS+= DB3 "Support for DB3" on
|
||||||
|
OPTIONS+= DB4 "Support for DB4" off
|
||||||
|
OPTIONS+= PAM "Support for PAM (Experimental)" off
|
||||||
|
|
||||||
|
HAS_CONFIGURE= yes
|
||||||
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if defined(WITH_DB3) && defined(WITH_DB4)
|
||||||
|
.error You cannot use DB3 and DB4 in the same time.
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if !defined(WITHOUT_LDAP)
|
||||||
|
USE_OPENLDAP= yes
|
||||||
|
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}/include
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --without-ldap
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if !defined(WITHOUT_MYSQL)
|
||||||
|
USE_MYSQL= yes
|
||||||
|
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}/include/mysql
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --without-mysql
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if !defined(WITHOUT_DB3)
|
||||||
|
LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3
|
||||||
|
CONFIGURE_ARGS+= --with-db3=${LOCALBASE}/include/db3 --without-db4
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --without-db3
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_DB4)
|
||||||
|
LIB_DEPENDS+= db4:${PORTSDIR}/databases/db4
|
||||||
|
CONFIGURE_ARGS+= --with-db4=${LOCALBASE}/include/db4 --without-db3
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --without-db4
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_PAM)
|
||||||
|
CONFIGURE_ARGS+= --with-pam
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --without-pam
|
||||||
|
.endif
|
||||||
|
|
||||||
GNU_CONFIGURE= YES
|
GNU_CONFIGURE= YES
|
||||||
CONFIGURE_ARGS= --with-db3=${LOCALBASE}/include/db3 --without-db4 \
|
|
||||||
--with-ldap=${LOCALBASE}/include \
|
|
||||||
--with-mysql=${LOCALBASE}/include/mysql
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" prefix="${PREFIX}" home_finger
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" prefix="${PREFIX}" home_finger
|
||||||
|
|
||||||
MAN5= home.conf.5
|
MAN5= home.conf.5
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/home_finger ${PREFIX}/bin
|
|
||||||
${INSTALL_DATA} ${WRKSRC}/home.conf ${PREFIX}/etc/home.conf.dist
|
${INSTALL_DATA} ${WRKSRC}/home.conf ${PREFIX}/etc/home.conf.dist
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
MD5 (libhome-0.7.1.tar.gz) = 8047114e6795758c95be8bd2a007fe3c
|
MD5 (libhome-0.8.tar.gz) = e1f17acbceb22400695a8aec80a8fe16
|
||||||
|
SIZE (libhome-0.8.tar.gz) = 254400
|
||||||
SIZE (libhome-0.7.1.tar.gz) = 75288
|
SIZE (libhome-0.7.1.tar.gz) = 75288
|
||||||
|
|
|
@ -7,3 +7,7 @@ include/home/hpwd.h
|
||||||
include/home/pwd.h
|
include/home/pwd.h
|
||||||
@dirrm include/home
|
@dirrm include/home
|
||||||
lib/libhome.a
|
lib/libhome.a
|
||||||
|
lib/libhome.so
|
||||||
|
lib/libhome.so.1
|
||||||
|
lib/libhome-preload.so
|
||||||
|
lib/libhome-preload.so.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue