[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[WIP Patch] tripwire; "install" duplicate filenames?
From: |
Danny Milosavljevic |
Subject: |
[WIP Patch] tripwire; "install" duplicate filenames? |
Date: |
Wed, 15 Feb 2017 05:10:05 +0100 |
Hi,
does anyone know how I can easily fix "install" complaining about a file being
specified multiple times (in an upstream project)?
The error messages I get (among other similar ones):
/gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install -c -m
644 twconfig.4 twpolicy.4 twconfig.4 twpolicy.4
'/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4'
/gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install: will
not overwrite just-created
'/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4/twconfig.4'
with 'twconfig.4'
/gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install: will
not overwrite just-created
'/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4/twpolicy.4'
with 'twpolicy.4'
See below:
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index be03f6430..f396d7e1f 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1926,3 +1926,39 @@ in order to be able to find it.
@item @command{sunxi-nand-image-builder}: Prepares raw NAND images.
@end enumerate")
(license license:gpl2+)))
+
+(define-public tripwire
+ (package
+ (name "tripwire")
+ (version "2.4.3.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/Tripwire/tripwire-open-source/archive/" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0azxk0nz9hp9410mzpch4rxj7hsjiv1bzrfwndc0kxhsbxc8qn15"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-man-installation
+ (lambda _
+ (zero? (system* "sh" "autogen.sh"))
+ ; (substitute* '("man/man4/Makefile.in"
+ ; "man/man5/Makefile.in"
+ ; "man/man8/Makefile.in")
+ ; ;; Remove duplicate man pages (installation fails otherwise)
+; (("^dist_man_MANS = .*") ""))
+; #t
+)))))
+ (native-inputs
+ `(("automake" ,automake)
+ ("autoconf" ,autoconf)
+ ("libtool" ,libtool)))
+ (inputs
+ `())
+ (synopsis "tripwire")
+ (description "FIXME")
+ (home-page "FIXME")
+ (license license:gpl2+)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [WIP Patch] tripwire; "install" duplicate filenames?,
Danny Milosavljevic <=