Index: head/misc/e2fsprogs-libuuid/Makefile =================================================================== --- head/misc/e2fsprogs-libuuid/Makefile (revision 492095) +++ head/misc/e2fsprogs-libuuid/Makefile (revision 492096) @@ -1,50 +1,50 @@ # Created by: Matthias Andree # $FreeBSD$ -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= misc devel PKGNAMESUFFIX= -libuuid COMMENT= UUID library from e2fsprogs package LICENSE= BSD3CLAUSE LICENSE_FILE= ${INSTALL_WRKSRC}/COPYING CONFIGURE_ARGS= --enable-elf-shlibs --enable-libuuid OPTIONS_EXCLUDE= NLS MASTERDIR= ${.CURDIR}/../../sysutils/e2fsprogs MAKE_ARGS= LIB_SUBDIRS=lib/uuid USE_LDCONFIG= yes ALL_TARGET= libs INSTALL_TARGET= install install-shlibs INSTALL_WRKSRC= ${WRKSRC}/lib/uuid FILESDIR= ${.CURDIR}/files USE_RC_SUBR= uuidd PKGDIR= ${.CURDIR} post-patch:: ${REINPLACE_CMD} -e 's,/var/lib/libuuid,/var/run/libuuid,g' \ -e 's,/usr/sbin/uuidd,${PREFIX}/sbin/uuidd,' \ ${WRKSRC}/lib/uuid/*.[ch] pre-build: ${MKDIR} ${WRKSRC}/lib/uuid/elfshared cd ${WRKSRC}/util && ${MAKE_CMD} subst # ulimit guards against runaway tests # failure to launch uuidd is fine (one might be running, or we may lack # privileges); if it works, it'll quit after 50 seconds post-build: cd ${WRKSRC}/misc && ${MAKE_CMD} uuidgen uuidgen.1 uuidd uuidd.8 cd ${INSTALL_WRKSRC} && ( ulimit -t 5 && ${MAKE_CMD} check ) post-install: ${INSTALL_PROGRAM} ${WRKSRC}/misc/uuidgen ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/misc/uuidgen.1 ${STAGEDIR}${MAN8PREFIX}/man/man1/ ${INSTALL_PROGRAM} ${WRKSRC}/misc/uuidd ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/misc/uuidd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/ ${MKDIR} ${STAGEDIR}/var/run/libuuid .include "${MASTERDIR}/Makefile" Index: head/misc/e2fsprogs-libuuid/files/uuidd.in =================================================================== --- head/misc/e2fsprogs-libuuid/files/uuidd.in (revision 492095) +++ head/misc/e2fsprogs-libuuid/files/uuidd.in (revision 492096) @@ -1,27 +1,27 @@ #!/bin/sh # # rcNG script to start uuidd at boot-time on rcNG-enabled systems, # such as FreeBSD. Note: Starting uuidd at boot-time is not strictly # necessary, the library will - as of 1.41.5 - silently launch an # instance of uuidd that exits after 300 seconds; for most accurate # time-based uuids generated from unprivileged user accounts it may be # useful to run it system-wide. # # (C) 2008, 2009 by Matthias Andree. # Licensed under the modified (= 2-clause) BSD license. # PROVIDE: uuidd -# REQUIRE: FILESYSTEMS +# REQUIRE: FILESYSTEMS ldconfig # BEFORE: DAEMON . /etc/rc.subr name="uuidd" rcvar=uuidd_enable command="%%PREFIX%%/sbin/uuidd" procname="${command}" : ${uuidd_enable="NO"} load_rc_config $name run_rc_command "$1"