Skip to contentSkip to conversation

xfsprogs: generate complete source tarball from Makepkgs

PATCH In review Christoph Hellwig 2 participants 3 messages Feb 17, 2009 – Feb 23, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfsprogs: generate complete source tarball from Makepkgs

The source file lists in the Makefiles were missing a couple of files. Because those missing files include the new headers that are only installed on make install-qa that resulting tarball would not even be buildable.

include/buildmacros +1 -0
Index: xfsprogs-dev/include/buildmacros
===================================================================
@@ -15,6 +15,7 @@ LDLIBS = $(LLDLIBS) $(PLDLIBS) $(MALLOCL
 
 MAKEOPTS = --no-print-directory
 SRCFILES = Makefile $(HFILES) $(CFILES) $(LSRCFILES) $(LFILES) $(YFILES)
+SRCFILES += $(QAHFILES)
 
 DEPDIRT = dep dep.bak
 MANDIRT = *.[1-9].gz
db/Makefile +2 -0
Index: xfsprogs-dev/db/Makefile
===================================================================
@@ -15,6 +15,8 @@ HFILES = addr.h agf.h agfl.h agi.h attr.
 	text.h type.h write.h attrset.h
 CFILES = $(HFILES:.h=.c)
 LSRCFILES = xfs_admin.sh xfs_check.sh xfs_ncheck.sh xfs_metadump.sh
+LSRCFILES += xfs_check64.sh xfs_ncheck64.sh
+
 LLDLIBS	= $(LIBXFS) $(LIBXLOG) $(LIBUUID) $(LIBRT) $(LIBPTHREAD)
 LTDEPENDENCIES = $(LIBXFS) $(LIBXLOG)
 LLDFLAGS += -static
doc/Makefile +1 -1
Index: xfsprogs-dev/doc/Makefile
===================================================================
@@ -5,7 +5,7 @@
 TOPDIR = ..
 include $(TOPDIR)/include/builddefs
 
-LSRCFILES = INSTALL PORTING CHANGES COPYING CREDITS
+LSRCFILES = INSTALL PORTING CHANGES COPYING CREDITS sparse.txt
 LDIRT = *.gz
 
 default: CHANGES.gz
include/Makefile +1 -1
Index: xfsprogs-dev/include/Makefile
===================================================================
@@ -37,7 +37,7 @@ PHFILES = darwin.h freebsd.h irix.h linu
 DKHFILES = volume.h fstyp.h dvh.h
 LSRCFILES = $(shell echo $(PHFILES) | sed -e "s/$(PKG_PLATFORM).h//g")
 LSRCFILES += platform_defs.h.in builddefs.in buildmacros buildrules $(DKHFILES)
-LSRCFILES += command.h input.h path.h project.h
+LSRCFILES += command.h input.h path.h project.h unaligned.h
 LDIRT = xfs disk
 
 default install: xfs disk
repair/Makefile +2 -0
Index: xfsprogs-dev/repair/Makefile
===================================================================
@@ -5,6 +5,8 @@
 TOPDIR = ..
 include $(TOPDIR)/include/builddefs
 
+LSRCFILES = README
+
 LTCOMMAND = xfs_repair
 
 HFILES = agheader.h attr_repair.h avl.h avl64.h bmap.h dinode.h dir.h \

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw

ping?

Quoted 73 lines · Christoph Hellwig

The source file lists in the Makefiles were missing a couple of files. Because those missing files include the new headers that are only installed on make install-qa that resulting tarball would not even be buildable.

Index: xfsprogs-dev/include/buildmacros
===================================================================

include/buildmacros +1 -0
@@ -15,6 +15,7 @@ LDLIBS = $(LLDLIBS) $(PLDLIBS) $(MALLOCL
 
 MAKEOPTS = --no-print-directory
 SRCFILES = Makefile $(HFILES) $(CFILES) $(LSRCFILES) $(LFILES) $(YFILES)
+SRCFILES += $(QAHFILES)
 
 DEPDIRT = dep dep.bak
 MANDIRT = *.[1-9].gz

Index: xfsprogs-dev/db/Makefile
===================================================================

db/Makefile +2 -0
@@ -15,6 +15,8 @@ HFILES = addr.h agf.h agfl.h agi.h attr.
 	text.h type.h write.h attrset.h
 CFILES = $(HFILES:.h=.c)
 LSRCFILES = xfs_admin.sh xfs_check.sh xfs_ncheck.sh xfs_metadump.sh
+LSRCFILES += xfs_check64.sh xfs_ncheck64.sh
+
 LLDLIBS	= $(LIBXFS) $(LIBXLOG) $(LIBUUID) $(LIBRT) $(LIBPTHREAD)
 LTDEPENDENCIES = $(LIBXFS) $(LIBXLOG)
 LLDFLAGS += -static

Index: xfsprogs-dev/doc/Makefile
===================================================================

doc/Makefile +1 -1
@@ -5,7 +5,7 @@
 TOPDIR = ..
 include $(TOPDIR)/include/builddefs
 
-LSRCFILES = INSTALL PORTING CHANGES COPYING CREDITS
+LSRCFILES = INSTALL PORTING CHANGES COPYING CREDITS sparse.txt
 LDIRT = *.gz
 
 default: CHANGES.gz

Index: xfsprogs-dev/include/Makefile
===================================================================

include/Makefile +1 -1
@@ -37,7 +37,7 @@ PHFILES = darwin.h freebsd.h irix.h linu
 DKHFILES = volume.h fstyp.h dvh.h
 LSRCFILES = $(shell echo $(PHFILES) | sed -e "s/$(PKG_PLATFORM).h//g")
 LSRCFILES += platform_defs.h.in builddefs.in buildmacros buildrules $(DKHFILES)
-LSRCFILES += command.h input.h path.h project.h
+LSRCFILES += command.h input.h path.h project.h unaligned.h
 LDIRT = xfs disk
 
 default install: xfs disk

Index: xfsprogs-dev/repair/Makefile
===================================================================

repair/Makefile +2 -0
@@ -5,6 +5,8 @@
 TOPDIR = ..
 include $(TOPDIR)/include/builddefs
 
+LSRCFILES = README
+
 LTCOMMAND = xfs_repair
 
 HFILES = agheader.h attr_repair.h avl.h avl64.h bmap.h dinode.h dir.h \
Quoted 4 lines

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

---end quoted text---

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

Reviewed-by
#2 lore raw
Quoted 10 lines · Christoph Hellwig

ping?

Quoted 7 lines · Christoph Hellwig

The source file lists in the Makefiles were missing a couple of files. Because those missing files include the new headers that are only installed on make install-qa that resulting tarball would not even be buildable.

Quoted 78 lines
Quoted 70 lines

Index: xfsprogs-dev/include/buildmacros
===================================================================
--- xfsprogs-dev.orig/include/buildmacros 2009-02-17
19:55:23.674944499 +0100
+++ xfsprogs-dev/include/buildmacros 2009-02-17 19:55:52.654069638
+0100

(quoted diff) +0 -0
@@ -15,6 +15,7 @@ LDLIBS = $(LLDLIBS) $(PLDLIBS) $(MALLOCL
 

MAKEOPTS = --no-print-directory
SRCFILES = Makefile $(HFILES) $(CFILES) $(LSRCFILES) $(LFILES) $(YFILES) +SRCFILES += $(QAHFILES)

DEPDIRT = dep dep.bak
MANDIRT = *.[1-9].gz
Index: xfsprogs-dev/db/Makefile
===================================================================

db/Makefile +0 -0
@@ -15,6 +15,8 @@ HFILES = addr.h agf.h agfl.h agi.h attr.
 	text.h type.h write.h attrset.h
 CFILES = $(HFILES:.h=.c)

LSRCFILES = xfs_admin.sh xfs_check.sh xfs_ncheck.sh xfs_metadump.sh

db/Makefile +2 -0
+LSRCFILES += xfs_check64.sh xfs_ncheck64.sh
+

LLDLIBS = $(LIBXFS) $(LIBXLOG) $(LIBUUID) $(LIBRT) $(LIBPTHREAD)
LTDEPENDENCIES = $(LIBXFS) $(LIBXLOG)
LLDFLAGS += -static
Index: xfsprogs-dev/doc/Makefile
===================================================================
--- xfsprogs-dev.orig/doc/Makefile 2009-02-17 20:02:23.434944233
+0100
+++ xfsprogs-dev/doc/Makefile 2009-02-17 20:02:40.158944629 +0100

db/Makefile +0 -0
@@ -5,7 +5,7 @@

TOPDIR = ..
include $(TOPDIR)/include/builddefs

db/Makefile +1 -1
-LSRCFILES = INSTALL PORTING CHANGES COPYING CREDITS
+LSRCFILES = INSTALL PORTING CHANGES COPYING CREDITS sparse.txt

LDIRT = *.gz

default: CHANGES.gz
Index: xfsprogs-dev/include/Makefile
===================================================================
--- xfsprogs-dev.orig/include/Makefile 2009-02-17
19:51:43.273069121 +0100
+++ xfsprogs-dev/include/Makefile 2009-02-17 22:44:41.831973534 +0100

db/Makefile +0 -0
@@ -37,7 +37,7 @@ PHFILES = darwin.h freebsd.h irix.h linu

DKHFILES = volume.h fstyp.h dvh.h
LSRCFILES = $(shell echo $(PHFILES) | sed -e "s/$(PKG_PLATFORM).h//g") LSRCFILES += platform_defs.h.in builddefs.in buildmacros buildrules $(DKHFILES)

db/Makefile +1 -1
-LSRCFILES += command.h input.h path.h project.h
+LSRCFILES += command.h input.h path.h project.h unaligned.h

LDIRT = xfs disk

default install: xfs disk
Index: xfsprogs-dev/repair/Makefile
===================================================================
--- xfsprogs-dev.orig/repair/Makefile 2009-02-17 20:03:01.254069430
+0100
+++ xfsprogs-dev/repair/Makefile 2009-02-17 20:03:10.846069320 +0100

db/Makefile +0 -0
@@ -5,6 +5,8 @@

TOPDIR = ..
include $(TOPDIR)/include/builddefs

db/Makefile +2 -0
+LSRCFILES = README
+

LTCOMMAND = xfs_repair

Quoted 6 lines

HFILES = agheader.h attr_repair.h avl.h avl64.h bmap.h dinode.h dir.h \

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

---end quoted text---

Quoted 4 lines

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs