Update e2fsprogs to 1.42.7, and rename the library back to libuuid now

that ossp-uuid (devel/uuid) has been changed to use the alternative name
libossp-uuid as used on various other OS. When third party software
wants a uuid library, is is nearly always the one from e2fsprogs,
so let's avoid patching for the common case.

e2fsprogs has its own libcom_err (slightly different API to heimdal);
previously we installed this under an alternative name; in this update
I have changed to statically linking this instead as it is not used
externally. The et/com_err.h header is no longer installed to avoid
ports picking it up in preference to the proper heimdal header for
this library in kerberosV/com_err.h.

Fallout will be handled in the next couple of commits.

ok ajacoutot@
This commit is contained in:
sthen 2013-06-21 22:35:51 +00:00
parent ffaa1a2b14
commit 2ae7734e12
28 changed files with 165 additions and 1893 deletions

View File

@ -1,16 +1,14 @@
# $OpenBSD: Makefile,v 1.28 2013/03/11 11:41:30 espie Exp $
# $OpenBSD: Makefile,v 1.29 2013/06/21 22:35:51 sthen Exp $
COMMENT= utilities to manipulate ext2 filesystems
DISTNAME= e2fsprogs-1.41.4
REVISION= 8
DISTNAME= e2fsprogs-1.42.7
CATEGORIES= sysutils devel
SHARED_LIBS= blkid 0.0 \
e2p 3.0 \
ext2fs 3.0 \
ext2fs_com_err 3.0 \
ss 3.0 \
e2fs-uuid 0.0
e2p 3.1 \
ext2fs 3.1 \
ss 3.1 \
uuid 14.0
HOMEPAGE= http://e2fsprogs.sourceforge.net/
@ -24,18 +22,18 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=e2fsprogs/}
MODULES= devel/gettext
SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.69
CONFIGURE_ARGS+= --enable-elf-shlibs --disable-tls
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -D_EXT2_USE_C_VERSIONS_"
USE_GMAKE= Yes
USE_GROFF= Yes
MAKE_FLAGS= LIBblkid_VERSION=${LIBblkid_VERSION} \
MAKE_FLAGS= V=1 \
LIBblkid_VERSION=${LIBblkid_VERSION} \
LIBe2p_VERSION=${LIBe2p_VERSION} \
LIBext2fs_VERSION=${LIBext2fs_VERSION} \
LIBext2fs_com_err_VERSION=${LIBext2fs_com_err_VERSION} \
LIBss_VERSION=${LIBss_VERSION} \
LIBe2fs-uuid_VERSION=${LIBe2fs-uuid_VERSION}
LIBuuid_VERSION=${LIBuuid_VERSION}
FAKE_FLAGS= root_sysconfdir=${PREFIX}/share/examples/e2fsprogs
@ -44,6 +42,13 @@ INSTALL_TARGET= install install-libs
post-install:
cd ${PREFIX}/sbin && mv fsck fsck_ext2fs
cd ${PREFIX}/man/man8 && mv fsck.8 fsck_ext2fs.8
cd ${PREFIX}/man/man3 && mv uuid.3 e2fs-uuid.3
cd ${PREFIX}; rm -f lib/libcom_err.* lib/pkgconfig/com_err.pc \
include/com_err.h include/et/com_err.h bin/compile_et \
man/man1/compile_et.1 man/man3/com_err.3
rmdir ${PREFIX}/include/et
pre-test:
printf '#!/bin/sh\nexec /bin/md5 $$*\n' > ${WRKDIR}/bin/md5sum
chmod +x ${WRKDIR}/bin/md5sum
.include <bsd.port.mk>

View File

@ -1,5 +1,2 @@
MD5 (e2fsprogs-1.41.4.tar.gz) = WQMziN82mH0rnJu/fhm9Vw==
RMD160 (e2fsprogs-1.41.4.tar.gz) = 2h938KQaAEe4a/VAv7SEYi79ef0=
SHA1 (e2fsprogs-1.41.4.tar.gz) = VdoUW857Akq2CapKb8i+gaK7NJA=
SHA256 (e2fsprogs-1.41.4.tar.gz) = LMEP7isprdc35FTrY0UTE1s0pjj3yisYNkhk/giQINw=
SIZE (e2fsprogs-1.41.4.tar.gz) = 4389512
SHA256 (e2fsprogs-1.42.7.tar.gz) = 3GUBsuddIF5CUZbXU9krEpxWhSXYqtCAhcCqae6ec0U=
SIZE (e2fsprogs-1.42.7.tar.gz) = 5981006

View File

@ -1,57 +1,25 @@
$OpenBSD: patch-MCONFIG_in,v 1.3 2010/04/03 11:53:58 kili Exp $
--- MCONFIG.in.orig Sat Nov 15 18:17:22 2008
+++ MCONFIG.in Fri Apr 2 21:44:32 2010
@@ -70,34 +70,40 @@ MKINSTALLDIRS = @MKINSTALLDIRS@
# Library definitions
$OpenBSD: patch-MCONFIG_in,v 1.4 2013/06/21 22:35:51 sthen Exp $
Statically link against e2fsprogs libcom_err to avoid the need to install it.
Avoids conflict with libcom_err from kerberosV.
--- MCONFIG.in.orig Wed Jun 19 15:04:08 2013
+++ MCONFIG.in Wed Jun 19 15:04:57 2013
@@ -89,7 +89,7 @@ MKINSTALLDIRS = @MKINSTALLDIRS@
#
LIB = $(top_builddir)/lib
-LIBSS = $(LIB)/libss@LIB_EXT@ @PRIVATE_LIBS_CMT@ @DLOPEN_LIB@
LIBSS = $(LIB)/libss@LIB_EXT@ @PRIVATE_LIBS_CMT@ @DLOPEN_LIB@
-LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@ @PRIVATE_LIBS_CMT@ @SEM_INIT_LIB@
-LIBE2P = $(LIB)/libe2p@LIB_EXT@
-LIBEXT2FS = $(LIB)/libext2fs@LIB_EXT@
-LIBUUID = $(LIB)/libuuid@LIB_EXT@ @SOCKET_LIB@
-LIBBLKID = $(LIB)/libblkid@LIB_EXT@ @PRIVATE_LIBS_CMT@ $(LIBUUID)
+LIBSS = -L$(LIB) -lss
+LIBCOM_ERR = -L$(LIB) -lext2fs_com_err
+LIBE2P = -L$(LIB) -le2p
+LIBEXT2FS = -L$(LIB) -lext2fs
+LIBUUID = -L$(LIB) -le2fs-uuid @SOCKET_LIB@
+LIBBLKID = -L$(LIB) -lblkid $(LIBUUID)
+LIBCOM_ERR = $(LIB)/libcom_err@STATIC_LIB_EXT@ @SEM_INIT_LIB@
LIBE2P = $(LIB)/libe2p@LIB_EXT@
LIBEXT2FS = $(LIB)/libext2fs@LIB_EXT@
LIBUUID = @LIBUUID@ @SOCKET_LIB@
@@ -97,7 +97,7 @@ LIBQUOTA = @STATIC_LIBQUOTA@
LIBBLKID = @LIBBLKID@ @PRIVATE_LIBS_CMT@ $(LIBUUID)
LIBINTL = @LIBINTL@
DEPLIBSS = $(LIB)/libss@LIB_EXT@
-DEPLIBUUID = $(LIB)/libuuid@LIB_EXT@
+DEPLIBE2P= $(LIB)/libe2p@LIB_EXT@
+DEPLIBEXT2FS= $(LIB)/libext2fs@LIB_EXT@
+DEPLIBCOM_ERR= $(LIB)/libext2fs_com_err@LIB_EXT@
+DEPLIBUUID = $(LIB)/libe2fs-uuid@LIB_EXT@
DEPLIBBLKID = $(LIB)/libblkid@LIB_EXT@ @PRIVATE_LIBS_CMT@ $(LIBUUID)
STATIC_LIBSS = $(LIB)/libss@STATIC_LIB_EXT@ @DLOPEN_LIB@
-STATIC_LIBCOM_ERR = $(LIB)/libcom_err@STATIC_LIB_EXT@ @SEM_INIT_LIB@
+STATIC_LIBCOM_ERR = $(LIB)/libext2fs_com_err@STATIC_LIB_EXT@ @SEM_INIT_LIB@
STATIC_LIBE2P = $(LIB)/libe2p@STATIC_LIB_EXT@
STATIC_LIBEXT2FS = $(LIB)/libext2fs@STATIC_LIB_EXT@
-STATIC_LIBUUID = $(LIB)/libuuid@STATIC_LIB_EXT@ @SOCKET_LIB@
+STATIC_LIBUUID = $(LIB)/libe2fs-uuid@STATIC_LIB_EXT@ @SOCKET_LIB@
STATIC_LIBBLKID = $(LIB)/libblkid@STATIC_LIB_EXT@ $(STATIC_LIBUUID)
+DEPSTATIC_LIBEXT2FS= $(LIB)/libext2fs@STATIC_LIB_EXT@
+DEPSTATIC_LIBE2P= $(LIB)/libe2p@STATIC_LIB_EXT@
+DEPSTATIC_LIBCOM_ERR= $(LIB)/libext2fs_com_err@STATIC_LIB_EXT@
DEPSTATIC_LIBSS = $(LIB)/libss@STATIC_LIB_EXT@
-DEPSTATIC_LIBUUID = $(LIB)/libuuid@STATIC_LIB_EXT@
+DEPSTATIC_LIBUUID = $(LIB)/libe2fs-uuid@STATIC_LIB_EXT@
DEPSTATIC_LIBBLKID = $(LIB)/libblkid@STATIC_LIB_EXT@
PROFILED_LIBSS = $(LIB)/libss@PROFILED_LIB_EXT@ @DLOPEN_LIB@
-PROFILED_LIBCOM_ERR = $(LIB)/libcom_err@PROFILED_LIB_EXT@ @SEM_INIT_LIB@
+PROFILED_LIBCOM_ERR = $(LIB)/libext2fs_com_err@PROFILED_LIB_EXT@ @SEM_INIT_LIB@
PROFILED_LIBE2P = $(LIB)/libe2p@PROFILED_LIB_EXT@
PROFILED_LIBEXT2FS = $(LIB)/libext2fs@PROFILED_LIB_EXT@
-PROFILED_LIBUUID = $(LIB)/libuuid@PROFILED_LIB_EXT@ @SOCKET_LIB@
+PROFILED_LIBUUID = $(LIB)/libe2fs-uuid@PROFILED_LIB_EXT@ @SOCKET_LIB@
PROFILED_LIBBLKID = $(LIB)/libblkid@PROFILED_LIB_EXT@ $(PROFILED_LIBUUID)
-DEPPROFILED_LIBUUID = $(LIB)/libuuid@PROFILED_LIB_EXT@
+DEPPROFILED_LIBUUID = $(LIB)/libe2fs-uuid@PROFILED_LIB_EXT@
DEPPROFILED_LIBBLKID = $(LIB)/libblkid@PROFILED_LIB_EXT@
# An include directive pointing to a directory holding enough linux-like
-DEPLIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@
+DEPLIBCOM_ERR = $(LIB)/libcom_err@STATIC_LIB_EXT@
DEPLIBUUID = @DEPLIBUUID@
DEPLIBQUOTA = @DEPSTATIC_LIBQUOTA@
DEPLIBBLKID = @DEPLIBBLKID@ @PRIVATE_LIBS_CMT@ $(DEPLIBUUID)

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-configure,v 1.1 2009/03/15 19:59:31 landry Exp $
--- configure.orig Wed Mar 11 18:05:17 2009
+++ configure Wed Mar 11 18:06:11 2009
@@ -16312,7 +16312,7 @@ HAVE_POSIX_PRINTF!$HAVE_POSIX_PRINTF$ac_delim
HAVE_ASPRINTF!$HAVE_ASPRINTF$ac_delim
HAVE_SNPRINTF!$HAVE_SNPRINTF$ac_delim
HAVE_WPRINTF!$HAVE_WPRINTF$ac_delim
-LIBICONV!$LIBICONV$ac_delim
+LIBICONV!$LTLIBICONV$ac_delim
LTLIBICONV!$LTLIBICONV$ac_delim
INTLBISON!$INTLBISON$ac_delim
BUILD_INCLUDED_LIBINTL!$BUILD_INCLUDED_LIBINTL$ac_delim
@@ -16324,7 +16324,7 @@ GENCAT!$GENCAT$ac_delim
INTLOBJS!$INTLOBJS$ac_delim
INTL_LIBTOOL_SUFFIX_PREFIX!$INTL_LIBTOOL_SUFFIX_PREFIX$ac_delim
INTLLIBS!$INTLLIBS$ac_delim
-LIBINTL!$LIBINTL$ac_delim
+LIBINTL!$LTLIBINTL$ac_delim
LTLIBINTL!$LTLIBINTL$ac_delim
POSUB!$POSUB$ac_delim
BINARY_TYPE!$BINARY_TYPE$ac_delim

View File

