Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Müller
aports
Commits
f8f2344c
Commit
f8f2344c
authored
15 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
extra/postfix: upgrade to 2.6.2
parent
e4302cc0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
extra/postfix/APKBUILD
+11
-5
11 additions, 5 deletions
extra/postfix/APKBUILD
extra/postfix/postfix-2.6.1-dynamicmaps.patch
+4
-4
4 additions, 4 deletions
extra/postfix/postfix-2.6.1-dynamicmaps.patch
with
15 additions
and
9 deletions
extra/postfix/APKBUILD
+
11
−
5
View file @
f8f2344c
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
postfix
pkgname
=
postfix
pkgver
=
2.6.
1
pkgver
=
2.6.
2
pkgrel
=
0
pkgrel
=
0
pkgdesc
=
"Secure and fast drop-in replacement for Sendmail (MTA)"
pkgdesc
=
"Secure and fast drop-in replacement for Sendmail (MTA)"
url
=
"http://www.postfix.org/"
url
=
"http://www.postfix.org/"
...
@@ -24,6 +24,12 @@ source="ftp://ftp.porcupine.org/mirrors/$pkgname-release/official/$pkgname-$pkgv
...
@@ -24,6 +24,12 @@ source="ftp://ftp.porcupine.org/mirrors/$pkgname-release/official/$pkgname-$pkgv
# the dynamic maps patch is taken from mandriva
# the dynamic maps patch is taken from mandriva
# http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/postfix/current/SOURCES
# http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/postfix/current/SOURCES
_shared_libs
()
{
file
--mime-type
"
$@
"
|
\
awk
'$2 == "application/x-sharedlib" {print $1}'
|
\
tr
-d
:
}
build
()
{
build
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
for
i
in
../
*
.patch
;
do
for
i
in
../
*
.patch
;
do
...
@@ -75,7 +81,7 @@ build () {
...
@@ -75,7 +81,7 @@ build () {
make
OPT
=
"
$CFLAGS
"
||
return
1
make
OPT
=
"
$CFLAGS
"
||
return
1
for
i
in
lib/
*
.a
;
do
for
i
in
$(
_shared_libs
lib/
*
.a
)
;
do
j
=
${
i
#lib/lib
}
j
=
${
i
#lib/lib
}
ln
-s
${
i
#lib/
}
lib/libpostfix-
${
j
%.a
}
.so.1
ln
-s
${
i
#lib/
}
lib/libpostfix-
${
j
%.a
}
.so.1
done
done
...
@@ -90,7 +96,7 @@ build () {
...
@@ -90,7 +96,7 @@ build () {
||
return
1
||
return
1
install
-d
"
$pkgdir
"
/usr/lib
install
-d
"
$pkgdir
"
/usr/lib
for
i
in
lib/
*
.a
;
do
for
i
in
$(
_shared_libs
lib/
*
.a
)
;
do
j
=
${
i
#lib/lib
}
j
=
${
i
#lib/lib
}
install
$i
"
$pkgdir
"
/usr/lib/libpostfix-
${
j
%.a
}
.so.1
||
return
1
install
$i
"
$pkgdir
"
/usr/lib/libpostfix-
${
j
%.a
}
.so.1
||
return
1
done
done
...
@@ -133,11 +139,11 @@ mysql() { _mv_dict mysql ;}
...
@@ -133,11 +139,11 @@ mysql() { _mv_dict mysql ;}
pcre
()
{
_mv_dict pcre
;
}
pcre
()
{
_mv_dict pcre
;
}
pgsql
()
{
_mv_dict pgsql
;
}
pgsql
()
{
_mv_dict pgsql
;
}
md5sums
=
"
737bbc245da9c72c174893397f70ae86
postfix-2.6.
1
.tar.gz
md5sums
=
"
1f0edbd521d2b0473626f4d61e8bb4eb
postfix-2.6.
2
.tar.gz
8416354d402f3be288fa98b60af86240 postfix.initd
8416354d402f3be288fa98b60af86240 postfix.initd
2bfc3864183694e5484ac073bb0cb7ef postfix.pre-install
2bfc3864183694e5484ac073bb0cb7ef postfix.pre-install
0064d45c2c8a46c374b55c4abc46cfb2 postfix.post-install
0064d45c2c8a46c374b55c4abc46cfb2 postfix.post-install
b8812dbf2d076c79cf948ee017e81b39
postfix-2.6.1-dynamicmaps.patch
d45552cfdcd911d0934c0cb7816c4011
postfix-2.6.1-dynamicmaps.patch
0efff9b4bb493ad2ff0b9915cb244d14 dynamicmaps.cf
0efff9b4bb493ad2ff0b9915cb244d14 dynamicmaps.cf
2ebe51a882eb9d6d7866583eb6af3969 postfix-ldap.post-install
2ebe51a882eb9d6d7866583eb6af3969 postfix-ldap.post-install
2ebe51a882eb9d6d7866583eb6af3969 postfix-mysql.post-install
2ebe51a882eb9d6d7866583eb6af3969 postfix-mysql.post-install
...
...
This diff is collapsed.
Click to expand it.
extra/postfix/postfix-2.6.1-dynamicmaps.patch
+
4
−
4
View file @
f8f2344c
...
@@ -94,13 +94,13 @@ diff -ruN a/src/global/Makefile.in b/src/global/Makefile.in
...
@@ -94,13 +94,13 @@ diff -ruN a/src/global/Makefile.in b/src/global/Makefile.in
- $(RANLIB) $(LIB)
- $(RANLIB) $(LIB)
+ gcc -shared -Wl,-soname,libpostfix-global.so.1 -o $(LIB) $(OBJS) $(LIBS) $(SYSLIBS)
+ gcc -shared -Wl,-soname,libpostfix-global.so.1 -o $(LIB) $(OBJS) $(LIBS) $(SYSLIBS)
+
+
+$(LDAPSO): dict_ldap.o $(LIB)
+$(LDAPSO): dict_ldap.o $(LIB)
../../lib/libglobal.a
+ gcc -shared -Wl,-soname,dict_ldap.so -o $@ $? -lldap -llber -L../../lib -lutil -L. -lglobal
+ gcc -shared -Wl,-soname,dict_ldap.so -o $@ $? -lldap -llber -L../../lib -lutil -L. -lglobal
+
+
+$(MYSQLSO): dict_mysql.o $(LIB)
+$(MYSQLSO): dict_mysql.o $(LIB)
../../lib/libglobal.a
+ gcc -shared -Wl,-soname,dict_mysql.so -o $@ $? -lmysqlclient -L. -lutil -lglobal
+ gcc -shared -Wl,-soname,dict_mysql.so -o $@ $? -lmysqlclient -L. -lutil -lglobal
+
+
+$(PGSQLSO): dict_pgsql.o $(LIB)
+$(PGSQLSO): dict_pgsql.o $(LIB)
../../lib/libglobal.a
+ gcc -shared -Wl,-soname,dict_pgsql.so -o $@ $? -lpq -L. -lutil -lglobal
+ gcc -shared -Wl,-soname,dict_pgsql.so -o $@ $? -lpq -L. -lutil -lglobal
$(LIB_DIR)/$(LIB): $(LIB)
$(LIB_DIR)/$(LIB): $(LIB)
...
@@ -4737,7 +4737,7 @@ diff -ruN a/src/util/Makefile.in b/src/util/Makefile.in
...
@@ -4737,7 +4737,7 @@ diff -ruN a/src/util/Makefile.in b/src/util/Makefile.in
test: $(TESTPROG)
test: $(TESTPROG)
+$(PCRESO): dict_pcre.o
+$(PCRESO): dict_pcre.o
libutil.a
+ gcc -shared -Wl,-soname,dict_pcre.so -o $@ $? -lpcre -L. -lutil
+ gcc -shared -Wl,-soname,dict_pcre.so -o $@ $? -lpcre -L. -lutil
+
+
$(LIB): $(OBJS)
$(LIB): $(OBJS)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment