diff options
author | 2005-03-19 00:18:53 +0000 | |
---|---|---|
committer | 2005-03-19 00:18:53 +0000 | |
commit | ce8dff3345c25cc0a7ef91370a242046f83a7060 (patch) | |
tree | 4a274585571d92f4055d836ebc9c00f9993ada7b | |
parent | Packages for zaurus - yuck yuck; for uwe (diff) | |
download | wireguard-openbsd-ce8dff3345c25cc0a7ef91370a242046f83a7060.tar.xz wireguard-openbsd-ce8dff3345c25cc0a7ef91370a242046f83a7060.zip |
auto-generate Packages file
-rw-r--r-- | distrib/zaurus/ipk/Makefile | 19 | ||||
-rw-r--r-- | distrib/zaurus/ipk/Packages | 9 |
2 files changed, 16 insertions, 12 deletions
diff --git a/distrib/zaurus/ipk/Makefile b/distrib/zaurus/ipk/Makefile index fa7882dd71a..ed07faa0a3a 100644 --- a/distrib/zaurus/ipk/Makefile +++ b/distrib/zaurus/ipk/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.3 2005/03/19 00:10:46 deraadt Exp $ +# $OpenBSD: Makefile,v 1.4 2005/03/19 00:18:53 deraadt Exp $ TOP= ${.CURDIR}/.. IPK= openbsd${OSrev}_arm.ipk -all: ${IPK} +all: ${IPK} Packages ${IPK}: install -o ${BINOWN} -g ${BINGRP} -m 755 -d ${.OBJDIR}/data/hdd2/OpenBSD @@ -43,7 +43,20 @@ ${IPK}: echo 2.0 > debian-binary; chown ${BINOWN}:${BINGRP} debian-binary tar -czf ${IPK} ./debian-binary ./data.tar.gz ./control.tar.gz -install: +Packages: + echo "Package: openbsd" > ${.OBJDIR}/Packages + echo "Version: ${OSREV}" >> ${.OBJDIR}/Packages + echo "Priority: optional" >> ${.OBJDIR}/Packages + echo "Section: Misc" >> ${.OBJDIR}/Packages + echo "Architecture: arm" >> ${.OBJDIR}/Packages + echo "Maintainer: uwe@openbsd.org" >> ${.OBJDIR}/Packages + echo "Filename: ${IPK}" >> ${.OBJDIR}/Packages + echo "Size: " `/bin/ls -l ${IPK} | awk '{print $5}'` \ + >> ${.OBJDIR}/Packages + echo "Description: OpenBSD ${OSREV} boot loader and kernel" \ + >> ${.OBJDIR}/Packages + +install: ${IPK} Packages cp ${IPK} ${DESTDIR}/snapshot cp Packages ${DESTDIR}/snapshot diff --git a/distrib/zaurus/ipk/Packages b/distrib/zaurus/ipk/Packages deleted file mode 100644 index ce021e77e49..00000000000 --- a/distrib/zaurus/ipk/Packages +++ /dev/null @@ -1,9 +0,0 @@ -Package: openbsd -Version: 3.7 -Priority: optional -Section: Misc -Architecture: arm -Maintainer: uwe@openbsd.org -Filename: openbsd37_arm.ipk -Size: 4576890 -Description: OpenBSD boot loader and kernel |