2010-01-27 21:09:09 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2010/01/27 20:15:39 joerg Exp $
|
2002-06-04 11:56:38 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= su2-1.3
|
|
|
|
CATEGORIES= sysutils security
|
|
|
|
MASTER_SITES= ftp://ftp.ccs.neu.edu/pub/sysadmin/
|
|
|
|
|
2006-12-15 15:34:18 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-06-04 11:56:38 +02:00
|
|
|
HOMEPAGE= ftp://ftp.ccs.neu.edu/pub/sysadmin/
|
2003-07-21 19:24:16 +02:00
|
|
|
COMMENT= Enhanced su, users su with own password + more
|
2007-06-14 19:50:09 +02:00
|
|
|
LICENSE= su2-license
|
2009-05-19 10:59:00 +02:00
|
|
|
|
2010-01-27 21:09:09 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
SPECIAL_PERMS+= bin/su2 ${SETUID_ROOT_PERMS}
|
|
|
|
|
2007-06-14 19:50:09 +02:00
|
|
|
RESTRICTED= may not be sold for profit
|
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
|
2002-06-04 11:56:38 +02:00
|
|
|
NO_CONFIGURE= yes
|
|
|
|
|
2004-04-17 06:32:16 +02:00
|
|
|
SUBST_CLASSES+= preproc
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.preproc= Correcting C preprocessor directives.
|
2004-04-17 06:32:16 +02:00
|
|
|
SUBST_STAGE.preproc= post-patch
|
|
|
|
SUBST_FILES.preproc= su2.c
|
|
|
|
SUBST_SED.preproc= -e 's,^\(\# *else\).*,\1,' \
|
|
|
|
-e 's,^\(\# *endif\).*,\1,'
|
|
|
|
|
|
|
|
LDLIBS= -lcrypt
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
LDLIBS+= -lcompat
|
|
|
|
.endif
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= LDLIBS=${LDLIBS:Q}
|
2004-04-17 06:32:16 +02:00
|
|
|
|
2010-01-27 21:09:09 +01:00
|
|
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
|
|
|
|
|
2004-04-17 06:32:16 +02:00
|
|
|
post-extract:
|
|
|
|
${CHMOD} -R og+w ${WRKSRC}
|
|
|
|
|
2002-06-04 11:56:38 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|