added my Recipes
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
From a45e086661a3eed29193546c525998d7525ef6d9 Mon Sep 17 00:00:00 2001
|
||||
From: Tudor Florea <tudor.florea@enea.com>
|
||||
Date: Tue, 4 Aug 2015 02:46:39 +0200
|
||||
Subject: [PATCH] Remove hardcoded /usr/local includes from configure.ac
|
||||
|
||||
Upstream-Status: Inappropriate [config]
|
||||
|
||||
Signed-off-by: Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com>
|
||||
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
|
||||
|
||||
Update for 1.0.49.
|
||||
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
|
||||
|
||||
Update for 1.0.51.
|
||||
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
|
||||
---
|
||||
configure.ac | 16 ----------------
|
||||
1 file changed, 16 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 62768c8..efaeee5 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -97,22 +97,6 @@ AX_CHECK_LINK_FLAG([-Wl,-z,relro], [LDFLAGS="$LDFLAGS -Wl,-z,relro"])
|
||||
AX_CHECK_LINK_FLAG([-Wl,-z,now], [LDFLAGS="$LDFLAGS -Wl,-z,now"])
|
||||
AX_CHECK_LINK_FLAG([-Wl,-z,noexecstack], [LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"])
|
||||
|
||||
-if test "x$cross_compiling" != "xyes"; then
|
||||
- for path in \
|
||||
- /usr/kerberos \
|
||||
- /usr/local /opt /usr/local/opt \
|
||||
- /opt/homebrew/opt/openssl@3 /usr/local/opt/openssl@3 \
|
||||
- /opt/homebrew/opt/openssl@1.1 /usr/local/opt/openssl@1.1 \
|
||||
- /usr/openssl /opt/openssl /usr/local/opt/openssl; do
|
||||
- if test -d $path/include; then
|
||||
- CPPFLAGS="$CPPFLAGS -I${path}/include"
|
||||
- fi
|
||||
- if test -d $path/lib; then
|
||||
- LDFLAGS="$LDFLAGS -L${path}/lib"
|
||||
- fi
|
||||
- done
|
||||
-fi
|
||||
-
|
||||
CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
|
||||
|
||||
dnl Checks for header files
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
From 79fd22c0def26eba130db98e312bb00fec32ac0a Mon Sep 17 00:00:00 2001
|
||||
From: Tudor Florea <tudor.florea@enea.com>
|
||||
Date: Tue, 4 Aug 2015 03:07:01 +0200
|
||||
Subject: [PATCH] Don't mess with CFLAGS and LDFLAGS when --with-minimal is
|
||||
specified
|
||||
|
||||
We especially don't want stripping enabled.
|
||||
|
||||
Upstream-Status: Inappropriate [config]
|
||||
|
||||
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
||||
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
|
||||
|
||||
---
|
||||
configure.ac | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 695ce68..0f28b55 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -414,8 +414,6 @@ AC_ARG_WITH(minimal,
|
||||
AC_DEFINE(NO_FTP_USERS)
|
||||
AC_DEFINE(WITHOUT_ASCII)
|
||||
AC_DEFINE(BORING_MODE)
|
||||
- CFLAGS="$CFLAGS -Os -fomit-frame-pointer -fno-unroll-loops "
|
||||
- LDFLAGS="$LDFLAGS -s "
|
||||
fi ])
|
||||
|
||||
AC_ARG_WITH(paranoidmsg,
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "FTP Server with a strong focus on software security"
|
||||
DESCRIPTION = "Pure-FTPd is a free (BSD license), secure, production-quality and standard-conformant FTP server."
|
||||
HOMEPAGE = "http://www.pureftpd.org/project/pure-ftpd"
|
||||
SECTION = "net"
|
||||
LICENSE = "0BSD"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=194bc994ad6bbd4ff5a021082fe52156"
|
||||
|
||||
DEPENDS = "libcap virtual/crypt"
|
||||
|
||||
SRC_URI = "http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${PV}.tar.gz \
|
||||
file://0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch \
|
||||
file://nostrip.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "4160f66b76615eea2397eac4ea3f0a146b7928207b79bc4cc2f99ad7b7bd9513"
|
||||
|
||||
inherit autotools
|
||||
|
||||
PACKAGECONFIG[libsodium] ="ac_cv_lib_sodium_crypto_pwhash_scryptsalsa208sha256_str=yes, \
|
||||
ac_cv_lib_sodium_crypto_pwhash_scryptsalsa208sha256_str=no, libsodium"
|
||||
Reference in New Issue
Block a user