pentoo / pentoo-historical

read-only historical backup of pentoo from googlecode
https://code.google.com/p/pentoo/
2 stars 1 forks source link

n4p-0.5.ebuild patch for compliance #232

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?
ebuild produces sym links in /usr/bin/foo
Should produce in  /usr/sbin/foo
for proper genmenu compliance enumeration

What version of the product are you using? On what operating system?
n4p-0.5

Please provide any additional information below.

--- n4p-0.5.ebuild  2014-02-11 08:51:16.558946973 -0600
+++ /home/hacker/Programming/ebuilds/n4p-0.5.ebuild 2014-02-11 
09:05:04.299598791 -0600
@@ -16,6 +16,7 @@
 IUSE="+wireless +mitm +vpn"

 DEPEND=""
+
 RDEPEND="net-misc/bridge-utils
    >=net-firewall/iptables-1.4.20
    net-misc/dhcpcd
@@ -38,6 +39,6 @@

    fperms +x /usr/$(get_libdir)/${P}/n4p.sh
    fperms +x /usr/$(get_libdir)/${P}/n4p_iptables.sh
-   dosym /usr/$(get_libdir)/${P}/n4p.sh /usr/bin/n4p
-   dosym /usr/$(get_libdir)/${P}/n4p_iptables.sh /usr/bin/n4p_iptables
-}
+   dosym /usr/$(get_libdir)/${P}/n4p.sh /usr/sbin/n4p
+   dosym /usr/$(get_libdir)/${P}/n4p_iptables.sh /usr/sbin/n4p_iptables
+}
\ No newline at end of file

Original issue reported on code.google.com by cyb3r-assassin@cyberpunk.me on 11 Feb 2014 at 3:16

GoogleCodeExporter commented 8 years ago
Do you really need that empty line after DEPEND?..
Also, there is a new line at the end of file. 

So your patch cant be applied directly. Submitted manually in r5478

Cheers.

Original comment by blshkv on 12 Feb 2014 at 3:28