summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2010-01-27 17:11:16 -0800
committerSam Roberts <vieuxtech@gmail.com>2010-01-27 17:11:16 -0800
commit29ab1bfc1be2c97fb32e9564bcf33bba43c14136 (patch)
treeb638140bfeb5e0b9e9e72cad3ab856bba10ded9f
parent76f9a66807a8b337a0eb7d8497efc57229a68512 (diff)
downloadlibnet-29ab1bfc1be2c97fb32e9564bcf33bba43c14136.tar.gz
Added ability to build a debian package directly from git.
-rw-r--r--.gitignore4
-rwxr-xr-xPackage13
-rwxr-xr-xdebian/build-pkg (renamed from unmerged/debian/build-pkg)0
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat (renamed from unmerged/debian/compat)0
-rw-r--r--debian/control (renamed from unmerged/debian/control)0
-rw-r--r--debian/copyright (renamed from unmerged/debian/copyright)0
-rw-r--r--debian/files (renamed from unmerged/debian/files)0
-rw-r--r--debian/libnet-config.1 (renamed from unmerged/debian/libnet-config.1)0
-rw-r--r--debian/libnet1-dev.README.Debian (renamed from unmerged/debian/libnet1-dev.README.Debian)0
-rw-r--r--debian/libnet1-dev.dirs (renamed from unmerged/debian/libnet1-dev.dirs)0
-rw-r--r--debian/libnet1-dev.install (renamed from unmerged/debian/libnet1-dev.install)0
-rw-r--r--debian/libnet1-dev.manpages (renamed from unmerged/debian/libnet1-dev.manpages)0
-rw-r--r--debian/libnet1-doc.doc-base (renamed from unmerged/debian/libnet1-doc.doc-base)0
-rw-r--r--debian/libnet1-doc.docs (renamed from unmerged/debian/libnet1-doc.docs)0
-rw-r--r--debian/libnet1-doc.examples (renamed from unmerged/debian/libnet1-doc.examples)0
-rw-r--r--debian/libnet1-doc.postinst.debhelper (renamed from unmerged/debian/libnet1-doc.postinst.debhelper)0
-rw-r--r--debian/libnet1-doc.prerm.debhelper (renamed from unmerged/debian/libnet1-doc.prerm.debhelper)0
-rw-r--r--debian/libnet1.dirs (renamed from unmerged/debian/libnet1.dirs)0
-rw-r--r--debian/libnet1.docs (renamed from unmerged/debian/libnet1.docs)0
-rw-r--r--debian/libnet1.install (renamed from unmerged/debian/libnet1.install)0
-rw-r--r--debian/libnet1.postinst.debhelper (renamed from unmerged/debian/libnet1.postinst.debhelper)0
-rw-r--r--debian/libnet1.postrm.debhelper (renamed from unmerged/debian/libnet1.postrm.debhelper)0
-rw-r--r--debian/libnet1.substvars (renamed from unmerged/debian/libnet1.substvars)0
-rw-r--r--debian/libnet1.symbols (renamed from unmerged/debian/libnet1.symbols)0
-rw-r--r--debian/patches/00-fix_build_process.patch (renamed from unmerged/debian/patches/00-fix_build_process.patch)0
-rw-r--r--debian/patches/01-fix_libnet-functions.h.3.patch (renamed from unmerged/debian/patches/01-fix_libnet-functions.h.3.patch)0
-rw-r--r--debian/patches/02-fix_libnet_802_1q_hdr.3.patch (renamed from unmerged/debian/patches/02-fix_libnet_802_1q_hdr.3.patch)0
-rw-r--r--debian/patches/03-fix_libnet_802_1x_hdr.3.patch (renamed from unmerged/debian/patches/03-fix_libnet_802_1x_hdr.3.patch)0
-rw-r--r--debian/patches/04-fix_libnet_build_ntp.patch (renamed from unmerged/debian/patches/04-fix_libnet_build_ntp.patch)0
-rw-r--r--debian/patches/05-fix_libnet_pblock_coalesce_buffer_overrun.patch (renamed from unmerged/debian/patches/05-fix_libnet_pblock_coalesce_buffer_overrun.patch)0
-rw-r--r--debian/patches/06-fix_libnet_pblock_coalesce_leak.patch (renamed from unmerged/debian/patches/06-fix_libnet_pblock_coalesce_leak.patch)0
-rw-r--r--debian/patches/07-add_libnet-cq-end-loop.patch (renamed from unmerged/debian/patches/07-add_libnet-cq-end-loop.patch)0
-rw-r--r--debian/patches/08-fix_libnet_checksum.c.patch (renamed from unmerged/debian/patches/08-fix_libnet_checksum.c.patch)0
-rw-r--r--debian/patches/09-fix_hurd-i386_build.patch (renamed from unmerged/debian/patches/09-fix_hurd-i386_build.patch)0
-rw-r--r--debian/patches/series (renamed from unmerged/debian/patches/series)0
-rwxr-xr-xdebian/rules (renamed from unmerged/debian/rules)0
-rw-r--r--debian/watch (renamed from unmerged/debian/watch)0
-rw-r--r--unmerged/debian/changelog6
39 files changed, 23 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 894a002..7a2e65f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,8 @@ install-sh
libnet-config
libnet-1.1.?
libnet-1.1.?.tar.gz
+libnet*.deb
+libnet*.changes
libtool
ltmain.sh
missing
@@ -28,6 +30,8 @@ stamp-*
tags
version.h
lua/net.so
+libnet/*-stamp
+libnet/debian
libnet/doc/html/*.html
libnet/doc/html/*.css
libnet/doc/html/*.png
diff --git a/Package b/Package
new file mode 100755
index 0000000..a77737a
--- /dev/null
+++ b/Package
@@ -0,0 +1,13 @@
+
+set -x
+
+V=$(git describe | sed -es/libnet-//)
+D=$(date --rfc-822)
+
+rm -rf debian
+cp -r ../debian ./
+sed -es"/VERSION/$V/" -es"/DATE/$D/" < ../debian/changelog > debian/changelog
+cat debian/changelog
+
+dpkg-buildpackage -b -us -uc -rfakeroot -i -I.swp
+
diff --git a/unmerged/debian/build-pkg b/debian/build-pkg
index 34c549e..34c549e 100755
--- a/unmerged/debian/build-pkg
+++ b/debian/build-pkg
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ed53c7c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libnet (VERSION) unstable; urgency=low
+
+ * libnet package built from git source
+
+ -- Sam Roberts <vieuxtech@gmail.com> DATE
+
diff --git a/unmerged/debian/compat b/debian/compat
index 1e8b314..1e8b314 100644
--- a/unmerged/debian/compat
+++ b/debian/compat
diff --git a/unmerged/debian/control b/debian/control
index 0e84fc0..0e84fc0 100644
--- a/unmerged/debian/control
+++ b/debian/control
diff --git a/unmerged/debian/copyright b/debian/copyright
index b776c81..b776c81 100644
--- a/unmerged/debian/copyright
+++ b/debian/copyright
diff --git a/unmerged/debian/files b/debian/files
index faf8d48..faf8d48 100644
--- a/unmerged/debian/files
+++ b/debian/files
diff --git a/unmerged/debian/libnet-config.1 b/debian/libnet-config.1
index 28b74ea..28b74ea 100644
--- a/unmerged/debian/libnet-config.1
+++ b/debian/libnet-config.1
diff --git a/unmerged/debian/libnet1-dev.README.Debian b/debian/libnet1-dev.README.Debian
index a51106f..a51106f 100644
--- a/unmerged/debian/libnet1-dev.README.Debian
+++ b/debian/libnet1-dev.README.Debian
diff --git a/unmerged/debian/libnet1-dev.dirs b/debian/libnet1-dev.dirs
index 835e4d9..835e4d9 100644
--- a/unmerged/debian/libnet1-dev.dirs
+++ b/debian/libnet1-dev.dirs
diff --git a/unmerged/debian/libnet1-dev.install b/debian/libnet1-dev.install
index 8507350..8507350 100644
--- a/unmerged/debian/libnet1-dev.install
+++ b/debian/libnet1-dev.install
diff --git a/unmerged/debian/libnet1-dev.manpages b/debian/libnet1-dev.manpages
index a6f808a..a6f808a 100644
--- a/unmerged/debian/libnet1-dev.manpages
+++ b/debian/libnet1-dev.manpages
diff --git a/unmerged/debian/libnet1-doc.doc-base b/debian/libnet1-doc.doc-base
index 6b9df63..6b9df63 100644
--- a/unmerged/debian/libnet1-doc.doc-base
+++ b/debian/libnet1-doc.doc-base
diff --git a/unmerged/debian/libnet1-doc.docs b/debian/libnet1-doc.docs
index d895ec4..d895ec4 100644
--- a/unmerged/debian/libnet1-doc.docs
+++ b/debian/libnet1-doc.docs
diff --git a/unmerged/debian/libnet1-doc.examples b/debian/libnet1-doc.examples
index a5ced5a..a5ced5a 100644
--- a/unmerged/debian/libnet1-doc.examples
+++ b/debian/libnet1-doc.examples
diff --git a/unmerged/debian/libnet1-doc.postinst.debhelper b/debian/libnet1-doc.postinst.debhelper
index bc031e9..bc031e9 100644
--- a/unmerged/debian/libnet1-doc.postinst.debhelper
+++ b/debian/libnet1-doc.postinst.debhelper
diff --git a/unmerged/debian/libnet1-doc.prerm.debhelper b/debian/libnet1-doc.prerm.debhelper
index a9daf4d..a9daf4d 100644
--- a/unmerged/debian/libnet1-doc.prerm.debhelper
+++ b/debian/libnet1-doc.prerm.debhelper
diff --git a/unmerged/debian/libnet1.dirs b/debian/libnet1.dirs
index 4a6ae2c..4a6ae2c 100644
--- a/unmerged/debian/libnet1.dirs
+++ b/debian/libnet1.dirs
diff --git a/unmerged/debian/libnet1.docs b/debian/libnet1.docs
index a7cd0cb..a7cd0cb 100644
--- a/unmerged/debian/libnet1.docs
+++ b/debian/libnet1.docs
diff --git a/unmerged/debian/libnet1.install b/debian/libnet1.install
index c6ab3ca..c6ab3ca 100644
--- a/unmerged/debian/libnet1.install
+++ b/debian/libnet1.install
diff --git a/unmerged/debian/libnet1.postinst.debhelper b/debian/libnet1.postinst.debhelper
index 3d89d3e..3d89d3e 100644
--- a/unmerged/debian/libnet1.postinst.debhelper
+++ b/debian/libnet1.postinst.debhelper
diff --git a/unmerged/debian/libnet1.postrm.debhelper b/debian/libnet1.postrm.debhelper
index 7f44047..7f44047 100644
--- a/unmerged/debian/libnet1.postrm.debhelper
+++ b/debian/libnet1.postrm.debhelper
diff --git a/unmerged/debian/libnet1.substvars b/debian/libnet1.substvars
index 17c2baa..17c2baa 100644
--- a/unmerged/debian/libnet1.substvars
+++ b/debian/libnet1.substvars
diff --git a/unmerged/debian/libnet1.symbols b/debian/libnet1.symbols
index e56aca8..e56aca8 100644
--- a/unmerged/debian/libnet1.symbols
+++ b/debian/libnet1.symbols
diff --git a/unmerged/debian/patches/00-fix_build_process.patch b/debian/patches/00-fix_build_process.patch
index 49b3842..49b3842 100644
--- a/unmerged/debian/patches/00-fix_build_process.patch
+++ b/debian/patches/00-fix_build_process.patch
diff --git a/unmerged/debian/patches/01-fix_libnet-functions.h.3.patch b/debian/patches/01-fix_libnet-functions.h.3.patch
index 1ba50e0..1ba50e0 100644
--- a/unmerged/debian/patches/01-fix_libnet-functions.h.3.patch
+++ b/debian/patches/01-fix_libnet-functions.h.3.patch
diff --git a/unmerged/debian/patches/02-fix_libnet_802_1q_hdr.3.patch b/debian/patches/02-fix_libnet_802_1q_hdr.3.patch
index 90d3961..90d3961 100644
--- a/unmerged/debian/patches/02-fix_libnet_802_1q_hdr.3.patch
+++ b/debian/patches/02-fix_libnet_802_1q_hdr.3.patch
diff --git a/unmerged/debian/patches/03-fix_libnet_802_1x_hdr.3.patch b/debian/patches/03-fix_libnet_802_1x_hdr.3.patch
index 2c9b945..2c9b945 100644
--- a/unmerged/debian/patches/03-fix_libnet_802_1x_hdr.3.patch
+++ b/debian/patches/03-fix_libnet_802_1x_hdr.3.patch
diff --git a/unmerged/debian/patches/04-fix_libnet_build_ntp.patch b/debian/patches/04-fix_libnet_build_ntp.patch
index 4bf2d15..4bf2d15 100644
--- a/unmerged/debian/patches/04-fix_libnet_build_ntp.patch
+++ b/debian/patches/04-fix_libnet_build_ntp.patch
diff --git a/unmerged/debian/patches/05-fix_libnet_pblock_coalesce_buffer_overrun.patch b/debian/patches/05-fix_libnet_pblock_coalesce_buffer_overrun.patch
index 7c6a2f2..7c6a2f2 100644
--- a/unmerged/debian/patches/05-fix_libnet_pblock_coalesce_buffer_overrun.patch
+++ b/debian/patches/05-fix_libnet_pblock_coalesce_buffer_overrun.patch
diff --git a/unmerged/debian/patches/06-fix_libnet_pblock_coalesce_leak.patch b/debian/patches/06-fix_libnet_pblock_coalesce_leak.patch
index 50b9411..50b9411 100644
--- a/unmerged/debian/patches/06-fix_libnet_pblock_coalesce_leak.patch
+++ b/debian/patches/06-fix_libnet_pblock_coalesce_leak.patch
diff --git a/unmerged/debian/patches/07-add_libnet-cq-end-loop.patch b/debian/patches/07-add_libnet-cq-end-loop.patch
index 7f10311..7f10311 100644
--- a/unmerged/debian/patches/07-add_libnet-cq-end-loop.patch
+++ b/debian/patches/07-add_libnet-cq-end-loop.patch
diff --git a/unmerged/debian/patches/08-fix_libnet_checksum.c.patch b/debian/patches/08-fix_libnet_checksum.c.patch
index 627ddd7..627ddd7 100644
--- a/unmerged/debian/patches/08-fix_libnet_checksum.c.patch
+++ b/debian/patches/08-fix_libnet_checksum.c.patch
diff --git a/unmerged/debian/patches/09-fix_hurd-i386_build.patch b/debian/patches/09-fix_hurd-i386_build.patch
index 6ab2b50..6ab2b50 100644
--- a/unmerged/debian/patches/09-fix_hurd-i386_build.patch
+++ b/debian/patches/09-fix_hurd-i386_build.patch
diff --git a/unmerged/debian/patches/series b/debian/patches/series
index cb1db37..cb1db37 100644
--- a/unmerged/debian/patches/series
+++ b/debian/patches/series
diff --git a/unmerged/debian/rules b/debian/rules
index aea3293..aea3293 100755
--- a/unmerged/debian/rules
+++ b/debian/rules
diff --git a/unmerged/debian/watch b/debian/watch
index d903ca9..d903ca9 100644
--- a/unmerged/debian/watch
+++ b/debian/watch
diff --git a/unmerged/debian/changelog b/unmerged/debian/changelog
deleted file mode 100644
index ea76c9c..0000000
--- a/unmerged/debian/changelog
+++ /dev/null
@@ -1,6 +0,0 @@
-libnet (1.1.4) unstable; urgency=low
-
- * libnet-1.1.4.
-
- -- Sam Roberts <vieuxtech@gmail.com> Fri, 12 Jun 2009 11:27:14 -0800
-