From a944bcefad1737cac6d307dc9b065f49615aea42 Mon Sep 17 00:00:00 2001 From: Jacob Appelbaum Date: Wed, 17 Aug 2011 17:45:14 +0200 Subject: Add basic Makefile to make packages without signatures --- packages/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 packages/Makefile diff --git a/packages/Makefile b/packages/Makefile new file mode 100644 index 0000000..6166493 --- /dev/null +++ b/packages/Makefile @@ -0,0 +1,9 @@ +debs: webdeb prepdeb + +webdeb: + # By default we will but not sign for now + cd torouter-web && debuild --no-tgz-check -us -uc +prepdeb: + # By default we will but not sign for now + cd torouter-prep && debuild --no-tgz-check -us -uc + -- cgit v1.2.3 From 6c11bb24e348d12cd12516f2f90241cb29387a5d Mon Sep 17 00:00:00 2001 From: Jacob Appelbaum Date: Wed, 17 Aug 2011 17:45:46 +0200 Subject: update package and src --- packages/torouter-prep/debian/changelog | 2 +- packages/torouter-prep/debian/files | 2 +- packages/torouter-prep/src/torouter_config.sh | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/torouter-prep/debian/changelog b/packages/torouter-prep/debian/changelog index f62a4bb..14ff45a 100644 --- a/packages/torouter-prep/debian/changelog +++ b/packages/torouter-prep/debian/changelog @@ -1,4 +1,4 @@ -torouter (0.0.1-1) unstable; urgency=low +torouter-prep (0.0.1-1) unstable; urgency=low * Initial release (Closes: #nnnn) diff --git a/packages/torouter-prep/debian/files b/packages/torouter-prep/debian/files index 894b9ed..298935e 100644 --- a/packages/torouter-prep/debian/files +++ b/packages/torouter-prep/debian/files @@ -1 +1 @@ -torouter_0.0.1-1_all.deb unknown extra +torouter-prep_0.0.1-1_all.deb unknown extra diff --git a/packages/torouter-prep/src/torouter_config.sh b/packages/torouter-prep/src/torouter_config.sh index 7a6a581..7c79862 100644 --- a/packages/torouter-prep/src/torouter_config.sh +++ b/packages/torouter-prep/src/torouter_config.sh @@ -6,6 +6,7 @@ echo "This is where we'd take over the entire Torouter system" # For every file we touch, move it to the temp_dir and then tar it up in the end temp_dir="`mktemp -d`" +config_dir="/usr/share/doc/torouter-prep/example-configs/" # Add a user ADMINUSER="toradmin" @@ -23,7 +24,7 @@ EOF cp /etc/hostname $temp_dir/ # Set us to have a default host name -echo "torouter" > /etc/hostname +cp /usr/share/doc/ # We need to prep apt to understand that we want packages from other repos # We append to the current package list -- cgit v1.2.3 From 790e0771d7b908d235ea0379c58594bb027924fc Mon Sep 17 00:00:00 2001 From: Jacob Appelbaum Date: Wed, 17 Aug 2011 17:46:05 +0200 Subject: add two new configs --- packages/torouter-prep/configs/hostname | 1 + packages/torouter-prep/configs/hosts | 1 + 2 files changed, 2 insertions(+) create mode 100644 packages/torouter-prep/configs/hostname create mode 100644 packages/torouter-prep/configs/hosts diff --git a/packages/torouter-prep/configs/hostname b/packages/torouter-prep/configs/hostname new file mode 100644 index 0000000..a4a2962 --- /dev/null +++ b/packages/torouter-prep/configs/hostname @@ -0,0 +1 @@ +torouter diff --git a/packages/torouter-prep/configs/hosts b/packages/torouter-prep/configs/hosts new file mode 100644 index 0000000..64f3fc1 --- /dev/null +++ b/packages/torouter-prep/configs/hosts @@ -0,0 +1 @@ + 127.0.0.1 localhost -- cgit v1.2.3 From e5dbdcb4bbe43a9f652a045f8dcf0b092b11eba0 Mon Sep 17 00:00:00 2001 From: Jacob Appelbaum Date: Wed, 17 Aug 2011 17:59:17 +0200 Subject: add modified control --- packages/torouter-prep/debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/torouter-prep/debian/control b/packages/torouter-prep/debian/control index f9930d6..545c9f9 100644 --- a/packages/torouter-prep/debian/control +++ b/packages/torouter-prep/debian/control @@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.1 Homepage: -Package: torouter +Package: torouter-prep Architecture: all Depends: ${misc:Depends}, apt-utils, openssh-server, isc-dhcp-client, cron-apt Description: Torouter meta-package to take over the DreamPlug -- cgit v1.2.3