|
Lines 1-8
Link Here
|
| 1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
| 2 |
|
2 |
|
| 3 |
PORTNAME= libpwquality |
3 |
PORTNAME= libpwquality |
| 4 |
PORTVERSION= 1.2.4 |
4 |
PORTVERSION= 1.3.0 |
| 5 |
PORTREVISION= 1 |
|
|
| 6 |
CATEGORIES= security |
5 |
CATEGORIES= security |
| 7 |
MASTER_SITES= https://fedorahosted.org/releases/l/i/libpwquality/ |
6 |
MASTER_SITES= https://fedorahosted.org/releases/l/i/libpwquality/ |
| 8 |
|
7 |
|
|
Lines 9-14
MASTER_SITES= https://fedorahosted.org/releases/l/
Link Here
|
| 9 |
MAINTAINER= gnome@FreeBSD.org |
8 |
MAINTAINER= gnome@FreeBSD.org |
| 10 |
COMMENT= Library for generating random passwords and quality checking |
9 |
COMMENT= Library for generating random passwords and quality checking |
| 11 |
|
10 |
|
|
|
11 |
LICENSE= BSD3CLAUSE GPLv2+ |
| 12 |
LICENSE_COMB= dual |
| 13 |
|
| 12 |
LIB_DEPENDS= libcrack.so:security/cracklib |
14 |
LIB_DEPENDS= libcrack.so:security/cracklib |
| 13 |
|
15 |
|
| 14 |
USES= gettext gmake libtool pathfix tar:bzip2 |
16 |
USES= gettext gmake libtool pathfix tar:bzip2 |
|
Lines 16-21
USE_GNOME= intltool
Link Here
|
| 16 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
| 17 |
USE_LDCONFIG= yes |
19 |
USE_LDCONFIG= yes |
| 18 |
CONFIGURE_ARGS+=--disable-pam |
20 |
CONFIGURE_ARGS+=--disable-pam |
|
|
21 |
CPPFLAGS+= -DPWQUALITY_DEFAULT_CFGFILE='\"${ETCDIR}/pwquality.conf\"' |
| 19 |
CPPFLAGS+= -I${LOCALBASE}/include |
22 |
CPPFLAGS+= -I${LOCALBASE}/include |
| 20 |
LDFLAGS+= -L${LOCALBASE}/lib |
23 |
LDFLAGS+= -L${LOCALBASE}/lib |
| 21 |
INSTALL_TARGET= install-strip |
24 |
INSTALL_TARGET= install-strip |
|
Lines 28-34
PYTHON_BUILD_DEPENDS= python:lang/python
Link Here
|
| 28 |
PYTHON_CONFIGURE_ENABLE= python-bindings |
31 |
PYTHON_CONFIGURE_ENABLE= python-bindings |
| 29 |
|
32 |
|
| 30 |
post-patch: |
33 |
post-patch: |
|
|
34 |
@${REINPLACE_CMD} -e 's|/etc/security|${ETCDIR}|g' \ |
| 35 |
${WRKSRC}/doc/man/*.? |
| 31 |
@${REINPLACE_CMD} -e 's|python setup.py build|${PYTHON_VERSION} setup.py build|g' \ |
36 |
@${REINPLACE_CMD} -e 's|python setup.py build|${PYTHON_VERSION} setup.py build|g' \ |
| 32 |
${WRKSRC}/python/Makefile.in |
37 |
${WRKSRC}/python/Makefile.in |
| 33 |
|
38 |
|
|
|
39 |
post-install: |
| 40 |
@${MKDIR} ${STAGEDIR}${ETCDIR} |
| 41 |
${INSTALL_DATA} ${WRKSRC}/src/pwquality.conf \ |
| 42 |
${STAGEDIR}${ETCDIR}/pwquality.conf.sample |
| 43 |
|
| 34 |
.include <bsd.port.mk> |
44 |
.include <bsd.port.mk> |