Hi Andreas,




>The ettercap-graphical package has the following relationships with 
>ettercap-common:
>
>  Conflicts: N/A
>  Breaks:    N/A
>  Replaces:  ettercap, ettercap-common, ettercap-gtk, ettercap-text-only

>I don't see what you want to achieve with these Replaces, so I cannot suggest 
>a better solution. Please read the policy (and explain your intentions if you 
>need help).
>  Have packages been split? (version?)
>  Have files moved between the packages? (version?)
>  Should packages not be installable at the same time?



there is one common package with the library, the common files, and everything 
shared.

There are two packages (not coinstallable) that both depends on the common one.

So you can have ettercap-graphical with ettercap-common
and you can have ettercap-text-only with ettercap-common.

They both provide "ettercap", and they both depend on the common package.


packages were also renamed, and some packages disappeared in the meanwhile 
(ettercap-plugins, ettercap-gtk)

this new package split is from 0.7.3, how do you suggest to fix?



I'm proposing this debdiff, I didn't notice any upgrade path issues, and I 
moved the files in the graphic package

diff -Nru ettercap-0.8.1/debian/changelog ettercap-0.8.1/debian/changelog
--- ettercap-0.8.1/debian/changelog     2014-10-18 11:17:12.000000000 +0200
+++ ettercap-0.8.1/debian/changelog     2014-11-10 14:16:59.000000000 +0100
@@ -1,3 +1,14 @@
+ettercap (1:0.8.1-2) unstable; urgency=medium
+
+  * Remove byacc | byacc-j | btyacc, not compatible after
+    the cmake switch.
+  * Add flex-old as b-d, used with bison++.
+  * Fix conflicting files in both common and graphical package
+    (Closes: #768831).
+  * Remove the gksu dependency, not needed anymore.
+
+ -- Gianfranco Costamagna <costamagnagianfra...@yahoo.it>  Tue, 21 Oct 2014 
13:19:19 +0200
+
ettercap (1:0.8.1-1) unstable; urgency=medium

* New upstream release.
diff -Nru ettercap-0.8.1/debian/control ettercap-0.8.1/debian/control
--- ettercap-0.8.1/debian/control       2014-10-18 11:17:12.000000000 +0200
+++ ettercap-0.8.1/debian/control       2014-11-10 14:16:08.000000000 +0100
@@ -4,12 +4,12 @@
Maintainer: Barak A. Pearlmutter <b...@debian.org>
Uploaders: Murat Demirten <mu...@debian.org>,
Gianfranco Costamagna <costamagnagianfra...@yahoo.it>
-Build-Depends: bison | bison++ | byacc | byacc-j | btyacc,
+Build-Depends: bison | bison++,
check,
chrpath,
cmake,
debhelper (>= 9),
-               flex,
+               flex | flex-old,
ghostscript,
libbsd-dev,
libcurl4-openssl-dev,
@@ -88,7 +88,6 @@
Replaces: ettercap, ettercap-common, ettercap-gtk, ettercap-text-only
Conflicts: ettercap (<= 1:0.7.3), ettercap-gtk, ettercap-text-only
Provides: ettercap
-Recommends: gksu
Description: Ettercap GUI-enabled executable
Ettercap supports active and passive dissection of many protocols
(even encrypted ones) and includes many feature for network and host
diff -Nru ettercap-0.8.1/debian/ettercap-common.install 
ettercap-0.8.1/debian/ettercap-common.install
--- ettercap-0.8.1/debian/ettercap-common.install       2014-10-18 
11:17:12.000000000 +0200
+++ ettercap-0.8.1/debian/ettercap-common.install       2014-11-10 
12:45:08.000000000 +0100
@@ -2,9 +2,10 @@
/usr/bin/etterfilter
/usr/bin/etterlog
/usr/lib/
-/usr/share/ettercap
-# The next line accidentally gets
+# The next lines accidentally gets
#  /usr/share/man/ettercap-pkexec*
+# and /usr/share/ettercap/ettercap.png
# which belongs in ettercap-graphical.
# This is worked around in debian/rules.
+/usr/share/ettercap
/usr/share/man
diff -Nru ettercap-0.8.1/debian/ettercap-graphical.install 
ettercap-0.8.1/debian/ettercap-graphical.install
--- ettercap-0.8.1/debian/ettercap-graphical.install    2014-10-18 
11:17:12.000000000 +0200
+++ ettercap-0.8.1/debian/ettercap-graphical.install    2014-11-10 
12:45:11.000000000 +0100
@@ -2,7 +2,8 @@
/usr/bin/ettercap-pkexec
/usr/share/appdata
/usr/share/applications
-/usr/share/ettercap/ettercap.png
+/usr/share/ettercap/*.png
+/usr/share/ettercap/*.svg
/usr/share/man/man*/ettercap-pkexec*
/usr/share/pixmaps
/usr/share/polkit-1
diff -Nru ettercap-0.8.1/debian/rules ettercap-0.8.1/debian/rules
--- ettercap-0.8.1/debian/rules 2014-10-18 11:17:12.000000000 +0200
+++ ettercap-0.8.1/debian/rules 2014-11-10 12:45:11.000000000 +0100
@@ -56,6 +56,8 @@
dh_install --list-missing
@echo The ettercap-pkexec man page belongs in ettercap-graphical
-rm --verbose debian/ettercap-common/usr/share/man/man*/ettercap-pkexec*
+       -rm --verbose debian/ettercap-common/usr/share/ettercap/*.png
+       -rm --verbose debian/ettercap-common/usr/share/ettercap/*.svg
@echo "Upstream does not set RPATH, but the file is not handled by cmake 
install (dh_auto_install target)"
chrpath --list   debian/ettercap-text-only/usr/bin/ettercap
chrpath --delete debian/ettercap-text-only/usr/bin/ettercap



is it ok for you?

(sorry for the flex noise)

thanks,

Gianfranco


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to