@ -1,60 +0,0 @@
$OpenBSD: patch-debugfs_Makefile_in,v 1.4 2009/03/15 19:59:31 landry Exp $
--- debugfs/Makefile.in.orig Wed Jun 18 05:53:42 2008
+++ debugfs/Makefile.in Sun Feb 22 11:52:07 2009
@@ -26,47 +26,39 @@ SRCS= debug_cmds.c $(srcdir)/debugfs.c $(srcdir)/util.
LIBS= $(LIBEXT2FS) $(LIBE2P) $(LIBSS) $(LIBCOM_ERR) $(LIBBLKID) \
$(LIBUUID)
-DEPLIBS= $(LIBEXT2FS) $(LIBE2P) $(DEPLIBSS) $(LIBCOM_ERR) $(DEPLIBBLKID) $(DEPLIBUUID)
+DEPLIBS= $(DEPLIBEXT2FS) $(DEPLIBE2P) $(DEPLIBSS) $(DEPLIBCOM_ERR) $(DEPDEPLIBBLKID) $(DEPLIBUUID)
.c.o:
- @echo " CC $<"
- @$(CC) -c $(ALL_CFLAGS) $< -o $@
+ $(CC) -c $(ALL_CFLAGS) $< -o $@
all:: $(PROGS) $(MANPAGES)
debugfs: $(DEBUG_OBJS) $(DEPLIBS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o debugfs $(DEBUG_OBJS) $(LIBS)
+ $(CC) $(ALL_LDFLAGS) -o debugfs $(DEBUG_OBJS) $(LIBS)
debug_cmds.c debug_cmds.h: debug_cmds.ct
- @echo " MK_CMDS $@"
- @$(MK_CMDS) $(srcdir)/debug_cmds.ct
+ $(MK_CMDS) $(srcdir)/debug_cmds.ct
debugfs.8: $(DEP_SUBSTITUTE) $(srcdir)/debugfs.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/debugfs.8.in debugfs.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/debugfs.8.in debugfs.8
installdirs:
- @echo " MKINSTALLDIRS $(root_sbindir) $(man8dir)"
- @$(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
+ $(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
$(DESTDIR)$(man8dir)
install: $(PROGS) $(MANPAGES) installdirs
- @for i in $(PROGS); do \
- echo " INSTALL $(root_sbindir)/$$i"; \
+ for i in $(PROGS); do \
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
done
- @for i in $(MANPAGES); do \
+ for i in $(MANPAGES); do \
for j in $(COMPRESS_EXT); do \
$(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
done; \
- echo " INSTALL_DATA $(man8dir)/$$i"; \
$(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
done
install-strip: install
- @for i in $(PROGS); do \
- echo " STRIP $(root_sbindir)/$$i"; \
+ for i in $(PROGS); do \
$(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
done

View File

@ -1,40 +1,24 @@
$OpenBSD: patch-doc_Makefile_in,v 1.2 2009/03/15 19:59:31 landry Exp $
--- doc/Makefile.in.orig Mon May 26 01:52:27 2008
+++ doc/Makefile.in Sun Feb 22 12:08:54 2009
@@ -16,29 +16,23 @@ DVIPS=dvips -o "$@"
INFO=@MAKEINFO@
HTML=texi2html
$OpenBSD: patch-doc_Makefile_in,v 1.3 2013/06/21 22:35:51 sthen Exp $
--- doc/Makefile.in.orig Tue Jan 8 16:00:07 2013
+++ doc/Makefile.in Wed Jun 19 14:25:06 2013
@@ -17,9 +17,9 @@ INFO=@MAKEINFO@
HTML=texi2html -split_chapter
PS2PDF=ps2pdf
-all:: libext2fs.info libext2fs.dvi
+all:: libext2fs.info
-install-doc-libs: libext2fs.info libext2fs.dvi
- @$(RM) -rf $(DESTDIR)$(infodir)/libext2fs.info*
- @echo " MKINSTALLDIRS $(infodir)"
- @$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
- -@for i in libext2fs.info* ; do \
- echo " INSTALL_DATA $(infodir)/$$i" ; \
+install-doc-libs: libext2fs.info
+ $(RM) -rf $(DESTDIR)$(infodir)/libext2fs.info*
+ $(MKINSTALLDIRS) $(DESTDIR)$(infodir)
+ for i in libext2fs.info* ; do \
$(Q) $(RM) -rf $(DESTDIR)$(infodir)/libext2fs.info*
$(E) " MKINSTALLDIRS $(infodir)"
$(Q) $(MKINSTALLDIRS) $(DESTDIR)$(infodir)
@@ -27,8 +27,6 @@ install-doc-libs: libext2fs.info libext2fs.dvi
echo " INSTALL_DATA $(infodir)/$$i" ; \
$(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i ; \
done
- @echo " GZIP $(infodir)/libext2fs.info*"
- -@gzip -9 $(DESTDIR)$(infodir)/libext2fs.info*
- $(E) " GZIP $(infodir)/libext2fs.info*"
- -$(Q) gzip -9 $(DESTDIR)$(infodir)/libext2fs.info*
uninstall-doc-libs:
$(RM) -rf $(DESTDIR)$(infodir)/libext2fs.info*
libext2fs.info: $(srcdir)/libext2fs.texinfo
- @echo " MAKEINFO $@"
- -@$(INFO) $(srcdir)/libext2fs.texinfo
+ $(INFO) $(srcdir)/libext2fs.texinfo
libext2fs.dvi: $(srcdir)/libext2fs.texinfo
- @echo " TEXI2DVI $@"
- -@$(DVI) $(srcdir)/libext2fs.texinfo
+ $(DVI) $(srcdir)/libext2fs.texinfo
.PHONY: distclean
distclean:: clean

View File

@ -1,183 +0,0 @@
$OpenBSD: patch-e2fsck_Makefile_in,v 1.3 2009/03/15 19:59:31 landry Exp $
--- e2fsck/Makefile.in.orig Sat Nov 15 05:19:57 2008
+++ e2fsck/Makefile.in Sun Feb 22 12:44:42 2009
@@ -17,7 +17,7 @@ FMANPAGES= e2fsck.conf.5
XTRA_CFLAGS= -DRESOURCE_TRACK -I.
LIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBBLKID) $(LIBUUID) $(LIBINTL) $(LIBE2P)
-DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR) $(DEPLIBBLKID) $(DEPLIBUUID) $(DEPLIBE2P)
+DEPLIBS= $(DEPLIBEXT2FS) $(DEPLIBCOM_ERR) $(DEPLIBBLKID) $(DEPLIBUUID) $(DEPLIBE2P)
STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) $(STATIC_LIBBLKID) \
$(STATIC_LIBUUID) $(LIBINTL) $(STATIC_LIBE2P)
@@ -32,8 +32,7 @@ PROFILED_DEPLIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIB
COMPILE_ET=$(top_builddir)/lib/et/compile_et --build-tree
.c.o:
- @echo " CC $<"
- @$(CC) -c $(ALL_CFLAGS) $< -o $@
+ $(CC) -c $(ALL_CFLAGS) $< -o $@
@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
#
@@ -109,43 +108,35 @@ all:: profiled $(PROGS) e2fsck $(MANPAGES) $(FMANPAGES
@PROFILE_CMT@all:: e2fsck.profiled
prof_err.c prof_err.h: prof_err.et
- @echo " COMPILE_ET prof_err.et"
- @$(COMPILE_ET) $(srcdir)/prof_err.et
+ $(COMPILE_ET) $(srcdir)/prof_err.et
e2fsck: $(OBJS) $(DEPLIBS)
- @echo " LD $@"
- @$(LD) $(ALL_LDFLAGS) -o e2fsck $(OBJS) $(LIBS)
+ $(LD) $(ALL_LDFLAGS) -o e2fsck $(OBJS) $(LIBS)
e2fsck.static: $(OBJS) $(STATIC_DEPLIBS)
- @echo " LD $@"
- @$(LD) $(LDFLAGS_STATIC) -o e2fsck.static $(OBJS) $(STATIC_LIBS)
+ $(LD) $(LDFLAGS_STATIC) -o e2fsck.static $(OBJS) $(STATIC_LIBS)
e2fsck.profiled: $(PROFILED_OBJS) $(PROFILED_DEPLIBS)
- @echo " LD $@"
- @$(LD) $(ALL_LDFLAGS) -g -pg -o e2fsck.profiled $(PROFILED_OBJS) \
+ $(LD) $(ALL_LDFLAGS) -g -pg -o e2fsck.profiled $(PROFILED_OBJS) \
$(PROFILED_LIBS)
gen_crc32table: $(srcdir)/gen_crc32table.c
- @echo " CC $@"
- @$(BUILD_CC) $(BUILD_CFLAGS) -o gen_crc32table \
+ $(BUILD_CC) $(BUILD_CFLAGS) -o gen_crc32table \
$(srcdir)/gen_crc32table.c
crc32table.h: gen_crc32table
- @echo " GEN32TABLE $@"
- @./gen_crc32table > crc32table.h
+ ./gen_crc32table > crc32table.h
-tst_crc32: $(srcdir)/crc32.c $(LIBEXT2FS)
- @$(CC) $(BUILD_LDFLAGS) $(ALL_CFLAGS) -o tst_crc32 $(srcdir)/crc32.c \
+tst_crc32: $(srcdir)/crc32.c $(DEPLIBEXT2FS)
+ $(CC) $(BUILD_LDFLAGS) $(ALL_CFLAGS) -o tst_crc32 $(srcdir)/crc32.c \
-DUNITTEST $(LIBEXT2FS) $(LIBCOM_ERR)
tst_refcount: ea_refcount.c
- @echo " LD $@"
- @$(CC) -o tst_refcount $(srcdir)/ea_refcount.c \
+ $(CC) -o tst_refcount $(srcdir)/ea_refcount.c \
$(ALL_CFLAGS) -DTEST_PROGRAM $(LIBCOM_ERR) $(LIBEXT2FS)
tst_region: region.c
- @echo " LD $@"
- @$(CC) -o tst_region $(srcdir)/region.c \
+ $(CC) -o tst_region $(srcdir)/region.c \
$(ALL_CFLAGS) -DTEST_PROGRAM $(LIBCOM_ERR)
check:: tst_refcount tst_region tst_crc32
@@ -154,21 +145,17 @@ check:: tst_refcount tst_region tst_crc32
LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_crc32
extend: extend.o
- @echo " LD $@"
- @$(LD) $(ALL_LDFLAGS) -o extend extend.o $(CHECKLIB)
+ $(LD) $(ALL_LDFLAGS) -o extend extend.o $(CHECKLIB)
flushb: flushb.o
- @echo " LD $@"
- @$(LD) $(ALL_LDFLAGS) -o flushb flushb.o $(CHECKLIB)
+ $(LD) $(ALL_LDFLAGS) -o flushb flushb.o $(CHECKLIB)
iscan: iscan.o util.o ehandler.o $(DEPLIBS)
- @echo " LD $@"
- @$(LD) $(ALL_LDFLAGS) -o iscan iscan.o util.o ehandler.o $(LIBS)
+ $(LD) $(ALL_LDFLAGS) -o iscan iscan.o util.o ehandler.o $(LIBS)
test_profile: $(srcdir)/profile.c profile_helpers.o argv_parse.o \
prof_err.o profile.h $(STATIC_LIBCOM_ERR)
- @echo " LD $@"
- @$(CC) -o test_profile -DDEBUG_PROGRAM $(srcdir)/profile.c prof_err.o \
+ $(CC) -o test_profile -DDEBUG_PROGRAM $(srcdir)/profile.c prof_err.o \
profile_helpers.o argv_parse.o $(STATIC_LIBCOM_ERR) \
$(ALL_CFLAGS)
@@ -177,65 +164,50 @@ profiled:
@PROFILE_CMT@ @mkdir profiled
e2fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.8.in e2fsck.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.8.in e2fsck.8
e2fsck.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/e2fsck.conf.5.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.conf.5.in e2fsck.conf.5
+ $(SUBSTITUTE_UPTIME) $(srcdir)/e2fsck.conf.5.in e2fsck.conf.5
installdirs:
- @echo " MKINSTALLDIRS $(root_sbindir) $(man8dir)"
- @$(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
+ $(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
$(DESTDIR)$(man8dir) $(DESTDIR)$(man5dir)
install: $(PROGS) $(MANPAGES) $(FMANPAGES) installdirs
- @for i in $(PROGS); do \
- echo " INSTALL $(root_sbindir)/$$i"; \
+ for i in $(PROGS); do \
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
done
- @echo " LINK $(root_sbindir)/fsck.ext2"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
+ $(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
$(DESTDIR)$(root_sbindir)/fsck.ext2
- @echo " LINK $(root_sbindir)/fsck.ext3"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
+ $(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
$(DESTDIR)$(root_sbindir)/fsck.ext3
- @echo " LINK $(root_sbindir)/fsck.ext4"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
+ $(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
$(DESTDIR)$(root_sbindir)/fsck.ext4
- @echo " LINK $(root_sbindir)/fsck.ext4dev"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
+ $(LN) -f $(DESTDIR)$(root_sbindir)/e2fsck \
$(DESTDIR)$(root_sbindir)/fsck.ext4dev
- @for i in $(MANPAGES); do \
+ for i in $(MANPAGES); do \
for j in $(COMPRESS_EXT); do \
$(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
done; \
- echo " INSTALL_DATA $(man8dir)/$$i"; \
$(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
done
- @for i in $(FMANPAGES); do \
+ for i in $(FMANPAGES); do \
for j in $(COMPRESS_EXT); do \
$(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
done; \
- echo " INSTALL_DATA $(man5dir)/$$i"; \
$(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
done
- @echo " LINK $(man8dir)/fsck.ext2.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
+ $(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
$(DESTDIR)$(man8dir)/fsck.ext2.8
- @echo " LINK $(man8dir)/fsck.ext3.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
+ $(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
$(DESTDIR)$(man8dir)/fsck.ext3.8
- @echo " LINK $(man8dir)/fsck.ext4.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
+ $(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
$(DESTDIR)$(man8dir)/fsck.ext4.8
- @echo " LINK $(man8dir)/fsck.ext4.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
+ $(LN) -f $(DESTDIR)$(man8dir)/e2fsck.8 \
$(DESTDIR)$(man8dir)/fsck.ext4dev.8
install-strip: install
- @for i in $(PROGS); do \
- echo " STRIP $(root_sbindir)/$$i"; \
+ for i in $(PROGS); do \
$(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
done

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-e2fsck_journal_c,v 1.2 2009/03/15 19:59:31 landry Exp $
--- e2fsck/journal.c.orig Fri Jan 2 17:10:48 2009
+++ e2fsck/journal.c Sat Feb 21 17:17:46 2009
@@ -14,6 +14,7 @@
#ifdef HAVE_SYS_MOUNT_H
#include <sys/param.h>
+#include <sys/types.h>
#include <sys/mount.h>
#define MNT_FL (MS_MGC_VAL | MS_RDONLY)
#endif

View File

@ -1,69 +1,30 @@
$OpenBSD: patch-lib_Makefile_elf-lib,v 1.6 2009/03/15 19:59:31 landry Exp $
--- lib/Makefile.elf-lib.orig Tue Oct 7 16:22:39 2008
+++ lib/Makefile.elf-lib Sun Feb 22 11:11:17 2009
@@ -14,8 +14,7 @@
all:: image
real-subdirs:: Makefile
- @echo " MKDIR elfshared"
- @mkdir -p elfshared
+ mkdir -p elfshared
ELF_LIB = $(ELF_IMAGE).so.$(ELF_VERSION)
ELF_SONAME = $(ELF_IMAGE).so.$(ELF_SO_VERSION)
@@ -23,45 +22,28 @@ ELF_SONAME = $(ELF_IMAGE).so.$(ELF_SO_VERSION)
image: $(ELF_LIB)
$(ELF_LIB): $(OBJS)
- @echo " GEN_ELF_SOLIB $(ELF_LIB)"
- @(cd elfshared; $(CC) --shared -o $(ELF_LIB) $(LDFLAGS) \
- -Wl,-soname,$(ELF_SONAME) $(OBJS) $(ELF_OTHER_LIBS))
- @$(MV) elfshared/$(ELF_LIB) .
- @$(RM) -f ../$(ELF_LIB) ../$(ELF_IMAGE).so ../$(ELF_SONAME)
- @$(LN) $(ELF_LIB) ../$(ELF_LIB)
- @$(LN) ../$(ELF_LIB) ../$(ELF_IMAGE).so
- @$(LN) ../$(ELF_LIB) ../$(ELF_SONAME)
+ (cd elfshared; $(CC) --shared -fPIC -o $(ELF_LIB) $(LDFLAGS) $(OBJS))
+ $(MV) elfshared/$(ELF_LIB) .
+ $(RM) -f ../$(ELF_LIB) ../$(ELF_IMAGE).so ../$(ELF_SONAME)
+ $(LN) $(ELF_LIB) ../$(ELF_LIB)
+ $(LN) ../$(ELF_LIB) ../$(ELF_IMAGE).so
$OpenBSD: patch-lib_Makefile_elf-lib,v 1.7 2013/06/21 22:35:51 sthen Exp $
Don't generate library symlinks.
Don't run ldconfig.
--- lib/Makefile.elf-lib.orig Wed Aug 15 21:43:55 2012
+++ lib/Makefile.elf-lib Wed Jun 19 14:25:04 2013
@@ -32,7 +32,6 @@ $(ELF_LIB): $(OBJS)
$(Q) (cd ..; $(LN) $(LINK_BUILD_FLAGS) \
`echo $(my_dir) | sed -e 's;lib/;;'`/$(ELF_LIB) $(ELF_LIB))
$(Q) (cd ..; $(LN) $(LINK_BUILD_FLAGS) $(ELF_LIB) $(ELF_IMAGE).so)
- $(Q) (cd ..; $(LN) $(LINK_BUILD_FLAGS) $(ELF_LIB) $(ELF_SONAME))
installdirs-elf-lib::
- @echo " MKINSTALLDIRS $(ELF_INSTALL_DIR) $(libdir)"
- @$(MKINSTALLDIRS) $(DESTDIR)$(ELF_INSTALL_DIR) \
+ $(MKINSTALLDIRS) $(DESTDIR)$(ELF_INSTALL_DIR) \
$(DESTDIR)$(libdir)
installdirs:: installdirs-elf-lib
install-shlibs install:: $(ELF_LIB) installdirs-elf-lib
- @echo " INSTALL-ELF-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)"
- @$(INSTALL_PROGRAM) $(ELF_LIB) $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB)
- @echo " SYMLINK $(ELF_INSTALL_DIR)/$(ELF_SONAME)"
- @$(LN_S) -f $(ELF_LIB) $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_SONAME)
- @echo " SYMLINK $(libdir)/$(ELF_IMAGE).so"
- @if test "$(ELF_INSTALL_DIR)" = "$(libdir)"; then \
- $(LN_S) -f $(ELF_SONAME) $(DESTDIR)$(libdir)/$(ELF_IMAGE).so ; \
- else \
- $(LN_S) -f $(ELF_INSTALL_DIR)/$(ELF_SONAME) \
- $(DESTDIR)$(libdir)/$(ELF_IMAGE).so; \
- fi
- @echo " LDCONFIG"
- @-$(LDCONFIG)
+ $(INSTALL_PROGRAM) $(ELF_LIB) $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB)
+ $(INSTALL_DATA) $(ELF_IMAGE).a $(DESTDIR)$(ELF_INSTALL_DIR)/
$(E) " MKINSTALLDIRS $(ELF_INSTALL_DIR) $(libdir)"
@@ -44,14 +43,6 @@ installdirs:: installdirs-elf-lib
install-shlibs install:: $(ELF_LIB) installdirs-elf-lib $(DEP_INSTALL_SYMLINK)
$(E) " INSTALL-ELF-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)"
$(Q) $(INSTALL_PROGRAM) $(ELF_LIB) $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB)
- $(E) " SYMLINK $(ELF_INSTALL_DIR)/$(ELF_SONAME)"
- $(Q) $(INSTALL_SYMLINK) $(ELF_INSTALL_DIR)/$(ELF_LIB) \
- $(ELF_INSTALL_DIR)/$(ELF_SONAME) $(DESTDIR)
- $(E) " SYMLINK $(libdir)/$(ELF_IMAGE).so"
- $(Q) $(INSTALL_SYMLINK) $(ELF_INSTALL_DIR)/$(ELF_SONAME) \
- $(libdir)/$(ELF_IMAGE).so $(DESTDIR)
- $(E) " LDCONFIG"
- $(Q) -$(LDCONFIG)
install-strip: install
- @echo " STRIP-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)"
- @$(STRIP) --strip-unneeded --remove-section=.comment \
+ $(STRIP) --strip-unneeded --remove-section=.comment \
--remove-section=.note $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB)
install-shlibs-strip: install-shlibs
- @echo " STRIP-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)"
- @$(STRIP) --strip-unneeded --remove-section=.comment \
+ $(STRIP) --strip-unneeded --remove-section=.comment \
--remove-section=.note $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB)
uninstall-shlibs uninstall::
$(E) " STRIP-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)"

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-lib_blkid_Makefile_in,v 1.1 2009/03/15 19:59:31 landry Exp $
--- lib/blkid/Makefile.in.orig Tue Oct 7 16:22:39 2008
+++ lib/blkid/Makefile.in Sun Feb 22 11:47:57 2009
@@ -32,8 +32,8 @@ HFILES_IN= blkid_types.h
$OpenBSD: patch-lib_blkid_Makefile_in,v 1.2 2013/06/21 22:35:51 sthen Exp $
--- lib/blkid/Makefile.in.orig Thu Jan 3 03:39:51 2013
+++ lib/blkid/Makefile.in Wed Jun 19 14:25:06 2013
@@ -31,8 +31,8 @@ HFILES_IN= blkid.h blkid_types.h
LIBRARY= libblkid
LIBDIR= blkid
@ -12,138 +12,3 @@ $OpenBSD: patch-lib_blkid_Makefile_in,v 1.1 2009/03/15 19:59:31 landry Exp $
ELF_IMAGE = libblkid
ELF_MYDIR = blkid
ELF_INSTALL_DIR = $(root_libdir)
@@ -54,8 +54,7 @@ LIBS_BLKID= $(STATIC_LIBBLKID) $(STATIC_LIBUUID)
DEPLIBS_BLKID= $(DEPSTATIC_LIBBLKID) $(DEPSTATIC_LIBUUID)
.c.o:
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
@CHECKER_CMT@ @$(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $<
@ELF_CMT@ @$(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $<
@@ -64,66 +63,51 @@ DEPLIBS_BLKID= $(DEPSTATIC_LIBBLKID) $(DEPSTATIC_LIBUU
all:: $(SMANPAGES) blkid.pc
$(top_builddir)/lib/blkid/blkid_types.h: $(srcdir)/blkid_types.h.in $(top_builddir)/config.status
- @echo " CONFIG.STATUS $@"
- @cd $(top_builddir); \
+ cd $(top_builddir); \
CONFIG_FILES=$(my_dir)/blkid_types.h ./config.status
libblkid.3: $(DEP_SUBSTITUTE) $(srcdir)/libblkid.3.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/libblkid.3.in libblkid.3
+ $(SUBSTITUTE_UPTIME) $(srcdir)/libblkid.3.in libblkid.3
tst_cache: $(srcdir)/cache.c $(DEPLIBS_BLKID)
- @echo " LD $@"
- @$(CC) -o tst_cache -DTEST_PROGRAM $(srcdir)/cache.c $(LIBS_BLKID) $(ALL_CFLAGS)
+ $(CC) -o tst_cache -DTEST_PROGRAM $(srcdir)/cache.c $(LIBS_BLKID) $(ALL_CFLAGS)
tst_dev: $(srcdir)/dev.c $(DEPLIBS_BLKID)
- @echo " LD $@"
- @$(CC) -o tst_dev -DTEST_PROGRAM $(srcdir)/dev.c $(LIBS_BLKID) $(ALL_CFLAGS)
+ $(CC) -o tst_dev -DTEST_PROGRAM $(srcdir)/dev.c $(LIBS_BLKID) $(ALL_CFLAGS)
tst_devname: $(srcdir)/devname.c $(DEPLIBS_BLKID)
- @echo " LD $@"
- @$(CC) -o tst_devname -DTEST_PROGRAM $(srcdir)/devname.c $(LIBS_BLKID) $(ALL_CFLAGS)
+ $(CC) -o tst_devname -DTEST_PROGRAM $(srcdir)/devname.c $(LIBS_BLKID) $(ALL_CFLAGS)
tst_devno: $(srcdir)/devno.c $(DEPLIBS_BLKID)
- @echo " LD $@"
- @$(CC) -o tst_devno -DTEST_PROGRAM $(srcdir)/devno.c $(LIBS_BLKID) $(ALL_CFLAGS)
+ $(CC) -o tst_devno -DTEST_PROGRAM $(srcdir)/devno.c $(LIBS_BLKID) $(ALL_CFLAGS)
tst_getsize: $(srcdir)/getsize.c $(DEPLIBS_BLKID)
- @echo " LD $@"
- @$(CC) -o tst_getsize -DTEST_PROGRAM $(srcdir)/getsize.c $(LIBS_BLKID) $(ALL_CFLAGS)
+ $(CC) -o tst_getsize -DTEST_PROGRAM $(srcdir)/getsize.c $(LIBS_BLKID) $(ALL_CFLAGS)
tst_probe: $(srcdir)/probe.c $(DEPLIBS_BLKID)
- @echo " LD $@"
- @$(CC) -o tst_probe -DTEST_PROGRAM $(srcdir)/probe.c $(LIBS_BLKID) $(ALL_CFLAGS)
+ $(CC) -o tst_probe -DTEST_PROGRAM $(srcdir)/probe.c $(LIBS_BLKID) $(ALL_CFLAGS)
tst_read: $(srcdir)/read.c $(DEPLIBS_BLKID)
- @echo " LD $@"
- @$(CC) -o tst_read -DTEST_PROGRAM $(srcdir)/read.c $(LIBS_BLKID) $(ALL_CFLAGS)
+ $(CC) -o tst_read -DTEST_PROGRAM $(srcdir)/read.c $(LIBS_BLKID) $(ALL_CFLAGS)
tst_resolve: $(srcdir)/resolve.c $(DEPLIBS_BLKID)
- @echo " LD $@"
- @$(CC) -o tst_resolve -DTEST_PROGRAM $(srcdir)/resolve.c $(LIBS_BLKID) $(ALL_CFLAGS)
+ $(CC) -o tst_resolve -DTEST_PROGRAM $(srcdir)/resolve.c $(LIBS_BLKID) $(ALL_CFLAGS)
tst_save: $(srcdir)/save.c $(DEPLIBS_BLKID)
- @echo " LD $@"
- @$(CC) -o tst_save -DTEST_PROGRAM $(srcdir)/save.c $(LIBS_BLKID) $(ALL_CFLAGS)
+ $(CC) -o tst_save -DTEST_PROGRAM $(srcdir)/save.c $(LIBS_BLKID) $(ALL_CFLAGS)
tst_tag: $(srcdir)/tag.c $(DEPLIBS_BLKID)
- @echo " LD $@"
- @$(CC) -o tst_tag -DTEST_PROGRAM $(srcdir)/tag.c $(LIBS_BLKID) $(ALL_CFLAGS)
+ $(CC) -o tst_tag -DTEST_PROGRAM $(srcdir)/tag.c $(LIBS_BLKID) $(ALL_CFLAGS)
tst_types: tst_types.o blkid_types.h
- @echo " LD $@"
- @$(CC) -o tst_types tst_types.o
+ $(CC) -o tst_types tst_types.o
../../misc/blkid.o: $(top_srcdir)/misc/blkid.c blkid.h
- @echo " CC $@"
- @$(CC) $(ALL_CFLAGS) -c $(top_srcdir)/misc/blkid.c \
+ $(CC) $(ALL_CFLAGS) -c $(top_srcdir)/misc/blkid.c \
-o ../../misc/blkid.o
blkid: ../../misc/blkid.o libblkid.a $(DEPLIBUUID)
- @echo " LD $@"
- @$(CC) -o blkid ../../misc/blkid.o libblkid.a $(LIBUUID)
+ $(CC) -o blkid ../../misc/blkid.o libblkid.a $(LIBUUID)
test_probe: test_probe.in Makefile
@echo "Creating test_probe..."
@@ -138,33 +122,26 @@ check:: all tst_cache tst_dev tst_devname tst_devno ts
./tst_types
blkid.pc: $(srcdir)/blkid.pc.in $(top_builddir)/config.status
- @echo " CONFIG.STATUS $@"
- @cd $(top_builddir); CONFIG_FILES=lib/blkid/blkid.pc ./config.status
+ cd $(top_builddir); CONFIG_FILES=lib/blkid/blkid.pc ./config.status
installdirs::
- @echo " MKINSTALLDIRS $(libdir) $(includedir)/blkid"
- @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
+ $(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
$(DESTDIR)$(includedir)/blkid $(DESTDIR)$(libdir)/pkgconfig
install:: all installdirs
- @echo " INSTALL_DATA $(libdir)/libblkid.a"
- @$(INSTALL_DATA) libblkid.a $(DESTDIR)$(libdir)/libblkid.a
- @-$(RANLIB) $(DESTDIR)$(libdir)/libblkid.a
- @$(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libblkid.a
- @set -e; for i in $(HFILES); do \
- echo " INSTALL_DATA $(includedir)/blkid/$$i"; \
+ $(INSTALL_DATA) libblkid.a $(DESTDIR)$(libdir)/libblkid.a
+ $(RANLIB) $(DESTDIR)$(libdir)/libblkid.a
+ $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libblkid.a
+ set -e; for i in $(HFILES); do \
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/blkid/$$i; \
done
- @set -e; for i in $(HFILES_IN); do \
- echo " INSTALL_DATA $(includedir)/blkid/$$i"; \
+ set -e; for i in $(HFILES_IN); do \
$(INSTALL_DATA) $$i $(DESTDIR)$(includedir)/blkid/$$i; \
done
- @for i in $(SMANPAGES); do \
- echo " INSTALL_DATA $(man3dir)/$$i"; \
+ for i in $(SMANPAGES); do \
$(INSTALL_DATA) $$i $(DESTDIR)$(man3dir)/$$i; \
done
- @echo " INSTALL_DATA $(libdir)/pkgconfig/blkid.pc"
- @$(INSTALL_DATA) blkid.pc $(DESTDIR)$(libdir)/pkgconfig/blkid.pc
+ $(INSTALL_DATA) blkid.pc $(DESTDIR)$(libdir)/pkgconfig/blkid.pc
uninstall::
$(RM) -f $(DESTDIR)$(libdir)/libblkid.a \

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-lib_blkid_getsize_c,v 1.1 2010/05/20 15:00:18 naddy Exp $
--- lib/blkid/getsize.c.orig Thu May 20 16:14:24 2010
+++ lib/blkid/getsize.c Thu May 20 16:14:36 2010
@@ -25,6 +25,7 @@
$OpenBSD: patch-lib_blkid_getsize_c,v 1.2 2013/06/21 22:35:51 sthen Exp $
--- lib/blkid/getsize.c.orig Fri Nov 30 02:40:18 2012
+++ lib/blkid/getsize.c Wed Jun 19 14:25:04 2013
@@ -26,6 +26,7 @@
#include <fcntl.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-lib_e2p_Makefile_in,v 1.2 2009/03/15 19:59:31 landry Exp $
--- lib/e2p/Makefile.in.orig Tue Oct 7 16:22:39 2008
+++ lib/e2p/Makefile.in Sun Feb 22 11:42:42 2009
$OpenBSD: patch-lib_e2p_Makefile_in,v 1.3 2013/06/21 22:35:51 sthen Exp $
--- lib/e2p/Makefile.in.orig Fri Sep 21 17:30:42 2012
+++ lib/e2p/Makefile.in Wed Jun 19 14:25:06 2013
@@ -34,8 +34,8 @@ HFILES= e2p.h
LIBRARY= libe2p
LIBDIR= e2p
@ -12,61 +12,3 @@ $OpenBSD: patch-lib_e2p_Makefile_in,v 1.2 2009/03/15 19:59:31 landry Exp $
ELF_IMAGE = libe2p
ELF_MYDIR = e2p
ELF_INSTALL_DIR = $(root_libdir)
@@ -53,25 +53,21 @@ BSDLIB_INSTALL_DIR = $(root_libdir)
@MAKEFILE_CHECKER@
.c.o:
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
@CHECKER_CMT@ @$(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $<
@ELF_CMT@ @$(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $<
@BSDLIB_CMT@ @$(CC) $(ALL_CFLAGS) $(BSDLIB_PIC_FLAG) -o pic/$*.o -c $<
e2p.pc: $(srcdir)/e2p.pc.in $(top_builddir)/config.status
- @echo " CONFIG.STATUS $@"
- @cd $(top_builddir); CONFIG_FILES=lib/e2p/e2p.pc ./config.status
+ cd $(top_builddir); CONFIG_FILES=lib/e2p/e2p.pc ./config.status
tst_ostype: $(srcdir)/ostype.c
- @echo " LD $@"
- @$(CC) -DTEST_PROGRAM -I$(top_srcdir)/lib -o tst_ostype \
+ $(CC) -DTEST_PROGRAM -I$(top_srcdir)/lib -o tst_ostype \
$(srcdir)/ostype.c $(ALL_CFLAGS)
tst_feature: $(srcdir)/feature.c
- @echo " LD $@"
- @$(CC) -DTEST_PROGRAM -I$(top_srcdir)/lib -o tst_feature \
+ $(CC) -DTEST_PROGRAM -I$(top_srcdir)/lib -o tst_feature \
$(srcdir)/feature.c $(ALL_CFLAGS)
check:: tst_ostype tst_feature
@@ -79,21 +75,17 @@ check:: tst_ostype tst_feature
./tst_feature
installdirs::
- @echo " MKINSTALLDIRS $(libdir) $(includedir)/e2p"
- @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
+ $(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
$(DESTDIR)$(includedir)/e2p $(DESTDIR)$(libdir)/pkgconfig
install:: all installdirs
- @echo " INSTALL_DATA $(libdir)/libe2p.a"
- @$(INSTALL_DATA) libe2p.a $(DESTDIR)$(libdir)/libe2p.a
- @-$(RANLIB) $(DESTDIR)$(libdir)/libe2p.a
- @$(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libe2p.a
- @set -e; for i in $(HFILES); do \
- echo " INSTALL_DATA $(includedir)/e2p/$$i"; \
+ $(INSTALL_DATA) libe2p.a $(DESTDIR)$(libdir)/libe2p.a
+ $(RANLIB) $(DESTDIR)$(libdir)/libe2p.a
+ $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libe2p.a
+ set -e; for i in $(HFILES); do \
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/e2p/$$i; \
done
- @echo " INSTALL_DATA $(libdir)/pkgconfig/e2p.pc"
- @$(INSTALL_DATA) e2p.pc $(DESTDIR)$(libdir)/pkgconfig/e2p.pc
+ $(INSTALL_DATA) e2p.pc $(DESTDIR)$(libdir)/pkgconfig/e2p.pc
uninstall::
$(RM) -f $(DESTDIR)$(libdir)/libe2p.a \

View File

@ -1,120 +0,0 @@
$OpenBSD: patch-lib_et_Makefile_in,v 1.4 2009/03/15 19:59:31 landry Exp $
--- lib/et/Makefile.in.orig Tue Oct 7 16:22:39 2008
+++ lib/et/Makefile.in Sun Feb 22 11:41:29 2009
@@ -22,18 +22,18 @@ SRCS = $(srcdir)/error_message.c $(srcdir)/et_name.c $
HFILES= com_err.h
SHARE_FILES= et_c.awk et_h.awk
-LIBRARY= libcom_err
+LIBRARY= libext2fs_com_err
LIBDIR= et
-ELF_VERSION = 2.1
-ELF_SO_VERSION = 2
-ELF_IMAGE = libcom_err
+ELF_VERSION = $(LIBext2fs_com_err_VERSION)
+ELF_SO_VERSION = $(LIBext2fs_com_err_VERSION)
+ELF_IMAGE = libext2fs_com_err
ELF_MYDIR = et
ELF_INSTALL_DIR = $(root_libdir)
ELF_OTHER_LIBS = @SEM_INIT_LIB@
BSDLIB_VERSION = 1.1
-BSDLIB_IMAGE = libcom_err
+BSDLIB_IMAGE = libext2fs_com_err
BSDLIB_MYDIR = et
BSDLIB_INSTALL_DIR = $(root_libdir)
@@ -41,8 +41,7 @@ BSDLIB_INSTALL_DIR = $(root_libdir)
# what to build...
#
.c.o:
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
@CHECKER_CMT@ @$(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $<
@ELF_CMT@ @$(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $<
@@ -55,16 +54,14 @@ BSDLIB_INSTALL_DIR = $(root_libdir)
@MAKEFILE_CHECKER@
compile_et: $(DEP_SUBSTITUTE) $(srcdir)/compile_et.sh.in
- @echo " SUBST $@"
- @$(SUBSTITUTE) $(srcdir)/compile_et.sh.in compile_et
- @$(CHMOD) +x compile_et
+ $(SUBSTITUTE) $(srcdir)/compile_et.sh.in compile_et
+ $(CHMOD) +x compile_et
com_err.ps : com_err.dvi
com_err.dvi: com_err.texinfo
com_err.pc: $(srcdir)/com_err.pc.in $(top_builddir)/config.status
- @echo " CONFIG.STATUS $@"
- @cd $(top_builddir); CONFIG_FILES=lib/et/com_err.pc ./config.status
+ cd $(top_builddir); CONFIG_FILES=lib/et/com_err.pc ./config.status
#libcom_err.o: $(LIBOBJS)
# $(LD) -r -s -o libcom_err.o $(LIBOBJS)
@@ -74,37 +71,29 @@ TAGS: $(SRCS)
$(TAGS) $(SRCS)
installdirs::
- @echo " MKINSTALLDIRS $(libdir) $(includedir)/et $(datadir)/et $(bindir) $(man1dir) $(man3dir)"
- @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
+ $(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
$(DESTDIR)$(includedir)/et $(DESTDIR)$(datadir)/et \
$(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) \
$(DESTDIR)$(man3dir) $(DESTDIR)$(libdir)/pkgconfig
-install:: compile_et libcom_err.a $(HFILES) installdirs com_err.pc
- @echo " INSTALL_DATA $(libdir)/libcom_err.a"
- @$(INSTALL_DATA) libcom_err.a $(DESTDIR)$(libdir)/libcom_err.a
- @-$(RANLIB) $(DESTDIR)$(libdir)/libcom_err.a
- @$(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libcom_err.a
- @for i in $(HFILES); do \
- echo " INSTALL_DATA $(includedir)/et/$$i"; \
+install:: compile_et $(LIBRARY).a $(HFILES) installdirs com_err.pc
+ $(INSTALL_DATA) $(LIBRARY).a $(DESTDIR)$(libdir)/$(LIBRARY).a
+ $(RANLIB) $(DESTDIR)$(libdir)/$(LIBRARY).a
+ $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/$(LIBRARY).a
+ for i in $(HFILES); do \
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/et/$$i; \
done
- @for i in $(SHARE_FILES); do \
- echo " INSTALL_DATA $(datadir)/et/$$i"; \
+ for i in $(SHARE_FILES); do \
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(datadir)/et/$$i; \
done
- @echo " INSTALL_SCRIPT $(bindir)/compile_et"
- @$(INSTALL_SCRIPT) compile_et $(DESTDIR)$(bindir)/compile_et
- @echo " INSTALL_DATA $(man3dir)/com_err.3"
- @$(INSTALL_DATA) $(srcdir)/com_err.3 $(DESTDIR)$(man3dir)/com_err.3
- @echo " INSTALL_DATA $(man1dir)/compile_et.1"
- @$(INSTALL_DATA) $(srcdir)/compile_et.1 \
+ $(INSTALL_SCRIPT) compile_et $(DESTDIR)$(bindir)/compile_et
+ $(INSTALL_DATA) $(srcdir)/com_err.3 $(DESTDIR)$(man3dir)/com_err.3
+ $(INSTALL_DATA) $(srcdir)/compile_et.1 \
$(DESTDIR)$(man1dir)/compile_et.1
- @echo " INSTALL_DATA $(libdir)/pkgconfig/com_err.pc"
- @$(INSTALL_DATA) com_err.pc $(DESTDIR)$(libdir)/pkgconfig/com_err.pc
+ $(INSTALL_DATA) com_err.pc $(DESTDIR)$(libdir)/pkgconfig/com_err.pc
uninstall::
- $(RM) -f $(DESTDIR)$(libdir)/libcom_err.a \
+ $(RM) -f $(DESTDIR)$(libdir)/$(LIBRARY).a \
$(DESTDIR)$(bindir)/compile_et \
$(DESTDIR)$(libdir)/pkgconfig/com_err.pc
$(RM) -rf $(DESTDIR)$(includedir)/et $(DESTDIR)$(datadir)/et
@@ -122,10 +111,10 @@ check:: compile_et
done
clean::
- $(RM) -f compile_et libcom_err.a libcom_err_p.a com_err.info
+ $(RM) -f compile_et $(LIBRARY).a $(LIBRARY)_p.a com_err.info
$(RM) -f $(OBJS) profiled/*
$(RM) -f *~ \#* *.bak *.otl *.aux *.toc *.PS *.dvi *.ps TAGS *.ln
- $(RM) -f ../libcom_err.a ../libcom_err_p.a
+ $(RM) -f ../$(LIBRARY).a ../$(LIBRARY)_p.a
mostlyclean:: clean
distclean:: clean

View File

@ -1,7 +1,10 @@
$OpenBSD: patch-lib_ext2fs_Makefile_in,v 1.3 2009/03/15 19:59:31 landry Exp $
--- lib/ext2fs/Makefile.in.orig Tue Oct 7 16:22:39 2008
+++ lib/ext2fs/Makefile.in Sun Feb 22 10:54:40 2009
@@ -155,12 +155,12 @@ HFILES_IN= ext2_err.h ext2_types.h
$OpenBSD: patch-lib_ext2fs_Makefile_in,v 1.4 2013/06/21 22:35:51 sthen Exp $
Statically link libcom_err to avoid conflict with kerberosV.
--- lib/ext2fs/Makefile.in.orig Tue Jan 22 03:33:35 2013
+++ lib/ext2fs/Makefile.in Wed Jun 19 14:50:57 2013
@@ -177,12 +177,12 @@ HFILES_IN= ext2_err.h ext2_types.h
LIBRARY= libext2fs
LIBDIR= ext2fs
@ -12,219 +15,8 @@ $OpenBSD: patch-lib_ext2fs_Makefile_in,v 1.3 2009/03/15 19:59:31 landry Exp $
ELF_IMAGE = libext2fs
ELF_MYDIR = ext2fs
ELF_INSTALL_DIR = $(root_libdir)
-ELF_OTHER_LIBS = -L../.. -lcom_err
+ELF_OTHER_LIBS = -L../.. -lext2fs_com_err
-ELF_OTHER_LIBS = -lcom_err
+ELF_OTHER_LIBS = ../../libcom_err.a
BSDLIB_VERSION = 2.1
BSDLIB_IMAGE = libext2fs
@@ -176,8 +176,7 @@ BSDLIB_INSTALL_DIR = $(root_libdir)
all:: ext2fs.pc
.c.o:
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
@CHECKER_CMT@ @$(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $<
@ELF_CMT@ @$(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $<
@@ -188,137 +187,107 @@ COMPILE_ET=../et/compile_et --build-tree
DISTFILES= Makefile *.c *.h image
ext2_err.et: $(DEP_SUBSTITUTE) $(srcdir)/ext2_err.et.in
- @echo " SUBST $@"
- @$(SUBSTITUTE) $(srcdir)/ext2_err.et.in ext2_err.et
+ $(SUBSTITUTE) $(srcdir)/ext2_err.et.in ext2_err.et
ext2_err.c ext2_err.h: ext2_err.et
- @echo " COMPILE_ET ext2_err.et"
- @$(COMPILE_ET) ext2_err.et
+ $(COMPILE_ET) ext2_err.et
ext2fs.pc: $(srcdir)/ext2fs.pc.in $(top_builddir)/config.status
- @echo " CONFIG.STATUS $@"
- @cd $(top_builddir); CONFIG_FILES=lib/ext2fs/ext2fs.pc ./config.status
+ cd $(top_builddir); CONFIG_FILES=lib/ext2fs/ext2fs.pc ./config.status
tst_badblocks: tst_badblocks.o $(STATIC_LIBEXT2FS)
- @echo " LD $@"
- @$(CC) -o tst_badblocks tst_badblocks.o $(STATIC_LIBEXT2FS) \
+ $(CC) -o tst_badblocks tst_badblocks.o $(STATIC_LIBEXT2FS) \
$(LIBCOM_ERR)
tst_icount: $(srcdir)/icount.c $(STATIC_LIBEXT2FS)
- @echo " LD $@"
- @$(CC) -o tst_icount $(srcdir)/icount.c -DDEBUG $(ALL_CFLAGS) \
+ $(CC) -o tst_icount $(srcdir)/icount.c -DDEBUG $(ALL_CFLAGS) \
$(STATIC_LIBEXT2FS) $(LIBCOM_ERR)
tst_iscan: tst_iscan.o $(STATIC_LIBEXT2FS)
- @echo " LD $@"
- @$(CC) -o tst_iscan tst_iscan.o $(STATIC_LIBEXT2FS) $(LIBCOM_ERR)
+ $(CC) -o tst_iscan tst_iscan.o $(STATIC_LIBEXT2FS) $(LIBCOM_ERR)
tst_getsize: tst_getsize.o $(STATIC_LIBEXT2FS)
- @echo " LD $@"
- @$(CC) -o tst_getsize tst_getsize.o $(STATIC_LIBEXT2FS) \
+ $(CC) -o tst_getsize tst_getsize.o $(STATIC_LIBEXT2FS) \
$(LIBCOM_ERR)
tst_ismounted: $(srcdir)/ismounted.c $(STATIC_LIBEXT2FS)
- @echo " LD $@"
- @$(CC) -o tst_ismounted $(srcdir)/ismounted.c -DDEBUG $(ALL_CFLAGS) $(LIBCOM_ERR)
+ (CC) -o tst_ismounted $(srcdir)/ismounted.c -DDEBUG $(ALL_CFLAGS) $(LIBCOM_ERR)
tst_byteswap: tst_byteswap.o $(STATIC_LIBEXT2FS)
- @echo " LD $@"
- @$(CC) -o tst_byteswap tst_byteswap.o $(STATIC_LIBEXT2FS) \
+ $(CC) -o tst_byteswap tst_byteswap.o $(STATIC_LIBEXT2FS) \
$(LIBCOM_ERR)
tst_bitops: tst_bitops.o $(STATIC_LIBEXT2FS)
- @echo " LD $@"
- @$(CC) -o tst_bitops tst_bitops.o $(ALL_CFLAGS) \
+ $(CC) -o tst_bitops tst_bitops.o $(ALL_CFLAGS) \
$(STATIC_LIBEXT2FS) $(LIBCOM_ERR)
tst_getsectsize: tst_getsectsize.o $(STATIC_LIBEXT2FS)
- @echo " LD $@"
- @$(CC) -o tst_sectgetsize tst_getsectsize.o \
+ $(CC) -o tst_sectgetsize tst_getsectsize.o \
$(STATIC_LIBEXT2FS) $(LIBCOM_ERR)
tst_types: tst_types.o ext2_types.h
- @echo " LD $@"
- @$(CC) -o tst_types tst_types.o
+ $(CC) -o tst_types tst_types.o
tst_super_size: tst_super_size.o ext2_fs.h
- @echo " LD $@"
- @$(CC) -o tst_super_size tst_super_size.o
+ $(CC) -o tst_super_size tst_super_size.o
ext2_tdbtool: tdbtool.o
- @echo " LD $@"
- @$(CC) -o ext2_tdbtool tdbtool.o tdb.o
+ $(CC) -o ext2_tdbtool tdbtool.o tdb.o
extent_dbg.c: $(srcdir)/extent_dbg.ct
- @echo " MK_CMDS $<"
- @$(MK_CMDS) $(srcdir)/extent_dbg.ct
+ $(MK_CMDS) $(srcdir)/extent_dbg.ct
debug_cmds.c debug_cmds.h: $(top_srcdir)/debugfs/debug_cmds.ct
- @echo " MK_CMDS $<@"
- @$(MK_CMDS) $(top_srcdir)/debugfs/debug_cmds.ct
+ $(MK_CMDS) $(top_srcdir)/debugfs/debug_cmds.ct
DEBUG_OBJS= debug_cmds.o debugfs.o util.o ncheck.o icheck.o ls.o \
lsdel.o dump.o set_fields.o logdump.o htree.o unused.o
debugfs.o: $(top_srcdir)/debugfs/debugfs.c
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
util.o: $(top_srcdir)/debugfs/util.c
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
ncheck.o: $(top_srcdir)/debugfs/ncheck.c
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
icheck.o: $(top_srcdir)/debugfs/icheck.c
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
ls.o: $(top_srcdir)/debugfs/ls.c
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
lsdel.o: $(top_srcdir)/debugfs/lsdel.c
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
dump.o: $(top_srcdir)/debugfs/dump.c
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
set_fields.o: $(top_srcdir)/debugfs/set_fields.c
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
logdump.o: $(top_srcdir)/debugfs/logdump.c
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
htree.o: $(top_srcdir)/debugfs/htree.c
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
unused.o: $(top_srcdir)/debugfs/unused.c
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
tst_extents: $(srcdir)/extent.c extent_dbg.c $(DEBUG_OBJS) $(DEPLIBSS) $(LIBE2P) $(DEPLIBUUID) $(DEPLIBBLKID)
- @echo " LD $@"
- @$(CC) -o tst_extents $(srcdir)/extent.c extent_dbg.c \
+ $(CC) -o tst_extents $(srcdir)/extent.c extent_dbg.c \
$(ALL_CFLAGS) -DDEBUG $(DEBUG_OBJS) $(LIBSS) $(LIBE2P) \
$(STATIC_LIBEXT2FS) $(LIBBLKID) $(LIBUUID) $(LIBCOM_ERR) \
-I $(top_srcdir)/debugfs
tst_csum: tst_csum.c csum.c $(STATIC_LIBEXT2FS)
- @echo " LD $@"
- @$(CC) -o tst_csum $(srcdir)/csum.c $(srcdir)/tst_csum.c -DDEBUG \
+ $(CC) -o tst_csum $(srcdir)/csum.c $(srcdir)/tst_csum.c -DDEBUG \
$(ALL_CFLAGS) $(STATIC_LIBEXT2FS) $(LIBCOM_ERR)
mkjournal: mkjournal.c $(STATIC_LIBEXT2FS)
- @echo " LD $@"
- @$(CC) -o mkjournal $(srcdir)/mkjournal.c -DDEBUG $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) $(ALL_CFLAGS)
+ $(CC) -o mkjournal $(srcdir)/mkjournal.c -DDEBUG $(STATIC_LIBEXT2FS) $(LIBCOM_ERR) $(ALL_CFLAGS)
check:: tst_bitops tst_badblocks tst_iscan tst_types tst_icount tst_super_size tst_types tst_csum
LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_bitops
@@ -330,25 +299,20 @@ check:: tst_bitops tst_badblocks tst_iscan tst_types t
LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_csum
installdirs::
- @echo " MKINSTALLDIRS $(libdir) $(includedir)/ext2fs"
- @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
+ $(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
$(DESTDIR)$(includedir)/ext2fs $(DESTDIR)$(libdir)/pkgconfig
install:: all $(HFILES) $(HFILES_IN) installdirs ext2fs.pc
- @echo " INSTALL_DATA $(libdir)/libext2fs.a"
- @$(INSTALL_DATA) libext2fs.a $(DESTDIR)$(libdir)/libext2fs.a
- @-$(RANLIB) $(DESTDIR)$(libdir)/libext2fs.a
- @$(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libext2fs.a
- @for i in $(HFILES); do \
- echo " INSTALL_DATA $(includedir)/ext2fs/$$i"; \
+ $(INSTALL_DATA) libext2fs.a $(DESTDIR)$(libdir)/libext2fs.a
+ $(RANLIB) $(DESTDIR)$(libdir)/libext2fs.a
+ $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libext2fs.a
+ for i in $(HFILES); do \
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/ext2fs/$$i; \
done
- @for i in $(HFILES_IN); do \
- echo " INSTALL_DATA $(includedir)/ext2fs/$$i"; \
+ for i in $(HFILES_IN); do \
$(INSTALL_DATA) $$i $(DESTDIR)$(includedir)/ext2fs/$$i; \
done
- @echo " INSTALL_DATA $(libdir)/pkgconfig/ext2fs.pc"
- @$(INSTALL_DATA) ext2fs.pc $(DESTDIR)$(libdir)/pkgconfig/ext2fs.pc
+ $(INSTALL_DATA) ext2fs.pc $(DESTDIR)$(libdir)/pkgconfig/ext2fs.pc
uninstall::
$(RM) -f $(DESTDIR)$(libdir)/libext2fs.a \

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-lib_ext2fs_kernel-list_h,v 1.1 2013/06/21 22:35:51 sthen Exp $
Conflict with queue.h
--- lib/ext2fs/kernel-list.h.orig Fri Jul 6 14:37:27 2012
+++ lib/ext2fs/kernel-list.h Wed Jun 19 14:25:04 2013
@@ -17,6 +17,7 @@ struct list_head {
#define LIST_HEAD_INIT(name) { &(name), &(name) }
+#undef LIST_HEAD
#define LIST_HEAD(name) \
struct list_head name = { &name, &name }

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-lib_ext2fs_unix_io_c,v 1.1 2009/03/15 19:59:31 landry Exp $
--- lib/ext2fs/unix_io.c.orig Sat Feb 21 17:42:28 2009
+++ lib/ext2fs/unix_io.c Sat Feb 21 17:42:49 2009
@@ -35,6 +35,7 @@
$OpenBSD: patch-lib_ext2fs_unix_io_c,v 1.2 2013/06/21 22:35:51 sthen Exp $
--- lib/ext2fs/unix_io.c.orig Wed Jan 2 00:47:20 2013
+++ lib/ext2fs/unix_io.c Wed Jun 19 14:25:04 2013
@@ -39,6 +39,7 @@
#include <sys/ioctl.h>
#endif
#ifdef HAVE_SYS_MOUNT_H

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-lib_quota_mkquota_c,v 1.1 2013/06/21 22:35:51 sthen Exp $
--- lib/quota/mkquota.c.orig Wed Jan 2 00:47:20 2013
+++ lib/quota/mkquota.c Wed Jun 19 14:25:04 2013
@@ -7,6 +7,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <stdint.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>

View File

@ -1,6 +1,9 @@
$OpenBSD: patch-lib_ss_Makefile_in,v 1.3 2009/03/15 19:59:31 landry Exp $
--- lib/ss/Makefile.in.orig Tue Oct 7 16:22:39 2008
+++ lib/ss/Makefile.in Sun Feb 22 12:17:33 2009
$OpenBSD: patch-lib_ss_Makefile_in,v 1.4 2013/06/21 22:35:51 sthen Exp $
Statically link libcom_err to avoid conflict with kerberosV.
--- lib/ss/Makefile.in.orig Fri Sep 21 17:30:41 2012
+++ lib/ss/Makefile.in Wed Jun 19 14:50:51 2013
@@ -15,12 +15,12 @@ DLOPEN_LIB = @DLOPEN_LIB@
LIBRARY= libss
LIBDIR= ss
@ -12,117 +15,8 @@ $OpenBSD: patch-lib_ss_Makefile_in,v 1.3 2009/03/15 19:59:31 landry Exp $
ELF_IMAGE = libss
ELF_MYDIR = ss
ELF_INSTALL_DIR = $(root_libdir)
-ELF_OTHER_LIBS = -L../.. -lcom_err $(DLOPEN_LIB)
+ELF_OTHER_LIBS = -L../.. -lext2fs_com_err $(DLOPEN_LIB)
-ELF_OTHER_LIBS = -lcom_err $(DLOPEN_LIB)
+ELF_OTHER_LIBS = ../../libcom_err.a $(DLOPEN_LIB)
BSDLIB_VERSION = 1.0
BSDLIB_IMAGE = libss
@@ -37,8 +37,7 @@ MK_CMDS=_SS_DIR_OVERRIDE=. ./mk_cmds
XTRA_CFLAGS= -I$(srcdir)/../et
.c.o:
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $<
+ $(CC) $(ALL_CFLAGS) -c $<
@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
@CHECKER_CMT@ @$(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $<
@ELF_CMT@ @$(CC) $(ALL_CFLAGS) -DSHARED_ELF_LIB -fPIC -o elfshared/$*.o -c $<
@@ -96,18 +95,15 @@ FILES= $(SRCS) $(MKCMDSFILES) $(HFILES) \
all:: libss.a ss.pc # libss_p.a lint
std_rqs.c: std_rqs.ct mk_cmds
- @echo " MK_CMDS $@"
- @DIR=$(srcdir) $(MK_CMDS) $(srcdir)/std_rqs.ct
+ DIR=$(srcdir) $(MK_CMDS) $(srcdir)/std_rqs.ct
std_rqs.o: ss_err.h
test_cmd.c: test_cmd.ct mk_cmds
- @echo " MK_CMDS $@"
- @DIR=$(srcdir) $(MK_CMDS) $(srcdir)/test_cmd.ct
+ DIR=$(srcdir) $(MK_CMDS) $(srcdir)/test_cmd.ct
ss_err.c ss_err.h: ss_err.et
- @echo " COMPILE_ET ss_err.et"
- @$(COMPILE_ET) $(srcdir)/ss_err.et
+ $(COMPILE_ET) $(srcdir)/ss_err.et
ct.tab.c ct.tab.h: ct.y
$(RM) -f ct.tab.* y.*
@@ -120,42 +116,32 @@ ct.tab.c ct.tab.h: ct.y
# $(CHMOD) -x $@
mk_cmds: $(DEP_SUBSTITUTE) $(srcdir)/mk_cmds.sh.in
- @echo " SUBST $@"
- @$(SUBSTITUTE) $(srcdir)/mk_cmds.sh.in mk_cmds
- @$(CHMOD) +x mk_cmds
+ $(SUBSTITUTE) $(srcdir)/mk_cmds.sh.in mk_cmds
+ $(CHMOD) +x mk_cmds
ss.pc: $(srcdir)/ss.pc.in $(top_builddir)/config.status
- @echo " CONFIG.STATUS $@"
- @cd $(top_builddir); CONFIG_FILES=lib/ss/ss.pc ./config.status
+ cd $(top_builddir); CONFIG_FILES=lib/ss/ss.pc ./config.status
installdirs::
- @echo " MKINSTALLDIRS $(libdir) $(includedir)/ss $(datadir)/ss $(bindir)"
- @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
+ $(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
$(DESTDIR)$(includedir)/ss $(DESTDIR)$(datadir)/ss \
$(DESTDIR)$(bindir) $(DESTDIR)$(libdir)/pkgconfig
install:: libss.a $(INSTALL_HFILES) installdirs ss_err.h mk_cmds ss.pc
- @echo " INSTALL_DATA $(DESTDIR)$(libdir)/libss.a"
- @$(INSTALL_DATA) libss.a $(DESTDIR)$(libdir)/libss.a
- @-$(RANLIB) $(DESTDIR)$(libdir)/libss.a
- @$(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libss.a
- @$(RM) -f $(DESTDIR)$(includedir)/ss/*
- @for i in $(INSTALL_HFILES); do \
- echo " INSTALL_DATA $(DESTDIR)$(includedir)/ss/$$i"; \
+ $(INSTALL_DATA) libss.a $(DESTDIR)$(libdir)/libss.a
+ $(RANLIB) $(DESTDIR)$(libdir)/libss.a
+ $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libss.a
+ $(RM) -f $(DESTDIR)$(includedir)/ss/*
+ for i in $(INSTALL_HFILES); do \
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir)/ss/$$i; \
done
- @echo " INSTALL_DATA $(includedir)/ss/ss_err.h"
- @$(INSTALL_DATA) ss_err.h $(DESTDIR)$(includedir)/ss/ss_err.h
- @for i in $(SHARE_FILES); do \
- echo " INSTALL_DATA $(DESTDIR)$(datadir)/ss/$$i"; \
+ $(INSTALL_DATA) ss_err.h $(DESTDIR)$(includedir)/ss/ss_err.h
+ for i in $(SHARE_FILES); do \
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(datadir)/ss/$$i; \
done
- @echo " INSTALL $(bindir)/mk_cmds"
- @$(INSTALL) mk_cmds $(DESTDIR)$(bindir)/mk_cmds
- @echo " INSTALL_DATA $(man1dir)/mk_cmds.1"
- @$(INSTALL_DATA) $(srcdir)/mk_cmds.1 $(DESTDIR)$(man1dir)/mk_cmds.1
- @echo " INSTALL_DATA $(libdir)/pkgconfig/ss.pc"
- @$(INSTALL_DATA) ss.pc $(DESTDIR)$(libdir)/pkgconfig/ss.pc
+ $(INSTALL) mk_cmds $(DESTDIR)$(bindir)/mk_cmds
+ $(INSTALL_DATA) $(srcdir)/mk_cmds.1 $(DESTDIR)$(man1dir)/mk_cmds.1
+ $(INSTALL_DATA) ss.pc $(DESTDIR)$(libdir)/pkgconfig/ss.pc
uninstall::
$(RM) -f $(DESTDIR)$(libdir)/libss.a $(DESTDIR)$(bindir)/mk_cmds \
@@ -163,15 +149,13 @@ uninstall::
$(DESTDIR)$(man1dir)/mk_cmds.1
$(RM) -rf $(DESTDIR)$(includedir)/ss $(DESTDIR)$(datadir)/ss
-test_ss: test_ss.o test_cmd.o $(DEPLIBSS) $(LIBCOM_ERR)
- @echo " LD $@"
- @$(CC) -o $@ test_ss.o test_cmd.o $(ALL_CFLAGS) \
+test_ss: test_ss.o test_cmd.o $(DEPLIBSS) $(DEPLIBCOM_ERR)
+ $(CC) -o $@ test_ss.o test_cmd.o $(ALL_CFLAGS) \
$(LIBSS) $(LIBCOM_ERR)
check:: all test_ss
- @echo " RUN TEST test_ss"
- -@(LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./test_ss -f $(srcdir)/test_script > test_out 2>&1; exit 0)
- @if diff test_out $(srcdir)/test_script_expected > test.diff; then \
+ (LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./test_ss -f $(srcdir)/test_script > test_out 2>&1; exit 0)
+ if diff test_out $(srcdir)/test_script_expected > test.diff; then \
true ; else echo "Regression test for ss library failed!"; exit 1 ; fi
clean::

View File

@ -1,158 +1,14 @@
$OpenBSD: patch-lib_uuid_Makefile_in,v 1.3 2010/04/03 11:53:58 kili Exp $
--- lib/uuid/Makefile.in.orig Tue Feb 19 05:33:10 2008
+++ lib/uuid/Makefile.in Fri Apr 2 21:35:50 2010
@@ -38,18 +38,18 @@ SRCS= $(srcdir)/clear.c \
$(srcdir)/unparse.c \
$(srcdir)/uuid_time.c
-LIBRARY= libuuid
+LIBRARY= libe2fs-uuid
$OpenBSD: patch-lib_uuid_Makefile_in,v 1.4 2013/06/21 22:35:51 sthen Exp $
--- lib/uuid/Makefile.in.orig Mon Jul 30 23:41:44 2012
+++ lib/uuid/Makefile.in Wed Jun 19 14:25:06 2013
@@ -41,8 +41,8 @@ SRCS= $(srcdir)/clear.c \
LIBRARY= libuuid
LIBDIR= uuid
-ELF_VERSION = 1.2
-ELF_SO_VERSION = 1
-ELF_IMAGE = libuuid
+ELF_VERSION = $(LIBe2fs-uuid_VERSION)
+ELF_SO_VERSION = $(LIBe2fs-uuid_VERSION)
+ELF_IMAGE = libe2fs-uuid
+ELF_VERSION = $(LIBuuid_VERSION)
+ELF_SO_VERSION = $(LIBuuid_VERSION)
ELF_IMAGE = libuuid
ELF_MYDIR = uuid
ELF_INSTALL_DIR = $(root_libdir)
ELF_OTHER_LIBS =
BSDLIB_VERSION = 1.1
-BSDLIB_IMAGE = libuuid
+BSDLIB_IMAGE = libe2fs-uuid
BSDLIB_MYDIR = uuid
BSDLIB_INSTALL_DIR = $(root_libdir)
@@ -60,8 +60,7 @@ BSDLIB_INSTALL_DIR = $(root_libdir)
@MAKEFILE_CHECKER@
.c.o:
- @echo " CC $<"
- @$(CC) $(ALL_CFLAGS) -c $< -o $@
+ $(CC) $(ALL_CFLAGS) -c $< -o $@
@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
@CHECKER_CMT@ @$(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $<
@ELF_CMT@ @$(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $<
@@ -73,84 +72,65 @@ $(top_builddir)/lib/uuid/uuid_types.h: $(srcdir)/uuid_
cd $(top_builddir); CONFIG_FILES=$(my_dir)/uuid_types.h ./config.status
tst_uuid.o: $(srcdir)/tst_uuid.c
- @echo " CC $@"
- @$(CC) $(ALL_CFLAGS) -c $(srcdir)/tst_uuid.c -o tst_uuid.o
+ $(CC) $(ALL_CFLAGS) -c $(srcdir)/tst_uuid.c -o tst_uuid.o
tst_uuid: tst_uuid.o $(DEPSTATIC_LIBUUID)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o tst_uuid tst_uuid.o $(STATIC_LIBUUID)
+ $(CC) $(ALL_LDFLAGS) -o tst_uuid tst_uuid.o $(STATIC_LIBUUID)
uuid_time: $(srcdir)/uuid_time.c $(DEPLIBUUID)
- @echo " LD $@"
- @$(CC) $(ALL_CFLAGS) -DDEBUG -o uuid_time $(srcdir)/uuid_time.c \
+ $(CC) $(ALL_CFLAGS) -DDEBUG -o uuid_time $(srcdir)/uuid_time.c \
$(LIBUUID)
uuid.3: $(DEP_SUBSTITUTE) $(srcdir)/uuid.3.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/uuid.3.in uuid.3
+ $(SUBSTITUTE_UPTIME) $(srcdir)/uuid.3.in uuid.3
uuid_clear.3: $(DEP_SUBSTITUTE) $(srcdir)/uuid_clear.3.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/uuid_clear.3.in uuid_clear.3
+ $(SUBSTITUTE_UPTIME) $(srcdir)/uuid_clear.3.in uuid_clear.3
uuid_compare.3: $(DEP_SUBSTITUTE) $(srcdir)/uuid_compare.3.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/uuid_compare.3.in uuid_compare.3
+ $(SUBSTITUTE_UPTIME) $(srcdir)/uuid_compare.3.in uuid_compare.3
uuid_copy.3: $(DEP_SUBSTITUTE) $(srcdir)/uuid_copy.3.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/uuid_copy.3.in uuid_copy.3
+ $(SUBSTITUTE_UPTIME) $(srcdir)/uuid_copy.3.in uuid_copy.3
uuid_generate.3: $(DEP_SUBSTITUTE) $(srcdir)/uuid_generate.3.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/uuid_generate.3.in uuid_generate.3
+ $(SUBSTITUTE_UPTIME) $(srcdir)/uuid_generate.3.in uuid_generate.3
uuid_is_null.3: $(DEP_SUBSTITUTE) $(srcdir)/uuid_is_null.3.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/uuid_is_null.3.in uuid_is_null.3
+ $(SUBSTITUTE_UPTIME) $(srcdir)/uuid_is_null.3.in uuid_is_null.3
uuid_parse.3: $(DEP_SUBSTITUTE) $(srcdir)/uuid_parse.3.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/uuid_parse.3.in uuid_parse.3
+ $(SUBSTITUTE_UPTIME) $(srcdir)/uuid_parse.3.in uuid_parse.3
uuid_time.3: $(DEP_SUBSTITUTE) $(srcdir)/uuid_time.3.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/uuid_time.3.in uuid_time.3
+ $(SUBSTITUTE_UPTIME) $(srcdir)/uuid_time.3.in uuid_time.3
uuid_unparse.3: $(DEP_SUBSTITUTE) $(srcdir)/uuid_unparse.3.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/uuid_unparse.3.in uuid_unparse.3
+ $(SUBSTITUTE_UPTIME) $(srcdir)/uuid_unparse.3.in uuid_unparse.3
uuid.pc: $(srcdir)/uuid.pc.in $(top_builddir)/config.status
- @echo " CONFIG.STATUS $@"
- @cd $(top_builddir); CONFIG_FILES=lib/uuid/uuid.pc ./config.status
+ cd $(top_builddir); CONFIG_FILES=lib/uuid/uuid.pc ./config.status
installdirs::
- @echo " MKINSTALLDIRS $(libdir) $(includedir)/uuid $(man3dir)"
- @$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
+ $(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
$(DESTDIR)$(includedir)/uuid $(DESTDIR)$(man3dir) \
$(DESTDIR)$(libdir)/pkgconfig
install:: all installdirs
- @echo " INSTALL_DATA $(libdir)/libuuid.a"
- @$(INSTALL_DATA) libuuid.a $(DESTDIR)$(libdir)/libuuid.a
- @-$(RANLIB) $(DESTDIR)$(libdir)/libuuid.a
- @$(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libuuid.a
- @echo " INSTALL_DATA $(includedir)/uuid/uuid.h"
- @$(INSTALL_DATA) $(srcdir)/uuid.h $(DESTDIR)$(includedir)/uuid/uuid.h
- @for i in $(SMANPAGES); do \
+ $(INSTALL_DATA) libe2fs-uuid.a $(DESTDIR)$(libdir)/libe2fs-uuid.a
+ $(RANLIB) $(DESTDIR)$(libdir)/libe2fs-uuid.a
+ $(CHMOD) $(LIBMODE) $(DESTDIR)$(libdir)/libe2fs-uuid.a
+ $(INSTALL_DATA) $(srcdir)/uuid.h $(DESTDIR)$(includedir)/uuid/uuid.h
+ for i in $(SMANPAGES); do \
$(RM) -f $(DESTDIR)$(man3dir)/$$i.gz; \
echo " INSTALL_DATA $(man3dir)/$$i"; \
$(INSTALL_DATA) $$i $(DESTDIR)$(man3dir)/$$i; \
done
- @$(RM) -f $(DESTDIR)$(man3dir)/uuid_generate_random.3.gz \
+ $(RM) -f $(DESTDIR)$(man3dir)/uuid_generate_random.3.gz \
$(DESTDIR)$(man3dir)/uuid_generate_time.3.gz
- @echo " LINK $(man3dir)/uuid_generate_random.3"
- @$(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_random.3
- @echo " LINK $(man3dir)/uuid_generate_time.3"
- @$(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_time.3
- @echo " INSTALL_DATA $(libdir)/pkgconfig/uuid.pc"
- @$(INSTALL_DATA) uuid.pc $(DESTDIR)$(libdir)/pkgconfig/uuid.pc
+ $(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_random.3
+ $(LN) -f $(DESTDIR)$(man3dir)/uuid_generate.3 $(DESTDIR)$(man3dir)/uuid_generate_time.3
+ $(INSTALL_DATA) uuid.pc $(DESTDIR)$(libdir)/pkgconfig/uuid.pc
uninstall::
$(RM) -f $(DESTDIR)$(libdir)/libuuid.a \
@@ -175,9 +155,9 @@ distclean:: clean
#
# Hack to parallel makes recognize dependencies correctly.
#
-../../lib/libuuid.a: libuuid.a
-../../lib/libuuid.so: image
-../../lib/libuuid.dylib: image
+../../lib/libe2fs-uuid.a: libe2fs-uuid.a
+../../lib/libe2fs-uuid.so: image
+../../lib/libe2fs-uuid.dylib: image
$(OBJS): subdirs

View File

@ -1,9 +0,0 @@
$OpenBSD: patch-lib_uuid_uuid_pc_in,v 1.2 2010/04/03 11:53:58 kili Exp $
--- lib/uuid/uuid.pc.in.orig Tue Oct 7 16:22:39 2008
+++ lib/uuid/uuid.pc.in Fri Apr 2 22:50:48 2010
@@ -8,4 +8,4 @@ Description: Universally unique id library
Version: @E2FSPROGS_VERSION@
Requires:
Cflags: -I${includedir}/uuid
-Libs: -L${libdir} -luuid
+Libs: -L${libdir} -le2fs-uuid

View File

@ -1,483 +0,0 @@
$OpenBSD: patch-misc_Makefile_in,v 1.5 2010/05/17 12:01:26 ajacoutot Exp $
--- misc/Makefile.in.orig Sat Nov 15 18:33:33 2008
+++ misc/Makefile.in Mon May 17 13:53:57 2010
@@ -74,7 +74,7 @@ SRCS= $(srcdir)/tune2fs.c $(srcdir)/mklost+found.c $(s
$(srcdir)/e2undo.c
LIBS= $(LIBEXT2FS) $(LIBCOM_ERR)
-DEPLIBS= $(LIBEXT2FS) $(LIBCOM_ERR)
+DEPLIBS= $(DEPLIBEXT2FS) $(DEPLIBCOM_ERR)
PROFILED_LIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR)
PROFILED_DEPLIBS= $(PROFILED_LIBEXT2FS) $(PROFILED_LIBCOM_ERR)
@@ -82,13 +82,12 @@ STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR)
STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR)
LIBS_E2P= $(LIBE2P) $(LIBCOM_ERR)
-DEPLIBS_E2P= $(LIBE2P) $(LIBCOM_ERR)
+DEPLIBS_E2P= $(DEPLIBE2P) $(DEpLIBCOM_ERR)
COMPILE_ET=$(top_builddir)/lib/et/compile_et --build-tree
.c.o:
- @echo " CC $<"
- @$(CC) -c $(ALL_CFLAGS) $< -o $@
+ $(CC) -c $(ALL_CFLAGS) $< -o $@
@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $<
all:: profiled $(SPROGS) $(UPROGS) $(USPROGS) $(SMANPAGES) $(UMANPAGES) \
@@ -104,84 +103,68 @@ profiled:
@PROFILE_CMT@ @mkdir profiled
prof_err.c prof_err.h: $(srcdir)/../e2fsck/prof_err.et
- @echo " COMPILE_ET prof_err.et"
- @$(COMPILE_ET) $(srcdir)/../e2fsck/prof_err.et
+ $(COMPILE_ET) $(srcdir)/../e2fsck/prof_err.et
default_profile.c: $(srcdir)/mke2fs.conf $(srcdir)/profile-to-c.awk
- @echo " PROFILE_TO_C mke2fs.conf"
- @$(AWK) -f $(srcdir)/profile-to-c.awk < $(srcdir)/mke2fs.conf \
+ $(AWK) -f $(srcdir)/profile-to-c.awk < $(srcdir)/mke2fs.conf \
> default_profile.c
profile.o:
- @echo " CC $<"
- @$(CC) -c $(ALL_CFLAGS) $(srcdir)/../e2fsck/profile.c -o $@
+ $(CC) -c $(ALL_CFLAGS) $(srcdir)/../e2fsck/profile.c -o $@
@PROFILE_CMT@ @$(CC) $(ALL_CFLAGS) -g -pg -o profiled/profile.o -c \
@PROFILE_CMT@ $(srcdir)/../e2fsck/profile.c
findsuper: findsuper.o
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o findsuper findsuper.o
+ $(CC) $(ALL_LDFLAGS) -o findsuper findsuper.o
partinfo: partinfo.o
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o partinfo partinfo.o
+ $(CC) $(ALL_LDFLAGS) -o partinfo partinfo.o
-e2initrd_helper: e2initrd_helper.o $(DEPLIBS) $(DEPLIBBLKID) $(LIBEXT2FS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o e2initrd_helper e2initrd_helper.o $(LIBS) \
+e2initrd_helper: e2initrd_helper.o $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBEXT2FS)
+ $(CC) $(ALL_LDFLAGS) -o e2initrd_helper e2initrd_helper.o $(LIBS) \
$(LIBBLKID) $(LIBEXT2FS) $(LIBINTL)
tune2fs: $(TUNE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBBLKID) \
- $(DEPLIBUUID) $(LIBEXT2FS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o tune2fs $(TUNE2FS_OBJS) $(LIBS) \
+ $(DEPLIBUUID) $(DEPLIBEXT2FS)
+ $(CC) $(ALL_LDFLAGS) -o tune2fs $(TUNE2FS_OBJS) $(LIBS) \
$(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBS_E2P) $(LIBINTL)
tune2fs.static: $(TUNE2FS_OBJS) $(STATIC_DEPLIBS) $(STATIC_LIBE2P) $(DEPSTATIC_LIBBLKID)
- @echo " LD $@"
- @$(CC) $(LDFLAGS_STATIC) -o tune2fs.static $(TUNE2FS_OBJS) \
+ $(CC) $(LDFLAGS_STATIC) -o tune2fs.static $(TUNE2FS_OBJS) \
$(STATIC_LIBS) $(STATIC_LIBBLKID) $(STATIC_LIBUUID) \
$(STATIC_LIBE2P) $(LIBINTL)
tune2fs.profiled: $(PROFILED_TUNE2FS_OBJS) $(PROFILED_DEPLIBS) \
$(PROFILED_E2P) $(DEPPROFILED_LIBBLKID) $(DEPPROFILED_LIBUUID)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -g -pg -o tune2fs.profiled \
+ $(CC) $(ALL_LDFLAGS) -g -pg -o tune2fs.profiled \
$(PROFILED_TUNE2FS_OBJS) $(PROFILED_LIBBLKID) \
$(PROFILED_LIBUUID) $(PROFILED_LIBE2P) $(LIBINTL) \
$(PROFILED_LIBS)
-blkid: $(BLKID_OBJS) $(DEPLIBBLKID) $(LIBEXT2FS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o blkid $(BLKID_OBJS) $(LIBBLKID) $(LIBINTL) \
- $(LIBEXT2FS)
+blkid: $(BLKID_OBJS) $(DEPLIBBLKID) $(DEPLIBEXT2FS) $(DEPLIBCOM_ERR)
+ $(CC) $(ALL_LDFLAGS) -o blkid $(BLKID_OBJS) $(LIBBLKID) $(LIBINTL) \
+ $(LIBEXT2FS) $(LIBCOM_ERR)
blkid.profiled: $(PROFILED_BLKID_OBJS) $(DEPPROFILED_LIBBLKID) \
$(PROFILED_LIBEXT2FS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -g -pg -o blkid.profiled $(PROFILED_BLKID_OBJS) \
+ $(CC) $(ALL_LDFLAGS) -g -pg -o blkid.profiled $(PROFILED_BLKID_OBJS) \
$(PROFILED_LIBBLKID) $(LIBINTL) $(PROFILED_LIBEXT2FS)
e2image: $(E2IMAGE_OBJS) $(DEPLIBS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o e2image $(E2IMAGE_OBJS) $(LIBS) $(LIBINTL)
+ $(CC) $(ALL_LDFLAGS) -o e2image $(E2IMAGE_OBJS) $(LIBS) $(LIBINTL)
e2image.profiled: $(PROFILED_E2IMAGE_OBJS) $(PROFILED_DEPLIBS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -g -pg -o e2image.profiled \
+ $(CC) $(ALL_LDFLAGS) -g -pg -o e2image.profiled \
$(PROFILED_E2IMAGE_OBJS) $(PROFILED_LIBS) $(LIBINTL)
e2undo: $(E2UNDO_OBJS) $(DEPLIBS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o e2undo $(E2UNDO_OBJS) $(LIBS) $(LIBINTL)
+ $(CC) $(ALL_LDFLAGS) -o e2undo $(E2UNDO_OBJS) $(LIBS) $(LIBINTL)
e2undo.profiled: $(PROFILED_E2UNDO_OBJS) $(PROFILED_DEPLIBS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -g -pg -o e2undo.profiled \
+ $(CC) $(ALL_LDFLAGS) -g -pg -o e2undo.profiled \
$(PROFILED_E2UNDO_OBJS) $(PROFILED_LIBS) $(LIBINTL)
base_device: base_device.c
- @echo " LD $@"
- @$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(srcdir)/base_device.c \
+ $(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(srcdir)/base_device.c \
-DDEBUG -o base_device
check:: base_device
@@ -189,267 +172,208 @@ check:: base_device
cmp $(srcdir)/base_device.tst base_device.out
mklost+found: $(MKLPF_OBJS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o mklost+found $(MKLPF_OBJS) $(LIBINTL)
+ $(CC) $(ALL_LDFLAGS) -o mklost+found $(MKLPF_OBJS) $(LIBINTL)
-mke2fs: $(MKE2FS_OBJS) $(DEPLIBS) $(LIBE2P) $(DEPLIBBLKID) $(DEPLIBUUID) \
- $(LIBEXT2FS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o mke2fs $(MKE2FS_OBJS) $(LIBS) $(LIBBLKID) \
+mke2fs: $(MKE2FS_OBJS) $(DEPLIBS) $(DEPLIBE2P) $(DEPLIBBLKID) $(DEPLIBUUID) \
+ $(DEPLIBEXT2FS)
+ $(CC) $(ALL_LDFLAGS) -o mke2fs $(MKE2FS_OBJS) $(LIBS) $(LIBBLKID) \
$(LIBUUID) $(LIBEXT2FS) $(LIBE2P) $(LIBINTL)
mke2fs.static: $(MKE2FS_OBJS) $(STATIC_DEPLIBS) $(STATIC_LIBE2P) $(DEPSTATIC_LIBUUID) $(DEPSTATIC_LIBBLKID)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -static -o mke2fs.static $(MKE2FS_OBJS) \
+ $(CC) $(ALL_LDFLAGS) -static -o mke2fs.static $(MKE2FS_OBJS) \
$(STATIC_LIBS) $(STATIC_LIBE2P) $(STATIC_LIBBLKID) \
$(STATIC_LIBUUID) $(LIBINTL)
mke2fs.profiled: $(PROFILED_MKE2FS_OBJS) $(PROFILED_DEPLIBS) \
$(PROFILED_LIBE2P) $(PROFILED_DEPLIBBLKID) $(PROFILED_DEPLIBUUID)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -g -pg -o mke2fs.profiled \
+ $(CC) $(ALL_LDFLAGS) -g -pg -o mke2fs.profiled \
$(PROFILED_MKE2FS_OBJS) $(PROFILED_LIBBLKID) \
$(PROFILED_LIBUUID) $(PROFILED_LIBE2P) $(LIBINTL) \
$(PROFILED_LIBS)
chattr: $(CHATTR_OBJS) $(DEPLIBS_E2P)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o chattr $(CHATTR_OBJS) $(LIBS_E2P) $(LIBINTL)
+ $(CC) $(ALL_LDFLAGS) -o chattr $(CHATTR_OBJS) $(LIBS_E2P) $(LIBINTL)
lsattr: $(LSATTR_OBJS) $(DEPLIBS_E2P)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o lsattr $(LSATTR_OBJS) $(LIBS_E2P) $(LIBINTL)
+ $(CC) $(ALL_LDFLAGS) -o lsattr $(LSATTR_OBJS) $(LIBS_E2P) $(LIBINTL)
uuidgen: $(UUIDGEN_OBJS) $(DEPLIBUUID)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o uuidgen $(UUIDGEN_OBJS) $(LIBUUID) $(LIBINTL)
+ $(CC) $(ALL_LDFLAGS) -o uuidgen $(UUIDGEN_OBJS) $(LIBUUID) $(LIBINTL)
uuidgen.profiled: $(PROFILED_UUIDGEN_OBJS) $(PROFILED_DEPLIBUUID)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -g -pg -o uuidgen.profiled \
+ $(CC) $(ALL_LDFLAGS) -g -pg -o uuidgen.profiled \
$(PROFILED_UUIDGEN_OBJS) $(PROFILED_LIBUUID) $(LIBINTL)
uuidd: $(UUIDD_OBJS) $(DEPLIBUUID)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o uuidd $(UUIDD_OBJS) $(LIBUUID) $(LIBINTL)
+ $(CC) $(ALL_LDFLAGS) -o uuidd $(UUIDD_OBJS) $(LIBUUID) $(LIBINTL)
uuidd.profiled: $(PROFILED_UUIDD_OBJS) $(PROFILED_DEPLIBUUID)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -g -pg -o uuidd.profiled $(PROFILED_UUIDD_OBJS) \
+ $(CC) $(ALL_LDFLAGS) -g -pg -o uuidd.profiled $(PROFILED_UUIDD_OBJS) \
$(PROFILED_LIBUUID) $(LIBINTL)
dumpe2fs: $(DUMPE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBUUID)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o dumpe2fs $(DUMPE2FS_OBJS) $(LIBS) \
+ $(CC) $(ALL_LDFLAGS) -o dumpe2fs $(DUMPE2FS_OBJS) $(LIBS) \
$(LIBS_E2P) $(LIBUUID) $(LIBINTL)
dumpe2fs.profiled: $(PROFILED_DUMPE2FS_OBJS) $(PROFILED_DEPLIBS) \
$(PROFILED_LIBE2P) $(PROFILED_DEPLIBUUID)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -g -pg -o dumpe2fs.profiled \
+ $(CC) $(ALL_LDFLAGS) -g -pg -o dumpe2fs.profiled \
$(PROFILED_DUMPE2FS_OBJS) $(PROFILED_LIBS) \
$(PROFILED_LIBE2P) $(PROFILED_LIBUUID) $(LIBINTL)
fsck: $(FSCK_OBJS) $(DEPLIBBLKID)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) $(LIBINTL)
+ $(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) $(LIBINTL)
fsck.profiled: $(PROFILED_FSCK_OBJS) $(PROFILED_DEPLIBBLKID)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -g -pg -o fsck.profiled $(PROFILED_FSCK_OBJS) \
+ $(CC) $(ALL_LDFLAGS) -g -pg -o fsck.profiled $(PROFILED_FSCK_OBJS) \
$(PROFILED_LIBBLKID) $(LIBINTL)
badblocks: $(BADBLOCKS_OBJS) $(DEPLIBS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o badblocks $(BADBLOCKS_OBJS) $(LIBS) $(LIBINTL)
+ $(CC) $(ALL_LDFLAGS) -o badblocks $(BADBLOCKS_OBJS) $(LIBS) $(LIBINTL)
badblocks.profiled: $(PROFILED_BADBLOCKS_OBJS) $(PROFILED_DEPLIBS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -g -pg -o badblocks.profiled \
+ $(CC) $(ALL_LDFLAGS) -g -pg -o badblocks.profiled \
$(PROFILED_BADBLOCKS_OBJS) $(PROFILED_LIBS) $(LIBINTL)
logsave: logsave.o
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o logsave logsave.o
+ $(CC) $(ALL_LDFLAGS) -o logsave logsave.o
logsave.profiled: profiled/logsave.o
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -g -pg -o logsave.profiled profiled/logsave.o
+ $(CC) $(ALL_LDFLAGS) -g -pg -o logsave.profiled profiled/logsave.o
filefrag: $(FILEFRAG_OBJS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o filefrag $(FILEFRAG_OBJS)
+ $(CC) $(ALL_LDFLAGS) -o filefrag $(FILEFRAG_OBJS)
filefrag.profiled: $(PROFILED_FILEFRAG_OBJS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -g -pg -o filefrag.profiled \
+ $(CC) $(ALL_LDFLAGS) -g -pg -o filefrag.profiled \
$(PROFILED_FILEFRAG_OBJS)
tst_ismounted: $(srcdir)/ismounted.c $(STATIC_LIBEXT2FS)
- @echo " LD $@"
$(CC) -o tst_ismounted $(srcdir)/ismounted.c -DDEBUG $(ALL_CFLAGS) $(LIBCOM_ERR)
tune2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/tune2fs.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/tune2fs.8.in tune2fs.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/tune2fs.8.in tune2fs.8
mklost+found.8: $(DEP_SUBSTITUTE) $(srcdir)/mklost+found.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/mklost+found.8.in mklost+found.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/mklost+found.8.in mklost+found.8
mke2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.8.in mke2fs.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.8.in mke2fs.8
mke2fs.conf.5: $(DEP_SUBSTITUTE) $(srcdir)/mke2fs.conf.5.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.conf.5.in mke2fs.conf.5
+ $(SUBSTITUTE_UPTIME) $(srcdir)/mke2fs.conf.5.in mke2fs.conf.5
e2label.8: $(DEP_SUBSTITUTE) $(srcdir)/e2label.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/e2label.8.in e2label.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/e2label.8.in e2label.8
e2undo.8: $(DEP_SUBSTITUTE) $(srcdir)/e2undo.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/e2undo.8.in e2undo.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/e2undo.8.in e2undo.8
findfs.8: $(DEP_SUBSTITUTE) $(srcdir)/findfs.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/findfs.8.in findfs.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/findfs.8.in findfs.8
e2image.8: $(DEP_SUBSTITUTE) $(srcdir)/e2image.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/e2image.8.in e2image.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/e2image.8.in e2image.8
dumpe2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/dumpe2fs.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/dumpe2fs.8.in dumpe2fs.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/dumpe2fs.8.in dumpe2fs.8
badblocks.8: $(DEP_SUBSTITUTE) $(srcdir)/badblocks.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/badblocks.8.in badblocks.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/badblocks.8.in badblocks.8
fsck.8: $(DEP_SUBSTITUTE) $(srcdir)/fsck.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/fsck.8.in fsck.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/fsck.8.in fsck.8
blkid.8: $(DEP_SUBSTITUTE) $(srcdir)/blkid.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/blkid.8.in blkid.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/blkid.8.in blkid.8
logsave.8: $(DEP_SUBSTITUTE) $(srcdir)/logsave.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/logsave.8.in logsave.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/logsave.8.in logsave.8
uuidd.8: $(DEP_SUBSTITUTE) $(srcdir)/uuidd.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/uuidd.8.in uuidd.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/uuidd.8.in uuidd.8
chattr.1: $(DEP_SUBSTITUTE) $(srcdir)/chattr.1.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/chattr.1.in chattr.1
+ $(SUBSTITUTE_UPTIME) $(srcdir)/chattr.1.in chattr.1
lsattr.1: $(DEP_SUBSTITUTE) $(srcdir)/lsattr.1.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/lsattr.1.in lsattr.1
+ $(SUBSTITUTE_UPTIME) $(srcdir)/lsattr.1.in lsattr.1
uuidgen.1: $(DEP_SUBSTITUTE) $(srcdir)/uuidgen.1.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/uuidgen.1.in uuidgen.1
+ $(SUBSTITUTE_UPTIME) $(srcdir)/uuidgen.1.in uuidgen.1
blkid.1: $(DEP_SUBSTITUTE) $(srcdir)/blkid.1.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/blkid.1.in blkid.1
+ $(SUBSTITUTE_UPTIME) $(srcdir)/blkid.1.in blkid.1
filefrag.8: $(DEP_SUBSTITUTE) $(srcdir)/filefrag.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/filefrag.8.in filefrag.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/filefrag.8.in filefrag.8
installdirs:
- @echo " MKINSTALLDIRS $(sbindir) $(root_sbindir) $(bindir) $(man1dir) $(man8dir) $(libdir) $(root_sysconfdir)"
- @$(MKINSTALLDIRS) $(DESTDIR)$(sbindir) \
+ $(MKINSTALLDIRS) $(DESTDIR)$(sbindir) \
$(DESTDIR)$(root_sbindir) $(DESTDIR)$(bindir) \
$(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir) \
$(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir) \
$(DESTDIR)$(libdir) $(DESTDIR)/$(root_sysconfdir)
install: all $(SMANPAGES) $(UMANPAGES) installdirs
- @for i in $(SPROGS); do \
- echo " INSTALL $(root_sbindir)/$$i"; \
+ for i in $(SPROGS); do \
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
done
- @for i in $(USPROGS); do \
- echo " INSTALL $(sbindir)/$$i"; \
+ for i in $(USPROGS); do \
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(sbindir)/$$i; \
done
- @echo " LINK $(root_sbindir)/mkfs.ext2"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
+ $(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
$(DESTDIR)$(root_sbindir)/mkfs.ext2
- @echo " LINK $(root_sbindir)/mkfs.ext3"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
+ $(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
$(DESTDIR)$(root_sbindir)/mkfs.ext3
- @echo " LINK $(root_sbindir)/mkfs.ext4"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
+ $(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
$(DESTDIR)$(root_sbindir)/mkfs.ext4
- @echo " LINK $(root_sbindir)/mkfs.ext4dev"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
+ $(LN) -f $(DESTDIR)$(root_sbindir)/mke2fs \
$(DESTDIR)$(root_sbindir)/mkfs.ext4dev
- @echo " LINK $(root_sbindir)/e2label"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
+ $(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
$(DESTDIR)$(root_sbindir)/e2label
- @echo " LINK $(root_sbindir)/findfs"
- @$(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
+ $(LN) -f $(DESTDIR)$(root_sbindir)/tune2fs \
$(DESTDIR)$(root_sbindir)/findfs
- @for i in $(UPROGS); do \
- echo " INSTALL $(bindir)/$$i"; \
+ for i in $(UPROGS); do \
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(bindir)/$$i; \
done
- @for i in $(LPROGS); do \
- echo " INSTALL $(libdir)/$$i"; \
+ for i in $(LPROGS); do \
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(libdir)/$$i; \
done
- @for i in $(SMANPAGES); do \
+ for i in $(SMANPAGES); do \
for j in $(COMPRESS_EXT); do \
$(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
done; \
- echo " INSTALL_DATA $(man8dir)/$$i"; \
$(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
done
- @$(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8.gz \
+ $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ext2.8.gz \
$(DESTDIR)$(man8dir)/mkfs.ext3.8.gz
- @echo " LINK mkfs.ext2.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
+ $(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
$(DESTDIR)$(man8dir)/mkfs.ext2.8
- @echo " LINK mkfs.ext3.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
+ $(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
$(DESTDIR)$(man8dir)/mkfs.ext3.8
- @echo " LINK mkfs.ext4.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
+ $(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
$(DESTDIR)$(man8dir)/mkfs.ext4.8
- @echo " LINK mkfs.ext4dev.8"
- @$(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
+ $(LN) -f $(DESTDIR)$(man8dir)/mke2fs.8 \
$(DESTDIR)$(man8dir)/mkfs.ext4dev.8
- @for i in $(UMANPAGES); do \
+ for i in $(UMANPAGES); do \
for j in $(COMPRESS_EXT); do \
$(RM) -f $(DESTDIR)$(man1dir)/$$i.$$j; \
done; \
- echo " INSTALL_DATA $(man1dir)/$$i"; \
$(INSTALL_DATA) $$i $(DESTDIR)$(man1dir)/$$i; \
done
- @for i in $(FMANPAGES); do \
+ for i in $(FMANPAGES); do \
for j in $(COMPRESS_EXT); do \
$(RM) -f $(DESTDIR)$(man5dir)/$$i.$$j; \
done; \
- echo " INSTALL_DATA $(man5dir)/$$i"; \
$(INSTALL_DATA) $$i $(DESTDIR)$(man5dir)/$$i; \
done
- @if test -f $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; then \
+ if test -f $(DESTDIR)$(root_sysconfdir)/mke2fs.conf; then \
if cmp -s $(DESTDIR)$(root_sysconfdir)/mke2fs.conf \
$(srcdir)/mke2fs.conf; then \
true; \
else \
if grep -q ext4dev $(DESTDIR)$(root_sysconfdir)/mke2fs.conf ; then \
- echo " INSTALL_DATA $(root_sysconfdir)/mke2fs.conf.e2fsprogs-new"; \
$(INSTALL_DATA) $(srcdir)/mke2fs.conf \
$(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-new; \
echo "Warning: installing mke2fs.conf in $(DESTDIR)$(root_sysconfdir)/mke2fs.conf.e2fsprogs-new"; \
@@ -467,18 +391,15 @@ install: all $(SMANPAGES) $(UMANPAGES) installdirs
echo " "; \
fi; \
else \
- echo " INSTALL_DATA $(root_sysconfdir)/mke2fs.conf"; \
$(INSTALL_DATA) $(srcdir)/mke2fs.conf \
$(DESTDIR)$(root_sysconfdir)/mke2fs.conf; \
fi
install-strip: install
- @for i in $(SPROGS); do \
- echo " STRIP $(root_sbindir)/$$i"; \
+ for i in $(SPROGS); do \
$(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
done
- @for i in $(USPROGS); do \
- echo " STRIP $(sbindir)/$$i"; \
+ for i in $(USPROGS); do \
$(STRIP) $(DESTDIR)$(sbindir)/$$i; \
done

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-misc_fsck_8_in,v 1.2 2009/03/15 19:59:31 landry Exp $
--- misc/fsck.8.in.orig Wed Apr 2 17:56:12 2008
+++ misc/fsck.8.in Sat Feb 21 16:54:47 2009
$OpenBSD: patch-misc_fsck_8_in,v 1.3 2013/06/21 22:35:51 sthen Exp $
--- misc/fsck.8.in.orig Thu Aug 13 02:39:57 2009
+++ misc/fsck.8.in Wed Jun 19 14:25:04 2013
@@ -2,11 +2,11 @@
.\" Copyright 1993, 1994, 1995 by Theodore Ts'o. All Rights Reserved.
.\" This file may be copied under the terms of the GNU Public License.

View File

@ -1,70 +0,0 @@
$OpenBSD: patch-resize_Makefile_in,v 1.3 2009/03/15 19:59:31 landry Exp $
--- resize/Makefile.in.orig Sat Jun 30 14:58:35 2007
+++ resize/Makefile.in Sun Feb 22 11:52:47 2009
@@ -27,56 +27,47 @@ SRCS= $(srcdir)/extent.c \
$(srcdir)/sim_progress.c
LIBS= $(LIBE2P) $(LIBEXT2FS) $(LIBCOM_ERR) $(LIBINTL)
-DEPLIBS= $(LIBE2P) $(LIBEXT2FS) $(LIBCOM_ERR)
+DEPLIBS= $(DEPLIBE2P) $(DEPLIBEXT2FS) $(DEPLIBCOM_ERR)
STATIC_LIBS= $(STATIC_LIBE2P) $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) \
$(LIBINTL)
STATIC_DEPLIBS= $(STATIC_LIBE2P) $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR)
.c.o:
- @echo " CC $<"
- @$(CC) -c $(ALL_CFLAGS) $< -o $@
+ $(CC) -c $(ALL_CFLAGS) $< -o $@
all:: $(PROGS) $(TEST_PROGS) $(MANPAGES)
resize2fs: $(RESIZE_OBJS) $(DEPLIBS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o resize2fs $(RESIZE_OBJS) $(LIBS)
+ $(CC) $(ALL_LDFLAGS) -o resize2fs $(RESIZE_OBJS) $(LIBS)
resize2fs.static: $(RESIZE_OBJS) $(STATIC_DEPLIBS)
- @echo " LD $@"
- @$(LD) $(ALL_LDFLAGS) $(LDFLAG_STATIC) -o resize2fs.static \
+ $(LD) $(ALL_LDFLAGS) $(LDFLAG_STATIC) -o resize2fs.static \
$(RESIZE_OBJS) $(STATIC_LIBS)
resize2fs.8: $(DEP_SUBSTITUTE) $(srcdir)/resize2fs.8.in
- @echo " SUBST $@"
- @$(SUBSTITUTE_UPTIME) $(srcdir)/resize2fs.8.in resize2fs.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/resize2fs.8.in resize2fs.8
test_extent: $(TEST_EXTENT_OBJS)
- @echo " LD $@"
- @$(CC) $(ALL_LDFLAGS) -o test_extent $(TEST_EXTENT_OBJS) $(LIBS)
+ $(CC) $(ALL_LDFLAGS) -o test_extent $(TEST_EXTENT_OBJS) $(LIBS)
installdirs:
- @echo " MKINSTALLDIRS $(root_sbindir) $(man8dir)"
- @$(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
+ $(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
$(DESTDIR)$(man8dir)
install: $(PROGS) $(MANPAGES) installdirs
- @for i in $(PROGS); do \
- echo " INSTALL $(root_sbindir)/$$i"; \
+ for i in $(PROGS); do \
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
done
- @for i in $(MANPAGES); do \
+ for i in $(MANPAGES); do \
for j in $(COMPRESS_EXT); do \
$(RM) -f $(DESTDIR)$(man8dir)/$$i.$$j; \
done; \
- echo " INSTALL_DATA $(man8dir)/$$i"; \
$(INSTALL_DATA) $$i $(DESTDIR)$(man8dir)/$$i; \
done
install-strip: install
- @for i in $(PROGS); do \
- echo " STRIP $(root_sbindir)/$$i"; \
+ for i in $(PROGS); do \
$(STRIP) $(DESTDIR)$(root_sbindir)/$$i; \
done

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-tests_progs_Makefile_in,v 1.3 2009/03/15 19:59:31 landry Exp $
--- tests/progs/Makefile.in.orig Wed Jun 18 05:53:42 2008
+++ tests/progs/Makefile.in Sat Feb 21 17:12:42 2009
@@ -22,7 +22,7 @@ TEST_ICOUNT_OBJS= test_icount.o test_icount_cmds.o
SRCS= $(srcdir)/test_rel.c
LIBS= $(LIBEXT2FS) $(LIBSS) $(LIBCOM_ERR)
-DEPLIBS= $(LIBEXT2FS) $(DEPLIBSS) $(LIBCOM_ERR)
+DEPLIBS= $(DEPLIBEXT2FS) $(DEPLIBSS) $(DEPLIBCOM_ERR)
.c.o:
@echo " CC $<"

View File

@ -1,23 +0,0 @@
$OpenBSD: patch-tests_u_mke2fs_script,v 1.1 2009/03/15 19:59:31 landry Exp $
--- tests/u_mke2fs/script.orig Sun Feb 22 12:52:58 2009
+++ tests/u_mke2fs/script Sun Feb 22 12:53:14 2009
@@ -11,16 +11,16 @@ dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/nul
echo mke2fs -q -F -o Linux -b 1024 test.img > $OUT
$MKE2FS -F -o Linux -I 128 -b 1024 $TMPFILE >> $OUT 2>&1
-md5=`md5sum $TMPFILE | cut -d " " -f 1`
+md5=`md5 $TMPFILE | cut -d " " -f 1`
echo md5sum before mke2fs $md5 >> $OUT
echo using mke2fs to test e2undo >> $OUT
$MKE2FS -q -F -o Linux -I 256 -O uninit_bg -E lazy_itable_init=1 -b 1024 $TMPFILE >> $OUT 2>&1
-new_md5=`md5sum $TMPFILE | cut -d " " -f 1`
+new_md5=`md5 $TMPFILE | cut -d " " -f 1`
echo md5sum after mke2fs $new_md5 >> $OUT
$E2UNDO_EXE $TDB_FILE $TMPFILE >> $OUT 2>&1
-new_md5=`md5sum $TMPFILE | cut -d " " -f 1`
+new_md5=`md5 $TMPFILE | cut -d " " -f 1`
echo md5sum after e2undo $new_md5 >> $OUT
if [ $md5 = $new_md5 ]; then

View File

@ -1,23 +0,0 @@
$OpenBSD: patch-tests_u_tune2fs_script,v 1.1 2009/03/15 19:59:31 landry Exp $
--- tests/u_tune2fs/script.orig Sun Feb 22 12:52:31 2009
+++ tests/u_tune2fs/script Sun Feb 22 12:52:48 2009
@@ -11,16 +11,16 @@ dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/nul
echo mke2fs -q -F -o Linux -b 1024 $TMPFILE > $OUT
$MKE2FS -q -F -o Linux -I 128 -b 1024 $TMPFILE >> $OUT 2>&1
-md5=`md5sum $TMPFILE | cut -d " " -f 1`
+md5=`md5 $TMPFILE | cut -d " " -f 1`
echo md5sum before tune2fs $md5 >> $OUT
echo using tune2fs to test e2undo >> $OUT
$TUNE2FS -I 256 $TMPFILE >> $OUT 2>&1
-new_md5=`md5sum $TMPFILE | cut -d " " -f 1`
+new_md5=`md5 $TMPFILE | cut -d " " -f 1`
echo md5sum after tune2fs $new_md5 >> $OUT
$E2UNDO_EXE $TDB_FILE $TMPFILE >> $OUT 2>&1
-new_md5=`md5sum $TMPFILE | cut -d " " -f 1`
+new_md5=`md5 $TMPFILE | cut -d " " -f 1`
echo md5sum after e2undo $new_md5 >> $OUT
if [ $md5 = $new_md5 ]; then

View File

@ -1,7 +0,0 @@
@comment $OpenBSD: PFRAG.shared,v 1.5 2010/04/03 11:53:58 kili Exp $
@lib lib/libblkid.so.${LIBblkid_VERSION}
@lib lib/libe2fs-uuid.so.${LIBe2fs-uuid_VERSION}
@lib lib/libe2p.so.${LIBe2p_VERSION}
@lib lib/libext2fs.so.${LIBext2fs_VERSION}
@lib lib/libext2fs_com_err.so.${LIBext2fs_com_err_VERSION}
@lib lib/libss.so.${LIBss_VERSION}

View File

@ -1,11 +1,10 @@
@comment $OpenBSD: PLIST,v 1.10 2011/07/31 14:48:19 kili Exp $
@comment $OpenBSD: PLIST,v 1.11 2013/06/21 22:35:51 sthen Exp $
@conflict e2fs-uuid-*
@conflict uuid-*
@conflict ossp-uuid-<1.6.2p1
@conflict ossp-uuid-<1.6.2p2
@pkgpath sysutils/e2fsprogs,-main
@pkgpath sysutils/e2fsprogs,-uuid
@bin bin/chattr
@comment bin/compile_et
@bin bin/lsattr
bin/mk_cmds
@bin bin/uuidgen
@ -14,8 +13,6 @@ include/blkid/blkid.h
include/blkid/blkid_types.h
include/e2p/
include/e2p/e2p.h
include/et/
include/et/com_err.h
include/ext2fs/
include/ext2fs/bitops.h
include/ext2fs/ext2_err.h
@ -25,36 +22,41 @@ include/ext2fs/ext2_io.h
include/ext2fs/ext2_types.h
include/ext2fs/ext2fs.h
include/ext2fs/ext3_extents.h
include/ext2fs/qcow2.h
include/ext2fs/tdb.h
include/quota/
include/quota/mkquota.h
include/ss/
include/ss/ss.h
include/ss/ss_err.h
include/uuid/
include/uuid/uuid.h
%%SHARED%%
@info info/libext2fs.info
@bin lib/e2initrd_helper
lib/libblkid.a
lib/libe2fs-uuid.a
@lib lib/libblkid.so.${LIBblkid_VERSION}
lib/libe2p.a
@lib lib/libe2p.so.${LIBe2p_VERSION}
lib/libext2fs.a
lib/libext2fs_com_err.a
@lib lib/libext2fs.so.${LIBext2fs_VERSION}
lib/libquota.a
lib/libss.a
@lib lib/libss.so.${LIBss_VERSION}
lib/libuuid.a
@lib lib/libuuid.so.${LIBuuid_VERSION}
lib/pkgconfig/
lib/pkgconfig/blkid.pc
lib/pkgconfig/com_err.pc
lib/pkgconfig/e2p.pc
lib/pkgconfig/ext2fs.pc
lib/pkgconfig/quota.pc
lib/pkgconfig/ss.pc
lib/pkgconfig/uuid.pc
@man man/man1/chattr.1
@comment man/man1/compile_et.1
@man man/man1/lsattr.1
@man man/man1/mk_cmds.1
@man man/man1/uuidgen.1
@man man/man3/com_err.3
@man man/man3/e2fs-uuid.3
@man man/man3/libblkid.3
@man man/man3/uuid.3
@man man/man3/uuid_clear.3
@man man/man3/uuid_compare.3
@man man/man3/uuid_copy.3
@ -71,6 +73,7 @@ lib/pkgconfig/uuid.pc
@man man/man8/blkid.8
@man man/man8/debugfs.8
@man man/man8/dumpe2fs.8
@man man/man8/e2freefrag.8
@man man/man8/e2fsck.8
@man man/man8/e2image.8
@man man/man8/e2label.8
@ -96,6 +99,7 @@ lib/pkgconfig/uuid.pc
@bin sbin/blkid
@bin sbin/debugfs
@bin sbin/dumpe2fs
@bin sbin/e2freefrag
@bin sbin/e2fsck
@bin sbin/e2image
@bin sbin/e2label
@ -135,6 +139,7 @@ share/locale/pl/LC_MESSAGES/e2fsprogs.mo
share/locale/sv/LC_MESSAGES/e2fsprogs.mo
share/locale/tr/LC_MESSAGES/e2fsprogs.mo
share/locale/vi/LC_MESSAGES/e2fsprogs.mo
share/locale/zh_CN/LC_MESSAGES/e2fsprogs.mo
share/ss/
share/ss/ct_c.awk
share/ss/ct_c.sed