pkgsrc/sysutils/e2fsprogs/Makefile
tron d2f2ad890f The checksum recorded for the ".tar.gz" file in this package doesn't match
the checksum on any of the master sites.

Fix thys by switching to the ".tar.xz" file which is smaller and provide a
correct checksum. I've compared the SHA256 checksum my copy of against the
one list in the file "sha256sums.asc" on the master site and they match.
2017-02-11 15:10:33 +00:00

52 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2017/02/11 15:10:33 tron Exp $
DISTNAME= e2fsprogs-1.43.4
CATEGORIES= sysutils
MASTER_SITES= https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/${DISTNAME:S/e2fsprogs-/v/}/ \
${MASTER_SITE_SOURCEFORGE:=e2fsprogs/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://e2fsprogs.sourceforge.net/
COMMENT= Second extended file system (ext2fs) management programs
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2 AND modified-bsd AND mit
GNU_CONFIGURE= yes
USE_TOOLS+= makeinfo gmake
INFO_FILES= yes
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
# Only build fsck(8) on platforms that need it.
PLIST_VARS+= fsck
.if ${OPSYS} == "Linux"
PLIST.fsck= yes
.else
CONFIGURE_ARGS+= --disable-fsck
.endif
#CONFIGURE_ARGS+= --mandir=${PREFIX}/man
EGDIR= ${PREFIX}/share/examples/ext2fs
CONF_FILES+= ${EGDIR}/mke2fs.conf ${PKG_SYSCONFDIR}/mke2fs.conf
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} root_sysconfdir=${EGDIR:Q}
SUBST_CLASSES+= man
SUBST_MESSAGE.man= Give correct path for man page
SUBST_STAGE.man= post-patch
SUBST_FILES.man+= misc/mke2fs.8.in
SUBST_FILES.man+= misc/mke2fs.conf.5.in
SUBST_FILES.man+= e2fsck/e2fsck.conf.5.in
SUBST_FILES.man+= lib/blkid/libblkid.3.in
SUBST_FILES.man+= misc/blkid.8.in
SUBST_SED.man+= -e '/mke2fs.conf/s,/etc,@root_sysconfdir@,'
SUBST_SED.man+= -e '/mke2fs.conf/s,/etc,@root_sysconfdir@,'
# next (two) path's in the man page do not exist
SUBST_SED.man+= -e '/e2fsck.conf/s,/etc,@root_sysconfdir@,'
SUBST_SED.man+= -e '/blkid.tab/s,/etc,@root_sysconfdir@,'
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"