Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
re6stnet
Commits
d822bcb4
Commit
d822bcb4
authored
Dec 12, 2012
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generate DEB snapshot packages with version derived from Git revision
parent
1cc7d695
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
6 deletions
+21
-6
README
README
+8
-1
debian/changelog
debian/changelog
+0
-5
debian/rules
debian/rules
+13
-0
No files found.
README
View file @
d822bcb4
...
...
@@ -63,9 +63,16 @@ See also `setup.py` for Python dependencies.
Installation
============
re6stnet is distributed as an Python egg, and is also packaged for Debian.
re6stnet is distributed as an Python egg, and is also packaged for DEB & RPM
based distributions:
See `re6st-registry` to set up a re6st network
and `re6st-conf` to join an existing network.
On Debian Squeeze, you will have to install `babeld` package from Wheezy.
In order to build DEB snapshot package whose version is derived from current
Git revision, the `debian/changelog` file must be generated automatically,
that's why you can't use `dpkg-buildpackage` directly: run ``debian/rules``
instead. RPM does not have this limitation: do `rpmbuild -bb re6stnet.spec``
as usual.
debian/changelog
deleted
100644 → 0
View file @
1cc7d695
re6stnet (0.1-1) nexedi; urgency=low
* source package automatically created by stdeb 0.6.0+git
-- Julien Muchembled <jm@jmuchemb.eu> Wed, 05 Sep 2012 16:38:01 +0200
debian/rules
View file @
d822bcb4
#!/usr/bin/make -f
# -*- makefile -*-
# source package automatically created by stdeb 0.6.0+git
MANPAGELIST
:=
$(
patsubst
%.rst, %.1,
$(
wildcard
docs/
*
.rst
))
# Uncomment this to turn on verbose mode.
...
...
@@ -8,6 +9,18 @@ MANPAGELIST := $(patsubst %.rst, %.1, $(wildcard docs/*.rst))
INIT
=
debian/re6stnet/etc/init.d
NM
=
/etc/NetworkManager/dispatcher.d/50re6stnet
.PHONY
:
debian/changelog
build-package
:
debian/changelog
dpkg-buildpackage
-us
-uc
-b
debian/changelog
:
printf
're6stnet (0-%u.g%s) nexedi; urgency=low\n\n -- %s %s\n'
\
"
`
git rev-list
--topo-order
--count
HEAD
`
"
\
"
`
git rev-parse
--short
HEAD
`
"
\
"
`
git var GIT_COMMITTER_IDENT |sed
's/\(.*>\) .*/\\1/'
`
"
\
"
`
date
-R
`
"
>
debian/changelog
override_dh_auto_clean
:
dh_auto_clean
rm
-f
$(MANPAGELIST)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment