tunctl: Nuevo

master
Gerardo Zamudio 5 years ago
parent ee513e7524
commit 73eb382489
Signed by: gzamudio
GPG Key ID: F6CFA5A99E7B5957

@ -10,14 +10,14 @@ tail +13 CHECKSUMS.md5 | md5sum --check | less
/pub/gnu, or at any GNU mirror site. /pub/gnu, or at any GNU mirror site.
MD5 message digest Filename MD5 message digest Filename
53ecde7e2d77156439cc119222fa96c6 ./ChangeLog.rss 2f2b3e5f5253734887af67abe6b4f1aa ./ChangeLog.rss
48336e51bcc5f241b689fe4081bf6ce8 ./ChangeLog.txt 2a2ce840ec280321945c7a8071a2362a ./ChangeLog.txt
225fa3f3da085139421992f9ab164b0d ./ChangeLog.txt.gz 9211a066da5d337ccd51fa8e3f6f46d8 ./ChangeLog.txt.gz
389f687d9315822c372eca42f1057998 ./FILELIST.TXT b5869c471faa4b5cd9bb6fb9c4913640 ./FILELIST.TXT
7f4bffeb686cc5fd6056bd404dda08d7 ./GPG-KEY 7f4bffeb686cc5fd6056bd404dda08d7 ./GPG-KEY
4059d198768f9f8dc9372dc1c54bc3c3 ./MANIFEST.bz2 4059d198768f9f8dc9372dc1c54bc3c3 ./MANIFEST.bz2
cee98aa6845cc3fa1be3e1c5eab528ef ./PACKAGES.TXT 2c0ee9b42d485af584bea8a244dccf3d ./PACKAGES.TXT
4ad5f083d4752820e8019d475fb4a0c6 ./PACKAGES.TXT.gz 92d98fb7c542c6cfb280247257e13456 ./PACKAGES.TXT.gz
bc0cd60a08dbe2a365a3865cc9673bee ./device-tree-compiler/HEADER.txt bc0cd60a08dbe2a365a3865cc9673bee ./device-tree-compiler/HEADER.txt
bc0cd60a08dbe2a365a3865cc9673bee ./device-tree-compiler/README bc0cd60a08dbe2a365a3865cc9673bee ./device-tree-compiler/README
8c970fb9c9408b1ef9fddd2abdc2c15a ./device-tree-compiler/build/README 8c970fb9c9408b1ef9fddd2abdc2c15a ./device-tree-compiler/build/README
@ -163,6 +163,12 @@ e6813423e60ce6e54d2944061a98a8b0 ./spice/README
e6813423e60ce6e54d2944061a98a8b0 ./spice/build/slack-desc e6813423e60ce6e54d2944061a98a8b0 ./spice/build/slack-desc
ca8c61266143f7055176b2e60a35c7d3 ./spice/build/spice.SlackBuild ca8c61266143f7055176b2e60a35c7d3 ./spice/build/spice.SlackBuild
36eb8845e00daad7566566213f800380 ./spice/build/spice.info 36eb8845e00daad7566566213f800380 ./spice/build/spice.info
ba29187b88b72070fb164a23e485abe5 ./tunctl/HEADER.txt
ba29187b88b72070fb164a23e485abe5 ./tunctl/README
f76ac6ad115c344d9f9bca69db68b66f ./tunctl/build/README
ba29187b88b72070fb164a23e485abe5 ./tunctl/build/slack-desc
8de25852f29e102a647c3539c13361a8 ./tunctl/build/tunctl.SlackBuild
17abcfd56183a85e175274a598053a08 ./tunctl/build/tunctl.info
5dcc0d353a1d100bda8c65cc690623dd ./usbredir/HEADER.txt 5dcc0d353a1d100bda8c65cc690623dd ./usbredir/HEADER.txt
5dcc0d353a1d100bda8c65cc690623dd ./usbredir/README 5dcc0d353a1d100bda8c65cc690623dd ./usbredir/README
f2d29ece4562da0b48969658e96f8730 ./usbredir/build/README f2d29ece4562da0b48969658e96f8730 ./usbredir/build/README

@ -1,17 +1,17 @@
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7IpXgZHGd6YW11ZGlv iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7IphAZHGd6YW11ZGlv
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV35kEACzgMdicY2E7CnMqyf+jGqE QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV5pKD/0dNUp55Y0V/rSzPa8PosRK
1C00dpOvvXe8VB2BqlNNAhNHpEjXjcO+MghTLS4UQIvGgwmQwVrzDsN4iOWtd5jL NVn259rHXorsL0VOdQ1IiXhk3XXz6pbJlCaKrGAX4slBdQ9+ns7cxYlUMkb1hOzA
H+JZMZCFdpy0IkI0ahlOEiYK5JgIqiA3tsxJg+EXFAJnvw/87OPSM5dszla8yfD3 Qg/h2m4kspTxDcE0btl47fTk0Uhly21ZtveHePDV4jBE2oXemrQh3D+pShwom6dP
VVjiGh3RH0uBP7XvW7dzH70+0aSI8ZWNNN40vd5P7cKbl3LDRSaFkqMtkf22g20p EgfIEfXbGptahBKHeD8vfddhs99fHSSUI17mqu50H64qRrwJywMXYYC0F4v17Fb4
cUQFXkzcepfPWfvXuB9O3Vk9OxgPd/xVDMYzsSEfGQUn/GsVIffllTuDlH6/jS3+ 6d+EUQJlhp9Gtr8hsnRpzz0qCKmhLzIq7k+HQPeWfjT3giQd4TTjgdumqbRWJ2oo
UsAnL/Cljtl8MEbU5DXE7dCRHoowoe3Bj09uORAnZiU36zowqM70QV7JjF8TCCDm CK7AqtQB74NiPgTmCgtpVUDhZ+Ihhr7ubgPS/XD9nEcv+F4Vg8nld2DX0i/BjohG
F4POrRMX8Bs03D3EOXF/KGixGQNS/VQvQwQimEnkHRUPxmamfrpR0Z5a3ApeAFkE 4qDhFGo63cdVz5QnMTMQyyCV+fMerytoLs/wOoWWn59nh4AnbPoNAbKNiSINwy1/
TYl7wPbKOA9UT5D+4cNhZExIvA4pC9nMMpoEH6slzZDHwDIkS6elZIX5Cq9EzoGu ZlkK/KC0km740VMa0Zt0wClSVrBXLVkBWA8/5hjIjJL9impdl/gBcwmGaRMkQHuj
tW478sujBjOK+oAPWgVVnUxjWykyXraSvhUS5Uwyi8hcLb+cs8qwZarQ4XIF9Ynp 53BIICXT2oWbBaHN7oGRqtChMqZacEhdERqQjnR9oYgtNzVrJZh/ezbUMKoVAt4/
dBACP9roUrZHGr5e4/de5cNCZTu5PFLy0NmeoxUzgiQXx6y3YbsJh5Jvdrrk3IhO xEz30Tyw8T93uugcef1wiCMZbCvjyqabhyMr+RbXYgzMD5WMOmOZ2/3KCKKqxLfm
fxgkyZABZArQC1oe08F+4CcRkPaA7/WWZkRG0snfWMjEUwFi0nmXMWeo3DG1Gn+M hZrl4KgoYLzhKVw0otzSON0q7GS1lOUTLrf62pJVbL7epASN/RU9LTSt567V422I
HPljAZkM1WsSMsTYEUehCw== a+1eA2rDYGTqU7b47SsMsQ==
=cPeV =Obki
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

Binary file not shown.

@ -1,17 +1,17 @@
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7IpXgZHGd6YW11ZGlv iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7IphAZHGd6YW11ZGlv
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV/ZzD/4l106EatVk+kkR4r6vmrtp QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV47yD/9uPjRZnIIoBwUS0D/k4EeJ
d5V7xKV2JNBKt6MxDH7kOn8wPVkiz3v0mAoe4e7roJwB3ywPZO40M4i/czFkTJ1f knbzuK/ZkPNumCZoR3XbFoBBzQVsu0ZdaS7j9wLoyOfYDAAmUKI4o9MKnQ6fPOGQ
XN0yMO8+zHzQQevLlYIATtuBKo18l9F4cKNipTtzdGt/6p+Dej6SYS2U3zBB9KjM oRHz7elbwKrzYwp+2hRYhec8armSaJ775+sP0qn2IOFVkyA1MlFP/+0Ko4aKZmOO
ZDYVt3RkD1S1gEoPDrEg7xdMPj/mgYs9ATN8duwVFMUC67cTeCWY+POyJFn8mdNI k4QRBsWNkHCWxY+9CRsWPEsudT/Vzy+iDWWRZhh5AM8iTji6ybacGECS7WsdAFke
nr9osXCincuQJBm0M3kCrauz+8FO1XYRChvC7C6WVyrvhE1vj5f9DWlVpZfz+5PM lHjf4YrYdOx556pu6nPHqrU7UIBCbpNxQZKm3nKRgR2UZaK9wOIsh324rTgWwGkQ
Tw7rRUhJoDTE1r7lvGSuZ2eDij7zl1KFQSk0VxwTZVC4rB9KrLLQxwLQU0XpAja1 x2ENp1xCll93GrsqPxD4ATKGDd4RDBZafAy+/NOrMmjwKhVbuOvztLhrtlaEYidL
v8yY0cRFRMoRnUHYIfNXdIvkRK2TJ/Eer2YDPTozCI/gW9KMyTsY0S6/oweSLtX3 4IcKwMHT7E/PtE2Nc9r0RofwVJDLsgJCIv4GeHTNHeTQLSA1wdS2ZoZHMG2zYUaS
lDBfSasRz6Sn5wvxNaRT0bekWwk825+y/sfU7xdq6DdMCIBLQ3yrkFY5XUjnLRT2 ac3bB+7le5HHS22IkeCJ1PzlEgFRkLgdIMfbLxrmMMI6OUWw0DA6vhNiG8vauM2Z
kZiA+aj+61lQXLKg/uWooYoUabXptUoZy6elZsKiI6kymXC1jDpM/BIsTcSi+Lrl M97yRCg9BbCrietiIby0bM2wAz+e6DM7ktLQU0zpEEgWO2xxBLcYGaqOueIl0R1t
cwCYrSRd0g6tn+paxbxjqTFiCrt2RD88qKIgglNDVi7nagIgXIexMLQgO9nj9fPP +RCag97hZWZFtF3vKTpyDWAvgxQ9VJopWKNpWSp6HYfcyFH9sjBIAHkUVNzfy5nq
zA6nRpQ+CQsYEnkYLp2elfZvYm8kFcb1isVj9ClAm8RjarNXuros55EIpFhv1ip3 S2QCo+2PtJJvlvBUpSeOrSMc59xE4x4xKJ9AYWbSgPQO5XaoSXbqW9uSMq7dC+n+
ZkxhibyEddZ8q0zCg5xv7g== F0sMW6P30Q8Yxa9jOyrSvA==
=mGGo =Ms/i
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

@ -11,9 +11,20 @@
<description>Repositorio de software para Slackare Linux proporcionado por Libre Expresión México</description> <description>Repositorio de software para Slackare Linux proporcionado por Libre Expresión México</description>
<language>en-us</language> <language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:f735159c-86bd-11ea-9d48-04d4c453db33</id> <id xmlns="http://www.w3.org/2005/Atom">urn:uuid:f735159c-86bd-11ea-9d48-04d4c453db33</id>
<pubDate>Sat, 23 May 2020 04:24:19 GMT</pubDate> <pubDate>Sat, 23 May 2020 04:26:52 GMT</pubDate>
<lastBuildDate>Sat, 23 May 2020 04:24:22 GMT</lastBuildDate> <lastBuildDate>Sat, 23 May 2020 04:26:55 GMT</lastBuildDate>
<generator>gen_repos_files.sh v 1.98</generator> <generator>gen_repos_files.sh v 1.98</generator>
<item>
<title>Sat, 23 May 2020 04:26:52 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Sat, 23 May 2020 04:26:52 GMT</pubDate>
<guid isPermaLink="false">20200522232652</guid>
<description>
<![CDATA[<pre>
tunctl: Nuevo
</pre>]]>
</description>
</item>
<item> <item>
<title>Sat, 23 May 2020 04:24:19 GMT</title> <title>Sat, 23 May 2020 04:24:19 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link> <link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
@ -190,16 +201,5 @@ vde: Nuevo
</pre>]]> </pre>]]>
</description> </description>
</item> </item>
<item>
<title>Sat, 23 May 2020 02:46:18 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Sat, 23 May 2020 02:46:18 GMT</pubDate>
<guid isPermaLink="false">20200522214618</guid>
<description>
<![CDATA[<pre>
gtk-vnc: Asumir el mantenimiento
</pre>]]>
</description>
</item>
</channel> </channel>
</rss> </rss>

@ -1,3 +1,7 @@
+--------------------------+
Sat May 23 04:26:52 UTC 2020
tunctl: Nuevo
+--------------------------+ +--------------------------+
Sat May 23 04:24:19 UTC 2020 Sat May 23 04:24:19 UTC 2020
libosinfo: Actualizado a versión 1.7.1 libosinfo: Actualizado a versión 1.7.1

Binary file not shown.

@ -1,4 +1,4 @@
Sat May 23 04:24:19 UTC 2020 Sat May 23 04:26:52 UTC 2020
Here is the file list for https://mirror.slackware.mx/libremex/slackbuilds , Here is the file list for https://mirror.slackware.mx/libremex/slackbuilds ,
maintained by Gerardo Zamudio <gzamudio@libremex.org.mx> . maintained by Gerardo Zamudio <gzamudio@libremex.org.mx> .
@ -6,19 +6,19 @@ If you are using a mirror site and find missing or extra files
in the subdirectories, please have the archive administrator in the subdirectories, please have the archive administrator
refresh the mirror. refresh the mirror.
drwxr-xr-x 28 1000 100 4096 2020-05-22 23:24 . drwxr-xr-x 29 1000 100 4096 2020-05-22 23:26 .
-rw-r--r-- 1 1000 100 11066 2020-05-22 23:12 ./CHECKSUMS.md5 -rw-r--r-- 1 1000 100 11072 2020-05-22 23:24 ./CHECKSUMS.md5
-rw-r--r-- 1 1000 100 870 2020-05-22 23:12 ./CHECKSUMS.md5.asc -rw-r--r-- 1 1000 100 870 2020-05-22 23:24 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 1000 100 3857 2020-05-22 23:12 ./CHECKSUMS.md5.gz -rw-r--r-- 1 1000 100 3856 2020-05-22 23:24 ./CHECKSUMS.md5.gz
-rw-r--r-- 1 1000 100 870 2020-05-22 23:12 ./CHECKSUMS.md5.gz.asc -rw-r--r-- 1 1000 100 870 2020-05-22 23:24 ./CHECKSUMS.md5.gz.asc
-rw-r--r-- 1 1000 100 7825 2020-05-22 23:24 ./ChangeLog.rss -rw-r--r-- 1 1000 100 7806 2020-05-22 23:26 ./ChangeLog.rss
-rw-r--r-- 1 1000 100 5614 2020-05-22 23:24 ./ChangeLog.txt -rw-r--r-- 1 1000 100 5687 2020-05-22 23:26 ./ChangeLog.txt
-rw-r--r-- 1 1000 100 899 2020-05-22 23:24 ./ChangeLog.txt.gz -rw-r--r-- 1 1000 100 913 2020-05-22 23:26 ./ChangeLog.txt.gz
-rw-r--r-- 1 1000 100 311 2020-05-22 23:24 ./FILELIST.TXT -rw-r--r-- 1 1000 100 311 2020-05-22 23:26 ./FILELIST.TXT
-rw-r--r-- 1 1000 100 6217 2020-05-22 15:11 ./GPG-KEY -rw-r--r-- 1 1000 100 6217 2020-05-22 15:11 ./GPG-KEY
-rw-r--r-- 1 1000 100 14 2020-05-22 23:24 ./MANIFEST.bz2 -rw-r--r-- 1 1000 100 14 2020-05-22 23:26 ./MANIFEST.bz2
-rw-r--r-- 1 1000 100 45 2020-05-22 23:24 ./PACKAGES.TXT -rw-r--r-- 1 1000 100 45 2020-05-22 23:26 ./PACKAGES.TXT
-rw-r--r-- 1 1000 100 78 2020-05-22 23:24 ./PACKAGES.TXT.gz -rw-r--r-- 1 1000 100 78 2020-05-22 23:26 ./PACKAGES.TXT.gz
drwxr-xr-x 4 1000 100 4096 2020-05-22 15:38 ./device-tree-compiler drwxr-xr-x 4 1000 100 4096 2020-05-22 15:38 ./device-tree-compiler
-rw-r--r-- 1 1000 100 1108 2020-05-22 15:38 ./device-tree-compiler/HEADER.txt -rw-r--r-- 1 1000 100 1108 2020-05-22 15:38 ./device-tree-compiler/HEADER.txt
-rw-r--r-- 1 1000 100 1108 2020-05-22 15:38 ./device-tree-compiler/README -rw-r--r-- 1 1000 100 1108 2020-05-22 15:38 ./device-tree-compiler/README
@ -240,6 +240,16 @@ drwxr-xr-x 2 1000 100 4096 2020-05-22 18:58 ./spice/build
-rw-r--r-- 1 1000 100 347 2020-05-22 16:53 ./spice/build/spice.info -rw-r--r-- 1 1000 100 347 2020-05-22 16:53 ./spice/build/spice.info
drwxr-xr-x 3 1000 100 4096 2020-05-22 16:41 ./spice/pkg64 drwxr-xr-x 3 1000 100 4096 2020-05-22 16:41 ./spice/pkg64
drwxr-xr-x 2 1000 100 4096 2020-05-22 16:41 ./spice/pkg64/current drwxr-xr-x 2 1000 100 4096 2020-05-22 16:41 ./spice/pkg64/current
drwxr-xr-x 4 1000 100 4096 2020-05-22 23:26 ./tunctl
-rw-r--r-- 1 1000 100 885 2020-05-22 23:26 ./tunctl/HEADER.txt
-rw-r--r-- 1 1000 100 885 2020-05-22 23:26 ./tunctl/README
drwxr-xr-x 2 1000 100 4096 2020-05-22 23:26 ./tunctl/build
-rw-r--r-- 1 1000 100 252 2020-05-21 23:29 ./tunctl/build/README
-rw-r--r-- 1 1000 100 885 2020-05-21 23:29 ./tunctl/build/slack-desc
-rw-r--r-- 1 1000 100 1844 2020-05-21 23:29 ./tunctl/build/tunctl.SlackBuild
-rw-r--r-- 1 1000 100 289 2020-05-21 23:29 ./tunctl/build/tunctl.info
drwxr-xr-x 3 1000 100 4096 2020-05-22 23:26 ./tunctl/pkg64
drwxr-xr-x 2 1000 100 4096 2020-05-22 23:26 ./tunctl/pkg64/current
drwxr-xr-x 3 1000 100 4096 2020-05-22 15:11 ./usbredir drwxr-xr-x 3 1000 100 4096 2020-05-22 15:11 ./usbredir
-rw-r--r-- 1 1000 100 904 2020-05-22 15:11 ./usbredir/HEADER.txt -rw-r--r-- 1 1000 100 904 2020-05-22 15:11 ./usbredir/HEADER.txt
-rw-r--r-- 1 1000 100 904 2020-05-22 15:11 ./usbredir/README -rw-r--r-- 1 1000 100 904 2020-05-22 15:11 ./usbredir/README

