forgot to add 2 ports, fftw and denyhosts
This commit is contained in:
parent
dd5393fec3
commit
83729584bf
68
denyhosts/.footprint
Normal file
68
denyhosts/.footprint
Normal file
|
@ -0,0 +1,68 @@
|
|||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/denyhosts/
|
||||
-rw-r--r-- root/root etc/denyhosts/denyhosts.conf
|
||||
drwxr-xr-x root/root etc/rc.d/
|
||||
lrwxrwxrwx root/root etc/rc.d/denyhosts -> /usr/share/denyhosts/daemon-control
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/denyhosts.py
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/python2.5/
|
||||
drwxr-xr-x root/root usr/lib/python2.5/site-packages/
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts-2.5-py2.5.egg-info
|
||||
drwxr-xr-x root/root usr/lib/python2.5/site-packages/DenyHosts/
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/__init__.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/__init__.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/allowedhosts.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/allowedhosts.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/constants.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/constants.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/counter.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/counter.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/daemon.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/daemon.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/deny_hosts.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/deny_hosts.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/denyfileutil.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/denyfileutil.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/filetracker.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/filetracker.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/lockfile.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/lockfile.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/loginattempt.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/loginattempt.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/old-daemon.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/old-daemon.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/plugin.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/plugin.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/prefs.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/prefs.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/purgecounter.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/purgecounter.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/python_version.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/python_version.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/regex.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/regex.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/report.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/report.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/restricted.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/restricted.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/sync.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/sync.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/util.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/util.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/version.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/version.pyc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/denyhosts/
|
||||
-rwx------ root/root usr/share/denyhosts/daemon-control
|
||||
drwxr-xr-x root/root usr/share/denyhosts/plugins/
|
||||
-rw-r--r-- root/root usr/share/denyhosts/plugins/shorewall_allow.sh
|
||||
-rw-r--r-- root/root usr/share/denyhosts/plugins/shorewall_deny.sh
|
||||
-rwxr-xr-x root/root usr/share/denyhosts/plugins/test_deny.py
|
||||
drwxr-xr-x root/root usr/share/denyhosts/scripts/
|
||||
-rwxr-xr-x root/root usr/share/denyhosts/scripts/restricted_from_invalid.py
|
||||
-rwxr-xr-x root/root usr/share/denyhosts/scripts/restricted_from_passwd.py
|
||||
-rw-r--r-- root/root usr/share/denyhosts/setup.py
|
||||
drwxr-xr-x root/root var/
|
||||
drwxr-xr-x root/root var/log/
|
69
denyhosts/.footprint~
Normal file
69
denyhosts/.footprint~
Normal file
|
@ -0,0 +1,69 @@
|
|||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/denyhosts/
|
||||
-rw-r--r-- root/root etc/denyhosts/denyhosts.conf
|
||||
drwxr-xr-x root/root etc/rc.d/
|
||||
lrwxrwxrwx root/root etc/rc.d/denyhosts -> /usr/share/denyhosts/daemon-control
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/denyhosts.py
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/python2.5/
|
||||
drwxr-xr-x root/root usr/lib/python2.5/site-packages/
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts-2.5-py2.5.egg-info
|
||||
drwxr-xr-x root/root usr/lib/python2.5/site-packages/DenyHosts/
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/__init__.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/__init__.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/allowedhosts.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/allowedhosts.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/constants.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/constants.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/counter.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/counter.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/daemon.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/daemon.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/deny_hosts.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/deny_hosts.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/denyfileutil.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/denyfileutil.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/filetracker.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/filetracker.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/lockfile.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/lockfile.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/loginattempt.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/loginattempt.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/old-daemon.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/old-daemon.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/plugin.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/plugin.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/prefs.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/prefs.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/purgecounter.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/purgecounter.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/python_version.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/python_version.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/regex.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/regex.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/report.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/report.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/restricted.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/restricted.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/sync.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/sync.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/util.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/util.pyc
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/version.py
|
||||
-rw-r--r-- root/root usr/lib/python2.5/site-packages/DenyHosts/version.pyc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/denyhosts/
|
||||
-rwx------ root/root usr/share/denyhosts/daemon-control
|
||||
drwxr-xr-x root/root usr/share/denyhosts/plugins/
|
||||
-rw-r--r-- root/root usr/share/denyhosts/plugins/README.contrib
|
||||
-rw-r--r-- root/root usr/share/denyhosts/plugins/shorewall_allow.sh
|
||||
-rw-r--r-- root/root usr/share/denyhosts/plugins/shorewall_deny.sh
|
||||
-rwxr-xr-x root/root usr/share/denyhosts/plugins/test_deny.py
|
||||
drwxr-xr-x root/root usr/share/denyhosts/scripts/
|
||||
-rwxr-xr-x root/root usr/share/denyhosts/scripts/restricted_from_invalid.py
|
||||
-rwxr-xr-x root/root usr/share/denyhosts/scripts/restricted_from_passwd.py
|
||||
-rw-r--r-- root/root usr/share/denyhosts/setup.py
|
||||
drwxr-xr-x root/root var/
|
||||
drwxr-xr-x root/root var/log/
|
2
denyhosts/.md5sum
Normal file
2
denyhosts/.md5sum
Normal file
|
@ -0,0 +1,2 @@
|
|||
b33f0cdae6448ae559c5f22dbffe59f2 DenyHosts-2.5.tar.gz
|
||||
8c79b4c44d01ffd14482d317f5eb4e74 denyhosts-2.5-config.patch
|
36
denyhosts/Pkgfile
Normal file
36
denyhosts/Pkgfile
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Description: DenyHosts is a script intended to be run by Linux system administrators to help thwart ssh server attacks.
|
||||
# URL: http://denyhosts.sourceforge.net/
|
||||
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||
# Packager: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||
# Depends on: python
|
||||
|
||||
name=denyhosts
|
||||
version=2.5
|
||||
release=1
|
||||
source=(http://dl.sourceforge.net/sourceforge/$name/DenyHosts-$version.tar.gz \
|
||||
$name-$version-config.patch)
|
||||
|
||||
build() {
|
||||
cd DenyHosts-$version
|
||||
patch -p0 -i $SRC/$name-$version-config.patch
|
||||
python setup.py install --root=$PKG
|
||||
|
||||
rm -fr $PKG/usr/share/denyhosts/*.txt
|
||||
|
||||
install -d \
|
||||
$PKG/etc/ \
|
||||
$PKG/etc/{denyhosts,rc.d} \
|
||||
$PKG/var/log
|
||||
|
||||
mv $PKG/usr/share/denyhosts/denyhosts.cfg-dist \
|
||||
$PKG/etc/denyhosts/denyhosts.conf
|
||||
|
||||
mv $PKG/usr/share/denyhosts/daemon-control-dist \
|
||||
$PKG/usr/share/denyhosts/daemon-control
|
||||
|
||||
chmod 700 $PKG/usr/share/denyhosts/daemon-control
|
||||
|
||||
ln -sf /usr/share/denyhosts/daemon-control $PKG/etc/rc.d/denyhosts
|
||||
rm $PKG/usr/share/denyhosts/plugins/README.contrib
|
||||
}
|
||||
|
35
denyhosts/README
Normal file
35
denyhosts/README
Normal file
|
@ -0,0 +1,35 @@
|
|||
# $Id:
|
||||
|
||||
REQUIREMENTS:
|
||||
|
||||
PRECAUTION:
|
||||
|
||||
PRE-INSTALL:
|
||||
|
||||
POST-INSTALL:
|
||||
|
||||
Edit /etc/denyhosts/denyhosts.conf as needed.
|
||||
|
||||
Edit /etc/inetd.conf, I added:
|
||||
|
||||
#<service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
|
||||
sshd stream tcp nowait root /usr/sbin/sshd in.sshd
|
||||
|
||||
Add inetd and denyhosts to services array on /etc/rc.conf, after net and before sshd is loaded (and any other services used by denyhost and inetd (not sure if this is necessary but i believe its good to allow protection before the services start).
|
||||
|
||||
PRE-REMOVE:
|
||||
|
||||
POST-REMOVE:
|
||||
|
||||
NOTES:
|
||||
|
||||
To protect sshd.
|
||||
|
||||
Edit /etc/hosts.allow and comment out everyting, everything will have access by default.
|
||||
|
||||
Edit /etc/hosts.deny and comment out the "ALL: ALL: DENY" part, also the "#End of file" bit will be useless as denyhosts appends to the file.
|
||||
|
||||
(note the config in inetd.conf dosn't seem to be right or needed? see messages apon boot up, any corections email me :) )
|
||||
|
||||
Danny Rawlins, <romster@shortcircuit.net.au>
|
||||
|
50
denyhosts/denyhosts-2.5-config.patch
Normal file
50
denyhosts/denyhosts-2.5-config.patch
Normal file
|
@ -0,0 +1,50 @@
|
|||
--- daemon-control-dist 2006-06-03 00:22:37.000000000 +1000
|
||||
+++ daemon-control-dist-modifyed 2006-06-03 00:28:13.000000000 +1000
|
||||
@@ -12,8 +12,8 @@
|
||||
###############################################
|
||||
|
||||
DENYHOSTS_BIN = "/usr/bin/denyhosts.py"
|
||||
-DENYHOSTS_LOCK = "/var/lock/subsys/denyhosts"
|
||||
-DENYHOSTS_CFG = "/usr/share/denyhosts/denyhosts.cfg"
|
||||
+DENYHOSTS_LOCK = "/var/run/denyhosts.pid"
|
||||
+DENYHOSTS_CFG = "/etc/denyhosts/denyhosts.conf"
|
||||
|
||||
|
||||
###############################################
|
||||
--- denyhosts.cfg-dist 2006-04-09 23:37:46.000000000 +1000
|
||||
+++ denyhosts.cfg-dist-modifyed 2006-06-03 01:20:19.000000000 +1000
|
||||
@@ -8,8 +8,11 @@
|
||||
# The file to process can be overridden with the --file command line
|
||||
# argument
|
||||
#
|
||||
+# CRUX
|
||||
+SECURE_LOG = /var/log/auth
|
||||
+#
|
||||
# Redhat or Fedora Core:
|
||||
-SECURE_LOG = /var/log/secure
|
||||
+#SECURE_LOG = /var/log/secure
|
||||
#
|
||||
# Mandrake, FreeBSD or OpenBSD:
|
||||
#SECURE_LOG = /var/log/auth.log
|
||||
@@ -22,7 +25,7 @@
|
||||
#SECURE_LOG = /private/var/log/asl.log
|
||||
#
|
||||
# Mac OS X (v10.3 or earlier):
|
||||
-SECURE_LOG=/private/var/log/system.log
|
||||
+#SECURE_LOG=/private/var/log/system.log
|
||||
#
|
||||
########################################################################
|
||||
|
||||
@@ -191,8 +194,11 @@
|
||||
# and deleted upon exit. This ensures that only one instance is
|
||||
# running at a time.
|
||||
#
|
||||
+# CRUX
|
||||
+LOCK_FILE = /var/run/denyhosts.pid
|
||||
+#
|
||||
# Redhat/Fedora:
|
||||
-LOCK_FILE = /var/lock/subsys/denyhosts
|
||||
+#LOCK_FILE = /var/lock/subsys/denyhosts
|
||||
#
|
||||
# Debian
|
||||
#LOCK_FILE = /var/run/denyhosts.pid
|
38
fftw/.footprint
Normal file
38
fftw/.footprint
Normal file
|
@ -0,0 +1,38 @@
|
|||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/fftw-wisdom-to-conf
|
||||
-rwxr-xr-x root/root usr/bin/fftwf-wisdom
|
||||
-rwxr-xr-x root/root usr/bin/fftwl-wisdom
|
||||
drwxr-xr-x root/root usr/include/
|
||||
-rw-r--r-- root/root usr/include/fftw3.f
|
||||
-rw-r--r-- root/root usr/include/fftw3.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libfftw3f.a
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3f.la
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3f.so -> libfftw3f.so.3.1.2
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3f.so.3 -> libfftw3f.so.3.1.2
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3f.so.3.1.2
|
||||
-rw-r--r-- root/root usr/lib/libfftw3f_threads.a
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3f_threads.la
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3f_threads.so -> libfftw3f_threads.so.3.1.2
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3f_threads.so.3 -> libfftw3f_threads.so.3.1.2
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3f_threads.so.3.1.2
|
||||
-rw-r--r-- root/root usr/lib/libfftw3l.a
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3l.la
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3l.so -> libfftw3l.so.3.1.2
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3l.so.3 -> libfftw3l.so.3.1.2
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3l.so.3.1.2
|
||||
-rw-r--r-- root/root usr/lib/libfftw3l_threads.a
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3l_threads.la
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3l_threads.so -> libfftw3l_threads.so.3.1.2
|
||||
lrwxrwxrwx root/root usr/lib/libfftw3l_threads.so.3 -> libfftw3l_threads.so.3.1.2
|
||||
-rwxr-xr-x root/root usr/lib/libfftw3l_threads.so.3.1.2
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/fftw3f.pc
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/fftw3l.pc
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/fftw-wisdom-to-conf.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/fftwf-wisdom.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/fftwl-wisdom.1.gz
|
||||
drwxr-xr-x root/root usr/share/
|
1
fftw/.md5sum
Normal file
1
fftw/.md5sum
Normal file
|
@ -0,0 +1 @@
|
|||
08f2e21c9fd02f4be2bd53a62592afa4 fftw-3.1.2.tar.gz
|
51
fftw/Pkgfile
Normal file
51
fftw/Pkgfile
Normal file
|
@ -0,0 +1,51 @@
|
|||
# Description: C subroutine library for computing discrete Fourier transform.
|
||||
# URL: http://www.fftw.org/
|
||||
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||
# Packager: acrux, acrux at linuxmail dot org
|
||||
# Depends on: gcc-fortran
|
||||
|
||||
name=fftw
|
||||
version=3.1.2
|
||||
release=1
|
||||
source=(http://www.fftw.org/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
export CFLAGS="$CFLAGS -O3"
|
||||
export CXXFLAGS="$CXXFLAGS -O3"
|
||||
export FFLAGS="$FFLAGS -O3"
|
||||
|
||||
local Configure='
|
||||
--prefix=/usr
|
||||
--mandir=/usr/man
|
||||
--enable-threads
|
||||
--enable-type-prefix
|
||||
--with-gnu-ld
|
||||
--disable-nls
|
||||
--enable-shared'
|
||||
|
||||
cd $name-$version
|
||||
## compiling double precision library
|
||||
|
||||
./configure \
|
||||
$Configure \
|
||||
--enable-long-double \
|
||||
# --enable-k7
|
||||
# --enable-sse
|
||||
# --enable-sse2
|
||||
# --enable-altivec
|
||||
|
||||
make && make DESTDIR=$PKG install && make clean
|
||||
## compiling single precision library
|
||||
|
||||
./configure \
|
||||
$Configure \
|
||||
--enable-single \
|
||||
# --enable-k7
|
||||
# --enable-sse
|
||||
# --enable-sse2
|
||||
# --enable-altivec
|
||||
|
||||
make && make DESTDIR=$PKG install
|
||||
rm -r $PKG/usr/share/info
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user