ports/65765: [MAINTAINER] misc/libhome: update to 0.8

Xavier Beaudouin kiwi at oav.net
Mon Apr 19 13:30:19 UTC 2004


>Number:         65765
>Category:       ports
>Synopsis:       [MAINTAINER] misc/libhome: update to 0.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 19 06:30:18 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Xavier Beaudouin
>Release:        FreeBSD 5.2.1-RELEASE-p3 i386
>Organization:
The Caudium Group / Association Kazar
>Environment:
System: FreeBSD domu.oav.net 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #0: Thu Mar 18 12:25:33 CET 2004
>Description:
- Update to 0.8
- Added options
- Added Pam support

Libhome changelog :
== version 0.8

  * use libtool

  * Major dynamic library version 1

  * compile and install home_finger by default

  * remove some useless code

  * add "pures" configuration option
    may be used to add some daemon accounts

  * add libhome-preload.so
    may be used with LD_PRELOAD on dynamic executables
    (ligthly tested with sshd and smbd)

== Version 0.7.2

   * compile with -Wall

   * don't assume ${mandir}, ${bindir} exists. Fail if not.



Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- libhome-0.8.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/misc/libhome.old/Makefile /usr/ports/misc/libhome/Makefile
--- /usr/ports/misc/libhome.old/Makefile	Mon Mar  8 16:37:06 2004
+++ /usr/ports/misc/libhome/Makefile	Mon Apr 19 15:25:58 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	libhome
-PORTVERSION=	0.7.1
+PORTVERSION=	0.8
 CATEGORIES=	misc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	pll
@@ -14,21 +14,62 @@
 MAINTAINER=	kiwi at oav.net
 COMMENT=	Library providing a getpwname() emulation
 
-LIB_DEPENDS+=	ldap:${PORTSDIR}/net/openldap21-client \
-		mysqlclient:${PORTSDIR}/databases/mysql323-client \
-		db3.3:${PORTSDIR}/databases/db3
+OPTIONS+=	LDAP "Support for LDAP queries" on
+OPTIONS+=	MYSQL "Support for MySQL queries" on
+OPTIONS+=	DB3 "Support for DB3" on
+OPTIONS+=	DB3 "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(WITH_LDAP)
+USE_OPENLDAP=	yes
+CONFIGURE_ARGS+=	--with-ldap=${LOCALBASE}/include
+.else
+CONFIGURE_ARGS+=	--without-ldap
+.endif
+
+.if defined(WITH_MYSQL)
+USE_MYSQL=	yes
+CONFIGURE_ARGS+=	--with-mysql=${LOCALBASE}/include/mysql
+.else
+CONFIGURE_ARGS+=	--without-mysql
+.endif
+
+.if defined(WITH_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
-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}
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" prefix="${PREFIX}" home_finger
 
 MAN5=		home.conf.5
 
 post-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/home_finger ${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/home.conf ${PREFIX}/etc/home.conf.dist
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/misc/libhome.old/distinfo /usr/ports/misc/libhome/distinfo
--- /usr/ports/misc/libhome.old/distinfo	Mon Mar  8 16:37:06 2004
+++ /usr/ports/misc/libhome/distinfo	Mon Apr 19 14:49:47 2004
@@ -1 +1,2 @@
-MD5 (libhome-0.7.1.tar.gz) = 8047114e6795758c95be8bd2a007fe3c
+MD5 (libhome-0.8.tar.gz) = e1f17acbceb22400695a8aec80a8fe16
+SIZE (libhome-0.8.tar.gz) = 254400
diff -ruN --exclude=CVS /usr/ports/misc/libhome.old/pkg-plist /usr/ports/misc/libhome/pkg-plist
--- /usr/ports/misc/libhome.old/pkg-plist	Mon Mar  8 16:37:06 2004
+++ /usr/ports/misc/libhome/pkg-plist	Mon Apr 19 15:12:22 2004
@@ -7,3 +7,7 @@
 include/home/pwd.h
 @dirrm include/home
 lib/libhome.a
+lib/libhome.so
+lib/libhome.so.1
+lib/libhome-preload.so
+lib/libhome-preload.so.1
--- libhome-0.8.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list