pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: show the revision of files in the bulk logs



I forgot the patch. :)

Roland
Index: bsd.pkg.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.mk,v
retrieving revision 1.1617
diff -u -p -r1.1617 bsd.pkg.mk
--- bsd.pkg.mk  25 Apr 2005 16:47:18 -0000      1.1617
+++ bsd.pkg.mk  28 Apr 2005 08:13:55 -0000
@@ -5088,3 +5088,16 @@ PKG_ERROR_HANDLER.${_class_}?=   {                       
                \
                exit $$ec;                                              \
        }
 .endfor
+
+IDENT_FILES?=  # empty
+IDENT_FILES+=  *
+IDENT_FILES+=  ${FILESDIR:Q}/*
+IDENT_FILES+=  ${PATCHDIR:Q}/patch-*
+.PHONY: show-ident
+show-ident:
+       ${_PKG_SILENT}${_PKG_DEBUG}                                     \
+       for i in ${IDENT_FILES}; do                                     \
+               if ${TEST} -f "$$i"; then                               \
+                       ${SED} -n -e 's/.*\($$NetBSD:.*$$\).*/\1/p' "$$i"; \
+               fi;                                                     \
+       done


Home | Main Index | Thread Index | Old Index