@ -1,2 +1,2 @@
PACKAGES.TXT; Sat May 23 04:24:19 UTC 2020 PACKAGES.TXT; Sat May 23 04:26:52 UTC 2020

Binary file not shown.

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
tunctl: tunctl (tool for controlling the TUN/TAP driver in Linux)
tunctl:
tunctl: tunctl is used to set up and maintain persistent TUN/TAP
tunctl: network interfaces, enabling user applications to simulate
tunctl: network traffic. Such interfaces is useful for VPN software,
tunctl: virtualization, emulation, simulation, and a number of other
tunctl: applications.
tunctl:
tunctl:
tunctl:
tunctl:

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
tunctl: tunctl (tool for controlling the TUN/TAP driver in Linux)
tunctl:
tunctl: tunctl is used to set up and maintain persistent TUN/TAP
tunctl: network interfaces, enabling user applications to simulate
tunctl: network traffic. Such interfaces is useful for VPN software,
tunctl: virtualization, emulation, simulation, and a number of other
tunctl: applications.
tunctl:
tunctl:
tunctl:
tunctl:

@ -0,0 +1,4 @@
tunctl is used to set up and maintain persistent TUN/TAP network interfaces,
enabling user applications to simulate network traffic. Such interfaces
is useful for VPN software, virtualization, emulation, simulation, and a
number of other applications.

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
tunctl: tunctl (tool for controlling the TUN/TAP driver in Linux)
tunctl:
tunctl: tunctl is used to set up and maintain persistent TUN/TAP
tunctl: network interfaces, enabling user applications to simulate
tunctl: network traffic. Such interfaces is useful for VPN software,
tunctl: virtualization, emulation, simulation, and a number of other
tunctl: applications.
tunctl:
tunctl:
tunctl:
tunctl:

@ -0,0 +1,76 @@
#!/bin/sh
# Slackware build script for tunctl
# Written by Murat D. Kadirov <banderols@gmail.com>
PRGNAM=tunctl
VERSION=${VERSION:-1.5}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
make CFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Fix up the manpages
mv $PKG/usr/share/man $PKG/usr/man ; rmdir $PKG/usr/share
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

@ -0,0 +1,10 @@
PRGNAM="tunctl"
VERSION="1.5"
HOMEPAGE="http://tunctl.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/tunctl/tunctl-1.5.tar.gz"
MD5SUM="fdbedc263b3e85bb0e087cd567414607"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Murat D. Kadirov"
EMAIL="banderols@gmail.com"
Loading…
Cancel
Save